export type AnyJson = JsonPrimitives | JsonArray | JsonMap; export type JsonPrimitives = string | number | boolean | null; export interface JsonMap { [key: string]: AnyJson; } export interface JsonArray extends Array { } export declare const KeyToPreserveUnknownJSON = "AdditionalJSON"; export interface IWithAdditionalJSON { [KeyToPreserveUnknownJSON]: JsonMap | undefined; } type TConstructor = new (value?: any) => T; export declare function TaJsonDeserialize(json: any, type: TConstructor): T; export declare function TaJsonSerialize(obj: T): JsonMap; export {};