/// <reference types="node" />
import { Router } from 'aurelia-router';
import { DialogController } from "aurelia-dialog";
import { Config } from '../../../config';
export type FilePreviewerModel = {
    fileExtension: string;
    fileUrl: string;
    fileName?: string;
};
export declare class OldFilePreviewer {
    protected dialogController: DialogController;
    protected router: Router;
    protected config: Config;
    protected loadTimeout: number;
    protected iframeRef: HTMLIFrameElement;
    protected originalUrl: string;
    protected fileName: string;
    protected model: FilePreviewerModel;
    protected timer: NodeJS.Timeout;
    protected isLoading: boolean;
    constructor(dialogController: DialogController, router: Router, config: Config);
    activate(model: FilePreviewerModel): void;
    attached(): void;
    detached(): void;
    protected loadIframe(): void;
    private markIframeLoaded;
    protected get isPictureOrGif(): boolean;
    protected get isOther(): boolean;
    protected get isOffice(): boolean;
    protected get isNotSupported(): boolean;
    protected get isFromLocalStorage(): boolean;
    protected getUrlFrame(): string;
    download(): void;
}
