export declare function readJson(filePath: string): Promise; export declare function readJsonMaybe(filePath: string): Promise; export declare function writeJson(filePath: string, data: unknown, space?: number): Promise; export declare function writeJsonNewline(filePath: string, data: unknown, space?: number): Promise; export declare function parseJson(raw: string): T; export declare function stringifyJson(data: unknown, space?: number): string; /** Recursively sort object keys for stable, deterministic serialization. */ export declare function sortKeys(obj: unknown): unknown; /** Stable JSON stringify: sorted keys, no extra whitespace. */ export declare function stableStringify(obj: unknown): string;