import { type Args } from './args.mts'; import { type ToolContext } from './context.mts'; import type { FeedbackEnvelope, FeedbackIdentity } from '../agent-blackboard/feedback-types.mts'; type Mode = 'interactive' | 'autonomous'; /** Writes a validated envelope through the same verified path as `journal_append`. */ export declare function deliver(envelope: FeedbackEnvelope, identity: FeedbackIdentity, mode: Mode, context: ToolContext): Promise>; /** * Saves exactly the content a dry run previewed. The token is single use and bound to the * session, the worktree and the event id; an unknown, spent, restarted or mismatched token is * one error. The policy accepted this content at preview time, so it is not run again. */ export declare function saveFromPreview(args: Args, context: ToolContext, identity: FeedbackIdentity, mode: Mode, sourceEventId: string): Promise<{ policy: { warnings: string[]; }; }>; export {};