import { type HTMLProps, Ref, type StateProp } from '@innet/dom'; import { type FlexProps } from '../../layout'; export interface UploadFile extends Partial { src: string; name: string; } export interface UploadProps extends Omit, 'files' | 'onchange'> { inputRef?: Ref; accept?: StateProp; name?: StateProp; disabled?: StateProp; width?: StateProp; height?: StateProp; radius?: StateProp; label?: StateProp; error?: StateProp; hint?: StateProp; multiple?: StateProp; clearable?: StateProp; files?: StateProp; onchange?: (files: UploadFile[]) => void; props?: { hint?: HTMLProps; input?: HTMLProps; }; } export declare function Upload({ width, height, radius, label, error, hint, style, props, multiple, inputRef, files, onchange, accept, name, disabled, clearable, ...rest }?: UploadProps): any;