import { AxiosInstance } from 'axios';
declare class RequestTracker {
    private activeRequests;
    private requestCounter;
    apiClient?: AxiosInstance;
    private dialogPromise;
    constructor();
    addRequest(): {
        requestId: number;
        timestamp: number;
    };
    removeRequest(requestId: number): void;
    loading(): number;
    get isShowingProgress(): boolean;
    oldestActiveRequest(): {
        requestId: null;
        timestamp: null;
        age: null;
    } | {
        requestId: number;
        timestamp: number;
        age: number;
    };
    progressDialogCheck(): Promise<void>;
    show(): void;
    hide(): void;
}
declare const requestTracker: RequestTracker;
export default requestTracker;
//# sourceMappingURL=request-tracker.d.ts.map