import * as z from "zod/v4"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; /** * Integer HTTP status, or a Responses API error code string (e.g. `invalid_prompt`) when the request body fails validation */ export type Code = number | string; /** * Error data for ResponsesBadRequestResponse */ export type ResponsesBadRequestResponseErrorData = { /** * Integer HTTP status, or a Responses API error code string (e.g. `invalid_prompt`) when the request body fails validation */ code: number | string; message: string; metadata?: { [k: string]: any; } | null | undefined; }; /** @internal */ export declare const Code$inboundSchema: z.ZodType; export declare function codeFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ResponsesBadRequestResponseErrorData$inboundSchema: z.ZodType; export declare function responsesBadRequestResponseErrorDataFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=responsesbadrequestresponseerrordata.d.ts.map