import { z } from 'zod'; export declare const CREATE_VIEW_SCHEMA: { elements: z.ZodArray; x: z.ZodNumber; y: z.ZodNumber; width: z.ZodOptional; height: z.ZodOptional; points: z.ZodOptional, "many">>; backgroundColor: z.ZodOptional; strokeColor: z.ZodOptional; strokeWidth: z.ZodOptional; roughness: z.ZodOptional; opacity: z.ZodOptional; text: z.ZodOptional; fontSize: z.ZodOptional; fontFamily: z.ZodOptional; groupIds: z.ZodOptional>; locked: z.ZodOptional; angle: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "rectangle" | "ellipse" | "diamond" | "arrow" | "text" | "line" | "freedraw"; x: number; y: number; text?: string | undefined; width?: number | undefined; height?: number | undefined; backgroundColor?: string | undefined; strokeColor?: string | undefined; strokeWidth?: number | undefined; roughness?: number | undefined; opacity?: number | undefined; fontSize?: number | undefined; fontFamily?: number | undefined; groupIds?: string[] | undefined; locked?: boolean | undefined; angle?: number | undefined; points?: { x: number; y: number; }[] | undefined; }, { type: "rectangle" | "ellipse" | "diamond" | "arrow" | "text" | "line" | "freedraw"; x: number; y: number; text?: string | undefined; width?: number | undefined; height?: number | undefined; backgroundColor?: string | undefined; strokeColor?: string | undefined; strokeWidth?: number | undefined; roughness?: number | undefined; opacity?: number | undefined; fontSize?: number | undefined; fontFamily?: number | undefined; groupIds?: string[] | undefined; locked?: boolean | undefined; angle?: number | undefined; points?: { x: number; y: number; }[] | undefined; }>, "many">; title: z.ZodOptional; background: z.ZodOptional; }; export type CreateViewArgs = z.infer>; /** * Handle the create_view tool call. * In MCP Apps mode, the elements are passed through to the widget via * the tool result. The widget receives them through ontoolinput/ontoolinputpartial * and renders them with streaming animations. * * In non-Apps mode (or as fallback), we also persist elements to the store * so they're accessible via the other 14 tools. */ export declare function handleCreateView(args: CreateViewArgs, persistToStore?: (elements: Record[]) => Promise): Promise<{ content: Array<{ type: 'text'; text: string; }>; }>; //# sourceMappingURL=create-view.d.ts.map