import React from 'react'; import { List, ListItemData } from '../List'; import { SelectProps, SelectOption, SelectOptionGroup } from './types'; declare type GroupTitleItem = { label: string; disabled: true; }; export declare type FlattenOption = SelectOption | GroupTitleItem; export declare const getFlattenOptions: (options: (SelectOption | SelectOptionGroup)[]) => FlattenOption[]; export declare const getPopupItemHeight: (args: { getOptionHeight?: SelectProps['getOptionHeight']; size: NonNullable; option: FlattenOption; index: number; }) => number; export declare const getPopupHeight: (args: { getOptionHeight?: SelectProps['getOptionHeight']; size: NonNullable; options: FlattenOption[]; }) => number; export declare const getPopupVerticalOffset: (args: { popupHeight: number; controlRect?: DOMRect; }) => number; export declare const getOptionsText: (flattenOptions: FlattenOption[], value: string[]) => string[]; export declare const getOptionsFromChildren: (children: SelectProps['children']) => (SelectOption | SelectOptionGroup)[]; export declare const getPopupMinWidth: (virtualizeEnabled: boolean, controlRect?: DOMRect | undefined) => number | undefined; export declare const getNextQuickSearch: (keyCode: string, quickSearch: string) => string; export declare const findItemIndexByQuickSearch: (quickSearch: string, items?: ListItemData[] | undefined) => number; export declare const getListItems: (listRef: React.RefObject>) => ListItemData[]; export declare const getActiveItem: (listRef: React.RefObject>) => ListItemData | undefined; export declare const activateFirstClickableItem: (listRef: React.RefObject>) => void; export {};