import * as React from 'react'; import type { RawValueType, RenderNode } from './BaseSelect'; import type { BaseOptionType, FieldNames, OnActiveValue, OnInternalSelect, SelectProps } from './Select'; import type { FlattenOptionData } from './interface'; export interface SelectContextProps { options: BaseOptionType[]; optionRender?: SelectProps['optionRender']; flattenOptions: FlattenOptionData[]; onActiveValue: OnActiveValue; defaultActiveFirstOption?: boolean; onSelect: OnInternalSelect; menuItemSelectedIcon?: RenderNode; rawValues: Set; fieldNames?: FieldNames; virtual?: boolean; direction?: 'ltr' | 'rtl'; listHeight?: number; listItemHeight?: number; childrenAsData?: boolean; maxCount?: number; } declare const SelectContext: React.Context; export default SelectContext;