/**
 * Diagnostic snapshot for debugging flow issues.
 *
 * Produces a sanitized JSON object that shows exactly why the router
 * picked the current screen — without leaking tokens or secrets.
 *
 * Used by the /debug slash command and crash report writer.
 */
import type { WizardSession } from '../../../lib/wizard-session.js';
import type { WizardStore } from '../store.js';
import { Flow } from '../flows.js';
export interface FlowStepEvaluation {
    screen: string;
    visible: boolean;
    complete: boolean;
    active: boolean;
}
/** Walk the flow pipeline and explain each routing decision. */
export declare function evaluateFlow(session: WizardSession, flow?: Flow): FlowStepEvaluation[];
/** Create a sanitized diagnostic snapshot safe to share with support. */
export declare function createDiagnosticSnapshot(store: WizardStore, version: string): object;
