import { type FeedbackCoverage, type FeedbackDeliveryResult, type WorkOutcome } from '../agent-blackboard/index.mts'; import { type Args } from './args.mts'; import { type ToolContext, type ToolHandler } from './context.mts'; export declare const MODES: readonly ["interactive", "autonomous"]; export declare const OUTCOMES: readonly WorkOutcome[]; export declare function readCoverage(args: Args): FeedbackCoverage; export declare const journalAppend: ToolHandler; /** * The tool result for a write: the delivery result plus the server-owned timestamp (a first * append takes the current time; a retry of the same event reports the one already stored or * retained) and the outbox counts. Autonomous delivery never uses an outbox, so it has nothing * pending; interactive delivery reports the outbox as it is after delivery. */ export declare function deliveryResponse(result: FeedbackDeliveryResult, context: ToolContext, mode: (typeof MODES)[number]): Record; export declare function byCreatedAt(left: unknown, right: unknown): number; /** Every entry as the client returns it, oldest first. Nothing is filtered or rewritten. */ export declare const journalEntries: ToolHandler;