import { EventEmitter } from "../../stencil-public-runtime"; import { ThemeableComponent } from "../../common"; import { DuetTheme } from "../../common-types"; export type DuetFileChooserEvent = { originalEvent?: Event; data?: Record; component: "duet-file-chooser"; }; export declare class DuetUploadItem implements ThemeableComponent { /** * theme. */ theme: DuetTheme; /** * Use multiple to allow the user to select multiple files when uploading */ multiple: boolean; /** * The accept attribute takes as its value a comma-separated list of one or more file types, * or unique file type specifiers, describing which file types to allow. */ accept: string; /** * Emitted when the value has changed. */ duetChange: EventEmitter; /** * Opens file choose dialog. */ open(): Promise; /** * Returns actually selected files in file chooser. */ getFiles(): Promise; private nativeInput?; /** * Component lifecycle events. */ componentWillLoad(): void; private onChange; render(): any; }