import type { BuilderReturn } from '../../internal/types.js'; import type { CreateListboxProps, ListboxSelected } from '../listbox/types.js'; import type { createSelect } from './create.js'; export type { SelectComponentEvents } from './events.js'; export type { ListboxOption as SelectOption, ListboxSelected as SelectSelected, ListboxOptionProps as SelectOptionProps, } from '../listbox/types.js'; export type CreateSelectProps = ListboxSelected> = Omit, 'builder'>; export type Select = ListboxSelected> = BuilderReturn>; export type SelectElements = ListboxSelected> = Select['elements']; export type SelectOptions = ListboxSelected> = Select['options']; export type SelectStates = ListboxSelected> = Select['states']; export type SelectHelpers = ListboxSelected> = Select['helpers'];