"use strict";
/**
 * Scanner Public API
 *
 * Re-exports from stage modules. All prior exports preserved.
 */
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCategoryGroupCounts = exports.getAvailableCategoryGroups = exports.validateCategories = exports.parseCategoryList = exports.getMatchingCategories = exports.shouldFailOnCategories = exports.matchesAnyCategory = exports.expandCategoryPattern = exports.normalizeCategory = exports.ALL_CATEGORIES = exports.CATEGORY_GROUPS = exports.AI_CONTEXT_PATH = exports.AI_CONTEXT_FILE = exports.AIContextManager = exports.hasMetadata = exports.getAllCategories = exports.getRuleMetadata = exports.RULE_REGISTRY = exports.OCULUM_DIR = exports.BASELINE_FILE_PATH = exports.formatDiffSummary = exports.hasNewBlockingIssues = exports.computeDiff = exports.BaselineManager = exports.isValidHash = exports.generateSuppressionComment = exports.parseInlineSuppressions = exports.listSuppressions = exports.addRuleSuppression = exports.removeFindingSuppression = exports.addFindingSuppression = exports.loadSuppressionConfig = exports.computeFindingHash = exports.SuppressionManager = exports.DEPTH_CONFIGS = exports.buildConfidenceLog = exports.buildAdjustmentContext = exports.scoreFindings = exports.createCancellationToken = exports.validateFindingsWithAI = exports.buildProjectContext = exports.runLayer2Scan = exports.runLayer1Scan = exports.computeIssueMixFromVulnerabilities = exports.runScan = void 0;
// ============================================================================
// Core Scanner API
// ============================================================================
// Pipeline orchestrator — main entry point
var pipeline_1 = require("./pipeline");
Object.defineProperty(exports, "runScan", { enumerable: true, get: function () { return pipeline_1.runScan; } });
// Summary utilities (public API for backfilling legacy scans etc.)
var summary_1 = require("./report/summary");
Object.defineProperty(exports, "computeIssueMixFromVulnerabilities", { enumerable: true, get: function () { return summary_1.computeIssueMixFromVulnerabilities; } });
// ============================================================================
// Re-export types and utilities
// ============================================================================
__exportStar(require("./shared/types"), exports);
var secrets_1 = require("./detect/secrets");
Object.defineProperty(exports, "runLayer1Scan", { enumerable: true, get: function () { return secrets_1.runLayer1Scan; } });
var structural_1 = require("./detect/structural");
Object.defineProperty(exports, "runLayer2Scan", { enumerable: true, get: function () { return structural_1.runLayer2Scan; } });
var project_context_1 = require("./model/project-context");
Object.defineProperty(exports, "buildProjectContext", { enumerable: true, get: function () { return project_context_1.buildProjectContext; } });
var validate_1 = require("./validate");
Object.defineProperty(exports, "validateFindingsWithAI", { enumerable: true, get: function () { return validate_1.validateFindingsWithAI; } });
var types_1 = require("./shared/types");
Object.defineProperty(exports, "createCancellationToken", { enumerable: true, get: function () { return types_1.createCancellationToken; } });
// Confidence scoring exports (Phase 2B)
var score_1 = require("./score");
Object.defineProperty(exports, "scoreFindings", { enumerable: true, get: function () { return score_1.scoreFindings; } });
Object.defineProperty(exports, "buildAdjustmentContext", { enumerable: true, get: function () { return score_1.buildAdjustmentContext; } });
Object.defineProperty(exports, "buildConfidenceLog", { enumerable: true, get: function () { return score_1.buildConfidenceLog; } });
Object.defineProperty(exports, "DEPTH_CONFIGS", { enumerable: true, get: function () { return score_1.DEPTH_CONFIGS; } });
// Suppression system exports
var suppression_1 = require("./postprocess/suppression");
Object.defineProperty(exports, "SuppressionManager", { enumerable: true, get: function () { return suppression_1.SuppressionManager; } });
Object.defineProperty(exports, "computeFindingHash", { enumerable: true, get: function () { return suppression_1.computeFindingHash; } });
Object.defineProperty(exports, "loadSuppressionConfig", { enumerable: true, get: function () { return suppression_1.loadSuppressionConfig; } });
Object.defineProperty(exports, "addFindingSuppression", { enumerable: true, get: function () { return suppression_1.addFindingSuppression; } });
Object.defineProperty(exports, "removeFindingSuppression", { enumerable: true, get: function () { return suppression_1.removeFindingSuppression; } });
Object.defineProperty(exports, "addRuleSuppression", { enumerable: true, get: function () { return suppression_1.addRuleSuppression; } });
Object.defineProperty(exports, "listSuppressions", { enumerable: true, get: function () { return suppression_1.listSuppressions; } });
Object.defineProperty(exports, "parseInlineSuppressions", { enumerable: true, get: function () { return suppression_1.parseInlineSuppressions; } });
Object.defineProperty(exports, "generateSuppressionComment", { enumerable: true, get: function () { return suppression_1.generateSuppressionComment; } });
Object.defineProperty(exports, "isValidHash", { enumerable: true, get: function () { return suppression_1.isValidHash; } });
// Baseline system exports
var baseline_1 = require("./shared/baseline");
Object.defineProperty(exports, "BaselineManager", { enumerable: true, get: function () { return baseline_1.BaselineManager; } });
Object.defineProperty(exports, "computeDiff", { enumerable: true, get: function () { return baseline_1.computeDiff; } });
Object.defineProperty(exports, "hasNewBlockingIssues", { enumerable: true, get: function () { return baseline_1.hasNewBlockingIssues; } });
Object.defineProperty(exports, "formatDiffSummary", { enumerable: true, get: function () { return baseline_1.formatDiffSummary; } });
Object.defineProperty(exports, "BASELINE_FILE_PATH", { enumerable: true, get: function () { return baseline_1.BASELINE_FILE_PATH; } });
Object.defineProperty(exports, "OCULUM_DIR", { enumerable: true, get: function () { return baseline_1.OCULUM_DIR; } });
// Rule metadata exports (PRO-82)
var rules_1 = require("./shared/rules");
Object.defineProperty(exports, "RULE_REGISTRY", { enumerable: true, get: function () { return rules_1.RULE_REGISTRY; } });
Object.defineProperty(exports, "getRuleMetadata", { enumerable: true, get: function () { return rules_1.getRuleMetadata; } });
Object.defineProperty(exports, "getAllCategories", { enumerable: true, get: function () { return rules_1.getAllCategories; } });
Object.defineProperty(exports, "hasMetadata", { enumerable: true, get: function () { return rules_1.hasMetadata; } });
// AI Context exports
var ai_context_1 = require("./shared/ai-context");
Object.defineProperty(exports, "AIContextManager", { enumerable: true, get: function () { return ai_context_1.AIContextManager; } });
Object.defineProperty(exports, "AI_CONTEXT_FILE", { enumerable: true, get: function () { return ai_context_1.AI_CONTEXT_FILE; } });
Object.defineProperty(exports, "AI_CONTEXT_PATH", { enumerable: true, get: function () { return ai_context_1.AI_CONTEXT_PATH; } });
// Category filter exports (Phase 2: Category-Based Filtering)
var category_filter_1 = require("./shared/category-filter");
Object.defineProperty(exports, "CATEGORY_GROUPS", { enumerable: true, get: function () { return category_filter_1.CATEGORY_GROUPS; } });
Object.defineProperty(exports, "ALL_CATEGORIES", { enumerable: true, get: function () { return category_filter_1.ALL_CATEGORIES; } });
Object.defineProperty(exports, "normalizeCategory", { enumerable: true, get: function () { return category_filter_1.normalizeCategory; } });
Object.defineProperty(exports, "expandCategoryPattern", { enumerable: true, get: function () { return category_filter_1.expandCategoryPattern; } });
Object.defineProperty(exports, "matchesAnyCategory", { enumerable: true, get: function () { return category_filter_1.matchesAnyCategory; } });
Object.defineProperty(exports, "shouldFailOnCategories", { enumerable: true, get: function () { return category_filter_1.shouldFailOnCategories; } });
Object.defineProperty(exports, "getMatchingCategories", { enumerable: true, get: function () { return category_filter_1.getMatchingCategories; } });
Object.defineProperty(exports, "parseCategoryList", { enumerable: true, get: function () { return category_filter_1.parseCategoryList; } });
Object.defineProperty(exports, "validateCategories", { enumerable: true, get: function () { return category_filter_1.validateCategories; } });
Object.defineProperty(exports, "getAvailableCategoryGroups", { enumerable: true, get: function () { return category_filter_1.getAvailableCategoryGroups; } });
Object.defineProperty(exports, "getCategoryGroupCounts", { enumerable: true, get: function () { return category_filter_1.getCategoryGroupCounts; } });
//# sourceMappingURL=index.js.map