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 { CaseFieldService } from '../../../services';
export declare class WriteDocumentFieldComponent extends AbstractFieldWriteComponent implements OnInit {
    private documentStore;
    private caseFieldService;
    private uploadedDocument;
    private selectedFile;
    fileInput: ElementRef;
    valid: boolean;
    uploadError: string;
    confirmReplaceResult: string;
    clickInsideTheDocument: boolean;
    clickout(event: any): void;
    constructor(documentStore: DocumentStoreService, caseFieldService: CaseFieldService);
    ngOnInit(): void;
    fileValidations(): void;
    fileValidationsOnTab(): void;
    private isAMandatoryComponent;
    private displayFileErrors;
    private validateFormUploadedDocument;
    fileChangeEvent(fileInput: any): void;
    private createDocumentGroup;
    private setDocumentGroup;
    private clearDocumentGroup;
    private getErrorMessage;
    getUploadedFileName(): any;
    getDocumentMetadata(file: any): {
        case: String;
        field: string;
        filename: any;
    };
    private fieldMetadata;
}
