export declare namespace ObjectHelper { export const upsert: (data: Record, key: string, value: T) => Record; interface GetNestedValueByKeyOptions { /** whether to skip searching at root level */ skipRoot?: boolean | undefined; /** restrict which nested keys to find in */ searchIn?: string[] | undefined; } export const getNestedValueByKey: (data: Record, key: string, options?: GetNestedValueByKeyOptions) => Record; /** * removes undefined, null, {}, [] */ export const removeNil: (data: unknown) => any; export {}; }