import { type BaseNode, type Document, type Metadata } from "../Node.js"; import type { BaseReader } from "../readers/type.js"; import type { BaseDocumentStore } from "../storage/docStore/types.js"; import type { VectorStore, VectorStoreByType } from "../storage/vectorStore/types.js"; import { IngestionCache } from "./IngestionCache.js"; import { DocStoreStrategy } from "./strategies/index.js"; import type { TransformComponent } from "./types.js"; type IngestionRunArgs = { documents?: Document[]; nodes?: BaseNode[]; }; type TransformRunArgs = { inPlace?: boolean; cache?: IngestionCache; docStoreStrategy?: TransformComponent; }; export declare function runTransformations(nodesToRun: BaseNode[], transformations: TransformComponent[], transformOptions?: any, { inPlace, cache, docStoreStrategy }?: TransformRunArgs): Promise; export declare class IngestionPipeline { transformations: TransformComponent[]; documents?: Document[]; reader?: BaseReader; vectorStore?: VectorStore; vectorStores?: VectorStoreByType; docStore?: BaseDocumentStore; docStoreStrategy: DocStoreStrategy; cache?: IngestionCache; disableCache: boolean; private _docStoreStrategy?; constructor(init?: Partial); prepareInput(documents?: Document[], nodes?: BaseNode[]): Promise; run(args?: IngestionRunArgs & TransformRunArgs, transformOptions?: any): Promise; } export declare function addNodesToVectorStores(nodes: BaseNode[], vectorStores: VectorStoreByType, nodesAdded?: (newIds: string[], nodes: BaseNode[], vectorStore: VectorStore) => Promise): Promise; export {};