/** * An object to serialize structurable data */ export declare class Codec { private readonly fixStruct; constructor(fixStruct: FixStructFunction); toData(json: string): T; toJSON(data: T): string; } /** * Use to implement functions to declare 'default' values to incompatible objects */ interface FixStructFunction { (struct: object): T; } export {};