/** The single producer of prompt bytes: byte-stable, cache-shaped — business-common * blocks first, per-agent divergence as late as possible; the state block and the * open questions ride the tail. Channel law: a CONTRACT tool guard's rule renders * into the tool's own card; a SPEC guard's rule renders into the per-agent tail-end * block of the system prefix. */ import type { Question, ToolCard } from '../contract/vocabulary.js'; import type { CompiledAgent } from '../cards/cards.js'; import { type DeliveryFact } from './delivery-facts.js'; export declare class PromptWriter { private readonly compiled; private frozenSystem; private frozenCards; constructor(compiled: CompiledAgent); /** Frozen after first render — byte-identical across turns. */ system(): string; /** One card per surface tool; does = the declared does + the tool's contract-guard rules. */ toolCards(): readonly ToolCard[]; /** Only the tail varies across turns. The owed facts ride last, numbered: the desk * reads them before it writes, and the ids are the engine's labels — a reply that * prints one has bolted an internal token onto the operator's words. */ tail(userText: string, reads: string | null, open: readonly Question[], owed: readonly DeliveryFact[]): string; correction(sentences: readonly string[]): string; } //# sourceMappingURL=prompt-writer.d.ts.map