/** * Safe parsing of json data */ export declare function parseJSON(str: any, defaultValue?: any): any; /** * Converts the value to a JSON string */ export declare function stringify(obj: any, space?: (number | string)): string; export declare type DehydrateResult = [string, any]; /** * takes an array of JSON pointer paths to values and produces an * object * * @param parts * @param obj */ export declare function rehydrate(parts: DehydrateResult[], obj: object): object; /** * takes an object and produces an array of JSON pointer paths to values * * @param obj */ export declare function dehydrate(obj: object): DehydrateResult[];