import { z } from 'zod'; /** * A response to a request that indicates an error occurred. */ export declare const errorSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; id: z.ZodUnion<[z.ZodString, z.ZodNumber]>; error: z.ZodObject<{ /** * The error type that occurred. */ code: z.ZodNumber; /** * A short description of the error. The message SHOULD be limited to a concise single sentence. */ message: z.ZodString; /** * Additional information about the error. The value of this member is defined by the sender (e.g. detailed error information, nested errors etc.). */ data: z.ZodOptional; }, "strip", z.ZodTypeAny, { message: string; code: number; data?: unknown; }, { message: string; code: number; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { message: string; code: number; data?: unknown; }; jsonrpc: "2.0"; id: string | number; }, { error: { message: string; code: number; data?: unknown; }; jsonrpc: "2.0"; id: string | number; }>; //# sourceMappingURL=jsonrpc-error.d.ts.map