import type { PainDetectedData } from './pain-signal-bridge.js'; export interface PainSignalObservabilityResult { eventLogPath?: string; evolutionStreamPath?: string; trajectoryPainEventId?: number; warnings: string[]; } export interface RecordPainSignalObservabilityOptions { workspaceDir: string; stateDir: string; data: PainDetectedData; /** PRI-406: Canonical pain identity to write into pain_events.canonical_pain_id. */ canonicalPainId?: string; /** PRI-406: Runtime V2 task ID to write into pain_events.runtime_task_id. */ runtimeTaskId?: string; } /** * PRI-750: shared event-JSONL line writer — same `events_.jsonl` file and * entry shape as the OpenClaw EventLog, reused by the Codex host path (which * cannot import the plugin). Lives in this registered audit-observability seam; * best-effort — a failed write is not raised here, callers degrade (rc-9). */ export declare function appendEventLogLine(stateDir: string, entry: { ts: string; type: string; category: string; sessionId: string | undefined; data: unknown; }): void; /** * Record observability for a Runtime v2 pain signal without reviving the legacy * `evolution_tasks` queue. Best-effort: failures are returned as warnings so * diagnosis can still proceed. */ export declare function recordPainSignalObservability(opts: RecordPainSignalObservabilityOptions): PainSignalObservabilityResult; //# sourceMappingURL=pain-signal-observability.d.ts.map