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 { UnstructuredClientError } from "./unstructuredclienterror.js";
export type Detail = Array<shared.ValidationError> | string;
export type HTTPValidationErrorData = {
    detail?: Array<shared.ValidationError> | string | undefined;
};
export declare class HTTPValidationError extends UnstructuredClientError {
    detail?: Array<shared.ValidationError> | string | undefined;
    /** The original data that was passed to this error instance. */
    data$: HTTPValidationErrorData;
    constructor(err: HTTPValidationErrorData, httpMeta: {
        response: Response;
        request: Request;
        body: string;
    });
}
/** @internal */
export declare const Detail$inboundSchema: z.ZodType<Detail, z.ZodTypeDef, unknown>;
/** @internal */
export type Detail$Outbound = Array<shared.ValidationError$Outbound> | string;
/** @internal */
export declare const Detail$outboundSchema: z.ZodType<Detail$Outbound, z.ZodTypeDef, unknown>;
export declare function detailToJSON(detail: Detail): string;
export declare function detailFromJSON(jsonString: string): SafeParseResult<Detail, SDKValidationError>;
/** @internal */
export declare const HTTPValidationError$inboundSchema: z.ZodType<HTTPValidationError, z.ZodTypeDef, unknown>;
/** @internal */
export type HTTPValidationError$Outbound = {
    detail?: Array<shared.ValidationError$Outbound> | string | undefined;
};
/** @internal */
export declare const HTTPValidationError$outboundSchema: z.ZodType<HTTPValidationError$Outbound, z.ZodTypeDef, HTTPValidationError>;
//# sourceMappingURL=httpvalidationerror.d.ts.map