import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { ProviderErrorApiModel } from "./providererrorapimodel.js";
/**
 * The response data from the provider. Can be an object, array, or primitive value.
 */
export type ProxyResponseApiModelData = {
    [k: string]: any;
} | Array<{
    [k: string]: any;
}> | string | number | boolean;
export type ProxyResponseApiModel = {
    /**
     * The response data from the provider. Can be an object, array, or primitive value.
     */
    data?: {
        [k: string]: any;
    } | Array<{
        [k: string]: any;
    }> | string | number | boolean | null | undefined;
    /**
     * The headers returned by the provider
     */
    headers?: {
        [k: string]: any;
    } | null | undefined;
    /**
     * Provider-specific errors if any occurred
     */
    providerErrors?: Array<ProviderErrorApiModel> | null | undefined;
    /**
     * The HTTP status code returned by the provider
     */
    status: number;
};
/** @internal */
export declare const ProxyResponseApiModelData$inboundSchema: z.ZodType<ProxyResponseApiModelData, z.ZodTypeDef, unknown>;
export declare function proxyResponseApiModelDataFromJSON(jsonString: string): SafeParseResult<ProxyResponseApiModelData, SDKValidationError>;
/** @internal */
export declare const ProxyResponseApiModel$inboundSchema: z.ZodType<ProxyResponseApiModel, z.ZodTypeDef, unknown>;
export declare function proxyResponseApiModelFromJSON(jsonString: string): SafeParseResult<ProxyResponseApiModel, SDKValidationError>;
//# sourceMappingURL=proxyresponseapimodel.d.ts.map