import React from 'react'; import { RefOptionListProps } from 'rc-select/lib/OptionList'; import { FlattenDataNode, RawValueType, DataNode } from './interface'; export interface OptionListProps { prefixCls: string; id: string; options: OptionsType; flattenOptions: FlattenDataNode[]; height: number; itemHeight: number; virtual?: boolean; values: Set; multiple: boolean; open: boolean; defaultActiveFirstOption?: boolean; notFoundContent?: React.ReactNode; menuItemSelectedIcon?: any; childrenAsData: boolean; searchValue: string; onSelect: (value: RawValueType, option: { selected: boolean; }) => void; onToggleOpen: (open?: boolean) => void; /** Tell Select that some value is now active to make accessibility work */ onActiveValue: (value: RawValueType, index: number) => void; onScroll: React.UIEventHandler; } declare const RefOptionList: React.ForwardRefExoticComponent & React.RefAttributes>; export default RefOptionList;