/** * Build the guardrail context from resolved DSL + binding data. * * (The DSL→TypeScript codegen context builder, `buildContractContext`, was * removed alongside the runtime `generate()` codegen path.) */ interface GuardrailCheckEntry { guardrail_id: string; description: string; severity: string; action: string; matcher_type: string; pattern: string; message: string; file_glob?: string; exclude_glob?: string; } interface GuardrailContext { commandChecks: GuardrailCheckEntry[]; fileChecks: GuardrailCheckEntry[]; contentChecks: GuardrailCheckEntry[]; allChecks: GuardrailCheckEntry[]; hasGuardrails: boolean; } /** * Build guardrail context from DSL guardrails, binding guardrail_impl, and active policy. * Mirrors the agent-contracts resolveChecks pattern. */ declare function buildGuardrailContext(dsl: any, binding: any, policyName?: string): GuardrailContext; export { type GuardrailContext as G, buildGuardrailContext as b };