import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime'; /** * An input component for files. It functions as a wrapper around the native input capabilities having the [`type="file"`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file). * * This component replaces the native behaviour with a custom `ino-button` with logic. */ export declare class InputFile implements ComponentInterface { el: HTMLInoInputFileElement; private eventListeners; /** * The types of files accepted by the server. */ accept?: string; /** * The autofocus of this element. */ autoFocus?: boolean; /** * Disables this element. */ disabled?: boolean; /** * Indicates whether the user can enter one or more values. */ multiple?: boolean; /** * The name of this input field. */ name?: string; /** * Marks this element as required. */ required?: boolean; /** * Sets the label of the select files button. */ label?: string; /** * Enables drag-and-drop file input */ dragAndDrop?: boolean; /** * Sets the primary text of the drag and drop window */ dragAndDropText?: string; /** * Sets the secondary text of the drag and drop window */ dragAndDropSecondaryText?: string; /** * Emits when the value changes. */ changeFile: EventEmitter<{ e: any; files: File[]; }>; componentDidLoad(): void; disconnectedCallback(): void; private addEventListeners; private browserSupportsDragAndDrop; private configureDragAndDrop; private onFileChange; private removeEventListeners; private selectFiles; render(): any; }