import m from 'mithril'; import { IAttrs, ISizeAttrs, IIntentAttrs } from '../..'; export interface IInputFileAttrs extends IAttrs, ISizeAttrs, IIntentAttrs { /** Left-justified content */ contentLeft?: m.Vnode; /** Right-justified content */ contentRight?: m.Vnode; /** Disables file selection */ disabled?: boolean; /** Fills width of parent container */ fluid?: boolean; /** Callback invoked on filename change */ onchange?: (e: Event) => void; /** Inner text value */ text?: string; [htmlAttrs: string]: any; } export declare class InputFile implements m.Component { private browseButton; oncreate(vnode: m.VnodeDOM): void; onupdate(vnode: m.VnodeDOM): void; view({ attrs }: m.Vnode): m.Vnode; private updatePadding; }