import * as z from "zod/v3";
import { StackOneError } from "./stackoneerror.js";
export type BadGatewayResponseData = {
    /**
     * Error message
     */
    message: string;
    /**
     * HTTP status code
     */
    statusCode: number;
    /**
     * Timestamp when the error occurred
     */
    timestamp: Date;
};
export declare class BadGatewayResponse extends StackOneError {
    /**
     * Timestamp when the error occurred
     */
    timestamp: Date;
    /** The original data that was passed to this error instance. */
    data$: BadGatewayResponseData;
    constructor(err: BadGatewayResponseData, httpMeta: {
        response: Response;
        request: Request;
        body: string;
    });
}
/** @internal */
export declare const BadGatewayResponse$inboundSchema: z.ZodType<BadGatewayResponse, z.ZodTypeDef, unknown>;
//# sourceMappingURL=badgatewayresponse.d.ts.map