export declare function convertNumbersToBNs(data: Record | any[], keysToUpdate?: string[]): any[] | { [x: string]: any; }; export declare function convertStringsToPublicKeys(data: Record | any[], keysToUpdate?: string[]): any[] | { [x: string]: any; }; declare type Constructor = new (...args: any[]) => T; /** * Runs `toType` over variables matching the patterns in keys from `existingType` * in order to convert them to the desired type * You may need to use with an `as` to satisfy Typescript: * convertTypeToType(y, ["a"], "string", Number) as YourNewType */ export declare function convertTypeToType = NonNullable, TOutput = any, TData extends { [key: string]: any; } | any[] = { [key: string]: any; } | any[], TResult extends { [Property in keyof TData]: any; } | any[] = { [Property in keyof TData]: any; } | any[]>(data: TData, keysToUpdate: string[], existingType: string | Constructor, toType: (arg0: TInput) => TOutput): TResult; export {}; //# sourceMappingURL=utils.d.ts.map