import type { VNode } from 'vue';
import type { LoadingProps } from './types';
export declare function createLoading(props?: Partial<LoadingProps>, target?: HTMLElement, wait?: boolean): {
    vm: VNode<import("vue").RendererNode, import("vue").RendererElement, {
        [key: string]: any;
    }>;
    close: () => void;
    open: (target?: HTMLElement) => void;
    setTip: (tip: string) => void;
    setLoading: (loading: boolean) => void;
    readonly loading: boolean;
    readonly $el: HTMLElement;
};
