import type { ZodSchema } from 'zod';
/**
 * Read and parse a JSON file with optional Zod validation.
 * Differentiates ENOENT, SyntaxError, and schema validation failures.
 * All errors thrown as TotemParseError with ES2022 cause chains.
 */
export declare function readJsonSafe<T = unknown>(filePath: string, schema?: ZodSchema<T>): T;
//# sourceMappingURL=fs.d.ts.map