import type { EponymeMediaItem } from '../../types/storage.js'; type __VLS_Props = { /** Taken as a prop so the caller's list stays the one the new file is added to. */ upload: (file: File, onProgress?: (ratio: number) => void) => Promise; accept?: string[]; maxSize?: number; label?: string; variant?: 'primary' | 'secondary' | 'ghost'; disabled?: boolean; }; declare function send(file: File): Promise; declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, { send: typeof send; busy: import("vue").Ref; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { error: (message: string) => any; uploaded: (item: EponymeMediaItem) => any; }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onError?: ((message: string) => any) | undefined; onUploaded?: ((item: EponymeMediaItem) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const _default: typeof __VLS_export; export default _default;