import type { ConversationRuntimeFailure } from './conversation.js';
export type RecoveryInputKind = 'empty' | 'explicit_retry' | 'slash_other' | 'short_recovery' | 'long_fresh';
export type RecoveryAction = {
    kind: 'force_resubmit_failed_turn';
} | {
    kind: 'submit_as_new_turn';
} | {
    kind: 'block_with_local_guidance';
    guidance: string;
} | {
    kind: 'slash_passthrough';
};
export declare function classifyRecoveryInput(text: string): RecoveryInputKind;
export declare function classifyFailureRecoveryAction(options: {
    failure: ConversationRuntimeFailure | null | undefined;
    inputKind: RecoveryInputKind;
}): RecoveryAction;
export declare function buildLocalRecoveryGuidance(failure: ConversationRuntimeFailure): string;
