import { type DigestAction, type PlanContext } from "../internals/plan.js"; /** * Phase 3 — the Guardrail Rules severity panel (CRITICAL / IMPORTANT / STYLE). * GATED on real scan results: aih reads `.aih/guardrail-scan.json` (the contract it * owns), which a real scan (lint / gitleaks / ecc-agentshield) writes. When absent, * the panel is OMITTED — never shown as zero-as-if-scanned. aih does NOT run the * scan inline (respects the action model); the demo mode showcases the panel. */ export interface GuardrailCounts { critical: number; important: number; style: number; } /** The Guardrail Rules digest — undefined when no real scan results exist. */ export declare function guardrailDigest(ctx: PlanContext): DigestAction | undefined;