import { EventEmitter, ElementRef, Renderer2, TemplateRef, ViewContainerRef, ChangeDetectorRef } from '@angular/core'; import { TemplatePortalDirective } from '@angular/cdk/portal'; import { ICanDisable, IControlValueAccessor } from '../../../core'; export declare class AtFileInputLabelDirective extends TemplatePortalDirective { constructor(templateRef: TemplateRef, viewContainerRef: ViewContainerRef); } export declare class AtFileInputBase { _changeDetectorRef: ChangeDetectorRef; constructor(_changeDetectorRef: ChangeDetectorRef); } export declare const _AtFileInputMixinBase: (new (...args: any[]) => IControlValueAccessor) & (new (...args: any[]) => ICanDisable) & typeof AtFileInputBase; export declare class AtFileInputComponent extends _AtFileInputMixinBase implements IControlValueAccessor, ICanDisable { private _renderer; private _multiple; /** The native ` element */ _inputElement: ElementRef; readonly inputElement: HTMLInputElement; /** * color?: string * Sets button color. Uses same color palette accepted as [MatButton]. */ color: string; /** * multiple?: boolean * Sets if multiple files can be dropped/selected at once in [AtFileInputComponent]. */ multiple: boolean; /** * accept?: string * Sets files accepted when opening the file browser dialog. * Same as 'accept' attribute in element. */ accept: string; /** * select?: function * Event emitted a file is selected * Emits a [File | FileList] object. */ onSelect: EventEmitter; constructor(_renderer: Renderer2, _changeDetectorRef: ChangeDetectorRef); /** * Method executed when a file is selected. */ handleSelect(files: File | FileList): void; /** * Used to clear the selected files from the [AtFileInputComponent]. */ clear(): void; /** Method executed when the disabled value changes */ onDisabledChange(v: boolean): void; }