import { z } from 'zod'; import type { McpTool } from '../../../utils/index.js'; import type { Services } from '../../../services.js'; export declare const pageDesignerDecoratorSchema: z.ZodObject<{ component: z.ZodString; searchPaths: z.ZodOptional>; autoMode: z.ZodOptional; componentId: z.ZodOptional; conversationContext: z.ZodOptional>; componentInfo: z.ZodOptional>; selectedProps: z.ZodOptional>; newAttributes: z.ZodOptional; required: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description?: string | undefined; required?: boolean | undefined; }, { name: string; description?: string | undefined; required?: boolean | undefined; }>, "many">>; attributeConfig: z.ZodOptional; name: z.ZodOptional; defaultValue: z.ZodOptional; values: z.ZodOptional>; }, "strip", z.ZodTypeAny, { values?: string[] | undefined; type?: string | undefined; name?: string | undefined; defaultValue?: any; }, { values?: string[] | undefined; type?: string | undefined; name?: string | undefined; defaultValue?: any; }>>>; componentMetadata: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; name: string; id: string; group?: string | undefined; }, { description: string; name: string; id: string; group?: string | undefined; }>>; regionConfig: z.ZodOptional; maxComponents: z.ZodOptional; componentTypeInclusions: z.ZodOptional>; componentTypeExclusions: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; id: string; description?: string | undefined; maxComponents?: number | undefined; componentTypeInclusions?: string[] | undefined; componentTypeExclusions?: string[] | undefined; }, { name: string; id: string; description?: string | undefined; maxComponents?: number | undefined; componentTypeInclusions?: string[] | undefined; componentTypeExclusions?: string[] | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { enabled: boolean; regions?: { name: string; id: string; description?: string | undefined; maxComponents?: number | undefined; componentTypeInclusions?: string[] | undefined; componentTypeExclusions?: string[] | undefined; }[] | undefined; }, { enabled: boolean; regions?: { name: string; id: string; description?: string | undefined; maxComponents?: number | undefined; componentTypeInclusions?: string[] | undefined; componentTypeExclusions?: string[] | undefined; }[] | undefined; }>>; }, "strip", z.ZodTypeAny, { step?: "analyze" | "select_props" | "configure_attrs" | "configure_regions" | "confirm_generation" | undefined; componentInfo?: Record | undefined; selectedProps?: string[] | undefined; newAttributes?: { name: string; description?: string | undefined; required?: boolean | undefined; }[] | undefined; attributeConfig?: Record | undefined; componentMetadata?: { description: string; name: string; id: string; group?: string | undefined; } | undefined; regionConfig?: { enabled: boolean; regions?: { name: string; id: string; description?: string | undefined; maxComponents?: number | undefined; componentTypeInclusions?: string[] | undefined; componentTypeExclusions?: string[] | undefined; }[] | undefined; } | undefined; }, { step?: "analyze" | "select_props" | "configure_attrs" | "configure_regions" | "confirm_generation" | undefined; componentInfo?: Record | undefined; selectedProps?: string[] | undefined; newAttributes?: { name: string; description?: string | undefined; required?: boolean | undefined; }[] | undefined; attributeConfig?: Record | undefined; componentMetadata?: { description: string; name: string; id: string; group?: string | undefined; } | undefined; regionConfig?: { enabled: boolean; regions?: { name: string; id: string; description?: string | undefined; maxComponents?: number | undefined; componentTypeInclusions?: string[] | undefined; componentTypeExclusions?: string[] | undefined; }[] | undefined; } | undefined; }>>; }, "strict", z.ZodTypeAny, { component: string; searchPaths?: string[] | undefined; autoMode?: boolean | undefined; componentId?: string | undefined; conversationContext?: { step?: "analyze" | "select_props" | "configure_attrs" | "configure_regions" | "confirm_generation" | undefined; componentInfo?: Record | undefined; selectedProps?: string[] | undefined; newAttributes?: { name: string; description?: string | undefined; required?: boolean | undefined; }[] | undefined; attributeConfig?: Record | undefined; componentMetadata?: { description: string; name: string; id: string; group?: string | undefined; } | undefined; regionConfig?: { enabled: boolean; regions?: { name: string; id: string; description?: string | undefined; maxComponents?: number | undefined; componentTypeInclusions?: string[] | undefined; componentTypeExclusions?: string[] | undefined; }[] | undefined; } | undefined; } | undefined; }, { component: string; searchPaths?: string[] | undefined; autoMode?: boolean | undefined; componentId?: string | undefined; conversationContext?: { step?: "analyze" | "select_props" | "configure_attrs" | "configure_regions" | "confirm_generation" | undefined; componentInfo?: Record | undefined; selectedProps?: string[] | undefined; newAttributes?: { name: string; description?: string | undefined; required?: boolean | undefined; }[] | undefined; attributeConfig?: Record | undefined; componentMetadata?: { description: string; name: string; id: string; group?: string | undefined; } | undefined; regionConfig?: { enabled: boolean; regions?: { name: string; id: string; description?: string | undefined; maxComponents?: number | undefined; componentTypeInclusions?: string[] | undefined; componentTypeExclusions?: string[] | undefined; }[] | undefined; } | undefined; } | undefined; }>; export type PageDesignerDecoratorInput = z.infer; /** * Creates the Page Designer decorator tool for Storefront Next. * * @param loadServices - Function that loads configuration and returns Services instance * @returns The configured MCP tool */ export declare function createPageDesignerDecoratorTool(loadServices: () => Promise | Services): McpTool;