/** * * @param obj `{ key: value }` * @returns obj `{ key: value }` * * * @argument Result type as Object interface to type the return * @argument Input type as Object interface to validate arguments type * @example * objectKeysToSnakeCaseV2({}); * * @example * * interface Input { * goodMorning: string * goodAfternoon: string * } * * interface Result { * good_morning: string, * good_afternoon: string * } * * const result = objectKeysToSnakeCaseV2( * { * goodMorning: "Its a beautiful day", * goodAfternoon: "Nice afternoon" * } * ); * */ declare const objectKeysToSnakeCaseV2: (obj: Input) => Result; export { objectKeysToSnakeCaseV2 }; export default objectKeysToSnakeCaseV2;