import type { Config } from '../../config/schema.js';
import type { PersistentGoalApis } from './persistent-goal-apis.js';
export declare function handlePersistentGoalPostTurn(opts: {
    apis: PersistentGoalApis;
    sessionKey: string;
    assistantPlainText: string;
    aborted: boolean;
    streamError?: string;
    skipPersistentGoalPostTurn: boolean;
    config: Config | undefined;
    /** Active session model (overrides, per-agent defaults) when goals/global defaults are unset. */
    runtimeSessionModelRef?: string;
    signal?: AbortSignal;
    /** Hermes-style: verdict line also sent as a normal outbound message (non-webchat). */
    publishVerdictToChannel?: (text: string) => Promise<void>;
}): Promise<void>;
