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