import type { JsxCustomElementAttributes, JsxElementProps, JsxRenderable } from '@ecopages/jsx'; import type { RuiListbox as RuiListboxElement, RuiListboxProps } from './listbox.script'; import './listbox.script'; export type RuiListboxOptionProps = JsxElementProps & { value: string; /** Text used for accessibility and parent display when selected. Defaults to `children` text. */ label?: string; disabled?: boolean; }; /** Option placed inside `RuiListbox`. * * @cssclass rui-listbox__option - Selectable list option. */ export declare function RuiListboxOption({ value, label, children, class: className, disabled, ...props }: RuiListboxOptionProps): JsxRenderable; export type RuiListboxOptionData = { value: string; label: JsxRenderable; disabled?: boolean; }; export declare function RuiListbox({ options, children, embedded, bordered, label, disabled, ...props }: JsxCustomElementAttributes): JsxRenderable;