import { D as EmbeddingBatchExecutionParams, N as postJsonWithRetry, r as withRemoteHttpResponse, y as uploadBatchJsonlFile } from "../../memory-core-host-engine-embeddings-BjbGWPkP.js"; import { n as VoyageEmbeddingClient } from "../../embedding-provider-Dvsl03o8.js"; //#region extensions/voyage/embedding-batch.d.ts /** * Voyage Batch API Input Line format. * See: https://docs.voyageai.com/docs/batch-inference */ type VoyageBatchRequest = { custom_id: string; body: { input: string | string[]; }; }; type VoyageBatchDeps = { now: () => number; sleep: (ms: number) => Promise; postJsonWithRetry: typeof postJsonWithRetry; uploadBatchJsonlFile: typeof uploadBatchJsonlFile; withRemoteHttpResponse: typeof withRemoteHttpResponse; }; declare function runVoyageEmbeddingBatches(params: { client: VoyageEmbeddingClient; agentId: string; requests: VoyageBatchRequest[]; deps?: Partial; } & EmbeddingBatchExecutionParams): Promise>; //#endregion export { runVoyageEmbeddingBatches };