import * as z from "zod/v4";
import { OpenEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
/**
 * Name of the provider
 */
export declare const ProviderResponseProviderName: {
    readonly AnyScale: "AnyScale";
    readonly Atoma: "Atoma";
    readonly CentML: "Cent-ML";
    readonly CrofAI: "CrofAI";
    readonly Enfer: "Enfer";
    readonly GoPomelo: "GoPomelo";
    readonly HuggingFace: "HuggingFace";
    readonly Hyperbolic: "Hyperbolic";
    readonly Hyperbolic2: "Hyperbolic 2";
    readonly InoCloud: "InoCloud";
    readonly Kluster: "Kluster";
    readonly Lambda: "Lambda";
    readonly Lepton: "Lepton";
    readonly Lynn2: "Lynn 2";
    readonly Lynn: "Lynn";
    readonly Mancer: "Mancer";
    readonly Modal: "Modal";
    readonly Nineteen: "Nineteen";
    readonly OctoAI: "OctoAI";
    readonly Recursal: "Recursal";
    readonly Reflection: "Reflection";
    readonly Replicate: "Replicate";
    readonly SambaNova2: "SambaNova 2";
    readonly SFCompute: "SF Compute";
    readonly Targon: "Targon";
    readonly Together2: "Together 2";
    readonly Ubicloud: "Ubicloud";
    readonly OneDotAI: "01.AI";
    readonly AkashML: "AkashML";
    readonly Ai21: "AI21";
    readonly AionLabs: "AionLabs";
    readonly Alibaba: "Alibaba";
    readonly Ambient: "Ambient";
    readonly Baidu: "Baidu";
    readonly AmazonBedrock: "Amazon Bedrock";
    readonly AmazonNova: "Amazon Nova";
    readonly Anthropic: "Anthropic";
    readonly ArceeAI: "Arcee AI";
    readonly AtlasCloud: "AtlasCloud";
    readonly Avian: "Avian";
    readonly Azure: "Azure";
    readonly BaseTen: "BaseTen";
    readonly BytePlus: "BytePlus";
    readonly BlackForestLabs: "Black Forest Labs";
    readonly Cerebras: "Cerebras";
    readonly Chutes: "Chutes";
    readonly Cirrascale: "Cirrascale";
    readonly ClaudePlatformOnAWS: "Claude Platform on AWS";
    readonly Clarifai: "Clarifai";
    readonly Cloudflare: "Cloudflare";
    readonly Cohere: "Cohere";
    readonly CoreWeave: "CoreWeave";
    readonly Crucible: "Crucible";
    readonly Crusoe: "Crusoe";
    readonly Darkbloom: "Darkbloom";
    readonly Databricks: "Databricks";
    readonly Decart: "Decart";
    readonly Deepgram: "Deepgram";
    readonly DeepInfra: "DeepInfra";
    readonly DeepSeek: "DeepSeek";
    readonly DekaLLM: "DekaLLM";
    readonly DigitalOcean: "DigitalOcean";
    readonly Featherless: "Featherless";
    readonly Fireworks: "Fireworks";
    readonly FishAudio: "Fish Audio";
    readonly Friendli: "Friendli";
    readonly GMICloud: "GMICloud";
    readonly Google: "Google";
    readonly GoogleAIStudio: "Google AI Studio";
    readonly Groq: "Groq";
    readonly HeyGen: "HeyGen";
    readonly Inception: "Inception";
    readonly Inceptron: "Inceptron";
    readonly InferenceNet: "InferenceNet";
    readonly Ionstream: "Ionstream";
    readonly Infermatic: "Infermatic";
    readonly IoNet: "Io Net";
    readonly InferactVLLM: "Inferact vLLM";
    readonly Inflection: "Inflection";
    readonly Liquid: "Liquid";
    readonly Mara: "Mara";
    readonly Mancer2: "Mancer 2";
    readonly Meta: "Meta";
    readonly Minimax: "Minimax";
    readonly ModelRun: "ModelRun";
    readonly Mistral: "Mistral";
    readonly Modular: "Modular";
    readonly MoonshotAI: "Moonshot AI";
    readonly Morph: "Morph";
    readonly VoyageAIByMongoDB: "VoyageAI by MongoDB";
    readonly NCompass: "NCompass";
    readonly Nebius: "Nebius";
    readonly NexAGI: "Nex AGI";
    readonly NextBit: "NextBit";
    readonly Novita: "Novita";
    readonly Nvidia: "Nvidia";
    readonly OpenAI: "OpenAI";
    readonly OpenInference: "OpenInference";
    readonly Parasail: "Parasail";
    readonly Poolside: "Poolside";
    readonly Perceptron: "Perceptron";
    readonly Perplexity: "Perplexity";
    readonly Phala: "Phala";
    readonly Recraft: "Recraft";
    readonly Reka: "Reka";
    readonly Relace: "Relace";
    readonly SailResearch: "Sail Research";
    readonly SakanaAI: "Sakana AI";
    readonly SambaNova: "SambaNova";
    readonly Seed: "Seed";
    readonly SiliconFlow: "SiliconFlow";
    readonly Sourceful: "Sourceful";
    readonly StepFun: "StepFun";
    readonly Stealth: "Stealth";
    readonly StreamLake: "StreamLake";
    readonly Switchpoint: "Switchpoint";
    readonly Tencent: "Tencent";
    readonly Tenstorrent: "Tenstorrent";
    readonly ThinkingMachines: "Thinking Machines";
    readonly Together: "Together";
    readonly Upstage: "Upstage";
    readonly Venice: "Venice";
    readonly Wafer: "Wafer";
    readonly WandB: "WandB";
    readonly Quiver: "Quiver";
    readonly Krea: "Krea";
    readonly Runway: "Runway";
    readonly Xiaomi: "Xiaomi";
    readonly XAI: "xAI";
    readonly ZAi: "Z.AI";
    readonly FakeProvider: "FakeProvider";
};
/**
 * Name of the provider
 */
export type ProviderResponseProviderName = OpenEnum<typeof ProviderResponseProviderName>;
/**
 * The service tier this request was routed to (e.g. flex, priority). The tier actually applied and billed is determined by the provider response and may differ.
 */
export declare const RoutedServiceTier: {
    readonly Flex: "flex";
    readonly Priority: "priority";
};
/**
 * The service tier this request was routed to (e.g. flex, priority). The tier actually applied and billed is determined by the provider response and may differ.
 */
export type RoutedServiceTier = OpenEnum<typeof RoutedServiceTier>;
/**
 * Details of a provider response for a generation attempt
 */
export type ProviderResponse = {
    /**
     * Internal endpoint identifier
     */
    endpointId?: string | undefined;
    /**
     * Upstream provider response identifier
     */
    id?: string | undefined;
    /**
     * Whether the request used a bring-your-own-key
     */
    isByok?: boolean | undefined;
    /**
     * Response latency in milliseconds
     */
    latency?: number | undefined;
    /**
     * Canonical model slug
     */
    modelPermaslug?: string | undefined;
    /**
     * Name of the provider
     */
    providerName?: ProviderResponseProviderName | undefined;
    /**
     * The service tier this request was routed to (e.g. flex, priority). The tier actually applied and billed is determined by the provider response and may differ.
     */
    routedServiceTier?: RoutedServiceTier | undefined;
    /**
     * HTTP status code from the provider
     */
    status: number | null;
};
/** @internal */
export declare const ProviderResponseProviderName$inboundSchema: z.ZodType<ProviderResponseProviderName, unknown>;
/** @internal */
export declare const RoutedServiceTier$inboundSchema: z.ZodType<RoutedServiceTier, unknown>;
/** @internal */
export declare const ProviderResponse$inboundSchema: z.ZodType<ProviderResponse, unknown>;
export declare function providerResponseFromJSON(jsonString: string): SafeParseResult<ProviderResponse, SDKValidationError>;
//# sourceMappingURL=providerresponse.d.ts.map