import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * Response headers
 */
export type Headers = {};
/**
 * Raw error response from the provider
 */
export type Raw = {};
export type ProviderError = {
    /**
     * Response headers
     */
    headers?: Headers | null | undefined;
    /**
     * Raw error response from the provider
     */
    raw?: Raw | null | undefined;
    /**
     * HTTP status code of the provider error
     */
    status?: number | null | undefined;
    /**
     * URL that caused the error
     */
    url?: string | null | undefined;
};
/** @internal */
export declare const Headers$inboundSchema: z.ZodType<Headers, z.ZodTypeDef, unknown>;
export declare function headersFromJSON(jsonString: string): SafeParseResult<Headers, SDKValidationError>;
/** @internal */
export declare const Raw$inboundSchema: z.ZodType<Raw, z.ZodTypeDef, unknown>;
export declare function rawFromJSON(jsonString: string): SafeParseResult<Raw, SDKValidationError>;
/** @internal */
export declare const ProviderError$inboundSchema: z.ZodType<ProviderError, z.ZodTypeDef, unknown>;
export declare function providerErrorFromJSON(jsonString: string): SafeParseResult<ProviderError, SDKValidationError>;
//# sourceMappingURL=providererror.d.ts.map