/**
 * Detection Engine
 *
 * Proprietary security detection engine for Vaspera.
 * Combines AST query, data flow, and control flow analysis
 * for high-confidence vulnerability detection.
 *
 * @module scanners/detection
 */
import type { DetectionContext, DetectionResult } from "./types.js";
import { getBuiltinRules, getBuiltinRulesByCategory, getBuiltinRuleById, BUILTIN_RULES } from "./rules/builtin.js";
export * from "./types.js";
export { queryAST, type ASTMatch } from "./engines/ast-query.js";
export { analyzeDataFlow } from "./engines/data-flow.js";
export { loadRulesFromDirectory, loadRuleFromYAML, createRule, RuleValidationError } from "./rules/loader.js";
export { getBuiltinRules, getBuiltinRuleById, getBuiltinRulesByCategory, BUILTIN_RULES };
export declare function runDetection(context: DetectionContext): Promise<DetectionResult>;
export declare function runDetectionWithCustomRules(context: DetectionContext, customRulesDir?: string): Promise<DetectionResult>;
export declare function listAvailableRules(): {
    id: string;
    name: string;
    category: string;
    severity: string;
    enabled: boolean;
}[];
export declare function getDetectionCategories(): string[];
export declare function enableRule(ruleId: string): boolean;
export declare function disableRule(ruleId: string): boolean;
//# sourceMappingURL=index.d.ts.map