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