import { type Violation } from '../../../domain/violation'; export interface EditBoundaryRule { readonly ruleId: string; readonly adrRef?: string; readonly appliesTo: string; readonly forbiddenImports: readonly string[]; readonly severity: 'error' | 'warning'; readonly message?: string; } export interface ProposedEdit { readonly filePath: string; readonly content: string; } export interface EditGateDecision { readonly allow: boolean; readonly violations: readonly Violation[]; } export declare const EDIT_GATE_TOOL = "edit-gate"; export interface ImportRef { readonly spec: string; readonly line: number; } export declare function extractImports(content: string): ImportRef[]; export declare function evaluateEdit(edit: ProposedEdit, rules: readonly EditBoundaryRule[]): EditGateDecision;