/** * StaticContext adapter that converts file scan data into canonical contract StaticContext. * This adapter bridges the gap between the static scanner and the contract layer. */ import type { StaticContext } from "../contracts/types"; /** * Creates a canonical StaticContext adapter for static file analysis. * Converts file path and content into a context suitable for rule evaluation. * * @param filePath The normalized file path for location tracking * @param content The complete file content to analyze * @returns A StaticContext instance ready for rule evaluation */ export declare function createStaticContextAdapter(filePath: string, content: string): StaticContext; /** * Adapts the legacy RuleContext type to StaticContext. * This allows existing code that creates RuleContext to work with StaticContext consumers. */ export declare function adaptRuleContextToStaticContext(ruleContext: any): StaticContext;