/**
 * trace_conditional_middleware — lists middleware that is applied under a
 * runtime condition (e.g., basicAuth only for non-GET methods). Consumes
 * the applied_when data populated by HonoExtractor Phase 2 T4.
 *
 * Use case: audit_hono_security was producing false positives on conditional
 * auth wrappers in inline middleware arrows. This tool surfaces the gated
 * middleware so operators can verify the gating is correct.
 *
 * Spec: docs/specs/2026-04-11-hono-phase-2-plan.md (T7)
 */
import type { ConditionalApplication } from "../parser/extractors/hono-model.js";
export interface ConditionalMiddlewareEntry {
    scope: string;
    middleware_name: string;
    condition_type: ConditionalApplication["condition_type"];
    condition_text: string;
    file: string;
    line: number;
}
export interface ConditionalMiddlewareResult {
    entries?: ConditionalMiddlewareEntry[];
    total?: number;
    error?: string;
}
export declare function traceConditionalMiddleware(repo: string, scopeFilter?: string): Promise<ConditionalMiddlewareResult>;
//# sourceMappingURL=hono-conditional-middleware.d.ts.map