export type IncidentEvent = { ts: string; event: "breaker-tripped"; restartCount: number; windowMs: number; } | { ts: string; event: "restart"; pid: number | null; exitCode: number | null; signal: string | null; } | { ts: string; event: "start"; pid: number; } | { ts: string; event: "stop"; pid: number; reason: "sigterm" | "sigkill" | "normal"; } | { ts: string; event: "orphan-killed"; pid: number; } | { ts: string; event: "sandbox-drop"; file: string; source: string; } | { ts: string; event: "preflight-failure"; role: string; detail: string; } | { ts: string; event: "debounce-overflow"; droppedCount: number; queueSize: number; currentPaths: string[]; } | { ts: string; event: "hook-timeout"; paths: string[]; timeoutMs: number; }; /** * Append-only writer for .bober/graph/incidents.jsonl. * * Each call writes a single newline-terminated JSON object. * The directory is created defensively on each write, in case * GraphArtifactStore.ensureLayout() has not been called yet. */ export declare class IncidentLog { private readonly path; constructor(projectRoot: string); append(e: IncidentEvent): Promise; } //# sourceMappingURL=incidents.d.ts.map