import type { RoutingInstructionState } from '../../../router/virtual-router/routing-instructions.js';
export declare function hasArmedStopMessageState(state: RoutingInstructionState): boolean;
export declare function normalizeStopMessageModeValue(value: unknown): 'on' | 'off' | 'auto' | undefined;
export declare function normalizeStopMessageStageMode(value: unknown): 'on' | 'off' | 'auto' | undefined;
export declare function resolveStopMessageMaxRepeats(value: unknown, stageMode: 'on' | 'off' | 'auto' | undefined): number;
export declare function resolveStopMessageSnapshot(raw: unknown): {
    text: string;
    maxRepeats: number;
    used: number;
    source?: string;
    updatedAt?: number;
    lastUsedAt?: number;
    stageMode?: 'on' | 'off' | 'auto';
    aiMode?: 'on' | 'off';
} | null;
export declare function createStopMessageState(snapshot: {
    text: string;
    maxRepeats: number;
    used: number;
    source?: string;
    updatedAt?: number;
    lastUsedAt?: number;
    stageMode?: 'on' | 'off' | 'auto';
    aiMode?: 'on' | 'off';
    aiSeedPrompt?: string;
    aiHistory?: Array<Record<string, unknown>>;
}): RoutingInstructionState;
export declare function clearStopMessageState(state: RoutingInstructionState, _now: number): void;
