/** * @description 文本类型不需要进行更改 */ export declare const decodes: { boolean(input: string): boolean; number(input: string): number | string; json(input: string): unknown; }; /** 包裹函数即可实现类型转化 */ export declare const decode: (func: T, decodeKey: (keyof typeof decodes)[]) => T;