/** * @opensip-cli/graph — public barrel. * * The graph tool implements a strict seven-stage pipeline (the canonical * `GRAPH_STAGES` execution order): * discover → parse → walk → resolve → index → features → rules. */ import './scope-augmentation.js'; export type { GraphSubscope } from './scope-augmentation.js'; export { graphTool, graphTool as tool } from './tool.js'; export { GRAPH_CONTRACT_VERSION } from './tool.js'; export { GRAPH_ENV_SPECS } from './cli/pressure-monitor.js'; export type { Catalog, ReExportRecord, FunctionOccurrence, CallEdge, DependencyEdge, DependencyClassification, DependencyForm, DependencyRole, DependencyTargetKind, DependencyResolutionBasis, Param, Indexes, Rule, RuleHints, ResolutionStats, ResolverVerdict, ParseError, FunctionKind, CallResolution, CallConfidence, ResolutionMode, CrossBoundaryCall, Visibility, FeatureTable, FunctionFeatures, PackageFeatures, SccFeatures, PackageEdgeFeature, BlastScore, FeatureColumn, PersistedFeatures, PersistedFunctionFeatures, DeclarationKind, ReferenceKind, SemanticResolutionBasis, SemanticConfidence, SemanticVisibility, SemanticExportRole, DeclarationFact, CrossFileReferenceFact, SemanticFactProducerCoverage, SemanticFactBundle, SemanticFactLimits, } from './types.js'; export { isValidDependencyFormRole } from './types.js'; export { MAX_SEMANTIC_DECLARATIONS, MAX_SEMANTIC_REFERENCES, MAX_REFERENCES_PER_DECLARATION, MAX_SEMANTIC_NAME, MAX_SEMANTIC_TEXT, MAX_SEMANTIC_LINE, MAX_SEMANTIC_COLUMN, DEFAULT_SEMANTIC_FACT_LIMITS, } from './types.js'; export type { GraphLanguageAdapter, DiscoverInput, DiscoverOutput, ParseInput, ParseOutput, WalkInput, WalkOutput, ResolveInput, ResolveOutput, CallSiteRecord, DependencySiteRecord, CacheKeyInput, ParsedProject, } from './lang-adapter/types.js'; export type { CallConfidence as AdapterCallConfidence } from './types.js'; export { pickAdapter, createAdapterRegistry, currentAdapterRegistry, GraphAdapterRegistry, } from './lang-adapter/registry.js'; export { GraphAdapterSelector } from './lang-adapter/selector.js'; export { readSourceFileGuarded, MAX_SOURCE_FILE_BYTES } from './lang-adapter/read-source.js'; export { truncateForCallEdge, CALL_EDGE_TEXT_MAX, CREATION_EDGE_PREFIX, CREATION_EDGE_TEXT_MAX, appendEdge, createMutableStats, pushCreationEdge, } from './lang-adapter/edge-helpers.js'; export type { EdgePosition, EdgeSink, MutableStats } from './lang-adapter/edge-helpers.js'; export { normalizeWhitespace, hashBody } from './lang-adapter/body-digest.js'; export type { BodyDigest } from './lang-adapter/body-digest.js'; export { NEAR_DUP_SIGNATURE_K, NEAR_DUP_LSH_BANDS, NEAR_DUP_LSH_ROWS, shingle, bodySignature, estimateJaccard, lshBandHashes, digestCanonicalBody, } from './lang-adapter/near-duplicate-signature.js'; export type { BodyDigestWithSignature } from './lang-adapter/near-duplicate-signature.js'; export { languageOfFile } from './lang-adapter/language-of-file.js'; export { isTestFilePath } from '@opensip-cli/clone-detection'; export { ownerEdgeKey } from './owner-key.js'; export { buildExportIndex, buildPackageManifestIndex, buildPackageManifestIndexFromRoots, resolveSpecifierToPackage, packageGroupOf, } from './cross-package/export-index.js'; export type { ExportIndex, PackageManifest, PackageManifestIndex, ResolvedSpecifier, } from './cross-package/export-index.js'; export { resolveCrossPackageCall, linkExported } from './cross-package/resolve.js'; export type { CrossPackageCallInput } from './cross-package/resolve.js'; export { makeDeclarationId, makeReferenceId, applySemanticFactCaps, emptySemanticFactBundle, mergeSemanticFactBundles, sortReasonCodes, } from './semantic-facts.js'; export { defineRule } from './rules/define-rule.js'; export type { RuleDataset, GraphFeatures, DefineRuleConfig } from './rules/define-rule.js'; export { defineGraphRecipe } from './recipes/types.js'; export type { GraphRecipe, GraphRecipeDefinition, RuleSelector, RuleConfigMap, } from './recipes/types.js'; export { builtInGraphRecipes, builtInGraphRecipesByName, defaultGraphRecipe, deadCodeGraphRecipe, isBuiltInGraphRecipe, } from './recipes/built-in-recipes.js'; export { GraphRecipeRegistry, createRecipeRegistry, currentGraphRecipes, } from './recipes/registry.js'; export { resolveRecipeToRules } from './recipes/resolve.js'; //# sourceMappingURL=index.d.ts.map