import { KnowledgeChunker } from "./chunking.mjs"; import { KnowledgeDocumentId, KnowledgeScopeId } from "./documents.mjs"; import { KnowledgeEmbedder } from "./embeddings.mjs"; import { KnowledgeExtractor, LoadedKnowledgeSource } from "./extraction.mjs"; import { KnowledgeSummarizer } from "./summarization.mjs"; import { KnowledgeIngestionError } from "./errors.mjs"; import { SearchIndexStore } from "./store.mjs"; import { Effect } from "effect"; export type IngestKnowledgeDocumentInput = { readonly scopeId: KnowledgeScopeId; readonly documentId: KnowledgeDocumentId; readonly source: LoadedKnowledgeSource; readonly contentHash?: string; readonly maxTokens?: number; }; export declare const ingestKnowledgeDocument: (input: IngestKnowledgeDocumentInput) => Effect.Effect<{ readonly id: string & import("effect/Brand").Brand<"KnowledgeDocumentId">; readonly scopeId: string & import("effect/Brand").Brand<"KnowledgeScopeId">; readonly source: { readonly _tag: "File"; readonly ref: string; readonly name?: string | undefined; readonly mediaType?: string | undefined; } | { readonly _tag: "Url"; readonly url: string; } | { readonly _tag: "Text"; readonly label?: string | undefined; }; readonly status: "error" | "processing" | "ready"; readonly title?: string | undefined; readonly summary?: string | undefined; readonly errorMessage?: string | undefined; readonly contentHash?: string | undefined; readonly tokenCount?: number | undefined; readonly chunkCount?: number | undefined; readonly metadata?: { readonly [x: string]: unknown; } | undefined; }, KnowledgeIngestionError, KnowledgeChunker | KnowledgeEmbedder | KnowledgeExtractor | KnowledgeSummarizer | SearchIndexStore>; export type KnowledgeIngestionPipeline = { readonly ingest: (input: IngestKnowledgeDocumentInput) => ReturnType; }; export declare const makeIngestionPipeline: () => KnowledgeIngestionPipeline; //# sourceMappingURL=ingestion.d.mts.map