import type { Ref } from "vue";
interface SimpleWait {
    <Callback extends (...args: any[]) => any, Args extends Parameters<Callback>, Return extends ReturnType<Callback>>(callback: Callback, config: {
        onSuccess?: (result: Awaited<Return>) => void;
        onError?: (error: unknown) => void;
        onComplete?: () => void;
        loadingRef?: Ref<boolean>;
        toast?: {
            success?: string;
            error?: string;
        };
    }): (...args: Args) => Promise<Return>;
}
declare const _default: () => {
    simpleWait: SimpleWait;
};
export default _default;
//# sourceMappingURL=loading.d.ts.map