/** * AvFilePill component props. */ export interface AvFilePillProps { /** * Name of the file. */ name: string; /** * Size of the file in bytes. Only used when `showDetails` is enabled. * * @default undefined */ size?: number; /** * Extension of the file. Only used when `showDetails` is enabled. * * @default undefined */ type?: string; /** * Unique identifier returned in the `download` and `delete` payloads. * * @default `file-pill-${crypto.randomUUID()}` */ id?: string; /** * Display a download button which emits `download` when clicked. * * @default false */ downloadable?: boolean; /** * Display a delete button which emits `delete` when clicked. * * @default true */ deletable?: boolean; /** * Display the file extension and size below the file name. * Ignored when neither of them is provided. * * @default false */ showDetails?: boolean; /** * Prefix for the download button label. If not provided, the default label will be "Download {name}". * @default 'Download' */ downloadPrefixLabel?: string; /** * Prefix for the delete button label. If not provided, the default label will be "Delete {name}". * @default 'Delete' */ deletePrefixLabel?: string; } declare const _default: import("vue").DefineComponent any; download: (id: string) => any; }, string, import("vue").PublicProps, Readonly & Readonly<{ onDelete?: ((id: string) => any) | undefined; onDownload?: ((id: string) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; export default _default;