import { z } from 'zod'; export declare const CreateSurfaceMessageSchema: z.ZodObject<{ version: z.ZodLiteral<"v0.9">; createSurface: z.ZodObject<{ surfaceId: z.ZodString; catalogId: z.ZodString; theme: z.ZodOptional; sendDataModel: z.ZodOptional; }, "strict", z.ZodTypeAny, { surfaceId: string; catalogId: string; theme?: any; sendDataModel?: boolean | undefined; }, { surfaceId: string; catalogId: string; theme?: any; sendDataModel?: boolean | undefined; }>; }, "strict", z.ZodTypeAny, { version: "v0.9"; createSurface: { surfaceId: string; catalogId: string; theme?: any; sendDataModel?: boolean | undefined; }; }, { version: "v0.9"; createSurface: { surfaceId: string; catalogId: string; theme?: any; sendDataModel?: boolean | undefined; }; }>; export declare const UpdateComponentsMessageSchema: z.ZodObject<{ version: z.ZodLiteral<"v0.9">; updateComponents: z.ZodObject<{ surfaceId: z.ZodString; components: z.ZodArray; weight: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "strict", z.ZodTypeAny, { surfaceId: string; components: z.objectOutputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; }, { surfaceId: string; components: z.objectInputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; }>; }, "strict", z.ZodTypeAny, { version: "v0.9"; updateComponents: { surfaceId: string; components: z.objectOutputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; }; }, { version: "v0.9"; updateComponents: { surfaceId: string; components: z.objectInputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; }; }>; export declare const UpdateDataModelMessageSchema: z.ZodObject<{ version: z.ZodLiteral<"v0.9">; updateDataModel: z.ZodObject<{ surfaceId: z.ZodString; path: z.ZodOptional; value: z.ZodOptional; }, "strict", z.ZodTypeAny, { surfaceId: string; value?: any; path?: string | undefined; }, { surfaceId: string; value?: any; path?: string | undefined; }>; }, "strict", z.ZodTypeAny, { version: "v0.9"; updateDataModel: { surfaceId: string; value?: any; path?: string | undefined; }; }, { version: "v0.9"; updateDataModel: { surfaceId: string; value?: any; path?: string | undefined; }; }>; export declare const DeleteSurfaceMessageSchema: z.ZodObject<{ version: z.ZodLiteral<"v0.9">; deleteSurface: z.ZodObject<{ surfaceId: z.ZodString; }, "strict", z.ZodTypeAny, { surfaceId: string; }, { surfaceId: string; }>; }, "strict", z.ZodTypeAny, { deleteSurface: { surfaceId: string; }; version: "v0.9"; }, { deleteSurface: { surfaceId: string; }; version: "v0.9"; }>; export declare interface CreateSurfaceMessage extends z.infer { version: 'v0.9'; createSurface: { surfaceId: string; catalogId: string; theme?: any; sendDataModel?: boolean; }; } export declare interface UpdateComponentsMessage extends z.infer { version: 'v0.9'; updateComponents: { surfaceId: string; components: any[]; }; } export declare interface UpdateDataModelMessage extends z.infer { version: 'v0.9'; updateDataModel: { surfaceId: string; path?: string; value?: any; }; } export declare interface DeleteSurfaceMessage extends z.infer { version: 'v0.9'; deleteSurface: { surfaceId: string; }; } export declare const A2uiMessageSchema: z.ZodUnion<[z.ZodObject<{ version: z.ZodLiteral<"v0.9">; createSurface: z.ZodObject<{ surfaceId: z.ZodString; catalogId: z.ZodString; theme: z.ZodOptional; sendDataModel: z.ZodOptional; }, "strict", z.ZodTypeAny, { surfaceId: string; catalogId: string; theme?: any; sendDataModel?: boolean | undefined; }, { surfaceId: string; catalogId: string; theme?: any; sendDataModel?: boolean | undefined; }>; }, "strict", z.ZodTypeAny, { version: "v0.9"; createSurface: { surfaceId: string; catalogId: string; theme?: any; sendDataModel?: boolean | undefined; }; }, { version: "v0.9"; createSurface: { surfaceId: string; catalogId: string; theme?: any; sendDataModel?: boolean | undefined; }; }>, z.ZodObject<{ version: z.ZodLiteral<"v0.9">; updateComponents: z.ZodObject<{ surfaceId: z.ZodString; components: z.ZodArray; weight: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "strict", z.ZodTypeAny, { surfaceId: string; components: z.objectOutputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; }, { surfaceId: string; components: z.objectInputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; }>; }, "strict", z.ZodTypeAny, { version: "v0.9"; updateComponents: { surfaceId: string; components: z.objectOutputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; }; }, { version: "v0.9"; updateComponents: { surfaceId: string; components: z.objectInputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; }; }>, z.ZodObject<{ version: z.ZodLiteral<"v0.9">; updateDataModel: z.ZodObject<{ surfaceId: z.ZodString; path: z.ZodOptional; value: z.ZodOptional; }, "strict", z.ZodTypeAny, { surfaceId: string; value?: any; path?: string | undefined; }, { surfaceId: string; value?: any; path?: string | undefined; }>; }, "strict", z.ZodTypeAny, { version: "v0.9"; updateDataModel: { surfaceId: string; value?: any; path?: string | undefined; }; }, { version: "v0.9"; updateDataModel: { surfaceId: string; value?: any; path?: string | undefined; }; }>, z.ZodObject<{ version: z.ZodLiteral<"v0.9">; deleteSurface: z.ZodObject<{ surfaceId: z.ZodString; }, "strict", z.ZodTypeAny, { surfaceId: string; }, { surfaceId: string; }>; }, "strict", z.ZodTypeAny, { deleteSurface: { surfaceId: string; }; version: "v0.9"; }, { deleteSurface: { surfaceId: string; }; version: "v0.9"; }>]>; /** A message sent from the A2UI server to the client. */ export type A2uiMessage = CreateSurfaceMessage | UpdateComponentsMessage | UpdateDataModelMessage | DeleteSurfaceMessage; export declare const A2uiMessageListSchema: z.ZodArray; createSurface: z.ZodObject<{ surfaceId: z.ZodString; catalogId: z.ZodString; theme: z.ZodOptional; sendDataModel: z.ZodOptional; }, "strict", z.ZodTypeAny, { surfaceId: string; catalogId: string; theme?: any; sendDataModel?: boolean | undefined; }, { surfaceId: string; catalogId: string; theme?: any; sendDataModel?: boolean | undefined; }>; }, "strict", z.ZodTypeAny, { version: "v0.9"; createSurface: { surfaceId: string; catalogId: string; theme?: any; sendDataModel?: boolean | undefined; }; }, { version: "v0.9"; createSurface: { surfaceId: string; catalogId: string; theme?: any; sendDataModel?: boolean | undefined; }; }>, z.ZodObject<{ version: z.ZodLiteral<"v0.9">; updateComponents: z.ZodObject<{ surfaceId: z.ZodString; components: z.ZodArray; weight: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "strict", z.ZodTypeAny, { surfaceId: string; components: z.objectOutputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; }, { surfaceId: string; components: z.objectInputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; }>; }, "strict", z.ZodTypeAny, { version: "v0.9"; updateComponents: { surfaceId: string; components: z.objectOutputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; }; }, { version: "v0.9"; updateComponents: { surfaceId: string; components: z.objectInputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; }; }>, z.ZodObject<{ version: z.ZodLiteral<"v0.9">; updateDataModel: z.ZodObject<{ surfaceId: z.ZodString; path: z.ZodOptional; value: z.ZodOptional; }, "strict", z.ZodTypeAny, { surfaceId: string; value?: any; path?: string | undefined; }, { surfaceId: string; value?: any; path?: string | undefined; }>; }, "strict", z.ZodTypeAny, { version: "v0.9"; updateDataModel: { surfaceId: string; value?: any; path?: string | undefined; }; }, { version: "v0.9"; updateDataModel: { surfaceId: string; value?: any; path?: string | undefined; }; }>, z.ZodObject<{ version: z.ZodLiteral<"v0.9">; deleteSurface: z.ZodObject<{ surfaceId: z.ZodString; }, "strict", z.ZodTypeAny, { surfaceId: string; }, { surfaceId: string; }>; }, "strict", z.ZodTypeAny, { deleteSurface: { surfaceId: string; }; version: "v0.9"; }, { deleteSurface: { surfaceId: string; }; version: "v0.9"; }>]>, "many">; export type A2uiMessageList = z.infer; export declare const A2uiMessageListWrapperSchema: z.ZodObject<{ messages: z.ZodArray; createSurface: z.ZodObject<{ surfaceId: z.ZodString; catalogId: z.ZodString; theme: z.ZodOptional; sendDataModel: z.ZodOptional; }, "strict", z.ZodTypeAny, { surfaceId: string; catalogId: string; theme?: any; sendDataModel?: boolean | undefined; }, { surfaceId: string; catalogId: string; theme?: any; sendDataModel?: boolean | undefined; }>; }, "strict", z.ZodTypeAny, { version: "v0.9"; createSurface: { surfaceId: string; catalogId: string; theme?: any; sendDataModel?: boolean | undefined; }; }, { version: "v0.9"; createSurface: { surfaceId: string; catalogId: string; theme?: any; sendDataModel?: boolean | undefined; }; }>, z.ZodObject<{ version: z.ZodLiteral<"v0.9">; updateComponents: z.ZodObject<{ surfaceId: z.ZodString; components: z.ZodArray; weight: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "strict", z.ZodTypeAny, { surfaceId: string; components: z.objectOutputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; }, { surfaceId: string; components: z.objectInputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; }>; }, "strict", z.ZodTypeAny, { version: "v0.9"; updateComponents: { surfaceId: string; components: z.objectOutputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; }; }, { version: "v0.9"; updateComponents: { surfaceId: string; components: z.objectInputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; }; }>, z.ZodObject<{ version: z.ZodLiteral<"v0.9">; updateDataModel: z.ZodObject<{ surfaceId: z.ZodString; path: z.ZodOptional; value: z.ZodOptional; }, "strict", z.ZodTypeAny, { surfaceId: string; value?: any; path?: string | undefined; }, { surfaceId: string; value?: any; path?: string | undefined; }>; }, "strict", z.ZodTypeAny, { version: "v0.9"; updateDataModel: { surfaceId: string; value?: any; path?: string | undefined; }; }, { version: "v0.9"; updateDataModel: { surfaceId: string; value?: any; path?: string | undefined; }; }>, z.ZodObject<{ version: z.ZodLiteral<"v0.9">; deleteSurface: z.ZodObject<{ surfaceId: z.ZodString; }, "strict", z.ZodTypeAny, { surfaceId: string; }, { surfaceId: string; }>; }, "strict", z.ZodTypeAny, { deleteSurface: { surfaceId: string; }; version: "v0.9"; }, { deleteSurface: { surfaceId: string; }; version: "v0.9"; }>]>, "many">; }, "strict", z.ZodTypeAny, { messages: ({ version: "v0.9"; createSurface: { surfaceId: string; catalogId: string; theme?: any; sendDataModel?: boolean | undefined; }; } | { version: "v0.9"; updateComponents: { surfaceId: string; components: z.objectOutputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; }; } | { version: "v0.9"; updateDataModel: { surfaceId: string; value?: any; path?: string | undefined; }; } | { deleteSurface: { surfaceId: string; }; version: "v0.9"; })[]; }, { messages: ({ version: "v0.9"; createSurface: { surfaceId: string; catalogId: string; theme?: any; sendDataModel?: boolean | undefined; }; } | { version: "v0.9"; updateComponents: { surfaceId: string; components: z.objectInputType<{ component: z.ZodString; id: z.ZodOptional; weight: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; }; } | { version: "v0.9"; updateDataModel: { surfaceId: string; value?: any; path?: string | undefined; }; } | { deleteSurface: { surfaceId: string; }; version: "v0.9"; })[]; }>; export type A2uiMessageListWrapper = z.infer; //# sourceMappingURL=server-to-client.d.ts.map