import type { LlmTurnDefinition, OutcomeParameterContext } from "./define-process.js"; import type { MappedTurnIteration } from "./mapped-turn.js"; import type { OutcomeToolSpec, TurnResultMarkdownBehavior } from "./types.js"; /** Serializable contract owned by a prepared turn start. @internal */ export interface ResolvedOutcomeContract { /** @internal */ version: 1; /** @internal */ outcomes: Record; /** @internal */ turnResultMarkdown: TurnResultMarkdownBehavior | null; /** @internal */ publishedProduct: string | null; } /** Resolve once on the server, before worker I/O; callbacks receive immutable copies. @internal */ export declare function resolveOutcomeContract(turn: LlmTurnDefinition, ctx: OutcomeParameterContext, iteration?: MappedTurnIteration): ResolvedOutcomeContract; /** Overlay the frozen declaration while retaining current executable handlers. @internal */ export declare function applyOutcomeContract(turn: LlmTurnDefinition, snapshot: unknown): LlmTurnDefinition; //# sourceMappingURL=outcome-contract.d.ts.map