import type { AvSelectItem, AvSelectModelValue } from './AvSelect.types.js'; import type { AvInteractiveProps } from '../../../../types/interfaces.types.js'; export interface AvSelectProps extends AvInteractiveProps { /** * Unique id for the select. Used for accessibility. * @default select-${crypto.randomUUID()} */ id?: string; /** * Hint for guidance. * @default '' */ hint?: string; /** * Screen reader only hint for collapse. */ collapseHint?: string; /** * Select text label. */ label: string; /** * Whether the label is visible or not. * @default true */ labelVisible?: boolean; /** * CSS class for the label. * @default '' */ labelClass?: string; /** * Selectable options. * @default [] */ options?: AvSelectItem[]; /** * If set, display a success message. * @default '' */ successMessage?: string; /** * If set, display an error message. * @default '' */ errorMessage?: string; /** * Placeholder text. */ placeholder: string; /** * Dense mode. */ dense?: boolean; /** * Displayed text when options are selected in multiple mode. * Fallback to labels from model value joined by a comma. * @default 'undefined' */ selectedText?: string; /** * Displays the select all items button. * @default false */ selectAll?: boolean; /** * Labels for the select all items button. */ selectAllLabel?: [string, string]; /** * Displays the search bar. */ search?: boolean; /** * Placeholder for the search input. * @default 'Rechercher...' */ searchPlaceholder?: string; /** * Fixes the width of the multiselect. */ width?: string; /** * Fixes the height of the multiselect. */ height?: string; /** * Max height of the collapse list of options. */ collapseMaxHeight?: string; /** * Whether multiple options can be selected. * @default false */ multiple?: boolean; /** * Whether the select is required. * @default false */ required?: boolean; /** * Prefix icon for the select. */ prefixIcon?: string; } type __VLS_Props = AvSelectProps; type __VLS_PublicProps = __VLS_Props & { modelValue?: AvSelectModelValue; }; declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:modelValue": (value: AvSelectModelValue) => any; }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ "onUpdate:modelValue"?: ((value: AvSelectModelValue) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; export default _default;