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 | string; export type HTTPValidationErrorData = { detail?: Array | string | undefined; }; export declare class HTTPValidationError extends UnstructuredClientError { detail?: Array | 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; /** @internal */ export type Detail$Outbound = Array | string; /** @internal */ export declare const Detail$outboundSchema: z.ZodType; export declare function detailToJSON(detail: Detail): string; export declare function detailFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const HTTPValidationError$inboundSchema: z.ZodType; /** @internal */ export type HTTPValidationError$Outbound = { detail?: Array | string | undefined; }; /** @internal */ export declare const HTTPValidationError$outboundSchema: z.ZodType; //# sourceMappingURL=httpvalidationerror.d.ts.map