/** * @name MultiOption * @description A input component that merges multiple various-choice-but-select-one options into one input field. * It accepts an array of options and renders one or other UI based on the choices length. * * If 2 choices: Renders a radio button * If 3+ choices: Renders a select dropdown * if 10+ choices: Renders an autocomplete input (to search for the option) */ interface MultiOptionProps { /** * The array of options to choose from. */ options: string[]; /** * The value of the selected option. */ value: string; /** * The callback function that is triggered when the selected option changes. */ onChange: (value: string) => void; } declare const MultiOption: ({ options, value, onChange }: MultiOptionProps) => import("react/jsx-runtime").JSX.Element | null; export { MultiOption, type MultiOptionProps }; //# sourceMappingURL=MultiOption.d.ts.map