import type { GoalEvent, GoalEventSink } from "./domain.js"; /** * Append-only JSONL diagnostics for goal lifecycle transitions. Opt in with * `PI_AGENT_GOAL_EVENT_LOG=`; stalls can then be diagnosed from events instead of * reconstructing them from session transcripts. */ export declare class JsonlGoalEventSink implements GoalEventSink { private readonly path; private readonly now; private directoryReady; constructor(path: string, now?: () => Date); record(event: GoalEvent): void; }