/** * Utility Modules * * Exports all utility functions: * - hash: SHA256 utilities * - paths: Path manipulation * - logger: Logging */ export { LogLevel, type Logger, type LoggerConfig, createLogger, getLogger, resetLogger, getDefaultLogDir, parseLogLevel, } from './logger.js'; export { hashString, hashFile, hashFileSync, hashProjectPath, } from './hash.js'; export { escapeSqlString, escapeLikePattern, globToSafeLikePattern, } from './sql.js'; export { MAX_PATH_LENGTH_WINDOWS, MAX_PATH_LENGTH_UNIX, normalizePath, normalizeUnicode, toRelativePath, toAbsolutePath, isPathTraversal, safeJoin, isWithinDirectory, validatePathLength, checkPathLength, getStorageRoot, getIndexPath, getIndexesDir, getLogsPath, getConfigPath, getMetadataPath, getFingerprintsPath, getLanceDbPath, getDocsFingerprintsPath, getDocsLanceDbPath, getDirtyFilesPath, expandTilde, getExtension, getBaseName, } from './paths.js'; export { AsyncMutex, ReadWriteLock, IndexingLock, } from './asyncMutex.js'; export { atomicWrite, atomicWriteJson, } from './atomicWrite.js'; export { type MemoryStats, type MemoryWarningLevel, type MemoryStatus, type MemoryWarningCallback, MEMORY_WARNING_THRESHOLD, MEMORY_CRITICAL_THRESHOLD, DEFAULT_CHECK_INTERVAL, getMemoryStats, formatBytes, getMemoryStatus, logMemoryUsage, isMemoryCritical, isMemoryWarning, requestGarbageCollection, getAdaptiveBatchSize, MemoryMonitor, } from './memory.js'; export { type TimestampValidationResult, type PerfTimer, MAX_REASONABLE_AGE_MS, MAX_FUTURE_TOLERANCE_MS, NFS_TIMESTAMP_RESOLUTION_MS, validateTimestamp, couldBeNfsAliased, getSafeTimestamp, createPerfTimer, measureDuration, } from './timestamp.js'; export { type DiskSpaceInfo, type DiskSpaceValidation, MIN_REQUIRED_SPACE_BYTES, SPACE_BUFFER_MULTIPLIER, ESTIMATED_BYTES_PER_FILE, checkDiskSpace, estimateRequiredSpace, hasSufficientSpace, validateDiskSpace, } from './diskSpace.js'; export { type SearchResultItem, type CompactSearchResult, type CompactSearchOutput, trimChunkWhitespace, areRangesMergeable, deduplicateSameFileResults, processSearchResults, formatCompactResult, formatCompactResults, formatCompactOutput, } from './searchResultProcessing.js'; //# sourceMappingURL=index.d.ts.map