/**
 * AST Query Engine
 *
 * Pattern-based AST matching using ts-morph for TypeScript/JavaScript.
 * Supports parameterized patterns with capture groups.
 *
 * @module scanners/detection/engines/ast-query
 */
import { Node } from "ts-morph";
import type { ASTQueryConfig, DetectionMatch, DetectionRule } from "../types.js";
export interface ASTMatch {
    node: Node;
    file: string;
    line: number;
    column: number;
    endLine: number;
    endColumn: number;
    text: string;
    captures: Record<string, string>;
}
export declare function queryAST(filePath: string, config: ASTQueryConfig): Promise<ASTMatch[]>;
export declare function runASTQueryEngine(projectPath: string, rules: DetectionRule[], files?: string[]): Promise<DetectionMatch[]>;
//# sourceMappingURL=ast-query.d.ts.map