import { default as GetTypeOfField } from '../types/GetTypeOfField';
/**
 * Safely accesses a nested property in an object using a path string
 * For example: getNestedValue({ a: { b: { c: 1 } } }, "a.b.c") returns 1
 *
 * @param obj - The object to access nested properties from
 * @param path - The path string using dot notation (e.g., "a.b.c")
 * @returns The value at the nested path, or undefined if not found
 */
export default function getNestedValue<T extends object, P extends string>(obj: T, path: P): GetTypeOfField<T, P> | undefined;
