import type { CodeChunk } from './types.js'; export interface ChunkOnlyOptions { /** Explicit list of files to index (skips full repo scan when provided) */ filesToIndex?: string[]; /** Concurrency for file processing */ concurrency?: number; /** Chunk size in lines */ chunkSize?: number; /** Chunk overlap in lines */ chunkOverlap?: number; } export interface ChunkOnlyResult { success: boolean; filesIndexed: number; /** * Files excluded for exceeding the size cap (`isOversizedForIndexing`). * * Surfaced rather than swallowed: a gate-shaped caller (`lien complexity * --fail-on`) that silently drops a file from its corpus is a soft form of * the false-clean bug. It also keeps "no parseable chunks" from being a * misleading reason when the real reason is "every file was oversized". */ filesSkipped: number; /** * Files whose stat/read/chunk threw and were swallowed per-file. * * One unreadable file must not abort a whole run, but it must not vanish * either: a gate that passes while files silently failed to parse is the * false-clean bug wearing a different hat. */ filesErrored: number; chunksCreated: number; durationMs: number; chunks: CodeChunk[]; error?: string; } /** * Perform chunk-only indexing (no embeddings or VectorDB). * Returns raw chunks in-memory for direct analysis. */ export declare function performChunkOnlyIndex(rootDir: string, options?: ChunkOnlyOptions): Promise; //# sourceMappingURL=chunk-only-index.d.ts.map