import { z } from 'zod'; import type { ServerNotification, JSONRPCNotification } from '../schema'; /** * Union of all possible server notifications. */ declare const serverNotificationSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; } & { method: z.ZodEnum<["notifications/cancelled", "notifications/progress", "notifications/message", "notifications/resources/updated", "notifications/resources/list_changed", "notifications/tools/list_changed", "notifications/prompts/list_changed", "notifications/example"]>; params: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { params: {} & { [k: string]: unknown; }; method: "notifications/cancelled" | "notifications/progress" | "notifications/resources/list_changed" | "notifications/resources/updated" | "notifications/prompts/list_changed" | "notifications/tools/list_changed" | "notifications/message" | "notifications/example"; jsonrpc: "2.0"; }, { params: {} & { [k: string]: unknown; }; method: "notifications/cancelled" | "notifications/progress" | "notifications/resources/list_changed" | "notifications/resources/updated" | "notifications/prompts/list_changed" | "notifications/tools/list_changed" | "notifications/message" | "notifications/example"; jsonrpc: "2.0"; }>; export { serverNotificationSchema }; export declare function isServerNotification(value: unknown): value is ServerNotification & JSONRPCNotification; //# sourceMappingURL=server-notification.d.ts.map