import * as z from "zod";
export type BadGatewayResponseData = {
    /**
     * Error message
     */
    message: string;
    /**
     * HTTP status code
     */
    statusCode: number;
    /**
     * Timestamp when the error occurred
     */
    timestamp: Date;
};
export declare class BadGatewayResponse extends Error {
    /**
     * HTTP status code
     */
    statusCode: number;
    /**
     * Timestamp when the error occurred
     */
    timestamp: Date;
    /** The original data that was passed to this error instance. */
    data$: BadGatewayResponseData;
    constructor(err: BadGatewayResponseData);
}
/** @internal */
export declare const BadGatewayResponse$inboundSchema: z.ZodType<BadGatewayResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type BadGatewayResponse$Outbound = {
    message: string;
    statusCode: number;
    timestamp: string;
};
/** @internal */
export declare const BadGatewayResponse$outboundSchema: z.ZodType<BadGatewayResponse$Outbound, z.ZodTypeDef, BadGatewayResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace BadGatewayResponse$ {
    /** @deprecated use `BadGatewayResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<BadGatewayResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `BadGatewayResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<BadGatewayResponse$Outbound, z.ZodTypeDef, BadGatewayResponse>;
    /** @deprecated use `BadGatewayResponse$Outbound` instead. */
    type Outbound = BadGatewayResponse$Outbound;
}
//# sourceMappingURL=badgatewayresponse.d.ts.map