import { ElementRef, EventEmitter, ChangeDetectorRef, OnDestroy } from '@angular/core'; import { ControlValueAccessor, NgControl } from '@angular/forms'; import { FormControlInput, FormControlHost, FormControlErrorStateAgent } from '../form-control-group/index'; export declare class FileInputComponent implements ControlValueAccessor, FormControlInput, OnDestroy { private cdRef; ngControl?: NgControl; private formControlHost?; private _errorStateAgent?; constructor(cdRef: ChangeDetectorRef, ngControl?: NgControl, formControlHost?: FormControlHost, _errorStateAgent?: FormControlErrorStateAgent); _hostClasses: boolean; _hostAttrRole: string; private stateChangedEmitter; stateChanged: import("rxjs").Observable; controlType: string; private _disabled; private generatedId; id?: string; readonly elementId: string; valueChange: EventEmitter; disabled: boolean; errorStateAgent?: FormControlErrorStateAgent; readonly hasError: boolean; accept?: string; multiple: boolean; value: FileList | undefined; files: EventEmitter; tabindex: number; readonly isDisabled: boolean; invalidFiles: boolean; isDragging: boolean; isFocused: boolean; input: ElementRef; filename: string | undefined; readonly fileInput: HTMLInputElement | undefined; onFocus(): void; onBlur(): void; onLabelClick(event: Event): void; onInputChange(): void; checkFiles(files: FileList): void; keydown(ev: any): void; onClick(value: any): void; onDragOver(e: any): void; onDragLeave(e: any): void; onDrop(e: any): void; updateFiles(files: FileList): void; ngOnDestroy(): void; /** * things needed for ControlValueAccessor-Interface */ private onChange; private onTouched; writeValue(files: FileList): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState(isDisabled: boolean): void; }