/** * 偏函数实现格式校验 * @param {string} type */ export declare const isType: (type: string) => (obj: any) => boolean; /** * 首字母格式化 * @param {string} string * @param {'lower' | 'upper'} type 大写/小写 */ export declare const caseFormat: (type: 'lower' | 'upper') => (string: string) => string; /** * 首字母格式化,深度优先 * @param {object} obj * @param {'lower' | 'upper'} type 大写/小写 */ export declare function caseForObject>( obj: T, type: 'lower' | 'upper', ): T;