type GetTypeByPath, K extends string> = K extends keyof T ? T[K] : K extends `${infer TKey}.${infer Rest}` ? GetTypeByPath : undefined; /** * Resolve the path to the target property inside the provided object. * * @param option - Object to look properties inside. * @param propsArray - Ordered array of strings, where each string should correspond to one of the property names at the current level of the object. */ export declare const getNestedValue: (option: Record, propsArray: string[]) => any; /** * Finds value in the object using string with dots 'key.key.key' * * @param option - Object to look properties inside. * @param prop - String that contains a path to the property. */ export declare const getValueByPath: >(option: T, prop: string | Key) => GetTypeByPath; /** * Finds value of nested property inside an object. * * @param option - Object to look properties inside. * @param prop - String or function used to find nested property. */ export declare const getValueByKey: