export type LoadingMode = 'blocking' | 'semi'; export interface LoadingOptions { message?: string; mode?: LoadingMode; cancelable?: boolean; onCancel?: () => void; maskColor?: string; animationDuration?: number; } export type LoadingState = ({ visible: true; } & Required> & Omit) | { visible: false; }; export type LoadingListener = (state: LoadingState) => void; declare class LoadingServiceImpl { private listeners; private current; subscribe(listener: LoadingListener): () => void; private notify; show(options?: LoadingOptions): void; hide(): void; } export declare const LoadingService: LoadingServiceImpl; export declare const Loading: LoadingServiceImpl; export {}; //# sourceMappingURL=LoadingService.d.ts.map