import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type Headers = {};
export type Raw = {};
export type ProviderErrorApiModel = {
    headers?: Headers | null | undefined;
    raw?: Raw | null | undefined;
    status?: number | null | undefined;
    url?: string | null | undefined;
};
/** @internal */
export declare const Headers$inboundSchema: z.ZodType<Headers, z.ZodTypeDef, unknown>;
/** @internal */
export type Headers$Outbound = {};
/** @internal */
export declare const Headers$outboundSchema: z.ZodType<Headers$Outbound, z.ZodTypeDef, Headers>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Headers$ {
    /** @deprecated use `Headers$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Headers, z.ZodTypeDef, unknown>;
    /** @deprecated use `Headers$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Headers$Outbound, z.ZodTypeDef, Headers>;
    /** @deprecated use `Headers$Outbound` instead. */
    type Outbound = Headers$Outbound;
}
export declare function headersToJSON(headers: Headers): string;
export declare function headersFromJSON(jsonString: string): SafeParseResult<Headers, SDKValidationError>;
/** @internal */
export declare const Raw$inboundSchema: z.ZodType<Raw, z.ZodTypeDef, unknown>;
/** @internal */
export type Raw$Outbound = {};
/** @internal */
export declare const Raw$outboundSchema: z.ZodType<Raw$Outbound, z.ZodTypeDef, Raw>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Raw$ {
    /** @deprecated use `Raw$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Raw, z.ZodTypeDef, unknown>;
    /** @deprecated use `Raw$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Raw$Outbound, z.ZodTypeDef, Raw>;
    /** @deprecated use `Raw$Outbound` instead. */
    type Outbound = Raw$Outbound;
}
export declare function rawToJSON(raw: Raw): string;
export declare function rawFromJSON(jsonString: string): SafeParseResult<Raw, SDKValidationError>;
/** @internal */
export declare const ProviderErrorApiModel$inboundSchema: z.ZodType<ProviderErrorApiModel, z.ZodTypeDef, unknown>;
/** @internal */
export type ProviderErrorApiModel$Outbound = {
    headers?: Headers$Outbound | null | undefined;
    raw?: Raw$Outbound | null | undefined;
    status?: number | null | undefined;
    url?: string | null | undefined;
};
/** @internal */
export declare const ProviderErrorApiModel$outboundSchema: z.ZodType<ProviderErrorApiModel$Outbound, z.ZodTypeDef, ProviderErrorApiModel>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ProviderErrorApiModel$ {
    /** @deprecated use `ProviderErrorApiModel$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ProviderErrorApiModel, z.ZodTypeDef, unknown>;
    /** @deprecated use `ProviderErrorApiModel$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ProviderErrorApiModel$Outbound, z.ZodTypeDef, ProviderErrorApiModel>;
    /** @deprecated use `ProviderErrorApiModel$Outbound` instead. */
    type Outbound = ProviderErrorApiModel$Outbound;
}
export declare function providerErrorApiModelToJSON(providerErrorApiModel: ProviderErrorApiModel): string;
export declare function providerErrorApiModelFromJSON(jsonString: string): SafeParseResult<ProviderErrorApiModel, SDKValidationError>;
//# sourceMappingURL=providererrorapimodel.d.ts.map