import { InjectionKey } from 'vue'; export interface LoadingBarApi { start: (from?: number, to?: number, status?: 'starting' | 'error') => Promise; finish: () => Promise; error: () => void; } export declare const loadingBarApiKey: InjectionKey; export declare function useLoadingBar(): LoadingBarApi;