/** * AST-based impure pattern detection for pure annotation gating. * Uses tree-sitter to detect structural impurity patterns rather than regex. */ /** * Detect impure patterns in source code using AST analysis. * Returns a list of reasons why the code is impure (empty = possibly pure). * * @param sourceCode - The source code to analyze * @param language - Optional language hint ('ruby', 'typescript', 'javascript', etc.) * Defaults to TypeScript/JavaScript analysis for backward compatibility. * Unknown languages return 'needs manual review'. */ export declare function detectImpurePatterns(sourceCode: string, language?: string): string[]; //# sourceMappingURL=pure-check.d.ts.map