import { OnInit, ElementRef } from '@angular/core';
import { AbstractFieldWriteComponent } from '../base-field/abstract-field-write.component';
import { DocumentStoreService } from '../../../services/document-store/document-store.service';
import { MatDialog } from '@angular/material/dialog';
export declare class WriteDocumentFieldComponent extends AbstractFieldWriteComponent implements OnInit {
    private documentStore;
    private dialog;
    private uploadedDocument;
    private selectedFile;
    private dialogConfig;
    fileInput: ElementRef;
    valid: boolean;
    uploadError: string;
    confirmReplaceResult: string;
    clickInsideTheDocument: boolean;
    clickout(event: any): void;
    constructor(documentStore: DocumentStoreService, dialog: MatDialog);
    private initDialog;
    ngOnInit(): void;
    fileValidations(): void;
    fileValidationsOnTab(): void;
    private isAMandatoryComponent;
    private displayFileErrors;
    private validateFormUploadedDocument;
    fileChangeEvent(fileInput: any): void;
    private createDocumentGroup;
    private setDocumentGroup;
    private clearDocumentGroup;
    private getErrorMessage;
    openFileDialog(): void;
    fileSelectEvent(): void;
    openDialog(dialogConfig: any): void;
    triggerReplace(): void;
    getUploadedFileName(): any;
    getDocumentMetadata(file: any): {
        filename: any;
    };
}
