import type { ContextHealthSnapshot } from '@longrun-ai/kernel/types/context-health';
export type KernelDriverContextHealthDecision = Readonly<{
    kind: 'proceed';
}> | Readonly<{
    kind: 'continue';
    reason: 'caution_soft_remediation' | 'critical_countdown_remediation' | 'critical_user_prompt_remediation' | 'critical_force_new_course';
}>;
export declare const KERNEL_DRIVER_DEFAULT_CRITICAL_COUNTDOWN_GENERATIONS = 5;
export declare const KERNEL_DRIVER_DEFAULT_CAUTION_REMEDIATION_CADENCE_GENERATIONS = 10;
export declare function getContextHealthRemediationLevel(snapshot: ContextHealthSnapshot | undefined): 'caution' | 'critical' | undefined;
export declare function resetContextHealthRoundState(dialogKey: string): void;
export declare function resolveCriticalCountdownRemaining(dialogKey: string, snapshot: ContextHealthSnapshot | undefined): number;
export declare function consumeCriticalCountdown(dialogKey: string): number;
export declare function resolveCautionRemediationCadenceGenerations(configured: number | undefined): number;
export declare function decideKernelDriverContextHealth(args: {
    dialogKey: string;
    snapshot?: ContextHealthSnapshot;
    hadUserPromptThisGen: boolean;
    hadUserPromptInImmediateToolChain?: boolean;
    userPromptCriticalRemediationAlreadyApplied?: boolean;
    canInjectPromptThisGen: boolean;
    cautionRemediationCadenceGenerations: number;
    criticalCountdownRemaining: number;
}): KernelDriverContextHealthDecision;
