import { AfterViewInit } from '@angular/core';
import { FVAbstractControl } from '../../../shared/abstract-control.component';
import { ProcessService } from '../../../../services/process.service';
import { ApiService, DGSNotificationService } from '@dotgov/core';
import { ValidationService } from '../../../../services/validation.service';
export declare class FVControlsUploadFileComponent extends FVAbstractControl implements AfterViewInit {
    private process;
    private api;
    private notification;
    private validator;
    isDragOver: boolean;
    private _files;
    fileInput: any;
    constructor(process: ProcessService, api: ApiService, notification: DGSNotificationService, validator: ValidationService);
    ngAfterViewInit(): void;
    dragover(event: any): void;
    addFile(event: any, files: any[]): void;
    deleteFile(hiddenId: string): void;
    dropZoneClicked(event: any): void;
    fileUrl(file: any): string;
    sanitizedSize(bytes: number): string | number;
    downloadFile(rowData: any): void;
    readonly fileControlRef: any;
    files: any[];
    readonly allowedFormats: any;
    readonly sanitizedAllowedFormats: any;
    readonly allowedSize: {
        finalSize: string;
        sizeName: string;
        sizeIndex: number;
        bytes: number;
    };
    readonly sanitizedAllowedSize: string | number;
    private fetchCurrent();
    private bytesToSize(bytes);
    /**
     * Returns if given file found inside active files, matching full name and size.
     */
    private fileExists(file);
    private getExtension(filename);
    private fileValid(filename);
}
