import { EventEmitter } from '@angular/core'; import { NgModel } from '@angular/forms'; export declare class TdFileSelectDirective { private model; private _multiple; /** * multiple?: boolean * Sets whether multiple files can be selected at once in host element, or just a single file. * Can also be 'multiple' native attribute. */ multiple: string | boolean; /** * fileSelect?: function * Event emitted when a file or files are selected in host [HTMLInputElement]. * Emits a [FileList | File] object. * Alternative to not use [(ngModel)]. */ onFileSelect: EventEmitter; /** * Binds native 'multiple' attribute if [multiple] property is 'true'. */ readonly multipleBinding: string; constructor(model: NgModel); /** * Listens to 'change' host event to get [HTMLInputElement] files. * Emits the 'onFileSelect' event with a [FileList] or [File] depending if 'multiple' attr exists in host. * Uses [(ngModel)] if declared, instead of emitting 'onFileSelect' event. */ onChange(event: Event): void; }