import { ValueType } from '../types';
/**
 * Finds the first valid value in an object based on an array of keys.
 * @param option - The object to search.
 * @param keys - An array of keys to check.
 * @returns The first valid value as a string, or null if none found.
 */
export declare const getFirstDefaultKey: (option: Record<string, any>, keys: string[]) => string | null;
/**
 * Fallback to the first valid string or number found in the object.
 * @param option - The object to search through.
 * @returns The first valid string or number, or null if no valid value is found.
 */
export declare const getFirstValidStringValue: (option: Record<string, any>) => string | null;
/**
 * Generates the label for an option.
 * @param option - The option to generate the label for.
 * @param keyField - The key(s) used to derive the label.
 * @param defaultKeys - Default keys used when no keyField is provided.
 * @returns A string representation of the label.
 */
export declare const handleGetOptionLabel: <T extends ValueType>(option: T, keyField?: string, defaultKeys?: string[], customOptionFormat?: (option: T) => string) => string;
//# sourceMappingURL=getOptionLabel.d.ts.map