import type { ActiveRun, GateResult, KdQuestion } from "./types.ts"; export type KdActionIntent = "answer-question" | "revise-fact" | "stop-or-reset" | "advance-phase" | "verify-result" | "read-context" | "write-code" | "ask-question" | "phase-input"; export interface KdActionRoute { intent: KdActionIntent; allowed: boolean; reason: string; requiredAction: string; } export declare function routeHarnessAction(input: { run: ActiveRun; gate: GateResult; openQuestion?: KdQuestion; userText: string; }): KdActionRoute; export declare function isPlainAdvanceRequest(text: string): boolean;