import * as React from 'react'; type ItemRecord = Record; type ItemsInput = ItemRecord | ReadonlyArray | ReadonlyArray> | undefined; interface LabeledItem { value: any; label: React.ReactNode; } export interface Group { value: unknown; items: Item[]; } export declare function isGroupedItems(items: ReadonlyArray> | undefined): items is Group[]; export declare function stringifyAsLabel(item: any, itemToStringLabel?: (item: any) => string): string; export declare function stringifyAsValue(item: any, itemToStringValue?: (item: any) => string): string; export declare function resolveSelectedLabel(value: any, items: ItemsInput, itemToStringLabel?: (item: any) => string): React.ReactNode; export declare function resolveMultipleLabels(values: any[] | undefined, itemToStringLabel?: (item: any) => string): string; export {};