export interface Marshaller { Marshal(data: I, toRaw?: boolean): R | T; Unmarshal(data: R | T, fromRaw?: boolean): O; } export interface JSONMarshaller extends Marshaller { } export declare class JSONMarshallerImpl implements JSONMarshaller { private pretty; constructor(pretty?: boolean); Marshal(data: I, toRaw?: boolean): any; Unmarshal(data: string | object | number | boolean, fromRaw?: boolean): O; }