import * as z from "zod/v4"; import * as models from "../index.js"; import { OpenRouterError } from "./openroutererror.js"; /** * Batch metadata with results withheld (results: null) plus the standard error envelope. Add credits to unlock the already-computed results; the batch is not re-run. */ export type BatchPaymentRequiredResponseErrorData = { completionWindow: models.BatchPaymentRequiredResponseCompletionWindow; createdAt: number; endpoint: string; error: models.BatchPaymentRequiredResponseError; finalizedAt: number | null; id: string; model: string; object: models.BatchPaymentRequiredResponseObject; requestCounts: models.BatchPaymentRequiredResponseRequestCounts; /** * Always null: results are withheld until the batch charge is covered. */ results: any | null; status: models.BatchPaymentRequiredResponseStatus; usage: models.BatchPaymentRequiredResponseUsage | null; }; /** * Batch metadata with results withheld (results: null) plus the standard error envelope. Add credits to unlock the already-computed results; the batch is not re-run. */ export declare class BatchPaymentRequiredResponseError extends OpenRouterError { completionWindow: models.BatchPaymentRequiredResponseCompletionWindow; createdAt: number; endpoint: string; error: models.BatchPaymentRequiredResponseError; finalizedAt: number | null; id: string; model: string; object: models.BatchPaymentRequiredResponseObject; requestCounts: models.BatchPaymentRequiredResponseRequestCounts; /** * Always null: results are withheld until the batch charge is covered. */ results: any | null; status: models.BatchPaymentRequiredResponseStatus; usage: models.BatchPaymentRequiredResponseUsage | null; /** The original data that was passed to this error instance. */ data$: BatchPaymentRequiredResponseErrorData; constructor(err: BatchPaymentRequiredResponseErrorData, httpMeta: { response: Response; request: Request; body: string; }); } /** @internal */ export declare const BatchPaymentRequiredResponseError$inboundSchema: z.ZodType; //# sourceMappingURL=batchpaymentrequiredresponseerror.d.ts.map