import { OnInit, ChangeDetectorRef, EventEmitter } from '@angular/core';
import { EuiUploadedFile } from '../models/uploaded-file.model';
import * as i0 from "@angular/core";
export declare class EuiFilePreviewComponent implements OnInit {
    private cd;
    file: Blob | EuiUploadedFile | any;
    index: number;
    hasPreview: boolean;
    isFilenameDisplayed: boolean;
    isFilesizeDisplayed: boolean;
    isFiletypeDisplayed: boolean;
    hasPreviewAsImage: boolean;
    hasPreviewAsIcon: boolean;
    previewAsIconConfig: {
        avi: string;
        html: string;
        htm: string;
        js: string;
        json: string;
        mp4: string;
        pdf: string;
        png: string;
        svg: string;
        txt: string;
        xml: string;
        jpeg: string;
        jpg: string;
        zip: string;
        doc: string;
        docx: string;
        xls: string;
        xlsx: string;
        ppt: string;
        csv: string;
        rtf: string;
    };
    removeFromList: EventEmitter<number>;
    url: string;
    icon: string;
    fileExtension: string;
    previewData: {
        image: boolean;
        display: string;
    };
    constructor(cd: ChangeDetectorRef);
    ngOnInit(): void;
    onRemoveFromList(): void;
    private getFileExtension;
    private getPreviewForMime;
    private getIconForMime;
    static ɵfac: i0.ɵɵFactoryDef<EuiFilePreviewComponent, never>;
    static ɵcmp: i0.ɵɵComponentDefWithMeta<EuiFilePreviewComponent, "eui-file-preview", never, { "file": "file"; "index": "index"; "hasPreview": "hasPreview"; "isFilenameDisplayed": "isFilenameDisplayed"; "isFilesizeDisplayed": "isFilesizeDisplayed"; "isFiletypeDisplayed": "isFiletypeDisplayed"; "hasPreviewAsImage": "hasPreviewAsImage"; "hasPreviewAsIcon": "hasPreviewAsIcon"; "previewAsIconConfig": "previewAsIconConfig"; }, { "removeFromList": "removeFromList"; }, never, never>;
}
