import { IconType, Option, OptionObject } from '../types'; export type { OptionObject }; export type NormalizedOption = Record> = T & { label: string; value: string | number | boolean; icon?: IconType; }; /** * Extract the display label from an option (string, number, or OptionObject). */ export declare function getOptionLabel(option: Option): string; /** Extract the primitive value from an option. */ export declare function getOptionValue(option?: Option): string | number | boolean | undefined; /** Extract the icon from an option, if present. */ export declare function getOptionIcon(option?: Option): IconType | undefined; /** Normalize any option shape to a {label, value, icon?, ...} object, preserving any extra fields. */ export declare function normalizeOption = Record>(option: Option | T): NormalizedOption; //# sourceMappingURL=options.d.ts.map