export interface EmbeddingConfig { endpoint: string; model: string; dimensions: number; apiKey?: string; } export interface CodeChunk { filePath: string; chunkIndex: number; content: string; } export interface EmbeddingResult { filePath: string; chunkIndex: number; chunkText: string; vector: Float32Array; } export declare const MAX_CHUNK_FILE_SIZE: number; export declare const SKIP_EXTENSIONS: Set; /** Filenames to skip regardless of extension (lock files, generated output). */ export declare const SKIP_FILENAMES: Set; export declare const SKIP_DIRS: Set; /** * Chunk a file into embeddable code segments. * Strategy: split by top-level declarations for TS/JS, fixed-size for others. */ export declare function chunkFile(filePath: string, content: string, maxLines?: number): CodeChunk[]; /** * Check if a file path should be skipped for embedding. */ export declare function shouldSkipFile(filePath: string): boolean; //# sourceMappingURL=embedding.d.ts.map