import type { TurnOutcome } from "../../turn-outcome.js"; import type { TurnLoopDeps } from "./deps.js"; export type AnswerPathResult = { readonly kind: "continue"; } | { readonly kind: "finished"; readonly outcome: TurnOutcome; }; export interface AnswerPathInput { readonly assistantText: { visible: string; thinkContent: string; hasThinking: boolean; }; readonly canonicalAssistantVisible: string; readonly bareArgsOnly: boolean; readonly toolsAttached: boolean; readonly commitAssistantRetry: (historyText: string) => void; } export declare const resolveAnswerPath: (deps: TurnLoopDeps, input: AnswerPathInput) => Promise;