import { Component, Ref } from 'vue';
import { LoadingOptions } from 'element-plus/es/components/loading/src/types';
interface LoadingController {
    step: (text: string | Ref<string>) => LoadingController;
    end: () => void;
}
type CustomLoadingOptions = Omit<LoadingOptions, 'text'> & {
    text?: string | Ref<string>;
    spinner?: string | Component;
};
declare class FlowLoadingManager {
    private instance;
    start(options?: string | Ref<string> | CustomLoadingOptions): LoadingController;
    private normalizeOptions;
    private validateConfig;
    private createController;
}
export declare const flowLoading: FlowLoadingManager;
export {};
