import { EventEmitter, OnDestroy } from "@angular/core";
import { FormComponent, PromptService } from "@colijnit/corecomponents_v12";
import { CoDocument } from "@colijnit/mainapi/build/model/co-document.bo";
import { Icon } from "../../enum/icon.enum";
import { FileTypeImagePipe } from "../../pipe/file-type-image.pipe";
import { IconCacheService } from "../../service/icon-cache.service";
import { SharedService } from "../../service/shared.service";
export declare class FileUploadComponent implements OnDestroy {
    private _promptService;
    private _fileTypeImgPipe;
    iconService: IconCacheService;
    private _sharedService;
    readonly icons: typeof Icon;
    form: FormComponent;
    set file(document: CoDocument);
    get file(): CoDocument;
    icon: Icon;
    link: boolean;
    dropzone: boolean;
    readonly: boolean;
    isAddingTile: boolean;
    fileSavesOnPopupOkClick: boolean;
    isEditable: boolean;
    set label(value: string);
    get label(): string;
    showTrashCan: boolean;
    showImage: boolean;
    customImageClick: boolean;
    creationDate: Date;
    creationUser: string;
    modifiedDate: Date;
    modifiedUser: string;
    deleteClick: EventEmitter<any>;
    editClick: EventEmitter<CoDocument>;
    imageClick: EventEmitter<CoDocument>;
    showClass(): boolean;
    get isLink(): boolean;
    previewImage: string;
    private _file;
    private _docBodyChangeSub;
    private _label;
    constructor(_promptService: PromptService, _fileTypeImgPipe: FileTypeImagePipe, iconService: IconCacheService, _sharedService: SharedService);
    ngOnDestroy(): void;
    onDeleteClick(): void;
    onImageClick(): Promise<void>;
    onPencilClick(): Promise<void>;
    private _listenForDocumentBodyChanges;
    private _updatePreviewImage;
}
