import { CSSProperties, HTMLProps, RefObject } from 'react'; import { SelectSize, SelectVariant } from '../../types'; import { FloatingContext } from '@floating-ui/react'; type Value = string | number | undefined; export interface SelectContextState { size?: SelectSize; variant?: SelectVariant; selected: Value; open?: boolean; disabled?: boolean; readOnly?: boolean; status?: 'unmounted' | 'initial' | 'open' | 'close'; activeIndex: number | undefined | null; selectedIndex: number | undefined | null; onSelect(index: number, value: number | string): void; elementsRef: RefObject<(HTMLElement | null)[]>; labelsRef: RefObject<(string | null)[]>; itemProps(props: Omit, 'selected' | 'active' | 'size'>): Record; listboxProps: Record; comboboxProps: Record; listboxStyles: CSSProperties; valueRef?: RefObject; selectRef?: RefObject; context: FloatingContext; hasValueChildren: boolean; onHasValueChildrenChange(value: boolean): void; isSelected(v: Value): boolean; } export declare const SelectProvider: any, useSelectContext: any; export {};