import { type LapGateDeps } from './gate.js'; /** @deprecated Use `LapGateDeps` from `./gate.js`. */ export type LapNarrateDeps = LapGateDeps; /** * `narrate` LAP handler. Synthesizes a `LogEntry { kind: 'narrate' }` * and: * * 1. pushes a `log-push` server frame to the paired runtime so the * in-app activity feed renders the narration in real time; * 2. (the runtime echoes a `log-append` of the same id back to the * server through the existing browser → server channel — that * drives audit + recent-log persistence). The handler does NOT * record into recent-log directly here, to keep ONE writer per * buffer — server-side push, client-side echo, single audit * pathway. * * The agent receives `{ ok: true }` once the server has accepted the * narration. If the pairing is paused, the gate returns 503 paused * (same as every other LAP write) — the agent can retry once the * runtime is back. */ export declare const handleLapNarrate: (req: Request, deps: LapGateDeps) => Promise; //# sourceMappingURL=narrate.d.ts.map