/** * @description The object structure intended for CuiDropdownList items. */ export type DropdownListItem = { id: number | string; value: string; disabled?: boolean; }; /** * @description Array of DropdownListItems */ export type DropdownListItems = DropdownListItem[]; export interface CuiMultiSelectProps { /** * @description Text to be displayed when no list item is chosen. */ description: string; /** * @description Disables the selector and sets attribute _aria-disabled_ to true. */ disabled?: boolean; /** * @description Whether the multi-select is readonly */ readonly?: boolean; /** * @description The ID of the component. */ id?: string; /** * @description If dropdown is affected by content around it. Does nothing if `multiLine` is false * @deprecated This prop does nothing. Use `layer` instead. */ inline?: boolean; /** * @description The hierarchy of items available in the dropdown. */ items: DropdownListItems; /** * @description Label to display above the select selector. */ label?: string; /** * @description Application layer to append the floater to. Leave empty if floater is inline. */ layer?: HTMLElement | "self" | "body"; /** * @description Model for selected items. */ modelValue: undefined | DropdownListItems; /** * @description Makes all selected items visible. Any expansion affects layout. * @deprecated This prop does nothing. */ multiLine?: boolean; /** * @description Describes the content for screen readers. */ wcagLabel: string; /** * @description Select size */ size?: "medium" | "large"; /** * @description Whether the field is required */ required?: boolean; /** * @description Whether the select has an error state */ invalid?: boolean; /** * @description Error message for validation feedback */ error?: string; /** * @description Help text displayed below the select */ helpText?: string; /** * @description Custom instructions for screen readers */ instructions?: string; /** * @description Whether to show default instructions for screen readers */ showInstructions?: boolean; /** * @description Whether to automatically focus the filter input when the dropdown opens */ autoFilterFocus?: boolean; } declare const _default: import('vue').DefineComponent any; }, string, import('vue').PublicProps, Readonly & Readonly<{ "onUpdate:modelValue"?: ((value: DropdownListItems) => any) | undefined; }>, { required: boolean; readonly: boolean; label: string; size: "medium" | "large"; disabled: boolean; id: string; invalid: boolean; showInstructions: boolean; inline: boolean; layer: HTMLElement | "self" | "body"; autoFilterFocus: boolean; multiLine: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; export default _default;