import { AppContext, ComponentPublicInstance, Ref } from 'vue';
import { LoadingOptionsResolved, LoadingText, LoadingUpdatableOptions } from './types.js';
export interface LoadingInstance {
    background: Ref<string>;
    svg: Ref<string>;
    svgViewBox: Ref<string>;
    spinner: Ref<string>;
    text: Ref<LoadingText>;
    fullscreen: Ref<boolean>;
    lock: Ref<boolean>;
    customClass: Ref<string>;
    visible: Ref<boolean>;
    originalPosition: Ref<string>;
    originalOverflow: Ref<string>;
    zIndex: Ref<number>;
    setText: (text: LoadingText) => void;
    update: (patch: LoadingUpdatableOptions) => void;
    removeLoadingChild: () => void;
    close: () => void;
    handleAfterLeave: () => void;
    vm: ComponentPublicInstance;
    $el: HTMLElement;
}
export declare function createLoadingComponent(options: LoadingOptionsResolved, appContext: AppContext | null, initialZIndex: number): LoadingInstance;
