import { ReactElement, ReactNode } from 'react';
import { ComboboxItem, ItemsMap } from '../types';
export declare function getIndexByKey(map: ItemsMap, targetKey: string): number;
export declare const getElementByIndex: (map: ItemsMap, index: number) => ComboboxItem | undefined;
export declare const getOrderedItems: (children: ReactNode, result?: ComboboxItem[]) => ComboboxItem[];
/**
 * If Combobox.Item children:
 * - is a string, then the string is used.
 * - is JSX markup, then we look for Combobox.ItemText to get its string value.
 */
export declare const getItemText: (children: ReactNode) => string;
export declare const getItemsFromChildren: (children: ReactNode) => ItemsMap;
export declare const hasChildComponent: (children: ReactNode, displayName: string) => boolean;
export declare const findElement: (children: ReactNode, value: string) => ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | undefined;
