export interface KeyGateInput { state: string; lastError: string | null; refused: boolean; } export interface KeyGateVerdict { mode: 'blocked'; reason: string; } export declare function keyGate(input: KeyGateInput): KeyGateVerdict | null;