import { buildCodebaseIndex, buildCodebaseIndexWithStats, parseCodeFiles, assembleCodebaseIndex, assembleCodebaseIndexCooperative, DEFAULT_PARSE_CONCURRENCY } from './code/build.js';
import { createCodeQuerySession, createCodeQuerySessionFromIndex } from './code/session.js';
import { openChunkCodeIndexStore, openCodeIndexStore } from './code/store.js';
import { chunkCodebase, chunkFromIndex, chunkFromIndexCooperative, chunkFromIndexStreaming } from './code/chunk.js';
import { discoverCodeFiles } from './code/discover.js';
import { previewCodebaseSize } from './code/preview.js';
import { buildCodebaseIndexIsolated, chunkFromStoreIsolated } from './code/isolated.js';
import { checkCodeSyntax } from './code/check.js';
import { parseSlimIndex, slimifyIndex, slimifyIndexCooperative, tryParseSlimIndex, validateSlimIndex } from './code/slim.js';
import { summarizeModule, toMermaid } from './code/query.js';
import { searchSymbols } from './code/search.js';
import { buildCodeContext } from './code/context.js';
import { buildChangedRepoMap, buildRepoMap } from './code/map.js';
import { buildDirectoryTree } from './code/tree.js';
import { readCodeSource } from './code/source.js';
import { hashCodeSymbols } from './code/hash.js';
import { readCodeDocs } from './code/doc.js';
import { listCodeSeams, rebaseCochangeToIndexRoot, resolveCodeSeams, seamKeyFor } from './code/seams.js';
import { rankNodes, rankNodesCached, seedRankCache } from './code/rank.js';
import { computeCodeDiff } from './code/diff.js';
import { listCodeFactPredicates, parseCodeFactPredicate, parseLayerManifest, queryCodeFacts, readLayerManifest } from './code/facts.js';
import { inferStructuralLanguage, parseTreeSitterAst, queryTreeSitter, resolveStructuralLanguage, structuralLanguages } from './code/structural.js';
import { parseCodeRulesManifest, queryCodePattern, queryCustomCodeFacts } from './code/rules.js';
import { collectGitBlobStructureBatch, inspectGitBlobStructures } from './code/blob-structure.js';
import { collectAtomsRun, emitAtoms } from './code/atoms.js';
import { collectGitCoordinateVerificationBatch, verifyGitCoordinates } from './code/coordinates.js';
import { collectEntityGraph, exportEntityGraph } from './code/entity-graph.js';
import { computeEntityObligations, computeEntityDiff, createEntitySession, entityCochange, entityDrift, entityDriftForDocuments, rankEntityHotspots, verifyEntityAnchors } from './code/entity/index.js';
import { createEntitySessionIsolated } from './code/entity/isolated.js';
import { getGitChangedFiles, getGitChurnSummary, getGitCochange, getGitCommitHistory, getGitDiffFunctionContext, getGitDiffHunks, getGitDiffPatch, getGitDiffSummary, getGitFileHistory, getGitUntrackedFiles, resolveGitRange } from './git/api.js';
import { captureGitRepository } from './git/capture.js';
import { inspectDocument } from './doc/inspect.js';
import { discoverDocuments } from './doc/discover.js';
import { chunkDocument, chunkDocumentFromMarkdown } from './doc/chunk.js';
import { inspectWorkbook } from './sheet/inspect.js';
import { inspectPresentation } from './slide/inspect.js';
import { inspectTables } from './table/inspect.js';
import { analyzeWorkspace } from './workspace/analyze.js';
import { describeWorkspace } from './workspace/describe.js';
import { inspectWorkspaceDocumentSet } from './workspace/documents.js';
import { prepareWorkspaceContext } from './workspace/prepare.js';
import { bundleWorkspace, bundleWorkspaceIsolated } from './workspace/bundle.js';
import { health } from './health.js';
import { probe } from './probe.js';
import { readInlineSource } from './code/source-inline.js';
import { clusterCodeModules, CodeModuleClusterOptionsSchema, CodeModuleClusterResultSchema } from './code/clusters.js';
import { traceCodeFlows, CodeFlowTraceOptionsSchema, CodeFlowTraceResultSchema } from './code/flows.js';
export type { CodebaseIndex, CodeNode, CodeEdge, CodeEdgeCandidate, CodeNodeType, CodeEdgeType, CodeUsageKind, CodeSourceSpanV1, ParserCapabilities, ParserDiagnostic, ParserDiagnosticCounts, ParserDiagnosticReason, ParserEvidenceSummary, ParserFactCoverage, ParserProvenance, ParserResolverTier, ParserSyntaxStatus, ParserTier, ObservedCapabilities, ObservedLanguageCapabilities, ParsedExport, ParsedUsage, ParsedScope, ParsedSemanticResolution, ParsedSemanticTarget, ResolutionBasis, ResolutionCoverage, TypeScriptCheckerMode, VueTemplateRefusalCounts, DirectoryTreeEntry, DirectoryTreeMode, DirectoryTreeOptions, DirectoryTreeResult, CodeSeam, CodeSeamCochange, DirectoryTreeSymbol, HashCodeSymbolsResult, HashedSymbol, IndexTruncation, ListCodeSeamsOptions, NormalizedSymbolKind, ResolveCodeSeamsResult, SymbolKey, SymbolKeyQuery, SymbolHashLineageResolution, SymbolHashVerdict, SymbolVerificationHashes, } from './code/types.js';
export type { ManifestDiff, ManifestEntry, ChangedFileStat } from './code/incremental.js';
export type { ReadInlineSourceRequest, ReadInlineSourceResult, SourceIdentity, SourceInlineBlock, SourceInlineDiagnostic, SourceInlineManifestEntry, SourceInlineProjection, SourceInlineRange, } from './code/source-inline.js';
export type { CodeQuerySession, CodeSessionChunkOptions } from './code/session.js';
export type { CodeIndexStore, CodeIndexStoreOptions, StoreFreshness, StoreStrategy, StoreMetadata, StoreSessionOptions, StoreChunkIsolatedOptions, } from './code/store.js';
export type { CodeChunk, CodeChunkOptions, CodeChunkStreamingOptions } from './code/chunk.js';
export type { BuildCodebaseOptions, BuildCodebaseResult, BuildFileStat, CodeIndexBudget, BudgetExceededBehavior, ParseCodeFilesOptions, ParseCodeFilesResult, AssembleCodebaseIndexInput, } from './code/build.js';
export type { BuildCodebaseIndexIsolatedOptions, ChunkFromStoreIsolatedOptions, SerializableCodeChunkOptions, } from './code/isolated.js';
export type { CodebaseIndexSlim, SlimParsedFile } from './code/slim.js';
export type { CodebaseSizePreview, PreviewCodebaseSizeOptions } from './code/preview.js';
export type { ModuleSummary, ModuleSummaryOptions, MermaidKind, MermaidOptions } from './code/query.js';
export type { ChangedRepoMapOptions, ChangedRepoMapRange, RepoMapChangeContext, RepoMapOptions, RepoMapResult, RepoMapEntry, RepoMapSymbol, RepoMapFormat, RepoMapMode, RepoMapLayout, RepoMapFocus, RepoMapFocusResult, RepoMapStableDocument, RepoMapStableEntry, } from './code/map.js';
export { RepoMapLayoutSchema, RepoMapStableDocumentSchema, RepoMapStableEntrySchema } from './code/map.js';
export type { BuildDirectoryTreeOptions } from './code/tree.js';
export type { CodeSourceCandidate, ReadCodeSourceOptions, ReadCodeSourceQuery, ReadCodeSourceResult, } from './code/source.js';
export type { HashCodeSymbolsOptions } from './code/hash.js';
export type { CodeModuleCluster, CodeModuleClusterDependency, CodeModuleClusterEntryPoint, CodeModuleClusterOptions, CodeModuleClusterResult, } from './code/clusters.js';
export type { CodeFlowEntryPoint, CodeFlowStep, CodeFlowTrace, CodeFlowTraceOptions, CodeFlowTraceResult, } from './code/flows.js';
export type { CodeDocHonesty, CodeDocQuery, CodeDocResult, ReadCodeDocsOptions } from './code/doc.js';
export type { CheckCodeSyntaxOptions, CheckCodeSyntaxResult, CodeSyntaxDiagnostic } from './code/check.js';
export type { RankOptions, RankResult, RankedNode, RankedFile, RankEdgeWeights } from './code/rank.js';
export type { ChangedSymbol, CodeDiffOptions, CodeDiffResult, FileChange } from './code/diff.js';
export type { CodeFact, CodeFactCapabilityGap, CodeFactCapabilityGapReason, CodeFactDescriptor, CodeFactPredicate, CodeFactsEntityImpactProvider, CodeFactsResult, CycleMemberFact, ExportedUnreferencedFact, LayerManifest, LayerManifestEntry, LayerViolationFact, OrphanModuleFact, QueryCodeFactsOptions, UntestedEntrypointFact, } from './code/facts.js';
export type { StructuralAstOptions, StructuralAstResult, StructuralLanguage, StructuralQueryCandidate, StructuralQueryHit, StructuralQueryLineRange, StructuralQueryOptions, StructuralQueryResult, } from './code/structural.js';
export type { CodePatternOptions, CodePatternResult, CodeRuleMatch, CodeRuleMetaVariable, CodeRulesManifest, CustomCodeFactResult, CustomCodeFactRule, CustomCodeFactsOptions, CustomCodeFactsResult, } from './code/rules.js';
export type { GitBlobDeclarationV1, GitBlobDeclarationV2, GitBlobSourceSpanV1, GitBlobSourceSpanV2, GitBlobStructureBatchEventV1, GitBlobStructureBatchEventV2, GitBlobStructureBatchFooterV1, GitBlobStructureBatchFooterV2, GitBlobStructureBatchHeaderV1, GitBlobStructureBatchHeaderV2, GitBlobStructureBatchV1, GitBlobStructureBatchV2, GitBlobStructureDiagnosticV1, GitBlobStructureDiagnosticV2, GitBlobStructureOptions, GitBlobStructureProvenanceV1, GitBlobStructureProvenanceV2, GitBlobStructureRequestV1, GitBlobStructureRequestV2, GitBlobStructureResultV1, GitBlobStructureResultV2, GitBlobSyntacticFactV1, GitBlobSyntacticFactV2, } from './code/blob-structure.js';
export type { AtomCoordinateV1, AtomCoverage, AtomChangeFlagsV1, AtomChangeFlagsV2, AtomDiagnosticV1, AtomDiagnosticV2, AtomEntityBoundsV1, AtomEntityChangeV1, AtomEntityChangeV2, AtomEpisodeV1, AtomEpisodeV2, AtomFooterV1, AtomFooterV2, AtomHeaderV1, AtomHeaderV2, AtomLineageHeadV1, AtomLineageHeadV2, AtomMatchEvidenceV1, AtomMatchEvidenceV2, AtomMeasuresV1, AtomModulePairV1, AtomModulePairsTouchedV1, AtomRevertEdgeV1, AtomsCursorPayloadV1, AtomsCursorPayloadV2, AtomSourceSpanV1, OccAtomsEventV1, OccAtomsEventV2, OccAtomsOptions, OccAtomsRunV1, OccAtomsRunV2, } from './code/atoms.js';
export type { GitCoordinateCoverageV1, GitCoordinateSourceSpanV1, GitCoordinateVerificationBatchV1, GitCoordinateVerificationDiagnosticV1, GitCoordinateVerificationEventV1, GitCoordinateVerificationFooterV1, GitCoordinateVerificationHeaderV1, GitCoordinateVerificationOptions, GitCoordinateVerificationRequestV1, GitCoordinateVerificationResultV1, GitNativeCoordinateV1, } from './code/coordinates.js';
export type { EntityGraphDiagnosticV1, EntityGraphDiagnosticV2, EntityGraphEdgeV1, EntityGraphEdgeV2, EntityGraphFooterV1, EntityGraphFooterV2, EntityGraphHeaderV1, EntityGraphHeaderV2, EntityGraphNodeV1, EntityGraphNodeV2, EntityGraphSeamV1, EntityGraphSeamV2, OccEntityGraphEventV1, OccEntityGraphEventV2, OccEntityGraphOptions, OccEntityGraphRunV1, OccEntityGraphRunV2, } from './code/entity-graph.js';
export type { GitChangedFile, GitChurnEntry, GitChurnSummary, GitCochangePair, GitCochangeSummary, GitCommit, GitCommitFileChange, GitCommitFileChanges, GitCommitHistory, GitDiffHunk, GitDiffHunks, GitDiffPatch, GitDiffSummary, GitFileHistory, GitFileHistoryEntry, GitFileHunks, GitFileStatus, GitNumstat, GitRange, GitRangeKind, GitRangeMode, GitRepoInfo, GitTreeEntry, } from './git/types.js';
export type { GitChurnOptions, GitCochangeOptions, GitContextOptions, GitFileHistoryOptions, GitHistoryOptions, GitPatchOptions, } from './git/api.js';
export type { GitCaptureActorV1, GitCaptureChangeV1, GitCaptureCommitV1, GitCaptureDeltaEndV1, GitCaptureDeltaStartV1, GitCaptureDiagnosticCode, GitCaptureDiagnosticV1, GitCaptureErrorCode, GitCaptureEventV1, GitCaptureFooterV1, GitCaptureHeaderV1, GitCaptureObjectFormat, GitCaptureObjectId, GitCaptureOptions, GitCapturePathV1, GitCaptureRequestV1, GitCaptureTreeEntryV1, } from './git/capture.js';
export type { GitErrorCode, ResolveDiffRangeOptions, RunGitOptions, RunGitRawResult, RunGitResult, } from './git/client.js';
export type { DocumentChunk, DocumentChunkOptions, ChunkDocumentFromMarkdownOptions } from './doc/chunk.js';
export type { OnProgress, ProgressEvent, ProgressPhase } from './progress-event.js';
export type { CooperativeConfig, CooperativeOption, CooperativeYieldEvent, Yielder } from './utils.js';
export type { SearchSymbolsOptions, SymbolMatchField, SymbolSearchResult } from './code/search.js';
export type { CodeContext, CodeContextExport, CodeContextFile, CodeContextLocalImport, CodeContextSource, } from './code/context.js';
export type { WorkspacePrepareOptions, WorkspacePreparedContext, WorkspacePreparationProgressEvent, OnPrepareProgress, } from './workspace/prepare-types.js';
export type { AnalyzeWorkspaceOptions } from './workspace/analyze.js';
export type { DescribeWorkspaceOptions } from './workspace/describe.js';
export type { InspectWorkspaceDocumentSetOptions } from './workspace/documents.js';
export type { WorkspaceBundle, WorkspaceBundleOptions, WorkspaceOutlineNode, WorkspaceCodeDocumentReference, WorkspaceCorpusChunk, } from './workspace/bundle.js';
export type { WorkspaceDescription, WorkspaceRecommendedCall } from './workspace/types.js';
export type { OccHealth } from './health.js';
export type { DocumentParserModuleLoader, OccProbe, OccProbeDocumentParserFormat, OccProbeDocumentParsers, OccProbeEntityCache, OccProbeGit, OccProbeGrammars, OccProbeGrammarVersion, ProbeOptions, } from './probe.js';
export { buildChangedRepoMap, buildCodebaseIndex, buildCodebaseIndexWithStats, buildDirectoryTree, clusterCodeModules, CodeModuleClusterOptionsSchema, CodeModuleClusterResultSchema, traceCodeFlows, CodeFlowTraceOptionsSchema, CodeFlowTraceResultSchema, buildCodebaseIndexIsolated, buildRepoMap, computeCodeDiff, queryCodeFacts, listCodeFactPredicates, parseCodeFactPredicate, parseLayerManifest, readLayerManifest, queryTreeSitter, parseTreeSitterAst, queryCodePattern, queryCustomCodeFacts, parseCodeRulesManifest, structuralLanguages, resolveStructuralLanguage, inferStructuralLanguage, readCodeSource, hashCodeSymbols, readCodeDocs, listCodeSeams, rebaseCochangeToIndexRoot, resolveCodeSeams, seamKeyFor, rankNodes, rankNodesCached, seedRankCache, parseCodeFiles, assembleCodebaseIndex, assembleCodebaseIndexCooperative, DEFAULT_PARSE_CONCURRENCY, chunkCodebase, chunkFromIndex, chunkFromIndexCooperative, chunkFromIndexStreaming, chunkFromStoreIsolated, checkCodeSyntax, createCodeQuerySession, createCodeQuerySessionFromIndex, discoverCodeFiles, openChunkCodeIndexStore, openChunkCodeIndexStore as openChunkStore, openCodeIndexStore, parseSlimIndex, previewCodebaseSize, slimifyIndex, slimifyIndexCooperative, buildCodeContext, searchSymbols, summarizeModule, toMermaid, tryParseSlimIndex, validateSlimIndex, collectGitBlobStructureBatch, inspectGitBlobStructures, collectAtomsRun, emitAtoms, collectGitCoordinateVerificationBatch, verifyGitCoordinates, collectEntityGraph, exportEntityGraph, readInlineSource, };
export { AtomChangeFlagsV1Schema, AtomChangeFlagsV2Schema, AtomCoordinateV1Schema, AtomCoverageSchema, AtomDiagnosticV1Schema, AtomDiagnosticV2Schema, AtomEntityBoundsV1Schema, AtomEntityChangeV1Schema, AtomEntityChangeV2Schema, AtomEpisodeV1Schema, AtomEpisodeV2Schema, AtomFooterV1Schema, AtomFooterV2Schema, AtomHeaderV1Schema, AtomHeaderV2Schema, AtomLineageHeadV1Schema, AtomLineageHeadV2Schema, AtomMatchEvidenceV1Schema, AtomMatchEvidenceV2Schema, AtomMeasuresV1Schema, AtomModulePairV1Schema, AtomModulePairsTouchedV1Schema, AtomRevertEdgeV1Schema, AtomSourceSpanV1Schema, OccAtomsEventV1Schema, OccAtomsEventV2Schema, OccAtomsRunV1Schema, OccAtomsRunV2Schema, collectAtomsRunV1, decodeAtomsCursor, decodeAtomsCursorV1, } from './code/atoms.js';
export { DEFAULT_GIT_COORDINATE_VERIFICATION_OPTIONS, GIT_SPAN_DIGEST_ALGORITHM, GitCoordinateCoverageV1Schema, GitCoordinateSourceSpanV1Schema, GitCoordinateVerificationBatchV1Schema, GitCoordinateVerificationDiagnosticV1Schema, GitCoordinateVerificationEventV1Schema, GitCoordinateVerificationFooterV1Schema, GitCoordinateVerificationHeaderV1Schema, GitCoordinateVerificationOptionsSchema, GitCoordinateVerificationRequestV1Schema, GitCoordinateVerificationResultV1Schema, GitNativeCoordinateV1Schema, computeGitSpanDigest, selectGitCoordinateSpan, } from './code/coordinates.js';
export { EntityGraphDiagnosticV1Schema, EntityGraphDiagnosticV2Schema, EntityGraphEdgeV1Schema, EntityGraphEdgeV2Schema, EntityGraphFooterV1Schema, EntityGraphFooterV2Schema, EntityGraphHeaderV1Schema, EntityGraphHeaderV2Schema, EntityGraphNodeV1Schema, EntityGraphNodeV2Schema, EntityGraphSeamV1Schema, EntityGraphSeamV2Schema, OccEntityGraphEventV1Schema, OccEntityGraphEventV2Schema, OccEntityGraphRunV1Schema, OccEntityGraphRunV2Schema, collectEntityGraphV1, } from './code/entity-graph.js';
export { DEFAULT_GIT_BLOB_STRUCTURE_OPTIONS, GitBlobDeclarationV1Schema, GitBlobDeclarationV2Schema, GitBlobSourceSpanV1Schema, GitBlobSourceSpanV2Schema, GitBlobStructureBatchEventV1Schema, GitBlobStructureBatchEventV2Schema, GitBlobStructureBatchFooterV1Schema, GitBlobStructureBatchFooterV2Schema, GitBlobStructureBatchHeaderV1Schema, GitBlobStructureBatchHeaderV2Schema, GitBlobStructureBatchV1Schema, GitBlobStructureBatchV2Schema, GitBlobStructureDiagnosticV1Schema, GitBlobStructureDiagnosticV2Schema, GitBlobStructureOptionsSchema, GitBlobStructureProvenanceV1Schema, GitBlobStructureProvenanceV2Schema, GitBlobStructureRequestV1Schema, GitBlobStructureRequestV2Schema, GitBlobStructureResultV1Schema, GitBlobStructureResultV2Schema, GitBlobSyntacticFactV1Schema, GitBlobSyntacticFactV2Schema, collectGitBlobStructureBatchV1, } from './code/blob-structure.js';
export type { CreateEntitySessionOptions, CreateEntitySessionIsolatedOptions, IsolatedEntitySessionOptions, OccEntityIntelligenceSession, OccEntityBlameEntry, OccEntityBlameOptions, OccEntityBlameRuntimeOptions, OccEntityBlamePayload, OccEntityBlameResult, OccEntityBlameState, OccEntityChange, OccEntityContextEntry, OccEntityContextManyEntry, OccEntityContextManyError, OccEntityContextManyOmission, OccEntityContextManyOptions, OccEntityContextManyPayload, OccEntityContextManyRelation, OccEntityContextManyResult, OccEntityContextManyTarget, OccEntityContextOptions, OccEntityContextRuntimeOptions, OccEntityContextPayload, OccEntityContextResult, OccEntityContextDirection, OccEntityContextRole, OccEntityContextUnresolvedHandle, OccEntityReferenceClosure, OccEntityReferenceClosureReason, OccCodeIndexParserEvidenceStatus, OccEntityDiffOptions, OccEntityDiffObligations, OccEntityDiffRuntimeOptions, OccEntityDiffResult, OccEntityDiffSemanticSummary, OccEntityDiffSemanticVerdict, OccEntityObligationSkippedChange, OccEntityObligationSkippedChangeReason, OccEntityEvidenceCoverage, OccEntityErrorCode, OccEntityFreshness, OccEntityStalenessReason, OccEntityHistoryEntry, OccEntityHistoryOptions, OccEntityHistoryRuntimeOptions, OccEntityHistoryPayload, OccEntityHistoryResult, OccEntityImpactEntry, OccEntityImpactOptions, OccEntityImpactPayload, OccEntityImpactResult, OccEntityImpactScope, OccEntityObligationGap, OccEntityTestCommand, OccEntityTestFramework, OccEntityTestSelector, OccEntityIndexStatus, OccEntityOutcome, OccEntityQuery, OccEntityRef, OccEntitySearchOptions, OccEntitySearchResult, OccEntitySourceHonesty, OccEntitySourceOptions, OccEntitySourceResult, OccEntityStats, OccWholeDiffClassifier, OccWholeDiffClassifierInput, OccWholeDiffContent, OccWholeDiffFileBasis, OccWholeDiffFileClassifierInput, OccWholeDiffFileEvidence, OccWholeDiffGitComparison, OccWholeDiffGitLayer, OccWholeDiffGitScope, OccWholeDiffProof, OccWholeDiffSemanticSummary, OccWholeDiffSemanticVerdict, EntityIndex, EntityParserContract, EntityStore, EntityStoreFreshness, EntityStoreOptions, EntityBounds, EntityChangeFlags, EntityChangeType, EntityDiagnostic, EntityDiagnosticCode, EntityDiagnosticEvidenceClass, EntityEvidenceGapSummary, EntityCochangeContext, EntityCochangeHonesty, EntityCochangeOptions, EntityCochangePair, EntityCochangeResult, EntityCochangeRuntimeOptions, EntityDriftContext, EntityDriftDiagnostic, EntityDriftDiagnosticCode, EntityDriftEvidence, EntityDriftHonesty, EntityDriftOptions, EntityDriftResult, EntityDriftRow, EntityDriftRuntimeOptions, EntityDocumentDriftBaseline, EntityDocumentDriftBatchHonesty, EntityDocumentDriftDiagnostic, EntityDocumentDriftDiagnosticCode, EntityDocumentDriftOutcome, EntityDocumentDriftRefused, EntityDocumentDriftResolved, EntityDocumentDriftRow, EntityDriftDocumentInput, EntityDriftForDocumentsContext, EntityDriftForDocumentsOptions, EntityDriftForDocumentsResult, EntityDriftForDocumentsRuntimeOptions, AnchorVerdictDerivation, AnchorVerdictInput, CaptureEntityAnchorResult, EntityAnchorBaseline, EntityAnchorBatchHonesty, EntityAnchorCaptureHandle, EntityAnchorCaptured, EntityAnchorChangesSince, EntityAnchorDiagnostic, EntityAnchorExpected, EntityAnchorHonesty, EntityAnchorInput, EntityAnchorLiveContext, EntityAnchorLocation, EntityAnchorOutcome, EntityAnchorRefusalCode, EntityAnchorRefusedOutcome, EntityAnchorResolvedOutcome, EntityAnchorSymbolKey, EntityAnchorUnknownReason, EntityAnchorVerdict, EntityAnchorVerification, EntityAnchorVerifyContext, VerifyEntityAnchorsOptions, VerifyEntityAnchorsResult, VerifyEntityAnchorsRuntimeOptions, ResolveLineageHandleOutcome, EntityHotspotContext, EntityHotspotHonesty, EntityHotspotOptions, EntityHotspotResult, EntityHotspotRow, EntityHotspotRuntimeOptions, EntityHotspotWeight, EntityIndexStatus, EntityObligationsComputation, EntityObligationsContext, EntityKind, EntityTestKind, EntityRecord, EntitySignatureEvidenceV2, EntitySourceSpanV2, EntitySyntaxEvidenceV2, GrammarManifestEntry, LineageEvent, LineageMatchReason, HistoricalEntityRefV1, HistoricalEntityRefV2, OccBlobLineageBlobV1, OccBlobLineageCoverageV1, OccBlobLineageDeclarationV1, OccBlobLineageDiagnosticCodeV1, OccBlobLineageDiagnosticV1, OccBlobLineageErrorResultV1, OccBlobLineageInputV1, OccBlobLineageResolvedResultV1, OccBlobLineageResultV1, OccBlobLineageBlobV2, OccBlobLineageCompatibleInput, OccBlobLineageCoverageV2, OccBlobLineageDeclarationV2, OccBlobLineageDiagnosticCodeV2, OccBlobLineageDiagnosticV2, OccBlobLineageErrorResultV2, OccBlobLineageInputV2, OccBlobLineageResolvedResultV2, OccBlobLineageResultV2, ResolveBlobLineageInput, ResolveBlobLineageOptions, } from './code/entity/index.js';
export type { OccTestReason, OccTestReasonCode, OccTestSignal, TestRecognitionConfig, TestRecognizer, } from './code/tests.js';
export { DEFAULT_EXCLUDE_DIRS } from './utils.js';
export { CodeIndexBudgetExceededError } from './code/build.js';
export { joinHunksToSymbols } from './code/diff.js';
export { InvalidInputError, OccAbortError, OCC_ABORTED, OCC_INVALID_INPUT, isInvalidInputError, isOccAbortError, } from './errors.js';
export { GitError, detectDefaultBase, gitIsAncestor, gitMergeBase, gitRootCommits, gitVersion, preflightRepo, resolveDiffRange, runGit, runGitRaw, } from './git/client.js';
export { getGitChangedFiles, getGitChurnSummary, getGitCochange, getGitCommitHistory, getGitDiffFunctionContext, getGitDiffHunks, getGitDiffPatch, getGitDiffSummary, getGitFileHistory, getGitUntrackedFiles, resolveGitRange, } from './git/api.js';
export { GitCaptureActorV1Schema, GitCaptureChangeV1Schema, GitCaptureCommitV1Schema, GitCaptureDeltaEndV1Schema, GitCaptureDeltaStartV1Schema, GitCaptureDiagnosticCodeSchema, GitCaptureDiagnosticV1Schema, GitCaptureError, GitCaptureEventV1Schema, GitCaptureFooterV1Schema, GitCaptureHeaderV1Schema, GitCaptureObjectFormatSchema, GitCaptureObjectIdSchema, GitCapturePathV1Schema, GitCaptureRequestV1Schema, GitCaptureTreeEntryV1Schema, captureGitRepository, } from './git/capture.js';
export { health } from './health.js';
export { probe, probeDocumentParsers } from './probe.js';
export { buildTestSelector, buildLiveEntities, computeEntityDiff, computeEntityObligations, classifyEntityDiffSemantics, classifyWholeDiffFile, classifyWholeDiffSemantics, createEntitySession, createEntitySessionIsolated, entityBlame, entityCochange, entityDrift, entityDriftForDocuments, entityContext, entityContextMany, entityHistory, entityImpact, rankEntityHotspots, captureEntityAnchor, deriveAnchorVerdict, verifyEntityAnchors, resolveEntityHandle, EntityAnchorCaptureHandleSchema, EntityAnchorExpectedSchema, EntityAnchorInputSchema, EntityAnchorSymbolKeySchema, EntityAnchorUnknownReasonSchema, EntityAnchorVerdictSchema, VerifyEntityAnchorsOptionsSchema, ENTITY_ANCHOR_DEFAULT_MAX_ANCHORS, ENTITY_ANCHOR_HARD_MAX_ANCHORS, ENTITY_ANCHOR_MAX_DISTINCT_BASE_COMMITS, formatAnchorCapture, formatEntityBlame, formatEntityCochange, formatEntityContext, formatEntityDiff, formatEntityDrift, formatEntityHistory, formatEntityHotspots, formatEntityImpact, formatEntityList, formatEntityRef, formatEntityStatus, ENTITY_EVIDENCE_GAP_CODES, ENTITY_EVIDENCE_GAP_REASON_LIMIT, countEntityAmbiguityEvidence, summarizeEntityEvidenceGaps, ENTITY_CST_PROOF, ENTITY_LINEAGE_ID_VERSION, ENTITY_PARSER_CONTRACT, ENTITY_PARSER_CONTRACT_ID, ENTITY_SIGNATURE_PROOF, EntitySignatureEvidenceV2Schema, EntitySourceSpanV2Schema, EntitySyntaxEvidenceV2Schema, WHOLE_DIFF_GRAMMAR_MANIFEST, WHOLE_DIFF_GRAMMAR_MANIFEST_DIGEST, WHOLE_DIFF_GRAMMAR_MANIFEST_VERSION, WHOLE_DIFF_COMMENT_NODE_TYPES, WHOLE_DIFF_SEMANTIC_PROOF, WHOLE_DIFF_TRIVIA_POLICY, WHOLE_DIFF_TRIVIA_POLICY_DIGEST, WHOLE_DIFF_TRIVIA_POLICY_VERSION, HistoricalEntityRefV1Schema, HistoricalEntityRefV2Schema, OccBlobLineageBlobV1Schema, OccBlobLineageCoverageV1Schema, OccBlobLineageDeclarationV1Schema, OccBlobLineageDiagnosticCodeV1Schema, OccBlobLineageDiagnosticV1Schema, OccBlobLineageErrorResultV1Schema, OccBlobLineageInputV1Schema, OccBlobLineageResolvedResultV1Schema, OccBlobLineageResultV1Schema, OccBlobLineageBlobV2Schema, OccBlobLineageCompatibleInputSchema, OccBlobLineageCoverageV2Schema, OccBlobLineageDeclarationV2Schema, OccBlobLineageDiagnosticCodeV2Schema, OccBlobLineageDiagnosticV2Schema, OccBlobLineageErrorResultV2Schema, OccBlobLineageInputV2Schema, OccBlobLineageResolvedResultV2Schema, OccBlobLineageResultV2Schema, OccWholeDiffProofSchema, isEntityEvidenceGapDiagnostic, openEntityStore, resolveEntity, resolveEntityCacheDir, resolveWholeDiffGrammar, } from './code/entity/index.js';
export type { WholeDiffDirectivePattern } from './code/entity/index.js';
export { createTestRecognizer, isTestPath, DEFAULT_TEST_DIRECTORIES, DEFAULT_TEST_FILE_PATTERNS, } from './code/tests.js';
export { inspectTables } from './table/inspect.js';
export { chunkDocument, chunkDocumentFromMarkdown } from './doc/chunk.js';
export { PROGRESS_PHASES, isProgressPhase } from './progress-event.js';
export { prepareProgressToProgressEvent } from './workspace/prepare-types.js';
export { bundleWorkspace, bundleWorkspaceIsolated } from './workspace/bundle.js';
export { CODEBASE_INDEX_SCHEMA_VERSION, toNormalizedSymbolKind } from './code/types.js';
export { buildTokenBudgetRefusal, describeProjectedFit, isTokenBudgetRefusal, NarrowingOptionSchema, renderTokenBudgetRefusal, TokenBudgetRefusalError, TokenBudgetRefusalSchema, } from './code/narrowing.js';
export type { NarrowingOption, TokenBudgetRefusal } from './code/narrowing.js';
export interface OccCodeNamespace {
    buildIndex: typeof buildCodebaseIndex;
    buildIndexIsolated: typeof buildCodebaseIndexIsolated;
    createSession: typeof createCodeQuerySession;
    createSessionFromIndex: typeof createCodeQuerySessionFromIndex;
    openStore: typeof openCodeIndexStore;
    openChunkStore: typeof openChunkCodeIndexStore;
    previewSize: typeof previewCodebaseSize;
    discover: typeof discoverCodeFiles;
    chunk: typeof chunkCodebase;
    chunkFromIndex: typeof chunkFromIndex;
    chunkFromIndexCooperative: typeof chunkFromIndexCooperative;
    chunkFromIndexStreaming: typeof chunkFromIndexStreaming;
    chunkFromStoreIsolated: typeof chunkFromStoreIsolated;
    summarizeModule: typeof summarizeModule;
    searchSymbols: typeof searchSymbols;
    context: typeof buildCodeContext;
    toMermaid: typeof toMermaid;
    source: typeof readCodeSource;
    inlineSource: typeof readInlineSource;
    symbolHash: typeof hashCodeSymbols;
    doc: typeof readCodeDocs;
    seams: typeof listCodeSeams;
    resolveSeams: typeof resolveCodeSeams;
    check: typeof checkCodeSyntax;
    map: typeof buildRepoMap;
    mapChanged: typeof buildChangedRepoMap;
    directoryTree: typeof buildDirectoryTree;
    clusters: typeof clusterCodeModules;
    flows: typeof traceCodeFlows;
    diff: typeof computeCodeDiff;
    facts: typeof queryCodeFacts;
    factPredicates: typeof listCodeFactPredicates;
    tsquery: typeof queryTreeSitter;
    ast: typeof parseTreeSitterAst;
    pattern: typeof queryCodePattern;
    rulesFacts: typeof queryCustomCodeFacts;
    parseRulesManifest: typeof parseCodeRulesManifest;
    rank: typeof rankNodes;
    rankCached: typeof rankNodesCached;
    seedRankCache: typeof seedRankCache;
    slimifyIndex: typeof slimifyIndex;
    slimifyIndexCooperative: typeof slimifyIndexCooperative;
    parseSlimIndex: typeof parseSlimIndex;
    tryParseSlimIndex: typeof tryParseSlimIndex;
    validateSlimIndex: typeof validateSlimIndex;
    createEntitySession: typeof createEntitySession;
    /** Builds the index in a child process, then opens a session on the warm caches. */
    createEntitySessionIsolated: typeof createEntitySessionIsolated;
    entityDiff: typeof computeEntityDiff;
    entityObligations: typeof computeEntityObligations;
    entityHotspots: typeof rankEntityHotspots;
    entityCochange: typeof entityCochange;
    entityDrift: typeof entityDrift;
    entityDriftForDocuments: typeof entityDriftForDocuments;
    /** Verify caller-held memory anchors against lineage evidence; OCC stores nothing. */
    verifyEntityAnchors: typeof verifyEntityAnchors;
    collectGitBlobBatch: typeof collectGitBlobStructureBatch;
    inspectGitBlobs: typeof inspectGitBlobStructures;
    collectAtoms: typeof collectAtomsRun;
    atoms: typeof emitAtoms;
    collectCoordinateVerification: typeof collectGitCoordinateVerificationBatch;
    verifyCoordinates: typeof verifyGitCoordinates;
    collectEntityGraph: typeof collectEntityGraph;
    entityGraph: typeof exportEntityGraph;
}
export interface OccGitNamespace {
    resolveRange: typeof resolveGitRange;
    changedFiles: typeof getGitChangedFiles;
    diffSummary: typeof getGitDiffSummary;
    diffPatch: typeof getGitDiffPatch;
    diffHunks: typeof getGitDiffHunks;
    diffFunctionContext: typeof getGitDiffFunctionContext;
    commitHistory: typeof getGitCommitHistory;
    fileHistory: typeof getGitFileHistory;
    churnSummary: typeof getGitChurnSummary;
    cochange: typeof getGitCochange;
    untrackedFiles: typeof getGitUntrackedFiles;
    capture: typeof captureGitRepository;
}
export interface OccWorkspaceNamespace {
    analyze: typeof analyzeWorkspace;
    describe: typeof describeWorkspace;
    inspectDocuments: typeof inspectWorkspaceDocumentSet;
    prepare: typeof prepareWorkspaceContext;
    bundle: typeof bundleWorkspace;
    bundleIsolated: typeof bundleWorkspaceIsolated;
}
export interface OccDocNamespace {
    inspect: typeof inspectDocument;
    discover: typeof discoverDocuments;
    chunk: typeof chunkDocument;
    chunkFromMarkdown: typeof chunkDocumentFromMarkdown;
}
export interface OccSheetNamespace {
    inspect: typeof inspectWorkbook;
}
export interface OccSlideNamespace {
    inspect: typeof inspectPresentation;
}
export interface OccTableNamespace {
    inspect: typeof inspectTables;
}
export interface OccNamespace {
    code: OccCodeNamespace;
    git: OccGitNamespace;
    workspace: OccWorkspaceNamespace;
    doc: OccDocNamespace;
    sheet: OccSheetNamespace;
    slide: OccSlideNamespace;
    table: OccTableNamespace;
    health: typeof health;
    /** Runtime readiness for one repository; `health()` reports compile-time capability. */
    probe: typeof probe;
}
export declare function createOcc(): OccNamespace;
