export interface SelectOption { value: string; label: string; /** Secondary line under the label (e.g. email). Also included in search. */ hint?: string; disabled?: boolean; children?: SelectOption[]; } interface SelectProps { id?: string; name?: string; label?: string; placeholder?: string; options?: SelectOption[]; value?: string; status?: 'default' | 'error' | 'success' | 'warning'; helperText?: string; disabled?: boolean; required?: boolean; searchable?: boolean; /** * On open, drill into the submenu that contains the current value * and highlight it. Defaults to true. */ flyToSelected?: boolean; size?: 'xs' | 'sm' | 'md' | 'lg'; /** * Minimum width (px) for the open listbox. Defaults to the trigger width. * Useful when option labels are longer than the field (e.g. contribution groups). */ listboxMinWidth?: number; class?: string; onchange?: (value: string) => void; } declare const Select: import("svelte").Component; type Select = ReturnType; export default Select;