import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as shared from "../shared/index.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
import { StackOneError } from "./stackoneerror.js";
/**
 * Response headers
 */
export type Headers = {};
/**
 * Error details
 */
export type Data = {
    /**
     * Response headers
     */
    headers?: Headers | null | undefined;
    /**
     * Error message
     */
    message?: string | null | undefined;
    /**
     * HTTP status code
     */
    statusCode?: number | null | undefined;
};
export type BadRequestResponseData = {
    /**
     * Error details
     */
    data?: Data | null | undefined;
    /**
     * Error message
     */
    message: string;
    /**
     * List of provider-specific errors
     */
    providerErrors?: Array<shared.ProviderError> | null | undefined;
    /**
     * HTTP status code
     */
    statusCode: number;
    /**
     * Timestamp when the error occurred
     */
    timestamp: Date;
};
export declare class BadRequestResponse extends StackOneError {
    /**
     * Error details
     */
    data?: Data | null | undefined;
    /**
     * List of provider-specific errors
     */
    providerErrors?: Array<shared.ProviderError> | null | undefined;
    /**
     * Timestamp when the error occurred
     */
    timestamp: Date;
    /** The original data that was passed to this error instance. */
    data$: BadRequestResponseData;
    constructor(err: BadRequestResponseData, httpMeta: {
        response: Response;
        request: Request;
        body: string;
    });
}
/** @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 Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown>;
export declare function dataFromJSON(jsonString: string): SafeParseResult<Data, SDKValidationError>;
/** @internal */
export declare const BadRequestResponse$inboundSchema: z.ZodType<BadRequestResponse, z.ZodTypeDef, unknown>;
//# sourceMappingURL=badrequestresponse.d.ts.map