import { JSONValue } from "../interfaces"; export declare function parseJSON(str: string): JSONValue; export declare function stringifyJSON(value: JSONValue): string; export declare function isValidJSON(value: unknown): value is JSONValue; export declare function safeJSONParse(value: string, returnInvalid?: T): T; export declare function safeJSONString(value: JSONValue, returnInvalid?: T): string; declare const _default: { parseJSON: typeof parseJSON; stringifyJSON: typeof stringifyJSON; safeJSONParse: typeof safeJSONParse; safeJSONString: typeof safeJSONString; isValidJSON: typeof isValidJSON; }; export default _default;