import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; export declare class Batches extends ClientSDK { /** * Create a batch * * @remarks * Creates and executes a batch from an uploaded JSONL file of requests. Each line must have custom_id, method, url, and body fields. */ create(request: operations.CreateBatchRequest, options?: RequestOptions): Promise; /** * List batches * * @remarks * Returns a paginated list of batches owned by the authenticated user. */ list(request: operations.ListBatchesRequest, options?: RequestOptions): Promise; /** * Get a batch * * @remarks * Retrieves a batch by its ID. */ get(request: operations.GetBatchRequest, options?: RequestOptions): Promise; /** * Cancel a batch * * @remarks * Cancels an in-progress batch. The batch status changes to cancelling, and remaining requests will not be processed. */ cancel(request: operations.CancelBatchRequest, options?: RequestOptions): Promise; } //# sourceMappingURL=batches.d.ts.map