import "./option_list.css"; import { type FieldOptionsSource } from "./option_picker"; import type { SelectOption } from "./select"; import { type OptionListBodyProps, type OptionListModelParams } from "./option_list_body"; export interface OptionListProps extends Omit, "options">, OptionListBodyProps { /** A field's own set is {@link OptionListProps.fieldOptions}. */ options?: (SelectOption | undefined | false)[]; /** A select field from the SDK (`useFieldOptions().fields.`), keys and colours intact; `options` * wins where both are stated. */ fieldOptions?: FieldOptionsSource; /** `dot` in a list of choices, `tonal` for a surface's one prominent status. */ badge?: "tonal" | "dot"; } /** The option listbox every selector opens: a Base UI `Combobox` rendered `inline`, so keyboard, * highlight, typeahead and filtering are Base UI's; single/multi with select-all, an optional create row, * and a hidden capture input or visible search. `Select` renders the same rows in its popup; hosts use * this rather than a hand-rolled search list. */ export declare function OptionList(props: OptionListProps): import("react").JSX.Element;