import { ElementRef, EventEmitter } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { TranslateService } from '@ngx-translate/core'; import { ErrorsList } from '../errors/errors.component'; import { FileIconType, FileItem } from '../../../types/file.type'; import { IconName } from '../../shared/icon/icon.component'; import * as i0 from "@angular/core"; export interface FileProps { placeholder?: string; value: FileItem[]; multiple?: boolean; accept?: string; errors?: ErrorsList; field?: string; showDeleteAction?: boolean; deleteIconAction?: IconName; deleteAction?: (file: FileItem) => void; showDownloadAction?: boolean; downloadIconAction?: IconName; downloadAction?: (file: FileItem, event: MouseEvent) => void; showOpenAction?: boolean; openIconAction?: IconName; openAction?: (file: FileItem, event: MouseEvent) => void; } export declare class FileComponent implements FileProps, ControlValueAccessor { private translateService; placeholder?: string; multiple: boolean; _value?: undefined | FileItem | FileItem[]; readonly: boolean; errors?: ErrorsList; field?: string; accept: string; showDeleteAction?: boolean; deleteIconAction?: IconName; showDownloadAction?: boolean; downloadIconAction?: IconName; showOpenAction?: boolean; openIconAction?: IconName; deleteAction: (file: FileItem) => void; downloadAction: (file: FileItem, event: MouseEvent) => void; openAction: (file: FileItem, event: MouseEvent) => void; change: EventEmitter; input?: ElementRef; onChange: (val: undefined | FileItem | FileItem[]) => void; onTouched: () => void; constructor(translateService: TranslateService); get translatedPlaceholder(): string; get value(): FileItem[]; writeValue(value: undefined | FileItem | FileItem[]): void; registerOnChange(fn: () => void): void; registerOnTouched(fn: () => void): void; multipleFilesSelected(event: Event): FileItem[]; getFileIconByExtension(extension: string): FileIconType; oneFileSelected(file: Event | File): FileItem; handleFileChange(event: Event): void; selectFiles(event: MouseEvent): void; handleDeleteAction(event: MouseEvent, file: FileItem, index: number): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }