/** Read ranked findings from a JSON file for the calendar planner. */ import type { BusyInterval, Finding } from "./types.js"; /** * Read a ranked Finding[] from a JSON file. * * Order is preserved (= priority order from the hub). * Throws if the file does not exist, contains invalid JSON, or fails Zod validation. * The caller (runCalendarPlan core) wraps this in try/catch → process.exitCode = 1. * * Pattern: src/cli/commands/task.ts:256-258 + src/hub/finding-source.ts:43-48. */ export declare function readFindingsFromFile(path: string): Promise; /** * Read a BusyInterval[] from a JSON file. * * Each entry must have { startIso, endIso } (ISO-8601 datetime strings). * Throws on I/O or validation error — same fail-closed policy as readFindingsFromFile. */ export declare function readBusyIntervalsFromFile(path: string): Promise; //# sourceMappingURL=finding-source.d.ts.map