type Primitive = string | number | boolean | bigint | symbol | null | undefined; export type CamelCase = S extends `${infer Head}_${infer Tail}` ? `${Head}${Capitalize>}` : S; export type Camelize = T extends Primitive ? T : T extends Array ? Array> : T extends Record ? { [K in keyof T as K extends string ? CamelCase : K]: Camelize; } : T; export declare function camelizeKeys(value: T): Camelize; export declare function decamelizeKeys(value: T): unknown; export declare function decamelizeKey(key: string): string; export {}; //# sourceMappingURL=casing.d.ts.map