import type { WorkflowHudSummary } from "./active-state"; interface WorkflowGateHudState { approvalStatus?: string; blockedReason?: string; nextAction?: string; } interface DeepInterviewHudState extends WorkflowGateHudState { phase?: string; ambiguity?: number; threshold?: number; roundCount?: number; targetComponent?: string; weakestDimension?: string; specStatus?: string; updatedAt?: string; } interface RalplanHudState extends WorkflowGateHudState { stage?: string; waiting?: string; iteration?: number; iterationFromIndex?: number; stages?: string; architectPasses?: number; criticPasses?: number; reviewPassBudget?: number; verdict?: string; latestSummary?: string; pendingApproval?: boolean; autoHandoff?: { configuredTarget: string; effectiveTarget: string; degradationReason: string | null; }; planningStuck?: boolean; updatedAt?: string; } interface UltragoalLikeGoal { id: string; title: string; status: string; } interface UltragoalHudState extends WorkflowGateHudState { status: string; currentGoal?: UltragoalLikeGoal; counts: Record; goals: UltragoalLikeGoal[]; latestLedgerEvent?: { event?: string; goalId?: string; timestamp?: string; kind?: string; evidence?: string; }; updatedAt?: string; } export declare function buildDeepInterviewHudSummary(state: DeepInterviewHudState): WorkflowHudSummary; export interface DeepInterviewHudDeriveOptions { phase?: string; specStatus?: string; updatedAt?: string; } /** * Single source of deep-interview HUD derivation. Reads a complete (normalized) * mode-state envelope so recorder, `gjc state write`, reconcile, seed, and handoff * all produce identical chips. Topology-aware `target`/`weakest` come from * `state.topology`; `legacy_missing` topology omits those chips (no synthetic values). */ export declare function deriveDeepInterviewHud(payload: Record, options?: DeepInterviewHudDeriveOptions): WorkflowHudSummary; export declare function buildRalplanHudSummary(state: RalplanHudState): WorkflowHudSummary; export interface AutoresearchHudState extends WorkflowGateHudState { phase: string; mode?: string; intake?: string; slug?: string; specPath?: string; verdict?: string; experimentCount?: number; experimentStatuses?: string[]; updatedAt?: string; } export declare function buildAutoresearchHudSummary(state: AutoresearchHudState): WorkflowHudSummary; export declare function buildUltragoalHudSummary(state: UltragoalHudState): WorkflowHudSummary; export {};