import HashMap from '@ohos.util.HashMap'; export declare class JSONUtil { static parse(content: string): object; static parseToMap(content: string): HashMap<string, object>; static parseToStringMap(content: string): HashMap<string, string>; static stringify(value: any, replacer?: (number | string)[] | null, space?: string | number): string; static parseMapToString(value: object): string; static isMapStringString(obj: Object): boolean; static isMapStringObject(obj: Object): boolean; static parseMapToJsonObj(params: Map<string, any>): Object; static parseListToString(value: object): string; static parseErrToString(value: object): string; } 