import { DeepKeyOf } from '../../../../../utils/types';
/**
 * Resolves a value from a row given a field that can be either a dot-notation path or a function.
 * Used by ColumnNestedValueFormatter and ColumnNestedValueGroupFormatter to obtain
 * image URL, icon, or icon color from the row when fieldImageUrl, fieldIcon, or fieldIconColor
 * are configured as a path (e.g. 'company.logoUrl') or as a function (e.g. (row) => row.company.iconName).
 * @param row - The data row to read from.
 * @param field - Either a deep key path (e.g. 'company.iconColor') or a function (row) => T.
 * @returns The resolved value, or undefined if the path/function returns nothing.
 * @example
 * // Path: read from row by dot notation
 * resolveNestedField(row, 'company.logoUrl')           // row.company.logoUrl
 * resolveNestedField(row, 'company.iconColor')           // row.company.iconColor ('success', 'warning', ...)
 * @example
 * // Function: custom derivation per row
 * resolveNestedField(row, (r) => r.company.iconName ? STORY_ICON_MAP[r.company.iconName] : undefined)
 */
export declare function resolveNestedField<TRow, T>(row: TRow, field: DeepKeyOf<TRow> | ((row: TRow) => T)): T | undefined;
//# sourceMappingURL=resolveNestedField.d.ts.map