type Primitive = string | number | boolean | null | undefined; export type DeepRecord = { [K in keyof T]: T[K] extends Primitive ? T[K] : DeepRecord; }; export declare const recursiveRenameKeys: (obj: T, fn: (key: string) => string) => DeepRecord; export {};