import { F as FormControlDataSet, a as FormControlDescription, c as FormControlDescriptionCommonProps, b as FormControlDescriptionOptions, e as FormControlDescriptionProps, d as FormControlDescriptionRenderProps } from './form-control-description-330657bc.js'; import { F as FormControlErrorMessage, b as FormControlErrorMessageCommonProps, a as FormControlErrorMessageOptions, d as FormControlErrorMessageProps, c as FormControlErrorMessageRenderProps } from './form-control-error-message-9efcbea8.js'; import { w as ListboxRootOptions, v as ListboxRootCommonProps, y as ListboxRootRenderProps, a as ListboxItem, b as ListboxItemDescription, c as ListboxItemLabel, d as ListboxSection, e as ListboxItemCommonProps, f as ListboxItemDescriptionCommonProps, g as ListboxItemDescriptionOptions, h as ListboxItemDescriptionProps, i as ListboxItemDescriptionRenderProps, j as ListboxItemLabelCommonProps, k as ListboxItemLabelOptions, l as ListboxItemLabelProps, m as ListboxItemLabelRenderProps, n as ListboxItemOptions, o as ListboxItemProps, p as ListboxItemRenderProps, s as ListboxSectionProps } from './listbox-section-58338bda.js'; import { L as ListboxItemIndicator, a as ListboxItemIndicatorCommonProps, b as ListboxItemIndicatorOptions, c as ListboxItemIndicatorProps, d as ListboxItemIndicatorRenderProps } from './listbox-item-indicator-b8390ce9.js'; import { g as PopperRootOptions, P as PopperArrow, c as PopperArrowCommonProps, a as PopperArrowOptions, b as PopperArrowProps, d as PopperArrowRenderProps } from './popper-root-14a88a55.js'; import { ValidationState } from '@kobalte/utils'; import * as solid_js from 'solid-js'; import { Accessor, Setter, JSX, Component, ValidComponent, ComponentProps } from 'solid-js'; import { a as CollectionNode } from './types-f8ae18e5.js'; import { F as FocusStrategy, L as ListState, K as KeyboardDelegate, S as SelectionMode, a as SelectionBehavior } from './create-list-state-d9a0f1f2.js'; import { a as DismissableLayerCommonProps, D as DismissableLayerRenderProps } from './dismissable-layer-0aef6de3.js'; import { ElementOf, PolymorphicProps } from './polymorphic/index.js'; import { PointerDownOutsideEvent, FocusOutsideEvent, InteractOutsideEvent } from './primitives/create-interact-outside/index.js'; import { b as FormControlLabelCommonProps, c as FormControlLabelRenderProps } from './form-control-label-2a5ca7a3.js'; import { Portal } from 'solid-js/web'; import { a as ButtonRootCommonProps, d as ButtonRootRenderProps } from './button-root-da654b3e.js'; interface SelectDataSet { "data-expanded": string | undefined; "data-closed": string | undefined; } interface SelectContextValue { dataset: Accessor; isOpen: Accessor; isDisabled: Accessor; isMultiple: Accessor; isVirtualized: Accessor; isModal: Accessor; preventScroll: Accessor; disallowTypeAhead: Accessor; shouldFocusWrap: Accessor; selectedOptions: Accessor; contentPresent: Accessor; autoFocus: Accessor; triggerRef: Accessor; triggerId: Accessor; valueId: Accessor; listboxId: Accessor; listboxAriaLabelledBy: Accessor; listState: Accessor; keyboardDelegate: Accessor; setListboxAriaLabelledBy: Setter; setTriggerRef: (el: HTMLElement) => void; setContentRef: (el: HTMLElement) => void; setListboxRef: (el: HTMLElement) => void; open: (focusStrategy: FocusStrategy | boolean) => void; close: () => void; toggle: (focusStrategy: FocusStrategy | boolean) => void; placeholder: Accessor; renderItem: (item: CollectionNode) => JSX.Element; renderSection: (section: CollectionNode) => JSX.Element; removeOptionFromSelection: (option: any) => void; generateId: (part: string) => string; registerTriggerId: (id: string) => () => void; registerValueId: (id: string) => () => void; registerListboxId: (id: string) => () => void; } declare function useSelectContext(): SelectContextValue; interface SelectBaseItemComponentProps { /** The item to render. */ item: CollectionNode; } interface SelectBaseSectionComponentProps { /** The section to render. */ section: CollectionNode; } interface SelectBaseOptions extends Omit { /** The controlled open state of the select. */ open?: boolean; /** * The default open state when initially rendered. * Useful when you do not need to control the open state. */ defaultOpen?: boolean; /** Event handler called when the open state of the select changes. */ onOpenChange?: (isOpen: boolean) => void; /** The controlled value of the select. */ value?: Option[]; /** * The value of the select when initially rendered. * Useful when you do not need to control the value. */ defaultValue?: Option[]; /** Event handler called when the value changes. */ onChange?: (value: Option[]) => void; /** The content that will be rendered when no value or defaultValue is set. */ placeholder?: JSX.Element; /** An array of options to display as the available options. */ options: Array