UNPKG

486 BTypeScriptView Raw
1export declare function parse(s: string): any;
2export declare function stringify(value: any): string;
3export declare function stringifyAsync(value: any): string | Promise<string>;
4export declare function toJSON(value: any): any;
5export declare function toJSONAsync(value: any): any | Promise<any>;
6export declare function fromJSON(json: any): any;
7export { toJSON as toJSONValue, fromJSON as fromJSONValue, fromJSON as revive, toJSON as encapsulate, toJSONAsync as encapsulateAsync, };