import { z } from 'zod'; import type { ServerRequest } from '../schema'; /** * Union of all possible server requests. */ declare const serverRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; id: z.ZodUnion<[z.ZodString, z.ZodNumber]>; } & { method: z.ZodEnum<["ping", "sampling/createMessage", "roots/list"]>; params: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { method: "ping" | "sampling/createMessage" | "roots/list"; jsonrpc: "2.0"; id: string | number; params?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }, { method: "ping" | "sampling/createMessage" | "roots/list"; jsonrpc: "2.0"; id: string | number; params?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined; }>; export { serverRequestSchema }; export declare function isServerRequest(value: unknown): value is ServerRequest; //# sourceMappingURL=server-request.d.ts.map