import * as z from "zod/v4"; import { ProviderName } from "./providername.js"; export type BatchProviderPreferencesOnly = ProviderName | string; /** * Batch provider routing preferences. Only `provider.only` and `provider.allow_fallbacks` are supported. */ export type BatchProviderPreferences = { /** * Whether to allow backup providers to serve requests * * @remarks * - true: (default) when the primary provider (or your custom providers in "order") is unavailable, use the next best provider. * - false: use only the primary/custom provider, and return the upstream error if it's unavailable. */ allowFallbacks?: boolean | null | undefined; /** * List of provider slugs to allow. If provided, this list is merged with your account-wide allowed provider settings for this request. */ only?: Array | null | undefined; }; /** @internal */ export type BatchProviderPreferencesOnly$Outbound = string | string; /** @internal */ export declare const BatchProviderPreferencesOnly$outboundSchema: z.ZodType; export declare function batchProviderPreferencesOnlyToJSON(batchProviderPreferencesOnly: BatchProviderPreferencesOnly): string; /** @internal */ export type BatchProviderPreferences$Outbound = { allow_fallbacks?: boolean | null | undefined; only?: Array | null | undefined; }; /** @internal */ export declare const BatchProviderPreferences$outboundSchema: z.ZodType; export declare function batchProviderPreferencesToJSON(batchProviderPreferences: BatchProviderPreferences): string; //# sourceMappingURL=batchproviderpreferences.d.ts.map