import type ts from "typescript"; import type { CustomRule, EnforcementThresholds, Framework, ValidationMode, ValidationResult } from "../types/guardrail.types.js"; import type { RuleConfig } from "../config/defaultRules.js"; export interface ValidationOptions { rules?: RuleConfig; customRules?: CustomRule[]; } /** * Run every validator against a parsed source file and resolve the enforcement policy. * This is the single pipeline shared by the MCP tools and the project scanner. */ export declare function validateSource(sourceFile: ts.SourceFile, framework: Framework, mode: ValidationMode, thresholds: EnforcementThresholds, options?: ValidationOptions): ValidationResult; //# sourceMappingURL=pipeline.d.ts.map