import { type ListOption, type RowHeight } from './list-option'; import { type SvEditorProps } from './editor-contract'; import { type Snippet } from 'svelte'; type Props = SvEditorProps & { options: ReadonlyArray; value?: string | number | null; onChange?: (value: string | number) => void; placeholder?: string; autoOpen?: boolean; /** Window the option list (render only visible) for large sets. */ virtual?: boolean; /** Option height in px - a number, or a per-option function for variable * heights. Must match the rendered row height. Default 34. */ rowHeight?: RowHeight; /** Height (px) of a group heading row when virtualized + grouped. Default 28. */ groupHeaderHeight?: number; /** Max options shown before the panel scrolls (native-select behaviour). Default 8. */ maxRows?: number; /** Show a bottom drag grip so the user can resize the open panel's height * (only while it opens downward). Off by default. */ resizable?: boolean; /** Custom render for each option (receives the ListOption). */ item?: Snippet<[ListOption]>; /** Content pinned above the option list. */ header?: Snippet; /** Content pinned below the option list. */ footer?: Snippet; /** Shown when there are no options. */ noData?: Snippet; }; declare const SvDropDownList: import("svelte").Component; type SvDropDownList = ReturnType; export default SvDropDownList;