import type { AgentLogger, HookRegistry, ThinkingBlock, ToolLoopTransition } from "../types.js";
export type CompletionStopPolicyDecision = {
    action: "end";
    content: string;
} | {
    action: "continue";
    messages: unknown[];
    stopHookActive: true;
    transition: ToolLoopTransition;
};
export interface CompletionStopPolicyInput {
    hooks: HookRegistry | undefined;
    sessionId: string;
    messages: unknown[];
    finalText: string;
    thinkingBlocks: readonly ThinkingBlock[];
    log: Pick<AgentLogger, "info">;
}
export declare function resolveCompletionStopPolicy(input: CompletionStopPolicyInput): Promise<CompletionStopPolicyDecision | null>;
