/** * Core Processing Engines * * Exports all processing engines: * - projectRoot: Project detection * - indexPolicy: File filtering (deny list, gitignore) * - chunking: Text splitting * - embedding: Vector generation * - fileWatcher: Change detection * - integrity: Drift reconciliation */ export { PROJECT_MARKERS, MARKER_TYPES, type ProjectMarker, type MarkerType, type DetectionResult, detectProjectRoot, findProjectRoot, isProjectRoot, isFilesystemRoot, checkMarker, } from './projectRoot.js'; export { HARDCODED_DENY_PATTERNS, ALL_DENY_PATTERNS, type PolicyResult, loadGitignore, isBinaryFile, checkFileSize, matchesAnyPattern, isHardDenied, shouldIndex, IndexingPolicy, } from './indexPolicy.js'; export { type Chunk, type SplitOptions, type ChunkWithLines, type ChunkingStrategy, type SmartChunkOptions, DEFAULT_SPLIT_OPTIONS, splitText, splitWithLineNumbers, chunkFile, chunkFileSync, chunkFileWithStrategy, } from './chunking.js'; export { type SupportedLanguage, type CodeAwareChunkOptions, DEFAULT_CODE_AWARE_OPTIONS, detectLanguage, splitCodeWithLineNumbers, supportsCodeAwareChunking, getLanguageName, } from './codeAwareChunking.js'; export { type ASTLanguage, TreeSitterParser, getTreeSitterParser, supportsASTChunking, getASTLanguage, } from './treeSitterParser.js'; export { type ChunkType, type ChunkMetadata, type ASTChunk, type ASTChunkOptions, DEFAULT_AST_OPTIONS, extractASTChunks, astChunksToChunksWithLines, getSupportedASTLanguages, } from './astChunking.js'; export { DOC_FILE_EXTENSIONS, DOC_FILE_PATTERNS, DOC_SPLIT_OPTIONS, isDocFile, chunkDocFile, type DocChunkOptions, } from './docsChunking.js'; export { type MarkdownSection, type MarkdownChunkMetadata, type MarkdownChunkOptions, type MarkdownChunk, DEFAULT_MARKDOWN_CHUNK_OPTIONS, stripFrontmatter, findCodeBlockRanges, isInsideCodeBlock, parseATXHeader, parseSetextUnderline, parseMarkdownSections, formatSection, subChunkSection, chunkMarkdownContent, shouldUseMarkdownChunking, chunkMarkdownFile, } from './markdownChunking.js'; export { CODE_MODEL_NAME, CODE_EMBEDDING_DIMENSION, DOCS_MODEL_NAME, DOCS_EMBEDDING_DIMENSION, MODEL_NAME, EMBEDDING_DIMENSION, BATCH_SIZE, GPU_BATCH_SIZE, type PromptType, type ModelPromptConfig, MODEL_PROMPTS, getPromptPrefix, type EmbeddingResult, type EmbeddingProgressCallback, type DownloadProgressCallback, type EmbeddingEngineConfig, CODE_ENGINE_CONFIG, DOCS_ENGINE_CONFIG, EmbeddingEngine, getCodeEmbeddingEngine, getDocsEmbeddingEngine, getEmbeddingEngine, resetCodeEmbeddingEngine, resetDocsEmbeddingEngine, resetEmbeddingEngine, embedText, embedBatch, } from './embedding.js'; export { FILE_BATCH_SIZE, type IndexPhase, type IndexProgress, type ProgressCallback, type IndexResult, type IndexStats, scanFiles, createFullIndex, updateFile, removeFile, applyDelta, IndexManager, type DeltaResult, } from './indexManager.js'; export { type WatchEvent, type FileEvent, type WatcherStats, DEFAULT_DEBOUNCE_DELAY, STABILITY_THRESHOLD, POLL_INTERVAL, WATCHER_OPTIONS, FileWatcher, createFileWatcher, } from './fileWatcher.js'; export { type DriftReport, type ReconcileResult, type ReconcileProgress, type ReconcileProgressCallback, DEFAULT_CHECK_INTERVAL, scanCurrentState, calculateDrift, reconcile, IntegrityScheduler, IntegrityEngine, runStartupCheck, runStartupCheckBackground, createIntegrityEngine, } from './integrity.js'; export { DOC_FILE_BATCH_SIZE, type DocsIndexPhase, type DocsIndexProgress, type DocsProgressCallback, type DocsIndexResult, type DocsStats, scanDocFiles, createDocsIndex, updateDocFile, removeDocFile, applyDocsDelta, DocsIndexManager, type DocsDeltaResult, extractCodeComments, } from './docsIndexManager.js'; export { type CommentType, type CommentTag, type ExtractedComment, type CommentExtractor, type CommentExtractionOptions, DEFAULT_COMMENT_OPTIONS, SUPPORTED_EXTENSIONS, extractComments, supportsCommentExtraction, formatCommentForIndex, getSupportedExtensions, parseJSDocTags, parsePythonDocTags, cleanJSDocContent, cleanPythonDocstring, cleanRustDocContent, cleanGoDocContent, } from './commentExtractor.js'; export { type StrategyFileEvent, type StrategyStats, type IndexingStrategy, type StrategyName, STRATEGY_NAMES, isValidStrategyName, } from './indexingStrategy.js'; export { RealtimeStrategy, createRealtimeStrategy, type RealtimeStrategyOptions, LazyStrategy, createLazyStrategy, type LazyStrategyOptions, GitStrategy, createGitStrategy, DEFAULT_GIT_DEBOUNCE_DELAY, type GitStrategyOptions, } from './strategies/index.js'; export { StrategyOrchestrator, createStrategyOrchestrator, type StrategyOrchestratorDependencies, } from './strategyOrchestrator.js'; export { type FTSChunk, type FTSSearchResult, type FTSStats, type FTSEngineType, type FTSEngine, FTSNotInitializedError, FTSQueryError, FTSSerializationError, } from './ftsEngine.js'; export { NaturalBM25Engine, createNaturalBM25Engine, } from './naturalBM25.js'; export { SQLiteFTS5Engine, createSQLiteFTS5Engine, isNativeAvailable, resetNativeAvailableCache, type SQLiteFTS5Options, } from './sqliteFTS5.js'; export { FILE_COUNT_THRESHOLD, type EngineSelectionResult, createFTSEngine, checkNativeAvailable, formatEngineSelectionReason, wouldSelectNative, } from './ftsEngineFactory.js'; export { type ComputeDevice, type DeviceInfo, FALLBACK_REASONS, DETECTION_TIMEOUT_MS, isWebGPUAPIAvailable, detectBestDevice, getCachedDeviceInfo, clearDeviceCache, formatDeviceInfo, supportsWebGPU, } from './deviceDetection.js'; export { IntentCategory, type IntentMatch, type QueryIntent, type IntentPattern, type IntentDetectionConfig, type ChunkTypeBoosts, DEFAULT_INTENT_PATTERNS, detectQueryIntent, normalizeToTokens, isEntityLikeQuery, getChunkTypeBoosts, getIntentTagBoost, createIntentDetector, getIntentNames, hasIntent, } from './queryIntent.js'; export { type RankableResult, type RankedResult, type RankingFactors, type AdvancedRankingConfig, type RankingWeights, DEFAULT_RANKING_CONFIG, applyAdvancedRanking, calculateChunkTypeBoost, calculateNameBoost, calculatePathBoost, calculateDocstringBonus, calculateComplexityPenalty, createRanker, extractScores, getTopResults, getRankingStats, } from './advancedRanking.js'; export { type MerkleNodeType, type MerkleNode, type ChunkNode, type FileNode, type DirectoryNode, type ProjectNode, type MerkleDiff, type ChunkDiff, MERKLE_TREE_VERSION, MERKLE_TREE_FILE, computeHash, computeChunkHash, computeChunkContentHash, computeFileHash, computeDirectoryHash, computeProjectHash, diffFileMaps, MerkleTreeManager, createMerkleTreeManager, buildMerkleTree, } from './merkleTree.js'; export { type SymbolInfo, type ImportInfo, type ExportInfo, type ComplexityMetrics, type FileSummary, type SymbolExtractionOptions, DEFAULT_EXTRACTION_OPTIONS, extractFileSummary, supportsSymbolExtraction, getSupportedLanguages, } from './symbolExtractor.js'; export { type QueryExpansionConfig, type QueryExpansionResult, type ExpansionCategory, DEFAULT_QUERY_EXPANSIONS, DEFAULT_EXPANSION_CONFIG, EXPANSION_CATEGORIES, expandQuery, expandQueryWithDetails, hasExpansion, getExpansionTerms, getExpansionKeys, getExpansionCount, createQueryExpander, createDetailedQueryExpander, } from './queryExpansion.js'; //# sourceMappingURL=index.d.ts.map