import type { AvInteractiveProps } from '../../../types/interfaces.types.js'; /** * AvTag component props. */ export type AvTagProps = AvInteractiveProps & { /** * Displayed tag label. */ label: string; /** * Tag name used for the tag (should be 'p' ou 'button'). * @default 'p' */ tagName?: 'p' | 'button'; /** * Icon to display in the tag. Can be a name or an icon configuration. */ icon?: string; /** * Display the tag in a small version. */ small?: boolean; /** * Display the tag in icon only version. */ iconOnly?: boolean; } & ({ /** * Make the tag selectable. */ selectable: true; /** * Indicated if the tag is selected. * @available if selectable is true */ selected?: boolean; /** * Tag value (useful in a selectable tags list). * @available if selectable is true */ value?: T; } | { /** * Indicated if the tag is selected. */ selectable?: false; }); declare const _default: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: __VLS_PrettifyLocal & Omit<{ readonly onSelect?: ((payload: [T | undefined, boolean]) => any) | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onSelect"> & AvTagProps & Partial<{}>> & import("vue").PublicProps; expose(exposed: import("vue").ShallowUnwrapRef<{}>): void; attrs: any; slots: {}; emit: (e: "select", payload: [T | undefined, boolean]) => void; }>) => import("vue").VNode & { __ctx?: Awaited; }; export default _default; type __VLS_PrettifyLocal = { [K in keyof T]: T[K]; } & {};