/** * Anthropic Message Batches helper functions * * Used by AnthropicProvider to implement BatchableProvider. * Handles request formatting, status mapping, and response parsing * specific to the Anthropic batch API. */ import type Anthropic from '@anthropic-ai/sdk'; import type { BatchResult, BatchStatusInfo, BatchStatusValue, BatchSubmission } from '../batch.types.js'; /** * Maps Anthropic processing_status → BatchStatusValue */ export declare function mapAnthropicStatus(status: string): BatchStatusValue; /** * Submit requests to the Anthropic Message Batches API */ export declare function submitAnthropicBatch(client: Anthropic, requests: Array<{ customId: string; params: Anthropic.MessageCreateParamsNonStreaming; }>, providerName: string, localId: string): Promise; /** * Retrieve batch status from Anthropic */ export declare function getAnthropicBatchStatus(client: Anthropic, batchId: string): Promise; /** * Retrieve completed batch results from Anthropic */ export declare function getAnthropicBatchResults(client: Anthropic, batchId: string): Promise; /** * Cancel a batch job */ export declare function cancelAnthropicBatch(client: Anthropic, batchId: string): Promise; //# sourceMappingURL=anthropic.batch-provider.d.ts.map