import { j as ProviderBatchOutputLine } from "../../memory-core-host-engine-embeddings-BjbGWPkP.js"; import { n as OpenAiEmbeddingClient } from "../../embedding-provider-B3FM6QhX.js"; //#region extensions/openai/embedding-batch.d.ts type EmbeddingBatchExecutionParams = { wait: boolean; pollIntervalMs: number; timeoutMs: number; concurrency: number; debug?: (message: string, data?: Record) => void; }; type OpenAiBatchRequest = { custom_id: string; method: "POST"; url: "/v1/embeddings"; body: { model: string; input: string; }; }; type OpenAiBatchOutputLine = ProviderBatchOutputLine; declare const OPENAI_BATCH_ENDPOINT = "/v1/embeddings"; declare function parseOpenAiBatchOutput(text: string): OpenAiBatchOutputLine[]; declare function runOpenAiEmbeddingBatches(params: { openAi: OpenAiEmbeddingClient; agentId: string; requests: OpenAiBatchRequest[]; } & EmbeddingBatchExecutionParams): Promise>; //#endregion export { OPENAI_BATCH_ENDPOINT, parseOpenAiBatchOutput, runOpenAiEmbeddingBatches };