import type { RagChunkInput } from './rag-runtime.js'; import { type RagSemanticFacts } from './semantic-validator.js'; import type { IRNode } from './types.js'; export declare const RAG_CHUNK_ID_VERSION = "kern-rag-chunk-v1"; export declare const RAG_TOKEN_WINDOW_CHUNKER_VERSION = "token-window-v1"; export declare const RAG_SEMANTIC_CHUNKER_VERSION = "semantic-boundary-v1"; export declare const RAG_CHUNKER_VERSION = "token-window-v1"; export interface RagIngestOptions { readonly sourcePath: string; readonly corpusNames?: readonly string[]; } export interface RagIngestedSource { readonly corpusName: string; readonly sourceName?: string; readonly uri: string; readonly rootDir: string; readonly files: readonly string[]; } export interface RagIngestResult { readonly chunks: readonly RagChunkInput[]; readonly sources: readonly RagIngestedSource[]; readonly corpusSha256: string; } export declare function ingestRagDeclaredLocalSources(root: IRNode, options: RagIngestOptions): RagIngestResult; export declare function ingestRagFactsDeclaredLocalSources(facts: RagSemanticFacts, options: RagIngestOptions): RagIngestResult;