import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Contains parameter or domain specific information related to the error and why it occurred. */ export type Detail = string | { [k: string]: any; }; /** * Unexpected error */ export type UnexpectedErrorResponse = { /** * HTTP status code */ statusCode?: number | undefined; /** * Contains an explanation of the status_code as defined in HTTP/1.1 standard (RFC 7231) */ error?: string | undefined; /** * The type of error returned */ typeName?: string | undefined; /** * A human-readable message providing more details about the error. */ message?: string | undefined; /** * Contains parameter or domain specific information related to the error and why it occurred. */ detail?: string | { [k: string]: any; } | undefined; /** * Link to documentation of error type */ ref?: string | undefined; }; /** @internal */ export declare const Detail$inboundSchema: z.ZodType; export declare function detailFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const UnexpectedErrorResponse$inboundSchema: z.ZodType; export declare function unexpectedErrorResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=unexpectederrorresponse.d.ts.map