import { type AssistantMessage } from "@pk-nerdsaver-ai/pi-ai";
import type { ModelRegistry } from "../config/model-registry";
import type { Settings } from "../config/settings";
export interface ClassifyUnexpectedStopDeps {
    settings: Settings;
    registry: ModelRegistry;
    sessionId: string;
    metadataResolver?: (provider: string) => Record<string, unknown> | undefined;
    signal?: AbortSignal;
}
export declare function isUnexpectedStopCandidate(message: AssistantMessage): boolean;
export declare function classifyUnexpectedStop(text: string, deps: ClassifyUnexpectedStopDeps): Promise<boolean | undefined>;
export declare function parseUnexpectedStopClassification(text: string): boolean | undefined;
