import { TaskQueue } from 'aurelia-framework';
import { I18N } from 'aurelia-i18n';
import { GlobalLoaderService } from './global-loader-service';
import { HttpClient } from 'aurelia-fetch-client';
import { EventAggregator } from 'aurelia-event-aggregator';
export declare class GlobalLoader {
    private element;
    service: GlobalLoaderService;
    private i18n;
    private taskQueue;
    private startTimer;
    private doneTimer;
    private progressTimer;
    startDelay: string | number;
    imgSrc: string;
    private imageEl;
    private textEl;
    private progressEl;
    private progressValue;
    private success;
    private displayed;
    private pendingRequests;
    constructor(eventAggregator: EventAggregator, httpClient: HttpClient, element: Element, service: GlobalLoaderService, i18n: I18N, taskQueue: TaskQueue);
    progress(value: any): void;
    requestFn: (request: Request) => Request;
    requestErrorFn: (error: any) => any;
    responseFn: (response: Response) => Response;
    responseErrorFn: (error: any) => any;
    private start;
    private done;
    private clearPendingRequest;
    private swapTextOff;
    private show;
    private hide;
    private initText;
    private initImage;
    private initProgress;
    private inc;
    private clamp;
}
