import { DefineComponent } from 'vue'; import { defaultMultiSelectTheme, MultiSelectRenderTheme } from '@wolf-tui/shared'; import { Option } from '../types/index.js'; export interface MultiSelectProps { /** * When disabled, user input is ignored. * * @default false */ isDisabled?: boolean; /** * Number of visible options. * * @default 5 */ visibleOptionCount?: number; /** * Highlight text in option labels. * Useful for filtering options. */ highlightText?: string; /** * Options. */ options: Option[]; /** * Controlled value. When provided, component always reflects this value. */ value?: string[]; /** * Initially selected option values (uncontrolled mode). */ defaultValue?: string[]; /** * Callback for selecting options. */ onChange?: (value: string[]) => void; /** * Callback when user presses enter. * First argument is an array of selected option values. */ onSubmit?: (value: string[]) => void; } export declare const MultiSelect: DefineComponent; export { defaultMultiSelectTheme as multiSelectTheme, type MultiSelectRenderTheme as MultiSelectTheme, }; export type { MultiSelectProps as Props, MultiSelectProps as IProps }; //# sourceMappingURL=MultiSelect.d.ts.map