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