/** Result of checking a single drift rule. */ export interface DriftResult { readonly drifted: boolean; readonly docPath: string; readonly claim: string; readonly expected: string; readonly actual: string; } /** Options for numeric claim checking. */ export interface NumericClaimOptions { readonly docPath: string; /** The text containing the numeric claim (e.g., "12 MCP tools"). */ readonly claim: string; /** Regex with a capture group for the number. */ readonly pattern: RegExp; /** The actual count from reality. */ readonly actual: number; } /** * Check whether a numeric claim in a doc matches reality. * * Parses the claim text with the given pattern to extract the stated * number, then compares against the actual count. */ export declare function checkNumericClaim(options: NumericClaimOptions): DriftResult; /** Result of checking a pattern prohibition. */ export interface PatternProhibitionResult { readonly drifted: boolean; readonly docPath: string; readonly rule: string; readonly violations: readonly string[]; } /** Options for pattern prohibition checking. */ export interface PatternProhibitionOptions { readonly docPath: string; /** Human-readable description of the rule (e.g., "no getNodes calls in src/"). */ readonly rule: string; /** Regex to search for in file contents. */ readonly pattern: RegExp; /** Map of file path → content to check. */ readonly files: Readonly>; } /** * Check whether a prohibited pattern appears in any of the given files. * * Returns the list of files that violate the prohibition. */ export declare function checkPatternProhibition(options: PatternProhibitionOptions): PatternProhibitionResult; //# sourceMappingURL=structural-drift-detection.d.ts.map