@framingui/mcp-server 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/README.md +1027 -0
  2. package/dist/auth/cache.d.ts +28 -0
  3. package/dist/auth/cache.d.ts.map +1 -0
  4. package/dist/auth/cache.js +48 -0
  5. package/dist/auth/cache.js.map +1 -0
  6. package/dist/auth/guard.d.ts +22 -0
  7. package/dist/auth/guard.d.ts.map +1 -0
  8. package/dist/auth/guard.js +37 -0
  9. package/dist/auth/guard.js.map +1 -0
  10. package/dist/auth/state.d.ts +42 -0
  11. package/dist/auth/state.d.ts.map +1 -0
  12. package/dist/auth/state.js +96 -0
  13. package/dist/auth/state.js.map +1 -0
  14. package/dist/auth/theme-access.d.ts +21 -0
  15. package/dist/auth/theme-access.d.ts.map +1 -0
  16. package/dist/auth/theme-access.js +30 -0
  17. package/dist/auth/theme-access.js.map +1 -0
  18. package/dist/auth/verify.d.ts +44 -0
  19. package/dist/auth/verify.d.ts.map +1 -0
  20. package/dist/auth/verify.js +77 -0
  21. package/dist/auth/verify.js.map +1 -0
  22. package/dist/cli/agent-md-templates.d.ts +16 -0
  23. package/dist/cli/agent-md-templates.d.ts.map +1 -0
  24. package/dist/cli/agent-md-templates.js +311 -0
  25. package/dist/cli/agent-md-templates.js.map +1 -0
  26. package/dist/cli/credentials.d.ts +29 -0
  27. package/dist/cli/credentials.d.ts.map +1 -0
  28. package/dist/cli/credentials.js +66 -0
  29. package/dist/cli/credentials.js.map +1 -0
  30. package/dist/cli/guide-template.d.ts +10 -0
  31. package/dist/cli/guide-template.d.ts.map +1 -0
  32. package/dist/cli/guide-template.js +195 -0
  33. package/dist/cli/guide-template.js.map +1 -0
  34. package/dist/cli/index.d.ts +7 -0
  35. package/dist/cli/index.d.ts.map +1 -0
  36. package/dist/cli/index.js +41 -0
  37. package/dist/cli/index.js.map +1 -0
  38. package/dist/cli/init.d.ts +6 -0
  39. package/dist/cli/init.d.ts.map +1 -0
  40. package/dist/cli/init.js +319 -0
  41. package/dist/cli/init.js.map +1 -0
  42. package/dist/cli/login.d.ts +9 -0
  43. package/dist/cli/login.d.ts.map +1 -0
  44. package/dist/cli/login.js +121 -0
  45. package/dist/cli/login.js.map +1 -0
  46. package/dist/cli/logout.d.ts +9 -0
  47. package/dist/cli/logout.d.ts.map +1 -0
  48. package/dist/cli/logout.js +18 -0
  49. package/dist/cli/logout.js.map +1 -0
  50. package/dist/cli/status.d.ts +9 -0
  51. package/dist/cli/status.d.ts.map +1 -0
  52. package/dist/cli/status.js +31 -0
  53. package/dist/cli/status.js.map +1 -0
  54. package/dist/data/component-props.d.ts +30 -0
  55. package/dist/data/component-props.d.ts.map +1 -0
  56. package/dist/data/component-props.js +537 -0
  57. package/dist/data/component-props.js.map +1 -0
  58. package/dist/data/component-registry.d.ts +30 -0
  59. package/dist/data/component-registry.d.ts.map +1 -0
  60. package/dist/data/component-registry.js +320 -0
  61. package/dist/data/component-registry.js.map +1 -0
  62. package/dist/data/examples/screen-examples.d.ts +38 -0
  63. package/dist/data/examples/screen-examples.d.ts.map +1 -0
  64. package/dist/data/examples/screen-examples.js +500 -0
  65. package/dist/data/examples/screen-examples.js.map +1 -0
  66. package/dist/data/hint-generator.d.ts +16 -0
  67. package/dist/data/hint-generator.d.ts.map +1 -0
  68. package/dist/data/hint-generator.js +298 -0
  69. package/dist/data/hint-generator.js.map +1 -0
  70. package/dist/data/recipe-resolver.d.ts +48 -0
  71. package/dist/data/recipe-resolver.d.ts.map +1 -0
  72. package/dist/data/recipe-resolver.js +226 -0
  73. package/dist/data/recipe-resolver.js.map +1 -0
  74. package/dist/data/template-matcher.d.ts +50 -0
  75. package/dist/data/template-matcher.d.ts.map +1 -0
  76. package/dist/data/template-matcher.js +240 -0
  77. package/dist/data/template-matcher.js.map +1 -0
  78. package/dist/generators/core-resolver.d.ts +56 -0
  79. package/dist/generators/core-resolver.d.ts.map +1 -0
  80. package/dist/generators/core-resolver.js +490 -0
  81. package/dist/generators/core-resolver.js.map +1 -0
  82. package/dist/generators/css-generator.d.ts +49 -0
  83. package/dist/generators/css-generator.d.ts.map +1 -0
  84. package/dist/generators/css-generator.js +294 -0
  85. package/dist/generators/css-generator.js.map +1 -0
  86. package/dist/generators/index.d.ts +13 -0
  87. package/dist/generators/index.d.ts.map +1 -0
  88. package/dist/generators/index.js +16 -0
  89. package/dist/generators/index.js.map +1 -0
  90. package/dist/generators/llm-generator.d.ts +96 -0
  91. package/dist/generators/llm-generator.d.ts.map +1 -0
  92. package/dist/generators/llm-generator.js +296 -0
  93. package/dist/generators/llm-generator.js.map +1 -0
  94. package/dist/index.d.ts +3 -0
  95. package/dist/index.d.ts.map +1 -0
  96. package/dist/index.js +965 -0
  97. package/dist/index.js.map +1 -0
  98. package/dist/prompts/getting-started.d.ts +18 -0
  99. package/dist/prompts/getting-started.d.ts.map +1 -0
  100. package/dist/prompts/getting-started.js +112 -0
  101. package/dist/prompts/getting-started.js.map +1 -0
  102. package/dist/prompts/screen-workflow.d.ts +17 -0
  103. package/dist/prompts/screen-workflow.d.ts.map +1 -0
  104. package/dist/prompts/screen-workflow.js +246 -0
  105. package/dist/prompts/screen-workflow.js.map +1 -0
  106. package/dist/schemas/mcp-schemas.d.ts +4342 -0
  107. package/dist/schemas/mcp-schemas.d.ts.map +1 -0
  108. package/dist/schemas/mcp-schemas.js +989 -0
  109. package/dist/schemas/mcp-schemas.js.map +1 -0
  110. package/dist/storage/blueprint-storage.d.ts +68 -0
  111. package/dist/storage/blueprint-storage.d.ts.map +1 -0
  112. package/dist/storage/blueprint-storage.js +135 -0
  113. package/dist/storage/blueprint-storage.js.map +1 -0
  114. package/dist/storage/timestamp-manager.d.ts +32 -0
  115. package/dist/storage/timestamp-manager.d.ts.map +1 -0
  116. package/dist/storage/timestamp-manager.js +59 -0
  117. package/dist/storage/timestamp-manager.js.map +1 -0
  118. package/dist/tools/export-screen.d.ts +34 -0
  119. package/dist/tools/export-screen.d.ts.map +1 -0
  120. package/dist/tools/export-screen.js +344 -0
  121. package/dist/tools/export-screen.js.map +1 -0
  122. package/dist/tools/generate-blueprint.d.ts +15 -0
  123. package/dist/tools/generate-blueprint.d.ts.map +1 -0
  124. package/dist/tools/generate-blueprint.js +165 -0
  125. package/dist/tools/generate-blueprint.js.map +1 -0
  126. package/dist/tools/generate-screen.d.ts +13 -0
  127. package/dist/tools/generate-screen.d.ts.map +1 -0
  128. package/dist/tools/generate-screen.js +82 -0
  129. package/dist/tools/generate-screen.js.map +1 -0
  130. package/dist/tools/get-screen-generation-context.d.ts +11 -0
  131. package/dist/tools/get-screen-generation-context.d.ts.map +1 -0
  132. package/dist/tools/get-screen-generation-context.js +325 -0
  133. package/dist/tools/get-screen-generation-context.js.map +1 -0
  134. package/dist/tools/list-components.d.ts +15 -0
  135. package/dist/tools/list-components.d.ts.map +1 -0
  136. package/dist/tools/list-components.js +46 -0
  137. package/dist/tools/list-components.js.map +1 -0
  138. package/dist/tools/list-icon-libraries.d.ts +12 -0
  139. package/dist/tools/list-icon-libraries.d.ts.map +1 -0
  140. package/dist/tools/list-icon-libraries.js +48 -0
  141. package/dist/tools/list-icon-libraries.js.map +1 -0
  142. package/dist/tools/list-screen-templates.d.ts +15 -0
  143. package/dist/tools/list-screen-templates.d.ts.map +1 -0
  144. package/dist/tools/list-screen-templates.js +61 -0
  145. package/dist/tools/list-screen-templates.js.map +1 -0
  146. package/dist/tools/list-themes.d.ts +13 -0
  147. package/dist/tools/list-themes.d.ts.map +1 -0
  148. package/dist/tools/list-themes.js +42 -0
  149. package/dist/tools/list-themes.js.map +1 -0
  150. package/dist/tools/list-tokens.d.ts +13 -0
  151. package/dist/tools/list-tokens.d.ts.map +1 -0
  152. package/dist/tools/list-tokens.js +92 -0
  153. package/dist/tools/list-tokens.js.map +1 -0
  154. package/dist/tools/preview-component.d.ts +18 -0
  155. package/dist/tools/preview-component.d.ts.map +1 -0
  156. package/dist/tools/preview-component.js +63 -0
  157. package/dist/tools/preview-component.js.map +1 -0
  158. package/dist/tools/preview-icon-library.d.ts +13 -0
  159. package/dist/tools/preview-icon-library.d.ts.map +1 -0
  160. package/dist/tools/preview-icon-library.js +63 -0
  161. package/dist/tools/preview-icon-library.js.map +1 -0
  162. package/dist/tools/preview-screen-template.d.ts +18 -0
  163. package/dist/tools/preview-screen-template.d.ts.map +1 -0
  164. package/dist/tools/preview-screen-template.js +99 -0
  165. package/dist/tools/preview-screen-template.js.map +1 -0
  166. package/dist/tools/preview-theme.d.ts +15 -0
  167. package/dist/tools/preview-theme.d.ts.map +1 -0
  168. package/dist/tools/preview-theme.js +172 -0
  169. package/dist/tools/preview-theme.js.map +1 -0
  170. package/dist/tools/validate-environment.d.ts +37 -0
  171. package/dist/tools/validate-environment.d.ts.map +1 -0
  172. package/dist/tools/validate-environment.js +153 -0
  173. package/dist/tools/validate-environment.js.map +1 -0
  174. package/dist/tools/validate-screen-definition.d.ts +10 -0
  175. package/dist/tools/validate-screen-definition.d.ts.map +1 -0
  176. package/dist/tools/validate-screen-definition.js +559 -0
  177. package/dist/tools/validate-screen-definition.js.map +1 -0
  178. package/dist/tools/validate-screen.d.ts +13 -0
  179. package/dist/tools/validate-screen.d.ts.map +1 -0
  180. package/dist/tools/validate-screen.js +106 -0
  181. package/dist/tools/validate-screen.js.map +1 -0
  182. package/dist/tools/whoami.d.ts +17 -0
  183. package/dist/tools/whoami.d.ts.map +1 -0
  184. package/dist/tools/whoami.js +65 -0
  185. package/dist/tools/whoami.js.map +1 -0
  186. package/dist/utils/dependency-extractor.d.ts +13 -0
  187. package/dist/utils/dependency-extractor.d.ts.map +1 -0
  188. package/dist/utils/dependency-extractor.js +232 -0
  189. package/dist/utils/dependency-extractor.js.map +1 -0
  190. package/dist/utils/error-handler.d.ts +29 -0
  191. package/dist/utils/error-handler.d.ts.map +1 -0
  192. package/dist/utils/error-handler.js +48 -0
  193. package/dist/utils/error-handler.js.map +1 -0
  194. package/dist/utils/logger.d.ts +8 -0
  195. package/dist/utils/logger.d.ts.map +1 -0
  196. package/dist/utils/logger.js +14 -0
  197. package/dist/utils/logger.js.map +1 -0
  198. package/dist/utils/package-json-reader.d.ts +37 -0
  199. package/dist/utils/package-json-reader.d.ts.map +1 -0
  200. package/dist/utils/package-json-reader.js +108 -0
  201. package/dist/utils/package-json-reader.js.map +1 -0
  202. package/dist/utils/tailwind-config-reader.d.ts +23 -0
  203. package/dist/utils/tailwind-config-reader.d.ts.map +1 -0
  204. package/dist/utils/tailwind-config-reader.js +81 -0
  205. package/dist/utils/tailwind-config-reader.js.map +1 -0
  206. package/package.json +103 -0
@@ -0,0 +1,4342 @@
1
+ /**
2
+ * MCP Tool Input/Output Schemas with Zod validation
3
+ * SPEC-MCP-002: U-002 Input Schema Validation
4
+ */
5
+ import { z } from 'zod';
6
+ /**
7
+ * Whoami Input Schema
8
+ * 입력 파라미터 없음
9
+ */
10
+ export declare const WhoamiInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
11
+ export type WhoamiInput = z.infer<typeof WhoamiInputSchema>;
12
+ /**
13
+ * Whoami Output Schema
14
+ * 유저 tier, 라이선스 정보, MCP 지원 기간 반환
15
+ */
16
+ export declare const WhoamiOutputSchema: z.ZodObject<{
17
+ success: z.ZodBoolean;
18
+ plan: z.ZodOptional<z.ZodEnum<["free", "pro", "enterprise", "master"]>>;
19
+ isMaster: z.ZodOptional<z.ZodBoolean>;
20
+ licensedThemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
21
+ totalThemes: z.ZodOptional<z.ZodNumber>;
22
+ mcpSupport: z.ZodOptional<z.ZodObject<{
23
+ expiresAt: z.ZodNullable<z.ZodString>;
24
+ renewable: z.ZodBoolean;
25
+ }, "strip", z.ZodTypeAny, {
26
+ expiresAt: string | null;
27
+ renewable: boolean;
28
+ }, {
29
+ expiresAt: string | null;
30
+ renewable: boolean;
31
+ }>>;
32
+ error: z.ZodOptional<z.ZodString>;
33
+ }, "strip", z.ZodTypeAny, {
34
+ success: boolean;
35
+ error?: string | undefined;
36
+ plan?: "free" | "pro" | "enterprise" | "master" | undefined;
37
+ isMaster?: boolean | undefined;
38
+ licensedThemes?: string[] | undefined;
39
+ totalThemes?: number | undefined;
40
+ mcpSupport?: {
41
+ expiresAt: string | null;
42
+ renewable: boolean;
43
+ } | undefined;
44
+ }, {
45
+ success: boolean;
46
+ error?: string | undefined;
47
+ plan?: "free" | "pro" | "enterprise" | "master" | undefined;
48
+ isMaster?: boolean | undefined;
49
+ licensedThemes?: string[] | undefined;
50
+ totalThemes?: number | undefined;
51
+ mcpSupport?: {
52
+ expiresAt: string | null;
53
+ renewable: boolean;
54
+ } | undefined;
55
+ }>;
56
+ export type WhoamiOutput = z.infer<typeof WhoamiOutputSchema>;
57
+ /**
58
+ * Layout types from @framingui/core LAYOUTS
59
+ */
60
+ export declare const LayoutTypeSchema: z.ZodEnum<["single-column", "two-column", "sidebar-left", "sidebar-right", "dashboard", "landing"]>;
61
+ /**
62
+ * Theme ID validation - alphanumeric with hyphens only (security: prevent path traversal)
63
+ * SPEC: UW-002 No Theme ID Injection
64
+ */
65
+ export declare const ThemeIdSchema: z.ZodString;
66
+ /**
67
+ * Generate Blueprint Input Schema
68
+ * SPEC: E-001 Blueprint Generation Request
69
+ * SPEC-ICON-001: Added iconLibrary parameter
70
+ */
71
+ export declare const GenerateBlueprintInputSchema: z.ZodObject<{
72
+ description: z.ZodString;
73
+ layout: z.ZodEnum<["single-column", "two-column", "sidebar-left", "sidebar-right", "dashboard", "landing"]>;
74
+ themeId: z.ZodString;
75
+ iconLibrary: z.ZodOptional<z.ZodString>;
76
+ componentHints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
77
+ }, "strip", z.ZodTypeAny, {
78
+ description: string;
79
+ themeId: string;
80
+ layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
81
+ componentHints?: string[] | undefined;
82
+ iconLibrary?: string | undefined;
83
+ }, {
84
+ description: string;
85
+ themeId: string;
86
+ layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
87
+ componentHints?: string[] | undefined;
88
+ iconLibrary?: string | undefined;
89
+ }>;
90
+ export type GenerateBlueprintInput = z.infer<typeof GenerateBlueprintInputSchema>;
91
+ /**
92
+ * Template Recommendation Schema
93
+ * SPEC-MCP-004 Phase 3: Blueprint Generator Enhancement
94
+ */
95
+ export declare const TemplateRecommendationSchema: z.ZodObject<{
96
+ templateId: z.ZodString;
97
+ templateName: z.ZodString;
98
+ category: z.ZodString;
99
+ confidence: z.ZodNumber;
100
+ matchedKeywords: z.ZodArray<z.ZodString, "many">;
101
+ layoutRecommendation: z.ZodObject<{
102
+ shell: z.ZodString;
103
+ page: z.ZodString;
104
+ description: z.ZodString;
105
+ }, "strip", z.ZodTypeAny, {
106
+ description: string;
107
+ shell: string;
108
+ page: string;
109
+ }, {
110
+ description: string;
111
+ shell: string;
112
+ page: string;
113
+ }>;
114
+ }, "strip", z.ZodTypeAny, {
115
+ category: string;
116
+ templateId: string;
117
+ templateName: string;
118
+ confidence: number;
119
+ matchedKeywords: string[];
120
+ layoutRecommendation: {
121
+ description: string;
122
+ shell: string;
123
+ page: string;
124
+ };
125
+ }, {
126
+ category: string;
127
+ templateId: string;
128
+ templateName: string;
129
+ confidence: number;
130
+ matchedKeywords: string[];
131
+ layoutRecommendation: {
132
+ description: string;
133
+ shell: string;
134
+ page: string;
135
+ };
136
+ }>;
137
+ export type TemplateRecommendation = z.infer<typeof TemplateRecommendationSchema>;
138
+ /**
139
+ * Generate Blueprint Output Schema (MCP JSON-RPC format - no previewUrl)
140
+ * SPEC-ICON-001: Added iconLibrary field
141
+ * SPEC-MCP-004: Added templateRecommendations field
142
+ */
143
+ export declare const GenerateBlueprintOutputSchema: z.ZodObject<{
144
+ success: z.ZodBoolean;
145
+ blueprint: z.ZodOptional<z.ZodObject<{
146
+ id: z.ZodString;
147
+ name: z.ZodString;
148
+ themeId: z.ZodString;
149
+ iconLibrary: z.ZodString;
150
+ layout: z.ZodEnum<["single-column", "two-column", "sidebar-left", "sidebar-right", "dashboard", "landing"]>;
151
+ components: z.ZodArray<z.ZodType<{
152
+ type: string;
153
+ props?: Record<string, unknown>;
154
+ children?: (unknown | string)[];
155
+ slot?: string;
156
+ }, z.ZodTypeDef, {
157
+ type: string;
158
+ props?: Record<string, unknown>;
159
+ children?: (unknown | string)[];
160
+ slot?: string;
161
+ }>, "many">;
162
+ timestamp: z.ZodNumber;
163
+ }, "strip", z.ZodTypeAny, {
164
+ name: string;
165
+ themeId: string;
166
+ id: string;
167
+ components: {
168
+ type: string;
169
+ props?: Record<string, unknown>;
170
+ children?: (unknown | string)[];
171
+ slot?: string;
172
+ }[];
173
+ layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
174
+ iconLibrary: string;
175
+ timestamp: number;
176
+ }, {
177
+ name: string;
178
+ themeId: string;
179
+ id: string;
180
+ components: {
181
+ type: string;
182
+ props?: Record<string, unknown>;
183
+ children?: (unknown | string)[];
184
+ slot?: string;
185
+ }[];
186
+ layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
187
+ iconLibrary: string;
188
+ timestamp: number;
189
+ }>>;
190
+ templateRecommendations: z.ZodOptional<z.ZodArray<z.ZodObject<{
191
+ templateId: z.ZodString;
192
+ templateName: z.ZodString;
193
+ category: z.ZodString;
194
+ confidence: z.ZodNumber;
195
+ matchedKeywords: z.ZodArray<z.ZodString, "many">;
196
+ layoutRecommendation: z.ZodObject<{
197
+ shell: z.ZodString;
198
+ page: z.ZodString;
199
+ description: z.ZodString;
200
+ }, "strip", z.ZodTypeAny, {
201
+ description: string;
202
+ shell: string;
203
+ page: string;
204
+ }, {
205
+ description: string;
206
+ shell: string;
207
+ page: string;
208
+ }>;
209
+ }, "strip", z.ZodTypeAny, {
210
+ category: string;
211
+ templateId: string;
212
+ templateName: string;
213
+ confidence: number;
214
+ matchedKeywords: string[];
215
+ layoutRecommendation: {
216
+ description: string;
217
+ shell: string;
218
+ page: string;
219
+ };
220
+ }, {
221
+ category: string;
222
+ templateId: string;
223
+ templateName: string;
224
+ confidence: number;
225
+ matchedKeywords: string[];
226
+ layoutRecommendation: {
227
+ description: string;
228
+ shell: string;
229
+ page: string;
230
+ };
231
+ }>, "many">>;
232
+ error: z.ZodOptional<z.ZodString>;
233
+ }, "strip", z.ZodTypeAny, {
234
+ success: boolean;
235
+ error?: string | undefined;
236
+ blueprint?: {
237
+ name: string;
238
+ themeId: string;
239
+ id: string;
240
+ components: {
241
+ type: string;
242
+ props?: Record<string, unknown>;
243
+ children?: (unknown | string)[];
244
+ slot?: string;
245
+ }[];
246
+ layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
247
+ iconLibrary: string;
248
+ timestamp: number;
249
+ } | undefined;
250
+ templateRecommendations?: {
251
+ category: string;
252
+ templateId: string;
253
+ templateName: string;
254
+ confidence: number;
255
+ matchedKeywords: string[];
256
+ layoutRecommendation: {
257
+ description: string;
258
+ shell: string;
259
+ page: string;
260
+ };
261
+ }[] | undefined;
262
+ }, {
263
+ success: boolean;
264
+ error?: string | undefined;
265
+ blueprint?: {
266
+ name: string;
267
+ themeId: string;
268
+ id: string;
269
+ components: {
270
+ type: string;
271
+ props?: Record<string, unknown>;
272
+ children?: (unknown | string)[];
273
+ slot?: string;
274
+ }[];
275
+ layout: "dashboard" | "single-column" | "two-column" | "sidebar-left" | "sidebar-right" | "landing";
276
+ iconLibrary: string;
277
+ timestamp: number;
278
+ } | undefined;
279
+ templateRecommendations?: {
280
+ category: string;
281
+ templateId: string;
282
+ templateName: string;
283
+ confidence: number;
284
+ matchedKeywords: string[];
285
+ layoutRecommendation: {
286
+ description: string;
287
+ shell: string;
288
+ page: string;
289
+ };
290
+ }[] | undefined;
291
+ }>;
292
+ export type GenerateBlueprintOutput = z.infer<typeof GenerateBlueprintOutputSchema>;
293
+ /**
294
+ * List Themes Input Schema
295
+ * No input required - lists all available themes
296
+ */
297
+ export declare const ListThemesInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
298
+ export type ListThemesInput = z.infer<typeof ListThemesInputSchema>;
299
+ /**
300
+ * Theme metadata schema for v2.1 themes
301
+ */
302
+ export declare const ThemeMetaSchema: z.ZodObject<{
303
+ id: z.ZodString;
304
+ name: z.ZodString;
305
+ description: z.ZodOptional<z.ZodString>;
306
+ brandTone: z.ZodString;
307
+ schemaVersion: z.ZodString;
308
+ }, "strip", z.ZodTypeAny, {
309
+ name: string;
310
+ id: string;
311
+ brandTone: string;
312
+ schemaVersion: string;
313
+ description?: string | undefined;
314
+ }, {
315
+ name: string;
316
+ id: string;
317
+ brandTone: string;
318
+ schemaVersion: string;
319
+ description?: string | undefined;
320
+ }>;
321
+ export type ThemeMeta = z.infer<typeof ThemeMetaSchema>;
322
+ /**
323
+ * List Themes Output Schema
324
+ */
325
+ export declare const ListThemesOutputSchema: z.ZodObject<{
326
+ success: z.ZodBoolean;
327
+ themes: z.ZodOptional<z.ZodArray<z.ZodObject<{
328
+ id: z.ZodString;
329
+ name: z.ZodString;
330
+ description: z.ZodOptional<z.ZodString>;
331
+ brandTone: z.ZodString;
332
+ schemaVersion: z.ZodString;
333
+ }, "strip", z.ZodTypeAny, {
334
+ name: string;
335
+ id: string;
336
+ brandTone: string;
337
+ schemaVersion: string;
338
+ description?: string | undefined;
339
+ }, {
340
+ name: string;
341
+ id: string;
342
+ brandTone: string;
343
+ schemaVersion: string;
344
+ description?: string | undefined;
345
+ }>, "many">>;
346
+ count: z.ZodOptional<z.ZodNumber>;
347
+ error: z.ZodOptional<z.ZodString>;
348
+ }, "strip", z.ZodTypeAny, {
349
+ success: boolean;
350
+ error?: string | undefined;
351
+ themes?: {
352
+ name: string;
353
+ id: string;
354
+ brandTone: string;
355
+ schemaVersion: string;
356
+ description?: string | undefined;
357
+ }[] | undefined;
358
+ count?: number | undefined;
359
+ }, {
360
+ success: boolean;
361
+ error?: string | undefined;
362
+ themes?: {
363
+ name: string;
364
+ id: string;
365
+ brandTone: string;
366
+ schemaVersion: string;
367
+ description?: string | undefined;
368
+ }[] | undefined;
369
+ count?: number | undefined;
370
+ }>;
371
+ export type ListThemesOutput = z.infer<typeof ListThemesOutputSchema>;
372
+ /**
373
+ * Preview Theme Input Schema
374
+ * SPEC: E-002 Theme Preview Request
375
+ */
376
+ export declare const PreviewThemeInputSchema: z.ZodObject<{
377
+ themeId: z.ZodString;
378
+ includeCSS: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
379
+ }, "strip", z.ZodTypeAny, {
380
+ themeId: string;
381
+ includeCSS: boolean;
382
+ }, {
383
+ themeId: string;
384
+ includeCSS?: boolean | undefined;
385
+ }>;
386
+ export type PreviewThemeInput = z.infer<typeof PreviewThemeInputSchema>;
387
+ /**
388
+ * Preview Theme Output Schema (v2.1 - includes full theme data)
389
+ */
390
+ export declare const PreviewThemeOutputSchema: z.ZodObject<{
391
+ success: z.ZodBoolean;
392
+ theme: z.ZodOptional<z.ZodObject<{
393
+ id: z.ZodString;
394
+ name: z.ZodString;
395
+ description: z.ZodOptional<z.ZodString>;
396
+ brandTone: z.ZodString;
397
+ schemaVersion: z.ZodString;
398
+ designDNA: z.ZodOptional<z.ZodObject<{
399
+ moodKeywords: z.ZodArray<z.ZodString, "many">;
400
+ targetEmotion: z.ZodString;
401
+ visualAtmosphere: z.ZodString;
402
+ }, "strip", z.ZodTypeAny, {
403
+ moodKeywords: string[];
404
+ targetEmotion: string;
405
+ visualAtmosphere: string;
406
+ }, {
407
+ moodKeywords: string[];
408
+ targetEmotion: string;
409
+ visualAtmosphere: string;
410
+ }>>;
411
+ tokens: z.ZodObject<{
412
+ atomic: z.ZodUnknown;
413
+ semantic: z.ZodUnknown;
414
+ component: z.ZodOptional<z.ZodUnknown>;
415
+ recipes: z.ZodOptional<z.ZodUnknown>;
416
+ }, "strip", z.ZodTypeAny, {
417
+ component?: unknown;
418
+ atomic?: unknown;
419
+ semantic?: unknown;
420
+ recipes?: unknown;
421
+ }, {
422
+ component?: unknown;
423
+ atomic?: unknown;
424
+ semantic?: unknown;
425
+ recipes?: unknown;
426
+ }>;
427
+ stateLayer: z.ZodOptional<z.ZodUnknown>;
428
+ motion: z.ZodOptional<z.ZodUnknown>;
429
+ elevation: z.ZodOptional<z.ZodUnknown>;
430
+ typography: z.ZodOptional<z.ZodUnknown>;
431
+ }, "strip", z.ZodTypeAny, {
432
+ name: string;
433
+ id: string;
434
+ brandTone: string;
435
+ schemaVersion: string;
436
+ tokens: {
437
+ component?: unknown;
438
+ atomic?: unknown;
439
+ semantic?: unknown;
440
+ recipes?: unknown;
441
+ };
442
+ description?: string | undefined;
443
+ designDNA?: {
444
+ moodKeywords: string[];
445
+ targetEmotion: string;
446
+ visualAtmosphere: string;
447
+ } | undefined;
448
+ stateLayer?: unknown;
449
+ motion?: unknown;
450
+ elevation?: unknown;
451
+ typography?: unknown;
452
+ }, {
453
+ name: string;
454
+ id: string;
455
+ brandTone: string;
456
+ schemaVersion: string;
457
+ tokens: {
458
+ component?: unknown;
459
+ atomic?: unknown;
460
+ semantic?: unknown;
461
+ recipes?: unknown;
462
+ };
463
+ description?: string | undefined;
464
+ designDNA?: {
465
+ moodKeywords: string[];
466
+ targetEmotion: string;
467
+ visualAtmosphere: string;
468
+ } | undefined;
469
+ stateLayer?: unknown;
470
+ motion?: unknown;
471
+ elevation?: unknown;
472
+ typography?: unknown;
473
+ }>>;
474
+ css: z.ZodOptional<z.ZodString>;
475
+ error: z.ZodOptional<z.ZodString>;
476
+ }, "strip", z.ZodTypeAny, {
477
+ success: boolean;
478
+ error?: string | undefined;
479
+ theme?: {
480
+ name: string;
481
+ id: string;
482
+ brandTone: string;
483
+ schemaVersion: string;
484
+ tokens: {
485
+ component?: unknown;
486
+ atomic?: unknown;
487
+ semantic?: unknown;
488
+ recipes?: unknown;
489
+ };
490
+ description?: string | undefined;
491
+ designDNA?: {
492
+ moodKeywords: string[];
493
+ targetEmotion: string;
494
+ visualAtmosphere: string;
495
+ } | undefined;
496
+ stateLayer?: unknown;
497
+ motion?: unknown;
498
+ elevation?: unknown;
499
+ typography?: unknown;
500
+ } | undefined;
501
+ css?: string | undefined;
502
+ }, {
503
+ success: boolean;
504
+ error?: string | undefined;
505
+ theme?: {
506
+ name: string;
507
+ id: string;
508
+ brandTone: string;
509
+ schemaVersion: string;
510
+ tokens: {
511
+ component?: unknown;
512
+ atomic?: unknown;
513
+ semantic?: unknown;
514
+ recipes?: unknown;
515
+ };
516
+ description?: string | undefined;
517
+ designDNA?: {
518
+ moodKeywords: string[];
519
+ targetEmotion: string;
520
+ visualAtmosphere: string;
521
+ } | undefined;
522
+ stateLayer?: unknown;
523
+ motion?: unknown;
524
+ elevation?: unknown;
525
+ typography?: unknown;
526
+ } | undefined;
527
+ css?: string | undefined;
528
+ }>;
529
+ export type PreviewThemeOutput = z.infer<typeof PreviewThemeOutputSchema>;
530
+ /**
531
+ * Export format types
532
+ * SPEC: S-004 Export Format Compatibility
533
+ */
534
+ export declare const ExportFormatSchema: z.ZodEnum<["jsx", "tsx", "vue"]>;
535
+ export type ExportFormat = z.infer<typeof ExportFormatSchema>;
536
+ /**
537
+ * Export Screen Input Schema (MCP JSON-RPC format - accepts blueprint object)
538
+ * SPEC: E-003 Screen Export Request
539
+ */
540
+ export declare const ExportScreenInputSchema: z.ZodObject<{
541
+ blueprint: z.ZodUnknown;
542
+ format: z.ZodEnum<["jsx", "tsx", "vue"]>;
543
+ }, "strip", z.ZodTypeAny, {
544
+ format: "vue" | "jsx" | "tsx";
545
+ blueprint?: unknown;
546
+ }, {
547
+ format: "vue" | "jsx" | "tsx";
548
+ blueprint?: unknown;
549
+ }>;
550
+ export type ExportScreenInput = z.infer<typeof ExportScreenInputSchema>;
551
+ /**
552
+ * Export Screen Output Schema (MCP JSON-RPC format - no filePath)
553
+ */
554
+ export declare const ExportScreenOutputSchema: z.ZodObject<{
555
+ success: z.ZodBoolean;
556
+ code: z.ZodOptional<z.ZodString>;
557
+ error: z.ZodOptional<z.ZodString>;
558
+ }, "strip", z.ZodTypeAny, {
559
+ success: boolean;
560
+ error?: string | undefined;
561
+ code?: string | undefined;
562
+ }, {
563
+ success: boolean;
564
+ error?: string | undefined;
565
+ code?: string | undefined;
566
+ }>;
567
+ /**
568
+ * Export component resolution tier
569
+ * - tier1: Copy from @framingui/ui (fast, deterministic)
570
+ * - tier2: Generate with LLM (flexible, customizable)
571
+ * - auto: Automatically choose based on component availability
572
+ */
573
+ export declare const ExportTierSchema: z.ZodEnum<["tier1", "tier2", "auto"]>;
574
+ export type ExportTier = z.infer<typeof ExportTierSchema>;
575
+ /**
576
+ * Hybrid Export Input Schema
577
+ * SPEC-COMPONENT-001-D: Hybrid Export System
578
+ */
579
+ export declare const HybridExportInputSchema: z.ZodObject<{
580
+ /** Blueprint or component name */
581
+ blueprint: z.ZodOptional<z.ZodUnknown>;
582
+ /** Single component name for direct export */
583
+ componentName: z.ZodOptional<z.ZodString>;
584
+ /** Component description (for Tier 2 LLM generation) */
585
+ componentDescription: z.ZodOptional<z.ZodString>;
586
+ /** Output format */
587
+ format: z.ZodEnum<["jsx", "tsx", "vue"]>;
588
+ /** Include CSS Variables */
589
+ includeCSS: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
590
+ /** Resolution tier preference */
591
+ tier: z.ZodDefault<z.ZodOptional<z.ZodEnum<["tier1", "tier2", "auto"]>>>;
592
+ /** Theme ID for CSS generation */
593
+ themeId: z.ZodOptional<z.ZodString>;
594
+ }, "strip", z.ZodTypeAny, {
595
+ tier: "tier1" | "tier2" | "auto";
596
+ includeCSS: boolean;
597
+ format: "vue" | "jsx" | "tsx";
598
+ themeId?: string | undefined;
599
+ blueprint?: unknown;
600
+ componentName?: string | undefined;
601
+ componentDescription?: string | undefined;
602
+ }, {
603
+ format: "vue" | "jsx" | "tsx";
604
+ themeId?: string | undefined;
605
+ tier?: "tier1" | "tier2" | "auto" | undefined;
606
+ includeCSS?: boolean | undefined;
607
+ blueprint?: unknown;
608
+ componentName?: string | undefined;
609
+ componentDescription?: string | undefined;
610
+ }>;
611
+ export type HybridExportInput = z.input<typeof HybridExportInputSchema>;
612
+ /**
613
+ * Component resolution result
614
+ */
615
+ export declare const ComponentResolutionSchema: z.ZodObject<{
616
+ componentName: z.ZodString;
617
+ code: z.ZodString;
618
+ source: z.ZodEnum<["tier1-ui", "tier1-example", "tier2-llm", "tier2-mock"]>;
619
+ }, "strip", z.ZodTypeAny, {
620
+ code: string;
621
+ source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
622
+ componentName: string;
623
+ }, {
624
+ code: string;
625
+ source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
626
+ componentName: string;
627
+ }>;
628
+ export type ComponentResolution = z.infer<typeof ComponentResolutionSchema>;
629
+ /**
630
+ * Hybrid Export Output Schema
631
+ * SPEC-COMPONENT-001-D: Hybrid Export System
632
+ */
633
+ export declare const HybridExportOutputSchema: z.ZodObject<{
634
+ success: z.ZodBoolean;
635
+ /** Screen/component code */
636
+ code: z.ZodOptional<z.ZodString>;
637
+ /** CSS Variables (if includeCSS was true) */
638
+ css: z.ZodOptional<z.ZodString>;
639
+ /** Component resolution details */
640
+ components: z.ZodOptional<z.ZodArray<z.ZodObject<{
641
+ componentName: z.ZodString;
642
+ code: z.ZodString;
643
+ source: z.ZodEnum<["tier1-ui", "tier1-example", "tier2-llm", "tier2-mock"]>;
644
+ }, "strip", z.ZodTypeAny, {
645
+ code: string;
646
+ source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
647
+ componentName: string;
648
+ }, {
649
+ code: string;
650
+ source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
651
+ componentName: string;
652
+ }>, "many">>;
653
+ /** Tier used for resolution */
654
+ tierUsed: z.ZodOptional<z.ZodEnum<["tier1", "tier2", "auto"]>>;
655
+ error: z.ZodOptional<z.ZodString>;
656
+ }, "strip", z.ZodTypeAny, {
657
+ success: boolean;
658
+ error?: string | undefined;
659
+ code?: string | undefined;
660
+ components?: {
661
+ code: string;
662
+ source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
663
+ componentName: string;
664
+ }[] | undefined;
665
+ css?: string | undefined;
666
+ tierUsed?: "tier1" | "tier2" | "auto" | undefined;
667
+ }, {
668
+ success: boolean;
669
+ error?: string | undefined;
670
+ code?: string | undefined;
671
+ components?: {
672
+ code: string;
673
+ source: "tier1-ui" | "tier1-example" | "tier2-llm" | "tier2-mock";
674
+ componentName: string;
675
+ }[] | undefined;
676
+ css?: string | undefined;
677
+ tierUsed?: "tier1" | "tier2" | "auto" | undefined;
678
+ }>;
679
+ export type HybridExportOutput = z.infer<typeof HybridExportOutputSchema>;
680
+ export type ExportScreenOutput = z.infer<typeof ExportScreenOutputSchema>;
681
+ /**
682
+ * Standardized error response format
683
+ * SPEC: U-004 Error Response Consistency
684
+ */
685
+ export declare const ErrorResponseSchema: z.ZodObject<{
686
+ success: z.ZodLiteral<false>;
687
+ error: z.ZodString;
688
+ }, "strip", z.ZodTypeAny, {
689
+ error: string;
690
+ success: false;
691
+ }, {
692
+ error: string;
693
+ success: false;
694
+ }>;
695
+ export type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
696
+ /**
697
+ * Dependencies structure for generated code
698
+ * SPEC-MCP-005: Automatic dependency extraction and environment validation
699
+ */
700
+ export declare const DependenciesSchema: z.ZodObject<{
701
+ external: z.ZodArray<z.ZodString, "many">;
702
+ internal: z.ZodArray<z.ZodString, "many">;
703
+ installCommands: z.ZodObject<{
704
+ npm: z.ZodString;
705
+ yarn: z.ZodString;
706
+ pnpm: z.ZodString;
707
+ bun: z.ZodString;
708
+ }, "strip", z.ZodTypeAny, {
709
+ npm: string;
710
+ yarn: string;
711
+ pnpm: string;
712
+ bun: string;
713
+ }, {
714
+ npm: string;
715
+ yarn: string;
716
+ pnpm: string;
717
+ bun: string;
718
+ }>;
719
+ compatibility: z.ZodOptional<z.ZodObject<{
720
+ react: z.ZodOptional<z.ZodString>;
721
+ node: z.ZodOptional<z.ZodString>;
722
+ }, "strip", z.ZodTypeAny, {
723
+ react?: string | undefined;
724
+ node?: string | undefined;
725
+ }, {
726
+ react?: string | undefined;
727
+ node?: string | undefined;
728
+ }>>;
729
+ notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
730
+ }, "strip", z.ZodTypeAny, {
731
+ internal: string[];
732
+ external: string[];
733
+ installCommands: {
734
+ npm: string;
735
+ yarn: string;
736
+ pnpm: string;
737
+ bun: string;
738
+ };
739
+ notes?: string[] | undefined;
740
+ compatibility?: {
741
+ react?: string | undefined;
742
+ node?: string | undefined;
743
+ } | undefined;
744
+ }, {
745
+ internal: string[];
746
+ external: string[];
747
+ installCommands: {
748
+ npm: string;
749
+ yarn: string;
750
+ pnpm: string;
751
+ bun: string;
752
+ };
753
+ notes?: string[] | undefined;
754
+ compatibility?: {
755
+ react?: string | undefined;
756
+ node?: string | undefined;
757
+ } | undefined;
758
+ }>;
759
+ export type Dependencies = z.infer<typeof DependenciesSchema>;
760
+ /**
761
+ * Generate Screen Output Schema
762
+ */
763
+ export declare const GenerateScreenOutputSchema: z.ZodObject<{
764
+ success: z.ZodBoolean;
765
+ code: z.ZodOptional<z.ZodString>;
766
+ cssVariables: z.ZodOptional<z.ZodString>;
767
+ dependencies: z.ZodOptional<z.ZodObject<{
768
+ external: z.ZodArray<z.ZodString, "many">;
769
+ internal: z.ZodArray<z.ZodString, "many">;
770
+ installCommands: z.ZodObject<{
771
+ npm: z.ZodString;
772
+ yarn: z.ZodString;
773
+ pnpm: z.ZodString;
774
+ bun: z.ZodString;
775
+ }, "strip", z.ZodTypeAny, {
776
+ npm: string;
777
+ yarn: string;
778
+ pnpm: string;
779
+ bun: string;
780
+ }, {
781
+ npm: string;
782
+ yarn: string;
783
+ pnpm: string;
784
+ bun: string;
785
+ }>;
786
+ compatibility: z.ZodOptional<z.ZodObject<{
787
+ react: z.ZodOptional<z.ZodString>;
788
+ node: z.ZodOptional<z.ZodString>;
789
+ }, "strip", z.ZodTypeAny, {
790
+ react?: string | undefined;
791
+ node?: string | undefined;
792
+ }, {
793
+ react?: string | undefined;
794
+ node?: string | undefined;
795
+ }>>;
796
+ notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
797
+ }, "strip", z.ZodTypeAny, {
798
+ internal: string[];
799
+ external: string[];
800
+ installCommands: {
801
+ npm: string;
802
+ yarn: string;
803
+ pnpm: string;
804
+ bun: string;
805
+ };
806
+ notes?: string[] | undefined;
807
+ compatibility?: {
808
+ react?: string | undefined;
809
+ node?: string | undefined;
810
+ } | undefined;
811
+ }, {
812
+ internal: string[];
813
+ external: string[];
814
+ installCommands: {
815
+ npm: string;
816
+ yarn: string;
817
+ pnpm: string;
818
+ bun: string;
819
+ };
820
+ notes?: string[] | undefined;
821
+ compatibility?: {
822
+ react?: string | undefined;
823
+ node?: string | undefined;
824
+ } | undefined;
825
+ }>>;
826
+ errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
827
+ error: z.ZodOptional<z.ZodString>;
828
+ }, "strip", z.ZodTypeAny, {
829
+ success: boolean;
830
+ error?: string | undefined;
831
+ code?: string | undefined;
832
+ errors?: string[] | undefined;
833
+ dependencies?: {
834
+ internal: string[];
835
+ external: string[];
836
+ installCommands: {
837
+ npm: string;
838
+ yarn: string;
839
+ pnpm: string;
840
+ bun: string;
841
+ };
842
+ notes?: string[] | undefined;
843
+ compatibility?: {
844
+ react?: string | undefined;
845
+ node?: string | undefined;
846
+ } | undefined;
847
+ } | undefined;
848
+ cssVariables?: string | undefined;
849
+ }, {
850
+ success: boolean;
851
+ error?: string | undefined;
852
+ code?: string | undefined;
853
+ errors?: string[] | undefined;
854
+ dependencies?: {
855
+ internal: string[];
856
+ external: string[];
857
+ installCommands: {
858
+ npm: string;
859
+ yarn: string;
860
+ pnpm: string;
861
+ bun: string;
862
+ };
863
+ notes?: string[] | undefined;
864
+ compatibility?: {
865
+ react?: string | undefined;
866
+ node?: string | undefined;
867
+ } | undefined;
868
+ } | undefined;
869
+ cssVariables?: string | undefined;
870
+ }>;
871
+ export type GenerateScreenOutput = z.infer<typeof GenerateScreenOutputSchema>;
872
+ /**
873
+ * Validate Screen Input Schema
874
+ */
875
+ export declare const ValidateScreenInputSchema: z.ZodObject<{
876
+ screenDefinition: z.ZodUnknown;
877
+ strictMode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
878
+ }, "strip", z.ZodTypeAny, {
879
+ strictMode: boolean;
880
+ screenDefinition?: unknown;
881
+ }, {
882
+ screenDefinition?: unknown;
883
+ strictMode?: boolean | undefined;
884
+ }>;
885
+ export type ValidateScreenInput = z.infer<typeof ValidateScreenInputSchema>;
886
+ /**
887
+ * Validation suggestion
888
+ */
889
+ export declare const ValidationSuggestionSchema: z.ZodObject<{
890
+ field: z.ZodString;
891
+ message: z.ZodString;
892
+ suggestion: z.ZodOptional<z.ZodString>;
893
+ }, "strip", z.ZodTypeAny, {
894
+ message: string;
895
+ field: string;
896
+ suggestion?: string | undefined;
897
+ }, {
898
+ message: string;
899
+ field: string;
900
+ suggestion?: string | undefined;
901
+ }>;
902
+ export type ValidationSuggestion = z.infer<typeof ValidationSuggestionSchema>;
903
+ /**
904
+ * Validate Screen Output Schema
905
+ */
906
+ export declare const ValidateScreenOutputSchema: z.ZodObject<{
907
+ success: z.ZodBoolean;
908
+ valid: z.ZodOptional<z.ZodBoolean>;
909
+ errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
910
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
911
+ suggestions: z.ZodOptional<z.ZodArray<z.ZodObject<{
912
+ field: z.ZodString;
913
+ message: z.ZodString;
914
+ suggestion: z.ZodOptional<z.ZodString>;
915
+ }, "strip", z.ZodTypeAny, {
916
+ message: string;
917
+ field: string;
918
+ suggestion?: string | undefined;
919
+ }, {
920
+ message: string;
921
+ field: string;
922
+ suggestion?: string | undefined;
923
+ }>, "many">>;
924
+ error: z.ZodOptional<z.ZodString>;
925
+ }, "strip", z.ZodTypeAny, {
926
+ success: boolean;
927
+ valid?: boolean | undefined;
928
+ error?: string | undefined;
929
+ errors?: string[] | undefined;
930
+ warnings?: string[] | undefined;
931
+ suggestions?: {
932
+ message: string;
933
+ field: string;
934
+ suggestion?: string | undefined;
935
+ }[] | undefined;
936
+ }, {
937
+ success: boolean;
938
+ valid?: boolean | undefined;
939
+ error?: string | undefined;
940
+ errors?: string[] | undefined;
941
+ warnings?: string[] | undefined;
942
+ suggestions?: {
943
+ message: string;
944
+ field: string;
945
+ suggestion?: string | undefined;
946
+ }[] | undefined;
947
+ }>;
948
+ export type ValidateScreenOutput = z.infer<typeof ValidateScreenOutputSchema>;
949
+ /**
950
+ * Token type filter
951
+ */
952
+ export declare const TokenTypeSchema: z.ZodEnum<["shell", "page", "section", "all"]>;
953
+ export type TokenType = z.infer<typeof TokenTypeSchema>;
954
+ /**
955
+ * List Tokens Input Schema
956
+ */
957
+ export declare const ListTokensInputSchema: z.ZodObject<{
958
+ tokenType: z.ZodDefault<z.ZodOptional<z.ZodEnum<["shell", "page", "section", "all"]>>>;
959
+ filter: z.ZodOptional<z.ZodString>;
960
+ }, "strip", z.ZodTypeAny, {
961
+ tokenType: "shell" | "page" | "section" | "all";
962
+ filter?: string | undefined;
963
+ }, {
964
+ filter?: string | undefined;
965
+ tokenType?: "shell" | "page" | "section" | "all" | undefined;
966
+ }>;
967
+ export type ListTokensInput = z.infer<typeof ListTokensInputSchema>;
968
+ /**
969
+ * Token metadata
970
+ */
971
+ export declare const TokenMetadataSchema: z.ZodObject<{
972
+ id: z.ZodString;
973
+ name: z.ZodOptional<z.ZodString>;
974
+ description: z.ZodOptional<z.ZodString>;
975
+ platform: z.ZodOptional<z.ZodString>;
976
+ purpose: z.ZodOptional<z.ZodString>;
977
+ type: z.ZodOptional<z.ZodString>;
978
+ }, "strip", z.ZodTypeAny, {
979
+ id: string;
980
+ type?: string | undefined;
981
+ name?: string | undefined;
982
+ description?: string | undefined;
983
+ platform?: string | undefined;
984
+ purpose?: string | undefined;
985
+ }, {
986
+ id: string;
987
+ type?: string | undefined;
988
+ name?: string | undefined;
989
+ description?: string | undefined;
990
+ platform?: string | undefined;
991
+ purpose?: string | undefined;
992
+ }>;
993
+ export type TokenMetadata = z.infer<typeof TokenMetadataSchema>;
994
+ /**
995
+ * List Tokens Output Schema
996
+ */
997
+ export declare const ListTokensOutputSchema: z.ZodObject<{
998
+ success: z.ZodBoolean;
999
+ shells: z.ZodOptional<z.ZodArray<z.ZodObject<{
1000
+ id: z.ZodString;
1001
+ name: z.ZodOptional<z.ZodString>;
1002
+ description: z.ZodOptional<z.ZodString>;
1003
+ platform: z.ZodOptional<z.ZodString>;
1004
+ purpose: z.ZodOptional<z.ZodString>;
1005
+ type: z.ZodOptional<z.ZodString>;
1006
+ }, "strip", z.ZodTypeAny, {
1007
+ id: string;
1008
+ type?: string | undefined;
1009
+ name?: string | undefined;
1010
+ description?: string | undefined;
1011
+ platform?: string | undefined;
1012
+ purpose?: string | undefined;
1013
+ }, {
1014
+ id: string;
1015
+ type?: string | undefined;
1016
+ name?: string | undefined;
1017
+ description?: string | undefined;
1018
+ platform?: string | undefined;
1019
+ purpose?: string | undefined;
1020
+ }>, "many">>;
1021
+ pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1022
+ id: z.ZodString;
1023
+ name: z.ZodOptional<z.ZodString>;
1024
+ description: z.ZodOptional<z.ZodString>;
1025
+ platform: z.ZodOptional<z.ZodString>;
1026
+ purpose: z.ZodOptional<z.ZodString>;
1027
+ type: z.ZodOptional<z.ZodString>;
1028
+ }, "strip", z.ZodTypeAny, {
1029
+ id: string;
1030
+ type?: string | undefined;
1031
+ name?: string | undefined;
1032
+ description?: string | undefined;
1033
+ platform?: string | undefined;
1034
+ purpose?: string | undefined;
1035
+ }, {
1036
+ id: string;
1037
+ type?: string | undefined;
1038
+ name?: string | undefined;
1039
+ description?: string | undefined;
1040
+ platform?: string | undefined;
1041
+ purpose?: string | undefined;
1042
+ }>, "many">>;
1043
+ sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
1044
+ id: z.ZodString;
1045
+ name: z.ZodOptional<z.ZodString>;
1046
+ description: z.ZodOptional<z.ZodString>;
1047
+ platform: z.ZodOptional<z.ZodString>;
1048
+ purpose: z.ZodOptional<z.ZodString>;
1049
+ type: z.ZodOptional<z.ZodString>;
1050
+ }, "strip", z.ZodTypeAny, {
1051
+ id: string;
1052
+ type?: string | undefined;
1053
+ name?: string | undefined;
1054
+ description?: string | undefined;
1055
+ platform?: string | undefined;
1056
+ purpose?: string | undefined;
1057
+ }, {
1058
+ id: string;
1059
+ type?: string | undefined;
1060
+ name?: string | undefined;
1061
+ description?: string | undefined;
1062
+ platform?: string | undefined;
1063
+ purpose?: string | undefined;
1064
+ }>, "many">>;
1065
+ metadata: z.ZodOptional<z.ZodObject<{
1066
+ total: z.ZodNumber;
1067
+ filtered: z.ZodOptional<z.ZodNumber>;
1068
+ }, "strip", z.ZodTypeAny, {
1069
+ total: number;
1070
+ filtered?: number | undefined;
1071
+ }, {
1072
+ total: number;
1073
+ filtered?: number | undefined;
1074
+ }>>;
1075
+ error: z.ZodOptional<z.ZodString>;
1076
+ }, "strip", z.ZodTypeAny, {
1077
+ success: boolean;
1078
+ error?: string | undefined;
1079
+ sections?: {
1080
+ id: string;
1081
+ type?: string | undefined;
1082
+ name?: string | undefined;
1083
+ description?: string | undefined;
1084
+ platform?: string | undefined;
1085
+ purpose?: string | undefined;
1086
+ }[] | undefined;
1087
+ metadata?: {
1088
+ total: number;
1089
+ filtered?: number | undefined;
1090
+ } | undefined;
1091
+ shells?: {
1092
+ id: string;
1093
+ type?: string | undefined;
1094
+ name?: string | undefined;
1095
+ description?: string | undefined;
1096
+ platform?: string | undefined;
1097
+ purpose?: string | undefined;
1098
+ }[] | undefined;
1099
+ pages?: {
1100
+ id: string;
1101
+ type?: string | undefined;
1102
+ name?: string | undefined;
1103
+ description?: string | undefined;
1104
+ platform?: string | undefined;
1105
+ purpose?: string | undefined;
1106
+ }[] | undefined;
1107
+ }, {
1108
+ success: boolean;
1109
+ error?: string | undefined;
1110
+ sections?: {
1111
+ id: string;
1112
+ type?: string | undefined;
1113
+ name?: string | undefined;
1114
+ description?: string | undefined;
1115
+ platform?: string | undefined;
1116
+ purpose?: string | undefined;
1117
+ }[] | undefined;
1118
+ metadata?: {
1119
+ total: number;
1120
+ filtered?: number | undefined;
1121
+ } | undefined;
1122
+ shells?: {
1123
+ id: string;
1124
+ type?: string | undefined;
1125
+ name?: string | undefined;
1126
+ description?: string | undefined;
1127
+ platform?: string | undefined;
1128
+ purpose?: string | undefined;
1129
+ }[] | undefined;
1130
+ pages?: {
1131
+ id: string;
1132
+ type?: string | undefined;
1133
+ name?: string | undefined;
1134
+ description?: string | undefined;
1135
+ platform?: string | undefined;
1136
+ purpose?: string | undefined;
1137
+ }[] | undefined;
1138
+ }>;
1139
+ export type ListTokensOutput = z.infer<typeof ListTokensOutputSchema>;
1140
+ /**
1141
+ * Icon Library ID validation - alphanumeric with hyphens only
1142
+ * SPEC-ICON-001: UW-001 No Icon Library ID Injection
1143
+ */
1144
+ export declare const IconLibraryIdSchema: z.ZodString;
1145
+ /**
1146
+ * List Icon Libraries Input Schema
1147
+ * No input required - lists all available icon libraries
1148
+ */
1149
+ export declare const ListIconLibrariesInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1150
+ export type ListIconLibrariesInput = z.infer<typeof ListIconLibrariesInputSchema>;
1151
+ /**
1152
+ * Icon library metadata schema
1153
+ */
1154
+ export declare const IconLibraryMetaSchema: z.ZodObject<{
1155
+ id: z.ZodString;
1156
+ name: z.ZodString;
1157
+ description: z.ZodString;
1158
+ version: z.ZodString;
1159
+ license: z.ZodString;
1160
+ totalIcons: z.ZodNumber;
1161
+ categories: z.ZodArray<z.ZodString, "many">;
1162
+ }, "strip", z.ZodTypeAny, {
1163
+ name: string;
1164
+ description: string;
1165
+ id: string;
1166
+ version: string;
1167
+ license: string;
1168
+ totalIcons: number;
1169
+ categories: string[];
1170
+ }, {
1171
+ name: string;
1172
+ description: string;
1173
+ id: string;
1174
+ version: string;
1175
+ license: string;
1176
+ totalIcons: number;
1177
+ categories: string[];
1178
+ }>;
1179
+ export type IconLibraryMeta = z.infer<typeof IconLibraryMetaSchema>;
1180
+ /**
1181
+ * List Icon Libraries Output Schema
1182
+ */
1183
+ export declare const ListIconLibrariesOutputSchema: z.ZodObject<{
1184
+ success: z.ZodBoolean;
1185
+ libraries: z.ZodOptional<z.ZodArray<z.ZodObject<{
1186
+ id: z.ZodString;
1187
+ name: z.ZodString;
1188
+ description: z.ZodString;
1189
+ version: z.ZodString;
1190
+ license: z.ZodString;
1191
+ totalIcons: z.ZodNumber;
1192
+ categories: z.ZodArray<z.ZodString, "many">;
1193
+ }, "strip", z.ZodTypeAny, {
1194
+ name: string;
1195
+ description: string;
1196
+ id: string;
1197
+ version: string;
1198
+ license: string;
1199
+ totalIcons: number;
1200
+ categories: string[];
1201
+ }, {
1202
+ name: string;
1203
+ description: string;
1204
+ id: string;
1205
+ version: string;
1206
+ license: string;
1207
+ totalIcons: number;
1208
+ categories: string[];
1209
+ }>, "many">>;
1210
+ count: z.ZodOptional<z.ZodNumber>;
1211
+ error: z.ZodOptional<z.ZodString>;
1212
+ }, "strip", z.ZodTypeAny, {
1213
+ success: boolean;
1214
+ error?: string | undefined;
1215
+ libraries?: {
1216
+ name: string;
1217
+ description: string;
1218
+ id: string;
1219
+ version: string;
1220
+ license: string;
1221
+ totalIcons: number;
1222
+ categories: string[];
1223
+ }[] | undefined;
1224
+ count?: number | undefined;
1225
+ }, {
1226
+ success: boolean;
1227
+ error?: string | undefined;
1228
+ libraries?: {
1229
+ name: string;
1230
+ description: string;
1231
+ id: string;
1232
+ version: string;
1233
+ license: string;
1234
+ totalIcons: number;
1235
+ categories: string[];
1236
+ }[] | undefined;
1237
+ count?: number | undefined;
1238
+ }>;
1239
+ export type ListIconLibrariesOutput = z.infer<typeof ListIconLibrariesOutputSchema>;
1240
+ /**
1241
+ * Preview Icon Library Input Schema
1242
+ */
1243
+ export declare const PreviewIconLibraryInputSchema: z.ZodObject<{
1244
+ libraryId: z.ZodString;
1245
+ }, "strip", z.ZodTypeAny, {
1246
+ libraryId: string;
1247
+ }, {
1248
+ libraryId: string;
1249
+ }>;
1250
+ export type PreviewIconLibraryInput = z.infer<typeof PreviewIconLibraryInputSchema>;
1251
+ /**
1252
+ * Icon size mapping schema
1253
+ */
1254
+ export declare const IconSizeMappingSchema: z.ZodObject<{
1255
+ xs: z.ZodOptional<z.ZodNumber>;
1256
+ sm: z.ZodNumber;
1257
+ md: z.ZodNumber;
1258
+ lg: z.ZodNumber;
1259
+ xl: z.ZodOptional<z.ZodNumber>;
1260
+ }, "strip", z.ZodTypeAny, {
1261
+ sm: number;
1262
+ md: number;
1263
+ lg: number;
1264
+ xs?: number | undefined;
1265
+ xl?: number | undefined;
1266
+ }, {
1267
+ sm: number;
1268
+ md: number;
1269
+ lg: number;
1270
+ xs?: number | undefined;
1271
+ xl?: number | undefined;
1272
+ }>;
1273
+ /**
1274
+ * Framework config schema
1275
+ */
1276
+ export declare const IconFrameworkConfigSchema: z.ZodObject<{
1277
+ packageName: z.ZodString;
1278
+ importStatement: z.ZodString;
1279
+ componentPattern: z.ZodString;
1280
+ variants: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1281
+ }, "strip", z.ZodTypeAny, {
1282
+ importStatement: string;
1283
+ packageName: string;
1284
+ componentPattern: string;
1285
+ variants?: Record<string, string> | undefined;
1286
+ }, {
1287
+ importStatement: string;
1288
+ packageName: string;
1289
+ componentPattern: string;
1290
+ variants?: Record<string, string> | undefined;
1291
+ }>;
1292
+ /**
1293
+ * Preview Icon Library Output Schema
1294
+ */
1295
+ export declare const PreviewIconLibraryOutputSchema: z.ZodObject<{
1296
+ success: z.ZodBoolean;
1297
+ library: z.ZodOptional<z.ZodObject<{
1298
+ id: z.ZodString;
1299
+ name: z.ZodString;
1300
+ description: z.ZodString;
1301
+ version: z.ZodString;
1302
+ license: z.ZodString;
1303
+ website: z.ZodString;
1304
+ totalIcons: z.ZodNumber;
1305
+ categories: z.ZodArray<z.ZodString, "many">;
1306
+ sizeMapping: z.ZodObject<{
1307
+ xs: z.ZodOptional<z.ZodNumber>;
1308
+ sm: z.ZodNumber;
1309
+ md: z.ZodNumber;
1310
+ lg: z.ZodNumber;
1311
+ xl: z.ZodOptional<z.ZodNumber>;
1312
+ }, "strip", z.ZodTypeAny, {
1313
+ sm: number;
1314
+ md: number;
1315
+ lg: number;
1316
+ xs?: number | undefined;
1317
+ xl?: number | undefined;
1318
+ }, {
1319
+ sm: number;
1320
+ md: number;
1321
+ lg: number;
1322
+ xs?: number | undefined;
1323
+ xl?: number | undefined;
1324
+ }>;
1325
+ frameworks: z.ZodObject<{
1326
+ react: z.ZodObject<{
1327
+ packageName: z.ZodString;
1328
+ importStatement: z.ZodString;
1329
+ componentPattern: z.ZodString;
1330
+ variants: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1331
+ }, "strip", z.ZodTypeAny, {
1332
+ importStatement: string;
1333
+ packageName: string;
1334
+ componentPattern: string;
1335
+ variants?: Record<string, string> | undefined;
1336
+ }, {
1337
+ importStatement: string;
1338
+ packageName: string;
1339
+ componentPattern: string;
1340
+ variants?: Record<string, string> | undefined;
1341
+ }>;
1342
+ vue: z.ZodObject<{
1343
+ packageName: z.ZodString;
1344
+ importStatement: z.ZodString;
1345
+ componentPattern: z.ZodString;
1346
+ variants: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1347
+ }, "strip", z.ZodTypeAny, {
1348
+ importStatement: string;
1349
+ packageName: string;
1350
+ componentPattern: string;
1351
+ variants?: Record<string, string> | undefined;
1352
+ }, {
1353
+ importStatement: string;
1354
+ packageName: string;
1355
+ componentPattern: string;
1356
+ variants?: Record<string, string> | undefined;
1357
+ }>;
1358
+ }, "strip", z.ZodTypeAny, {
1359
+ react: {
1360
+ importStatement: string;
1361
+ packageName: string;
1362
+ componentPattern: string;
1363
+ variants?: Record<string, string> | undefined;
1364
+ };
1365
+ vue: {
1366
+ importStatement: string;
1367
+ packageName: string;
1368
+ componentPattern: string;
1369
+ variants?: Record<string, string> | undefined;
1370
+ };
1371
+ }, {
1372
+ react: {
1373
+ importStatement: string;
1374
+ packageName: string;
1375
+ componentPattern: string;
1376
+ variants?: Record<string, string> | undefined;
1377
+ };
1378
+ vue: {
1379
+ importStatement: string;
1380
+ packageName: string;
1381
+ componentPattern: string;
1382
+ variants?: Record<string, string> | undefined;
1383
+ };
1384
+ }>;
1385
+ defaultVariant: z.ZodOptional<z.ZodString>;
1386
+ iconSample: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1387
+ }, "strip", z.ZodTypeAny, {
1388
+ name: string;
1389
+ description: string;
1390
+ id: string;
1391
+ version: string;
1392
+ license: string;
1393
+ website: string;
1394
+ totalIcons: number;
1395
+ categories: string[];
1396
+ sizeMapping: {
1397
+ sm: number;
1398
+ md: number;
1399
+ lg: number;
1400
+ xs?: number | undefined;
1401
+ xl?: number | undefined;
1402
+ };
1403
+ frameworks: {
1404
+ react: {
1405
+ importStatement: string;
1406
+ packageName: string;
1407
+ componentPattern: string;
1408
+ variants?: Record<string, string> | undefined;
1409
+ };
1410
+ vue: {
1411
+ importStatement: string;
1412
+ packageName: string;
1413
+ componentPattern: string;
1414
+ variants?: Record<string, string> | undefined;
1415
+ };
1416
+ };
1417
+ defaultVariant?: string | undefined;
1418
+ iconSample?: string[] | undefined;
1419
+ }, {
1420
+ name: string;
1421
+ description: string;
1422
+ id: string;
1423
+ version: string;
1424
+ license: string;
1425
+ website: string;
1426
+ totalIcons: number;
1427
+ categories: string[];
1428
+ sizeMapping: {
1429
+ sm: number;
1430
+ md: number;
1431
+ lg: number;
1432
+ xs?: number | undefined;
1433
+ xl?: number | undefined;
1434
+ };
1435
+ frameworks: {
1436
+ react: {
1437
+ importStatement: string;
1438
+ packageName: string;
1439
+ componentPattern: string;
1440
+ variants?: Record<string, string> | undefined;
1441
+ };
1442
+ vue: {
1443
+ importStatement: string;
1444
+ packageName: string;
1445
+ componentPattern: string;
1446
+ variants?: Record<string, string> | undefined;
1447
+ };
1448
+ };
1449
+ defaultVariant?: string | undefined;
1450
+ iconSample?: string[] | undefined;
1451
+ }>>;
1452
+ error: z.ZodOptional<z.ZodString>;
1453
+ }, "strip", z.ZodTypeAny, {
1454
+ success: boolean;
1455
+ error?: string | undefined;
1456
+ library?: {
1457
+ name: string;
1458
+ description: string;
1459
+ id: string;
1460
+ version: string;
1461
+ license: string;
1462
+ website: string;
1463
+ totalIcons: number;
1464
+ categories: string[];
1465
+ sizeMapping: {
1466
+ sm: number;
1467
+ md: number;
1468
+ lg: number;
1469
+ xs?: number | undefined;
1470
+ xl?: number | undefined;
1471
+ };
1472
+ frameworks: {
1473
+ react: {
1474
+ importStatement: string;
1475
+ packageName: string;
1476
+ componentPattern: string;
1477
+ variants?: Record<string, string> | undefined;
1478
+ };
1479
+ vue: {
1480
+ importStatement: string;
1481
+ packageName: string;
1482
+ componentPattern: string;
1483
+ variants?: Record<string, string> | undefined;
1484
+ };
1485
+ };
1486
+ defaultVariant?: string | undefined;
1487
+ iconSample?: string[] | undefined;
1488
+ } | undefined;
1489
+ }, {
1490
+ success: boolean;
1491
+ error?: string | undefined;
1492
+ library?: {
1493
+ name: string;
1494
+ description: string;
1495
+ id: string;
1496
+ version: string;
1497
+ license: string;
1498
+ website: string;
1499
+ totalIcons: number;
1500
+ categories: string[];
1501
+ sizeMapping: {
1502
+ sm: number;
1503
+ md: number;
1504
+ lg: number;
1505
+ xs?: number | undefined;
1506
+ xl?: number | undefined;
1507
+ };
1508
+ frameworks: {
1509
+ react: {
1510
+ importStatement: string;
1511
+ packageName: string;
1512
+ componentPattern: string;
1513
+ variants?: Record<string, string> | undefined;
1514
+ };
1515
+ vue: {
1516
+ importStatement: string;
1517
+ packageName: string;
1518
+ componentPattern: string;
1519
+ variants?: Record<string, string> | undefined;
1520
+ };
1521
+ };
1522
+ defaultVariant?: string | undefined;
1523
+ iconSample?: string[] | undefined;
1524
+ } | undefined;
1525
+ }>;
1526
+ export type PreviewIconLibraryOutput = z.infer<typeof PreviewIconLibraryOutputSchema>;
1527
+ /**
1528
+ * Component category types
1529
+ * SPEC-MCP-003: Component tier system
1530
+ */
1531
+ export declare const ComponentCategorySchema: z.ZodEnum<["core", "complex", "advanced"]>;
1532
+ export type ComponentCategory = z.infer<typeof ComponentCategorySchema>;
1533
+ /**
1534
+ * List Components Input Schema
1535
+ * SPEC-MCP-003: [TAG-MCP003-006]
1536
+ */
1537
+ export declare const ListComponentsInputSchema: z.ZodObject<{
1538
+ category: z.ZodDefault<z.ZodOptional<z.ZodEnum<["core", "complex", "advanced", "all"]>>>;
1539
+ search: z.ZodOptional<z.ZodString>;
1540
+ }, "strip", z.ZodTypeAny, {
1541
+ category: "core" | "complex" | "advanced" | "all";
1542
+ search?: string | undefined;
1543
+ }, {
1544
+ category?: "core" | "complex" | "advanced" | "all" | undefined;
1545
+ search?: string | undefined;
1546
+ }>;
1547
+ export type ListComponentsInput = z.infer<typeof ListComponentsInputSchema>;
1548
+ /**
1549
+ * Component metadata schema
1550
+ */
1551
+ export declare const ComponentMetaSchema: z.ZodObject<{
1552
+ id: z.ZodString;
1553
+ name: z.ZodString;
1554
+ category: z.ZodEnum<["core", "complex", "advanced"]>;
1555
+ description: z.ZodString;
1556
+ variantsCount: z.ZodNumber;
1557
+ hasSubComponents: z.ZodBoolean;
1558
+ tier: z.ZodNumber;
1559
+ }, "strip", z.ZodTypeAny, {
1560
+ name: string;
1561
+ description: string;
1562
+ category: "core" | "complex" | "advanced";
1563
+ id: string;
1564
+ variantsCount: number;
1565
+ hasSubComponents: boolean;
1566
+ tier: number;
1567
+ }, {
1568
+ name: string;
1569
+ description: string;
1570
+ category: "core" | "complex" | "advanced";
1571
+ id: string;
1572
+ variantsCount: number;
1573
+ hasSubComponents: boolean;
1574
+ tier: number;
1575
+ }>;
1576
+ export type ComponentMeta = z.infer<typeof ComponentMetaSchema>;
1577
+ /**
1578
+ * List Components Output Schema
1579
+ */
1580
+ export declare const ListComponentsOutputSchema: z.ZodObject<{
1581
+ success: z.ZodBoolean;
1582
+ components: z.ZodOptional<z.ZodArray<z.ZodObject<{
1583
+ id: z.ZodString;
1584
+ name: z.ZodString;
1585
+ category: z.ZodEnum<["core", "complex", "advanced"]>;
1586
+ description: z.ZodString;
1587
+ variantsCount: z.ZodNumber;
1588
+ hasSubComponents: z.ZodBoolean;
1589
+ tier: z.ZodNumber;
1590
+ }, "strip", z.ZodTypeAny, {
1591
+ name: string;
1592
+ description: string;
1593
+ category: "core" | "complex" | "advanced";
1594
+ id: string;
1595
+ variantsCount: number;
1596
+ hasSubComponents: boolean;
1597
+ tier: number;
1598
+ }, {
1599
+ name: string;
1600
+ description: string;
1601
+ category: "core" | "complex" | "advanced";
1602
+ id: string;
1603
+ variantsCount: number;
1604
+ hasSubComponents: boolean;
1605
+ tier: number;
1606
+ }>, "many">>;
1607
+ count: z.ZodOptional<z.ZodNumber>;
1608
+ categories: z.ZodOptional<z.ZodObject<{
1609
+ core: z.ZodNumber;
1610
+ complex: z.ZodNumber;
1611
+ advanced: z.ZodNumber;
1612
+ }, "strip", z.ZodTypeAny, {
1613
+ core: number;
1614
+ complex: number;
1615
+ advanced: number;
1616
+ }, {
1617
+ core: number;
1618
+ complex: number;
1619
+ advanced: number;
1620
+ }>>;
1621
+ error: z.ZodOptional<z.ZodString>;
1622
+ }, "strip", z.ZodTypeAny, {
1623
+ success: boolean;
1624
+ error?: string | undefined;
1625
+ components?: {
1626
+ name: string;
1627
+ description: string;
1628
+ category: "core" | "complex" | "advanced";
1629
+ id: string;
1630
+ variantsCount: number;
1631
+ hasSubComponents: boolean;
1632
+ tier: number;
1633
+ }[] | undefined;
1634
+ categories?: {
1635
+ core: number;
1636
+ complex: number;
1637
+ advanced: number;
1638
+ } | undefined;
1639
+ count?: number | undefined;
1640
+ }, {
1641
+ success: boolean;
1642
+ error?: string | undefined;
1643
+ components?: {
1644
+ name: string;
1645
+ description: string;
1646
+ category: "core" | "complex" | "advanced";
1647
+ id: string;
1648
+ variantsCount: number;
1649
+ hasSubComponents: boolean;
1650
+ tier: number;
1651
+ }[] | undefined;
1652
+ categories?: {
1653
+ core: number;
1654
+ complex: number;
1655
+ advanced: number;
1656
+ } | undefined;
1657
+ count?: number | undefined;
1658
+ }>;
1659
+ export type ListComponentsOutput = z.infer<typeof ListComponentsOutputSchema>;
1660
+ /**
1661
+ * Preview Component Input Schema
1662
+ * SPEC-MCP-003: [TAG-MCP003-007]
1663
+ */
1664
+ export declare const PreviewComponentInputSchema: z.ZodObject<{
1665
+ componentId: z.ZodString;
1666
+ includeExamples: z.ZodOptional<z.ZodBoolean>;
1667
+ includeDependencies: z.ZodOptional<z.ZodBoolean>;
1668
+ }, "strip", z.ZodTypeAny, {
1669
+ componentId: string;
1670
+ includeExamples?: boolean | undefined;
1671
+ includeDependencies?: boolean | undefined;
1672
+ }, {
1673
+ componentId: string;
1674
+ includeExamples?: boolean | undefined;
1675
+ includeDependencies?: boolean | undefined;
1676
+ }>;
1677
+ export type PreviewComponentInput = z.infer<typeof PreviewComponentInputSchema>;
1678
+ /**
1679
+ * Prop definition schema
1680
+ */
1681
+ export declare const PropDefinitionSchema: z.ZodObject<{
1682
+ name: z.ZodString;
1683
+ type: z.ZodString;
1684
+ required: z.ZodBoolean;
1685
+ defaultValue: z.ZodOptional<z.ZodString>;
1686
+ description: z.ZodOptional<z.ZodString>;
1687
+ }, "strip", z.ZodTypeAny, {
1688
+ type: string;
1689
+ name: string;
1690
+ required: boolean;
1691
+ defaultValue?: string | undefined;
1692
+ description?: string | undefined;
1693
+ }, {
1694
+ type: string;
1695
+ name: string;
1696
+ required: boolean;
1697
+ defaultValue?: string | undefined;
1698
+ description?: string | undefined;
1699
+ }>;
1700
+ export type PropDefinition = z.infer<typeof PropDefinitionSchema>;
1701
+ /**
1702
+ * Variant schema
1703
+ */
1704
+ export declare const VariantSchema: z.ZodObject<{
1705
+ name: z.ZodString;
1706
+ value: z.ZodString;
1707
+ description: z.ZodOptional<z.ZodString>;
1708
+ }, "strip", z.ZodTypeAny, {
1709
+ value: string;
1710
+ name: string;
1711
+ description?: string | undefined;
1712
+ }, {
1713
+ value: string;
1714
+ name: string;
1715
+ description?: string | undefined;
1716
+ }>;
1717
+ export type Variant = z.infer<typeof VariantSchema>;
1718
+ /**
1719
+ * Usage example schema
1720
+ */
1721
+ export declare const UsageExampleSchema: z.ZodObject<{
1722
+ title: z.ZodString;
1723
+ code: z.ZodString;
1724
+ description: z.ZodOptional<z.ZodString>;
1725
+ }, "strip", z.ZodTypeAny, {
1726
+ code: string;
1727
+ title: string;
1728
+ description?: string | undefined;
1729
+ }, {
1730
+ code: string;
1731
+ title: string;
1732
+ description?: string | undefined;
1733
+ }>;
1734
+ export type UsageExample = z.infer<typeof UsageExampleSchema>;
1735
+ /**
1736
+ * Preview Component Output Schema
1737
+ */
1738
+ export declare const PreviewComponentOutputSchema: z.ZodObject<{
1739
+ success: z.ZodBoolean;
1740
+ component: z.ZodOptional<z.ZodObject<{
1741
+ id: z.ZodString;
1742
+ name: z.ZodString;
1743
+ category: z.ZodEnum<["core", "complex", "advanced"]>;
1744
+ description: z.ZodString;
1745
+ tier: z.ZodNumber;
1746
+ props: z.ZodArray<z.ZodObject<{
1747
+ name: z.ZodString;
1748
+ type: z.ZodString;
1749
+ required: z.ZodBoolean;
1750
+ defaultValue: z.ZodOptional<z.ZodString>;
1751
+ description: z.ZodOptional<z.ZodString>;
1752
+ }, "strip", z.ZodTypeAny, {
1753
+ type: string;
1754
+ name: string;
1755
+ required: boolean;
1756
+ defaultValue?: string | undefined;
1757
+ description?: string | undefined;
1758
+ }, {
1759
+ type: string;
1760
+ name: string;
1761
+ required: boolean;
1762
+ defaultValue?: string | undefined;
1763
+ description?: string | undefined;
1764
+ }>, "many">;
1765
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
1766
+ name: z.ZodString;
1767
+ value: z.ZodString;
1768
+ description: z.ZodOptional<z.ZodString>;
1769
+ }, "strip", z.ZodTypeAny, {
1770
+ value: string;
1771
+ name: string;
1772
+ description?: string | undefined;
1773
+ }, {
1774
+ value: string;
1775
+ name: string;
1776
+ description?: string | undefined;
1777
+ }>, "many">>;
1778
+ subComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1779
+ importStatement: z.ZodString;
1780
+ dependencies: z.ZodOptional<z.ZodObject<{
1781
+ internal: z.ZodArray<z.ZodString, "many">;
1782
+ external: z.ZodArray<z.ZodString, "many">;
1783
+ }, "strip", z.ZodTypeAny, {
1784
+ internal: string[];
1785
+ external: string[];
1786
+ }, {
1787
+ internal: string[];
1788
+ external: string[];
1789
+ }>>;
1790
+ examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
1791
+ title: z.ZodString;
1792
+ code: z.ZodString;
1793
+ description: z.ZodOptional<z.ZodString>;
1794
+ }, "strip", z.ZodTypeAny, {
1795
+ code: string;
1796
+ title: string;
1797
+ description?: string | undefined;
1798
+ }, {
1799
+ code: string;
1800
+ title: string;
1801
+ description?: string | undefined;
1802
+ }>, "many">>;
1803
+ accessibility: z.ZodOptional<z.ZodString>;
1804
+ }, "strip", z.ZodTypeAny, {
1805
+ name: string;
1806
+ description: string;
1807
+ category: "core" | "complex" | "advanced";
1808
+ id: string;
1809
+ props: {
1810
+ type: string;
1811
+ name: string;
1812
+ required: boolean;
1813
+ defaultValue?: string | undefined;
1814
+ description?: string | undefined;
1815
+ }[];
1816
+ importStatement: string;
1817
+ tier: number;
1818
+ variants?: {
1819
+ value: string;
1820
+ name: string;
1821
+ description?: string | undefined;
1822
+ }[] | undefined;
1823
+ accessibility?: string | undefined;
1824
+ subComponents?: string[] | undefined;
1825
+ examples?: {
1826
+ code: string;
1827
+ title: string;
1828
+ description?: string | undefined;
1829
+ }[] | undefined;
1830
+ dependencies?: {
1831
+ internal: string[];
1832
+ external: string[];
1833
+ } | undefined;
1834
+ }, {
1835
+ name: string;
1836
+ description: string;
1837
+ category: "core" | "complex" | "advanced";
1838
+ id: string;
1839
+ props: {
1840
+ type: string;
1841
+ name: string;
1842
+ required: boolean;
1843
+ defaultValue?: string | undefined;
1844
+ description?: string | undefined;
1845
+ }[];
1846
+ importStatement: string;
1847
+ tier: number;
1848
+ variants?: {
1849
+ value: string;
1850
+ name: string;
1851
+ description?: string | undefined;
1852
+ }[] | undefined;
1853
+ accessibility?: string | undefined;
1854
+ subComponents?: string[] | undefined;
1855
+ examples?: {
1856
+ code: string;
1857
+ title: string;
1858
+ description?: string | undefined;
1859
+ }[] | undefined;
1860
+ dependencies?: {
1861
+ internal: string[];
1862
+ external: string[];
1863
+ } | undefined;
1864
+ }>>;
1865
+ error: z.ZodOptional<z.ZodString>;
1866
+ }, "strip", z.ZodTypeAny, {
1867
+ success: boolean;
1868
+ error?: string | undefined;
1869
+ component?: {
1870
+ name: string;
1871
+ description: string;
1872
+ category: "core" | "complex" | "advanced";
1873
+ id: string;
1874
+ props: {
1875
+ type: string;
1876
+ name: string;
1877
+ required: boolean;
1878
+ defaultValue?: string | undefined;
1879
+ description?: string | undefined;
1880
+ }[];
1881
+ importStatement: string;
1882
+ tier: number;
1883
+ variants?: {
1884
+ value: string;
1885
+ name: string;
1886
+ description?: string | undefined;
1887
+ }[] | undefined;
1888
+ accessibility?: string | undefined;
1889
+ subComponents?: string[] | undefined;
1890
+ examples?: {
1891
+ code: string;
1892
+ title: string;
1893
+ description?: string | undefined;
1894
+ }[] | undefined;
1895
+ dependencies?: {
1896
+ internal: string[];
1897
+ external: string[];
1898
+ } | undefined;
1899
+ } | undefined;
1900
+ }, {
1901
+ success: boolean;
1902
+ error?: string | undefined;
1903
+ component?: {
1904
+ name: string;
1905
+ description: string;
1906
+ category: "core" | "complex" | "advanced";
1907
+ id: string;
1908
+ props: {
1909
+ type: string;
1910
+ name: string;
1911
+ required: boolean;
1912
+ defaultValue?: string | undefined;
1913
+ description?: string | undefined;
1914
+ }[];
1915
+ importStatement: string;
1916
+ tier: number;
1917
+ variants?: {
1918
+ value: string;
1919
+ name: string;
1920
+ description?: string | undefined;
1921
+ }[] | undefined;
1922
+ accessibility?: string | undefined;
1923
+ subComponents?: string[] | undefined;
1924
+ examples?: {
1925
+ code: string;
1926
+ title: string;
1927
+ description?: string | undefined;
1928
+ }[] | undefined;
1929
+ dependencies?: {
1930
+ internal: string[];
1931
+ external: string[];
1932
+ } | undefined;
1933
+ } | undefined;
1934
+ }>;
1935
+ export type PreviewComponentOutput = z.infer<typeof PreviewComponentOutputSchema>;
1936
+ /**
1937
+ * Template category types
1938
+ */
1939
+ export declare const TemplateCategorySchema: z.ZodEnum<["auth", "dashboard", "form", "marketing", "feedback"]>;
1940
+ export type TemplateCategory = z.infer<typeof TemplateCategorySchema>;
1941
+ /**
1942
+ * List Screen Templates Input Schema
1943
+ * SPEC-MCP-003: [TAG-MCP003-008]
1944
+ */
1945
+ export declare const ListScreenTemplatesInputSchema: z.ZodObject<{
1946
+ category: z.ZodDefault<z.ZodOptional<z.ZodEnum<["auth", "dashboard", "form", "marketing", "feedback", "all"]>>>;
1947
+ search: z.ZodOptional<z.ZodString>;
1948
+ }, "strip", z.ZodTypeAny, {
1949
+ category: "auth" | "dashboard" | "form" | "feedback" | "marketing" | "all";
1950
+ search?: string | undefined;
1951
+ }, {
1952
+ category?: "auth" | "dashboard" | "form" | "feedback" | "marketing" | "all" | undefined;
1953
+ search?: string | undefined;
1954
+ }>;
1955
+ export type ListScreenTemplatesInput = z.infer<typeof ListScreenTemplatesInputSchema>;
1956
+ /**
1957
+ * Template layout type schema
1958
+ */
1959
+ export declare const TemplateLayoutTypeSchema: z.ZodEnum<["centered", "sidebar", "full"]>;
1960
+ export type TemplateLayoutType = z.infer<typeof TemplateLayoutTypeSchema>;
1961
+ /**
1962
+ * Template metadata schema
1963
+ */
1964
+ export declare const TemplateMetaSchema: z.ZodObject<{
1965
+ id: z.ZodString;
1966
+ name: z.ZodString;
1967
+ category: z.ZodEnum<["auth", "dashboard", "form", "marketing", "feedback"]>;
1968
+ description: z.ZodString;
1969
+ requiredComponentsCount: z.ZodNumber;
1970
+ layoutType: z.ZodEnum<["centered", "sidebar", "full"]>;
1971
+ version: z.ZodString;
1972
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1973
+ }, "strip", z.ZodTypeAny, {
1974
+ name: string;
1975
+ description: string;
1976
+ category: "auth" | "dashboard" | "form" | "feedback" | "marketing";
1977
+ id: string;
1978
+ version: string;
1979
+ requiredComponentsCount: number;
1980
+ layoutType: "sidebar" | "centered" | "full";
1981
+ tags?: string[] | undefined;
1982
+ }, {
1983
+ name: string;
1984
+ description: string;
1985
+ category: "auth" | "dashboard" | "form" | "feedback" | "marketing";
1986
+ id: string;
1987
+ version: string;
1988
+ requiredComponentsCount: number;
1989
+ layoutType: "sidebar" | "centered" | "full";
1990
+ tags?: string[] | undefined;
1991
+ }>;
1992
+ export type TemplateMeta = z.infer<typeof TemplateMetaSchema>;
1993
+ /**
1994
+ * List Screen Templates Output Schema
1995
+ */
1996
+ export declare const ListScreenTemplatesOutputSchema: z.ZodObject<{
1997
+ success: z.ZodBoolean;
1998
+ templates: z.ZodOptional<z.ZodArray<z.ZodObject<{
1999
+ id: z.ZodString;
2000
+ name: z.ZodString;
2001
+ category: z.ZodEnum<["auth", "dashboard", "form", "marketing", "feedback"]>;
2002
+ description: z.ZodString;
2003
+ requiredComponentsCount: z.ZodNumber;
2004
+ layoutType: z.ZodEnum<["centered", "sidebar", "full"]>;
2005
+ version: z.ZodString;
2006
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2007
+ }, "strip", z.ZodTypeAny, {
2008
+ name: string;
2009
+ description: string;
2010
+ category: "auth" | "dashboard" | "form" | "feedback" | "marketing";
2011
+ id: string;
2012
+ version: string;
2013
+ requiredComponentsCount: number;
2014
+ layoutType: "sidebar" | "centered" | "full";
2015
+ tags?: string[] | undefined;
2016
+ }, {
2017
+ name: string;
2018
+ description: string;
2019
+ category: "auth" | "dashboard" | "form" | "feedback" | "marketing";
2020
+ id: string;
2021
+ version: string;
2022
+ requiredComponentsCount: number;
2023
+ layoutType: "sidebar" | "centered" | "full";
2024
+ tags?: string[] | undefined;
2025
+ }>, "many">>;
2026
+ count: z.ZodOptional<z.ZodNumber>;
2027
+ categories: z.ZodOptional<z.ZodObject<{
2028
+ auth: z.ZodNumber;
2029
+ dashboard: z.ZodNumber;
2030
+ form: z.ZodNumber;
2031
+ marketing: z.ZodNumber;
2032
+ feedback: z.ZodNumber;
2033
+ }, "strip", z.ZodTypeAny, {
2034
+ auth: number;
2035
+ dashboard: number;
2036
+ form: number;
2037
+ feedback: number;
2038
+ marketing: number;
2039
+ }, {
2040
+ auth: number;
2041
+ dashboard: number;
2042
+ form: number;
2043
+ feedback: number;
2044
+ marketing: number;
2045
+ }>>;
2046
+ error: z.ZodOptional<z.ZodString>;
2047
+ }, "strip", z.ZodTypeAny, {
2048
+ success: boolean;
2049
+ error?: string | undefined;
2050
+ categories?: {
2051
+ auth: number;
2052
+ dashboard: number;
2053
+ form: number;
2054
+ feedback: number;
2055
+ marketing: number;
2056
+ } | undefined;
2057
+ count?: number | undefined;
2058
+ templates?: {
2059
+ name: string;
2060
+ description: string;
2061
+ category: "auth" | "dashboard" | "form" | "feedback" | "marketing";
2062
+ id: string;
2063
+ version: string;
2064
+ requiredComponentsCount: number;
2065
+ layoutType: "sidebar" | "centered" | "full";
2066
+ tags?: string[] | undefined;
2067
+ }[] | undefined;
2068
+ }, {
2069
+ success: boolean;
2070
+ error?: string | undefined;
2071
+ categories?: {
2072
+ auth: number;
2073
+ dashboard: number;
2074
+ form: number;
2075
+ feedback: number;
2076
+ marketing: number;
2077
+ } | undefined;
2078
+ count?: number | undefined;
2079
+ templates?: {
2080
+ name: string;
2081
+ description: string;
2082
+ category: "auth" | "dashboard" | "form" | "feedback" | "marketing";
2083
+ id: string;
2084
+ version: string;
2085
+ requiredComponentsCount: number;
2086
+ layoutType: "sidebar" | "centered" | "full";
2087
+ tags?: string[] | undefined;
2088
+ }[] | undefined;
2089
+ }>;
2090
+ export type ListScreenTemplatesOutput = z.infer<typeof ListScreenTemplatesOutputSchema>;
2091
+ /**
2092
+ * Preview Screen Template Input Schema
2093
+ * SPEC-MCP-003: [TAG-MCP003-009]
2094
+ */
2095
+ export declare const PreviewScreenTemplateInputSchema: z.ZodObject<{
2096
+ templateId: z.ZodString;
2097
+ includeLayoutTokens: z.ZodOptional<z.ZodBoolean>;
2098
+ }, "strip", z.ZodTypeAny, {
2099
+ templateId: string;
2100
+ includeLayoutTokens?: boolean | undefined;
2101
+ }, {
2102
+ templateId: string;
2103
+ includeLayoutTokens?: boolean | undefined;
2104
+ }>;
2105
+ export type PreviewScreenTemplateInput = z.infer<typeof PreviewScreenTemplateInputSchema>;
2106
+ /**
2107
+ * Skeleton schema
2108
+ */
2109
+ export declare const SkeletonSchema: z.ZodObject<{
2110
+ shell: z.ZodString;
2111
+ page: z.ZodString;
2112
+ sections: z.ZodArray<z.ZodObject<{
2113
+ id: z.ZodString;
2114
+ name: z.ZodString;
2115
+ slot: z.ZodString;
2116
+ required: z.ZodBoolean;
2117
+ }, "strip", z.ZodTypeAny, {
2118
+ name: string;
2119
+ required: boolean;
2120
+ id: string;
2121
+ slot: string;
2122
+ }, {
2123
+ name: string;
2124
+ required: boolean;
2125
+ id: string;
2126
+ slot: string;
2127
+ }>, "many">;
2128
+ }, "strip", z.ZodTypeAny, {
2129
+ sections: {
2130
+ name: string;
2131
+ required: boolean;
2132
+ id: string;
2133
+ slot: string;
2134
+ }[];
2135
+ shell: string;
2136
+ page: string;
2137
+ }, {
2138
+ sections: {
2139
+ name: string;
2140
+ required: boolean;
2141
+ id: string;
2142
+ slot: string;
2143
+ }[];
2144
+ shell: string;
2145
+ page: string;
2146
+ }>;
2147
+ export type Skeleton = z.infer<typeof SkeletonSchema>;
2148
+ /**
2149
+ * Customization schema
2150
+ */
2151
+ export declare const CustomizationSchema: z.ZodObject<{
2152
+ texts: z.ZodArray<z.ZodString, "many">;
2153
+ optional: z.ZodArray<z.ZodString, "many">;
2154
+ slots: z.ZodArray<z.ZodString, "many">;
2155
+ }, "strip", z.ZodTypeAny, {
2156
+ optional: string[];
2157
+ texts: string[];
2158
+ slots: string[];
2159
+ }, {
2160
+ optional: string[];
2161
+ texts: string[];
2162
+ slots: string[];
2163
+ }>;
2164
+ export type Customization = z.infer<typeof CustomizationSchema>;
2165
+ /**
2166
+ * Responsive layout schema
2167
+ */
2168
+ export declare const ResponsiveLayoutSchema: z.ZodObject<{
2169
+ mobile: z.ZodObject<{
2170
+ padding: z.ZodString;
2171
+ gap: z.ZodString;
2172
+ columns: z.ZodNumber;
2173
+ }, "strip", z.ZodTypeAny, {
2174
+ padding: string;
2175
+ gap: string;
2176
+ columns: number;
2177
+ }, {
2178
+ padding: string;
2179
+ gap: string;
2180
+ columns: number;
2181
+ }>;
2182
+ tablet: z.ZodObject<{
2183
+ padding: z.ZodString;
2184
+ gap: z.ZodString;
2185
+ columns: z.ZodNumber;
2186
+ }, "strip", z.ZodTypeAny, {
2187
+ padding: string;
2188
+ gap: string;
2189
+ columns: number;
2190
+ }, {
2191
+ padding: string;
2192
+ gap: string;
2193
+ columns: number;
2194
+ }>;
2195
+ desktop: z.ZodObject<{
2196
+ padding: z.ZodString;
2197
+ gap: z.ZodString;
2198
+ columns: z.ZodNumber;
2199
+ }, "strip", z.ZodTypeAny, {
2200
+ padding: string;
2201
+ gap: string;
2202
+ columns: number;
2203
+ }, {
2204
+ padding: string;
2205
+ gap: string;
2206
+ columns: number;
2207
+ }>;
2208
+ }, "strip", z.ZodTypeAny, {
2209
+ mobile: {
2210
+ padding: string;
2211
+ gap: string;
2212
+ columns: number;
2213
+ };
2214
+ desktop: {
2215
+ padding: string;
2216
+ gap: string;
2217
+ columns: number;
2218
+ };
2219
+ tablet: {
2220
+ padding: string;
2221
+ gap: string;
2222
+ columns: number;
2223
+ };
2224
+ }, {
2225
+ mobile: {
2226
+ padding: string;
2227
+ gap: string;
2228
+ columns: number;
2229
+ };
2230
+ desktop: {
2231
+ padding: string;
2232
+ gap: string;
2233
+ columns: number;
2234
+ };
2235
+ tablet: {
2236
+ padding: string;
2237
+ gap: string;
2238
+ columns: number;
2239
+ };
2240
+ }>;
2241
+ export type ResponsiveLayout = z.infer<typeof ResponsiveLayoutSchema>;
2242
+ /**
2243
+ * Preview Screen Template Output Schema
2244
+ */
2245
+ export declare const PreviewScreenTemplateOutputSchema: z.ZodObject<{
2246
+ success: z.ZodBoolean;
2247
+ template: z.ZodOptional<z.ZodObject<{
2248
+ id: z.ZodString;
2249
+ name: z.ZodString;
2250
+ category: z.ZodEnum<["auth", "dashboard", "form", "marketing", "feedback"]>;
2251
+ description: z.ZodString;
2252
+ version: z.ZodString;
2253
+ skeleton: z.ZodObject<{
2254
+ shell: z.ZodString;
2255
+ page: z.ZodString;
2256
+ sections: z.ZodArray<z.ZodObject<{
2257
+ id: z.ZodString;
2258
+ name: z.ZodString;
2259
+ slot: z.ZodString;
2260
+ required: z.ZodBoolean;
2261
+ }, "strip", z.ZodTypeAny, {
2262
+ name: string;
2263
+ required: boolean;
2264
+ id: string;
2265
+ slot: string;
2266
+ }, {
2267
+ name: string;
2268
+ required: boolean;
2269
+ id: string;
2270
+ slot: string;
2271
+ }>, "many">;
2272
+ }, "strip", z.ZodTypeAny, {
2273
+ sections: {
2274
+ name: string;
2275
+ required: boolean;
2276
+ id: string;
2277
+ slot: string;
2278
+ }[];
2279
+ shell: string;
2280
+ page: string;
2281
+ }, {
2282
+ sections: {
2283
+ name: string;
2284
+ required: boolean;
2285
+ id: string;
2286
+ slot: string;
2287
+ }[];
2288
+ shell: string;
2289
+ page: string;
2290
+ }>;
2291
+ layout: z.ZodObject<{
2292
+ type: z.ZodEnum<["centered", "sidebar", "full"]>;
2293
+ responsive: z.ZodOptional<z.ZodObject<{
2294
+ mobile: z.ZodObject<{
2295
+ padding: z.ZodString;
2296
+ gap: z.ZodString;
2297
+ columns: z.ZodNumber;
2298
+ }, "strip", z.ZodTypeAny, {
2299
+ padding: string;
2300
+ gap: string;
2301
+ columns: number;
2302
+ }, {
2303
+ padding: string;
2304
+ gap: string;
2305
+ columns: number;
2306
+ }>;
2307
+ tablet: z.ZodObject<{
2308
+ padding: z.ZodString;
2309
+ gap: z.ZodString;
2310
+ columns: z.ZodNumber;
2311
+ }, "strip", z.ZodTypeAny, {
2312
+ padding: string;
2313
+ gap: string;
2314
+ columns: number;
2315
+ }, {
2316
+ padding: string;
2317
+ gap: string;
2318
+ columns: number;
2319
+ }>;
2320
+ desktop: z.ZodObject<{
2321
+ padding: z.ZodString;
2322
+ gap: z.ZodString;
2323
+ columns: z.ZodNumber;
2324
+ }, "strip", z.ZodTypeAny, {
2325
+ padding: string;
2326
+ gap: string;
2327
+ columns: number;
2328
+ }, {
2329
+ padding: string;
2330
+ gap: string;
2331
+ columns: number;
2332
+ }>;
2333
+ }, "strip", z.ZodTypeAny, {
2334
+ mobile: {
2335
+ padding: string;
2336
+ gap: string;
2337
+ columns: number;
2338
+ };
2339
+ desktop: {
2340
+ padding: string;
2341
+ gap: string;
2342
+ columns: number;
2343
+ };
2344
+ tablet: {
2345
+ padding: string;
2346
+ gap: string;
2347
+ columns: number;
2348
+ };
2349
+ }, {
2350
+ mobile: {
2351
+ padding: string;
2352
+ gap: string;
2353
+ columns: number;
2354
+ };
2355
+ desktop: {
2356
+ padding: string;
2357
+ gap: string;
2358
+ columns: number;
2359
+ };
2360
+ tablet: {
2361
+ padding: string;
2362
+ gap: string;
2363
+ columns: number;
2364
+ };
2365
+ }>>;
2366
+ }, "strip", z.ZodTypeAny, {
2367
+ type: "sidebar" | "centered" | "full";
2368
+ responsive?: {
2369
+ mobile: {
2370
+ padding: string;
2371
+ gap: string;
2372
+ columns: number;
2373
+ };
2374
+ desktop: {
2375
+ padding: string;
2376
+ gap: string;
2377
+ columns: number;
2378
+ };
2379
+ tablet: {
2380
+ padding: string;
2381
+ gap: string;
2382
+ columns: number;
2383
+ };
2384
+ } | undefined;
2385
+ }, {
2386
+ type: "sidebar" | "centered" | "full";
2387
+ responsive?: {
2388
+ mobile: {
2389
+ padding: string;
2390
+ gap: string;
2391
+ columns: number;
2392
+ };
2393
+ desktop: {
2394
+ padding: string;
2395
+ gap: string;
2396
+ columns: number;
2397
+ };
2398
+ tablet: {
2399
+ padding: string;
2400
+ gap: string;
2401
+ columns: number;
2402
+ };
2403
+ } | undefined;
2404
+ }>;
2405
+ customizable: z.ZodObject<{
2406
+ texts: z.ZodArray<z.ZodString, "many">;
2407
+ optional: z.ZodArray<z.ZodString, "many">;
2408
+ slots: z.ZodArray<z.ZodString, "many">;
2409
+ }, "strip", z.ZodTypeAny, {
2410
+ optional: string[];
2411
+ texts: string[];
2412
+ slots: string[];
2413
+ }, {
2414
+ optional: string[];
2415
+ texts: string[];
2416
+ slots: string[];
2417
+ }>;
2418
+ requiredComponents: z.ZodArray<z.ZodString, "many">;
2419
+ importStatement: z.ZodString;
2420
+ exampleProps: z.ZodOptional<z.ZodObject<{
2421
+ texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2422
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2423
+ slots: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2424
+ }, "strip", z.ZodTypeAny, {
2425
+ options?: Record<string, boolean> | undefined;
2426
+ texts?: Record<string, string> | undefined;
2427
+ slots?: string[] | undefined;
2428
+ }, {
2429
+ options?: Record<string, boolean> | undefined;
2430
+ texts?: Record<string, string> | undefined;
2431
+ slots?: string[] | undefined;
2432
+ }>>;
2433
+ created: z.ZodString;
2434
+ updated: z.ZodString;
2435
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2436
+ }, "strip", z.ZodTypeAny, {
2437
+ name: string;
2438
+ description: string;
2439
+ category: "auth" | "dashboard" | "form" | "feedback" | "marketing";
2440
+ id: string;
2441
+ version: string;
2442
+ created: string;
2443
+ updated: string;
2444
+ importStatement: string;
2445
+ skeleton: {
2446
+ sections: {
2447
+ name: string;
2448
+ required: boolean;
2449
+ id: string;
2450
+ slot: string;
2451
+ }[];
2452
+ shell: string;
2453
+ page: string;
2454
+ };
2455
+ requiredComponents: string[];
2456
+ layout: {
2457
+ type: "sidebar" | "centered" | "full";
2458
+ responsive?: {
2459
+ mobile: {
2460
+ padding: string;
2461
+ gap: string;
2462
+ columns: number;
2463
+ };
2464
+ desktop: {
2465
+ padding: string;
2466
+ gap: string;
2467
+ columns: number;
2468
+ };
2469
+ tablet: {
2470
+ padding: string;
2471
+ gap: string;
2472
+ columns: number;
2473
+ };
2474
+ } | undefined;
2475
+ };
2476
+ customizable: {
2477
+ optional: string[];
2478
+ texts: string[];
2479
+ slots: string[];
2480
+ };
2481
+ tags?: string[] | undefined;
2482
+ exampleProps?: {
2483
+ options?: Record<string, boolean> | undefined;
2484
+ texts?: Record<string, string> | undefined;
2485
+ slots?: string[] | undefined;
2486
+ } | undefined;
2487
+ }, {
2488
+ name: string;
2489
+ description: string;
2490
+ category: "auth" | "dashboard" | "form" | "feedback" | "marketing";
2491
+ id: string;
2492
+ version: string;
2493
+ created: string;
2494
+ updated: string;
2495
+ importStatement: string;
2496
+ skeleton: {
2497
+ sections: {
2498
+ name: string;
2499
+ required: boolean;
2500
+ id: string;
2501
+ slot: string;
2502
+ }[];
2503
+ shell: string;
2504
+ page: string;
2505
+ };
2506
+ requiredComponents: string[];
2507
+ layout: {
2508
+ type: "sidebar" | "centered" | "full";
2509
+ responsive?: {
2510
+ mobile: {
2511
+ padding: string;
2512
+ gap: string;
2513
+ columns: number;
2514
+ };
2515
+ desktop: {
2516
+ padding: string;
2517
+ gap: string;
2518
+ columns: number;
2519
+ };
2520
+ tablet: {
2521
+ padding: string;
2522
+ gap: string;
2523
+ columns: number;
2524
+ };
2525
+ } | undefined;
2526
+ };
2527
+ customizable: {
2528
+ optional: string[];
2529
+ texts: string[];
2530
+ slots: string[];
2531
+ };
2532
+ tags?: string[] | undefined;
2533
+ exampleProps?: {
2534
+ options?: Record<string, boolean> | undefined;
2535
+ texts?: Record<string, string> | undefined;
2536
+ slots?: string[] | undefined;
2537
+ } | undefined;
2538
+ }>>;
2539
+ error: z.ZodOptional<z.ZodString>;
2540
+ }, "strip", z.ZodTypeAny, {
2541
+ success: boolean;
2542
+ error?: string | undefined;
2543
+ template?: {
2544
+ name: string;
2545
+ description: string;
2546
+ category: "auth" | "dashboard" | "form" | "feedback" | "marketing";
2547
+ id: string;
2548
+ version: string;
2549
+ created: string;
2550
+ updated: string;
2551
+ importStatement: string;
2552
+ skeleton: {
2553
+ sections: {
2554
+ name: string;
2555
+ required: boolean;
2556
+ id: string;
2557
+ slot: string;
2558
+ }[];
2559
+ shell: string;
2560
+ page: string;
2561
+ };
2562
+ requiredComponents: string[];
2563
+ layout: {
2564
+ type: "sidebar" | "centered" | "full";
2565
+ responsive?: {
2566
+ mobile: {
2567
+ padding: string;
2568
+ gap: string;
2569
+ columns: number;
2570
+ };
2571
+ desktop: {
2572
+ padding: string;
2573
+ gap: string;
2574
+ columns: number;
2575
+ };
2576
+ tablet: {
2577
+ padding: string;
2578
+ gap: string;
2579
+ columns: number;
2580
+ };
2581
+ } | undefined;
2582
+ };
2583
+ customizable: {
2584
+ optional: string[];
2585
+ texts: string[];
2586
+ slots: string[];
2587
+ };
2588
+ tags?: string[] | undefined;
2589
+ exampleProps?: {
2590
+ options?: Record<string, boolean> | undefined;
2591
+ texts?: Record<string, string> | undefined;
2592
+ slots?: string[] | undefined;
2593
+ } | undefined;
2594
+ } | undefined;
2595
+ }, {
2596
+ success: boolean;
2597
+ error?: string | undefined;
2598
+ template?: {
2599
+ name: string;
2600
+ description: string;
2601
+ category: "auth" | "dashboard" | "form" | "feedback" | "marketing";
2602
+ id: string;
2603
+ version: string;
2604
+ created: string;
2605
+ updated: string;
2606
+ importStatement: string;
2607
+ skeleton: {
2608
+ sections: {
2609
+ name: string;
2610
+ required: boolean;
2611
+ id: string;
2612
+ slot: string;
2613
+ }[];
2614
+ shell: string;
2615
+ page: string;
2616
+ };
2617
+ requiredComponents: string[];
2618
+ layout: {
2619
+ type: "sidebar" | "centered" | "full";
2620
+ responsive?: {
2621
+ mobile: {
2622
+ padding: string;
2623
+ gap: string;
2624
+ columns: number;
2625
+ };
2626
+ desktop: {
2627
+ padding: string;
2628
+ gap: string;
2629
+ columns: number;
2630
+ };
2631
+ tablet: {
2632
+ padding: string;
2633
+ gap: string;
2634
+ columns: number;
2635
+ };
2636
+ } | undefined;
2637
+ };
2638
+ customizable: {
2639
+ optional: string[];
2640
+ texts: string[];
2641
+ slots: string[];
2642
+ };
2643
+ tags?: string[] | undefined;
2644
+ exampleProps?: {
2645
+ options?: Record<string, boolean> | undefined;
2646
+ texts?: Record<string, string> | undefined;
2647
+ slots?: string[] | undefined;
2648
+ } | undefined;
2649
+ } | undefined;
2650
+ }>;
2651
+ export type PreviewScreenTemplateOutput = z.infer<typeof PreviewScreenTemplateOutputSchema>;
2652
+ /**
2653
+ * Get Screen Generation Context Input Schema
2654
+ * SPEC-MCP-004 Phase 3.5: Provides coding agents with complete context for screen generation
2655
+ */
2656
+ export declare const GetScreenGenerationContextInputSchema: z.ZodObject<{
2657
+ description: z.ZodString;
2658
+ themeId: z.ZodOptional<z.ZodString>;
2659
+ includeExamples: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2660
+ }, "strip", z.ZodTypeAny, {
2661
+ description: string;
2662
+ includeExamples: boolean;
2663
+ themeId?: string | undefined;
2664
+ }, {
2665
+ description: string;
2666
+ themeId?: string | undefined;
2667
+ includeExamples?: boolean | undefined;
2668
+ }>;
2669
+ export type GetScreenGenerationContextInput = z.infer<typeof GetScreenGenerationContextInputSchema>;
2670
+ /**
2671
+ * Template match result for generation context
2672
+ */
2673
+ export declare const ContextTemplateMatchSchema: z.ZodObject<{
2674
+ templateId: z.ZodString;
2675
+ templateName: z.ZodString;
2676
+ category: z.ZodString;
2677
+ confidence: z.ZodNumber;
2678
+ matchedKeywords: z.ZodArray<z.ZodString, "many">;
2679
+ skeleton: z.ZodOptional<z.ZodObject<{
2680
+ shell: z.ZodString;
2681
+ page: z.ZodString;
2682
+ sections: z.ZodArray<z.ZodObject<{
2683
+ id: z.ZodString;
2684
+ name: z.ZodString;
2685
+ slot: z.ZodString;
2686
+ required: z.ZodBoolean;
2687
+ }, "strip", z.ZodTypeAny, {
2688
+ name: string;
2689
+ required: boolean;
2690
+ id: string;
2691
+ slot: string;
2692
+ }, {
2693
+ name: string;
2694
+ required: boolean;
2695
+ id: string;
2696
+ slot: string;
2697
+ }>, "many">;
2698
+ }, "strip", z.ZodTypeAny, {
2699
+ sections: {
2700
+ name: string;
2701
+ required: boolean;
2702
+ id: string;
2703
+ slot: string;
2704
+ }[];
2705
+ shell: string;
2706
+ page: string;
2707
+ }, {
2708
+ sections: {
2709
+ name: string;
2710
+ required: boolean;
2711
+ id: string;
2712
+ slot: string;
2713
+ }[];
2714
+ shell: string;
2715
+ page: string;
2716
+ }>>;
2717
+ requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2718
+ }, "strip", z.ZodTypeAny, {
2719
+ category: string;
2720
+ templateId: string;
2721
+ templateName: string;
2722
+ confidence: number;
2723
+ matchedKeywords: string[];
2724
+ skeleton?: {
2725
+ sections: {
2726
+ name: string;
2727
+ required: boolean;
2728
+ id: string;
2729
+ slot: string;
2730
+ }[];
2731
+ shell: string;
2732
+ page: string;
2733
+ } | undefined;
2734
+ requiredComponents?: string[] | undefined;
2735
+ }, {
2736
+ category: string;
2737
+ templateId: string;
2738
+ templateName: string;
2739
+ confidence: number;
2740
+ matchedKeywords: string[];
2741
+ skeleton?: {
2742
+ sections: {
2743
+ name: string;
2744
+ required: boolean;
2745
+ id: string;
2746
+ slot: string;
2747
+ }[];
2748
+ shell: string;
2749
+ page: string;
2750
+ } | undefined;
2751
+ requiredComponents?: string[] | undefined;
2752
+ }>;
2753
+ export type ContextTemplateMatch = z.infer<typeof ContextTemplateMatchSchema>;
2754
+ /**
2755
+ * Component info for generation context
2756
+ */
2757
+ export declare const ContextComponentInfoSchema: z.ZodObject<{
2758
+ id: z.ZodString;
2759
+ name: z.ZodString;
2760
+ category: z.ZodEnum<["core", "complex", "advanced"]>;
2761
+ description: z.ZodString;
2762
+ importStatement: z.ZodString;
2763
+ props: z.ZodArray<z.ZodObject<{
2764
+ name: z.ZodString;
2765
+ type: z.ZodString;
2766
+ required: z.ZodBoolean;
2767
+ defaultValue: z.ZodOptional<z.ZodString>;
2768
+ description: z.ZodOptional<z.ZodString>;
2769
+ }, "strip", z.ZodTypeAny, {
2770
+ type: string;
2771
+ name: string;
2772
+ required: boolean;
2773
+ defaultValue?: string | undefined;
2774
+ description?: string | undefined;
2775
+ }, {
2776
+ type: string;
2777
+ name: string;
2778
+ required: boolean;
2779
+ defaultValue?: string | undefined;
2780
+ description?: string | undefined;
2781
+ }>, "many">;
2782
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
2783
+ name: z.ZodString;
2784
+ value: z.ZodString;
2785
+ description: z.ZodOptional<z.ZodString>;
2786
+ }, "strip", z.ZodTypeAny, {
2787
+ value: string;
2788
+ name: string;
2789
+ description?: string | undefined;
2790
+ }, {
2791
+ value: string;
2792
+ name: string;
2793
+ description?: string | undefined;
2794
+ }>, "many">>;
2795
+ }, "strip", z.ZodTypeAny, {
2796
+ name: string;
2797
+ description: string;
2798
+ category: "core" | "complex" | "advanced";
2799
+ id: string;
2800
+ props: {
2801
+ type: string;
2802
+ name: string;
2803
+ required: boolean;
2804
+ defaultValue?: string | undefined;
2805
+ description?: string | undefined;
2806
+ }[];
2807
+ importStatement: string;
2808
+ variants?: {
2809
+ value: string;
2810
+ name: string;
2811
+ description?: string | undefined;
2812
+ }[] | undefined;
2813
+ }, {
2814
+ name: string;
2815
+ description: string;
2816
+ category: "core" | "complex" | "advanced";
2817
+ id: string;
2818
+ props: {
2819
+ type: string;
2820
+ name: string;
2821
+ required: boolean;
2822
+ defaultValue?: string | undefined;
2823
+ description?: string | undefined;
2824
+ }[];
2825
+ importStatement: string;
2826
+ variants?: {
2827
+ value: string;
2828
+ name: string;
2829
+ description?: string | undefined;
2830
+ }[] | undefined;
2831
+ }>;
2832
+ export type ContextComponentInfo = z.infer<typeof ContextComponentInfoSchema>;
2833
+ /**
2834
+ * Screen definition schema for validation and examples
2835
+ */
2836
+ export declare const ScreenDefinitionSchema: z.ZodObject<{
2837
+ id: z.ZodString;
2838
+ name: z.ZodOptional<z.ZodString>;
2839
+ description: z.ZodOptional<z.ZodString>;
2840
+ shell: z.ZodString;
2841
+ page: z.ZodString;
2842
+ themeId: z.ZodOptional<z.ZodString>;
2843
+ sections: z.ZodArray<z.ZodObject<{
2844
+ id: z.ZodString;
2845
+ pattern: z.ZodString;
2846
+ slot: z.ZodOptional<z.ZodString>;
2847
+ components: z.ZodArray<z.ZodObject<{
2848
+ type: z.ZodString;
2849
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2850
+ children: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
2851
+ }, "strip", z.ZodTypeAny, {
2852
+ type: string;
2853
+ props?: Record<string, unknown> | undefined;
2854
+ children?: string | unknown[] | undefined;
2855
+ }, {
2856
+ type: string;
2857
+ props?: Record<string, unknown> | undefined;
2858
+ children?: string | unknown[] | undefined;
2859
+ }>, "many">;
2860
+ }, "strip", z.ZodTypeAny, {
2861
+ id: string;
2862
+ pattern: string;
2863
+ components: {
2864
+ type: string;
2865
+ props?: Record<string, unknown> | undefined;
2866
+ children?: string | unknown[] | undefined;
2867
+ }[];
2868
+ slot?: string | undefined;
2869
+ }, {
2870
+ id: string;
2871
+ pattern: string;
2872
+ components: {
2873
+ type: string;
2874
+ props?: Record<string, unknown> | undefined;
2875
+ children?: string | unknown[] | undefined;
2876
+ }[];
2877
+ slot?: string | undefined;
2878
+ }>, "many">;
2879
+ metadata: z.ZodOptional<z.ZodObject<{
2880
+ version: z.ZodOptional<z.ZodString>;
2881
+ author: z.ZodOptional<z.ZodString>;
2882
+ created: z.ZodOptional<z.ZodString>;
2883
+ updated: z.ZodOptional<z.ZodString>;
2884
+ }, "strip", z.ZodTypeAny, {
2885
+ version?: string | undefined;
2886
+ author?: string | undefined;
2887
+ created?: string | undefined;
2888
+ updated?: string | undefined;
2889
+ }, {
2890
+ version?: string | undefined;
2891
+ author?: string | undefined;
2892
+ created?: string | undefined;
2893
+ updated?: string | undefined;
2894
+ }>>;
2895
+ }, "strip", z.ZodTypeAny, {
2896
+ sections: {
2897
+ id: string;
2898
+ pattern: string;
2899
+ components: {
2900
+ type: string;
2901
+ props?: Record<string, unknown> | undefined;
2902
+ children?: string | unknown[] | undefined;
2903
+ }[];
2904
+ slot?: string | undefined;
2905
+ }[];
2906
+ id: string;
2907
+ shell: string;
2908
+ page: string;
2909
+ name?: string | undefined;
2910
+ description?: string | undefined;
2911
+ themeId?: string | undefined;
2912
+ metadata?: {
2913
+ version?: string | undefined;
2914
+ author?: string | undefined;
2915
+ created?: string | undefined;
2916
+ updated?: string | undefined;
2917
+ } | undefined;
2918
+ }, {
2919
+ sections: {
2920
+ id: string;
2921
+ pattern: string;
2922
+ components: {
2923
+ type: string;
2924
+ props?: Record<string, unknown> | undefined;
2925
+ children?: string | unknown[] | undefined;
2926
+ }[];
2927
+ slot?: string | undefined;
2928
+ }[];
2929
+ id: string;
2930
+ shell: string;
2931
+ page: string;
2932
+ name?: string | undefined;
2933
+ description?: string | undefined;
2934
+ themeId?: string | undefined;
2935
+ metadata?: {
2936
+ version?: string | undefined;
2937
+ author?: string | undefined;
2938
+ created?: string | undefined;
2939
+ updated?: string | undefined;
2940
+ } | undefined;
2941
+ }>;
2942
+ export type ScreenDefinition = z.infer<typeof ScreenDefinitionSchema>;
2943
+ /**
2944
+ * Example screen definition with description
2945
+ */
2946
+ export declare const ScreenExampleSchema: z.ZodObject<{
2947
+ name: z.ZodString;
2948
+ description: z.ZodString;
2949
+ definition: z.ZodObject<{
2950
+ id: z.ZodString;
2951
+ name: z.ZodOptional<z.ZodString>;
2952
+ description: z.ZodOptional<z.ZodString>;
2953
+ shell: z.ZodString;
2954
+ page: z.ZodString;
2955
+ themeId: z.ZodOptional<z.ZodString>;
2956
+ sections: z.ZodArray<z.ZodObject<{
2957
+ id: z.ZodString;
2958
+ pattern: z.ZodString;
2959
+ slot: z.ZodOptional<z.ZodString>;
2960
+ components: z.ZodArray<z.ZodObject<{
2961
+ type: z.ZodString;
2962
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2963
+ children: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
2964
+ }, "strip", z.ZodTypeAny, {
2965
+ type: string;
2966
+ props?: Record<string, unknown> | undefined;
2967
+ children?: string | unknown[] | undefined;
2968
+ }, {
2969
+ type: string;
2970
+ props?: Record<string, unknown> | undefined;
2971
+ children?: string | unknown[] | undefined;
2972
+ }>, "many">;
2973
+ }, "strip", z.ZodTypeAny, {
2974
+ id: string;
2975
+ pattern: string;
2976
+ components: {
2977
+ type: string;
2978
+ props?: Record<string, unknown> | undefined;
2979
+ children?: string | unknown[] | undefined;
2980
+ }[];
2981
+ slot?: string | undefined;
2982
+ }, {
2983
+ id: string;
2984
+ pattern: string;
2985
+ components: {
2986
+ type: string;
2987
+ props?: Record<string, unknown> | undefined;
2988
+ children?: string | unknown[] | undefined;
2989
+ }[];
2990
+ slot?: string | undefined;
2991
+ }>, "many">;
2992
+ metadata: z.ZodOptional<z.ZodObject<{
2993
+ version: z.ZodOptional<z.ZodString>;
2994
+ author: z.ZodOptional<z.ZodString>;
2995
+ created: z.ZodOptional<z.ZodString>;
2996
+ updated: z.ZodOptional<z.ZodString>;
2997
+ }, "strip", z.ZodTypeAny, {
2998
+ version?: string | undefined;
2999
+ author?: string | undefined;
3000
+ created?: string | undefined;
3001
+ updated?: string | undefined;
3002
+ }, {
3003
+ version?: string | undefined;
3004
+ author?: string | undefined;
3005
+ created?: string | undefined;
3006
+ updated?: string | undefined;
3007
+ }>>;
3008
+ }, "strip", z.ZodTypeAny, {
3009
+ sections: {
3010
+ id: string;
3011
+ pattern: string;
3012
+ components: {
3013
+ type: string;
3014
+ props?: Record<string, unknown> | undefined;
3015
+ children?: string | unknown[] | undefined;
3016
+ }[];
3017
+ slot?: string | undefined;
3018
+ }[];
3019
+ id: string;
3020
+ shell: string;
3021
+ page: string;
3022
+ name?: string | undefined;
3023
+ description?: string | undefined;
3024
+ themeId?: string | undefined;
3025
+ metadata?: {
3026
+ version?: string | undefined;
3027
+ author?: string | undefined;
3028
+ created?: string | undefined;
3029
+ updated?: string | undefined;
3030
+ } | undefined;
3031
+ }, {
3032
+ sections: {
3033
+ id: string;
3034
+ pattern: string;
3035
+ components: {
3036
+ type: string;
3037
+ props?: Record<string, unknown> | undefined;
3038
+ children?: string | unknown[] | undefined;
3039
+ }[];
3040
+ slot?: string | undefined;
3041
+ }[];
3042
+ id: string;
3043
+ shell: string;
3044
+ page: string;
3045
+ name?: string | undefined;
3046
+ description?: string | undefined;
3047
+ themeId?: string | undefined;
3048
+ metadata?: {
3049
+ version?: string | undefined;
3050
+ author?: string | undefined;
3051
+ created?: string | undefined;
3052
+ updated?: string | undefined;
3053
+ } | undefined;
3054
+ }>;
3055
+ }, "strip", z.ZodTypeAny, {
3056
+ name: string;
3057
+ description: string;
3058
+ definition: {
3059
+ sections: {
3060
+ id: string;
3061
+ pattern: string;
3062
+ components: {
3063
+ type: string;
3064
+ props?: Record<string, unknown> | undefined;
3065
+ children?: string | unknown[] | undefined;
3066
+ }[];
3067
+ slot?: string | undefined;
3068
+ }[];
3069
+ id: string;
3070
+ shell: string;
3071
+ page: string;
3072
+ name?: string | undefined;
3073
+ description?: string | undefined;
3074
+ themeId?: string | undefined;
3075
+ metadata?: {
3076
+ version?: string | undefined;
3077
+ author?: string | undefined;
3078
+ created?: string | undefined;
3079
+ updated?: string | undefined;
3080
+ } | undefined;
3081
+ };
3082
+ }, {
3083
+ name: string;
3084
+ description: string;
3085
+ definition: {
3086
+ sections: {
3087
+ id: string;
3088
+ pattern: string;
3089
+ components: {
3090
+ type: string;
3091
+ props?: Record<string, unknown> | undefined;
3092
+ children?: string | unknown[] | undefined;
3093
+ }[];
3094
+ slot?: string | undefined;
3095
+ }[];
3096
+ id: string;
3097
+ shell: string;
3098
+ page: string;
3099
+ name?: string | undefined;
3100
+ description?: string | undefined;
3101
+ themeId?: string | undefined;
3102
+ metadata?: {
3103
+ version?: string | undefined;
3104
+ author?: string | undefined;
3105
+ created?: string | undefined;
3106
+ updated?: string | undefined;
3107
+ } | undefined;
3108
+ };
3109
+ }>;
3110
+ export type ScreenExample = z.infer<typeof ScreenExampleSchema>;
3111
+ /**
3112
+ * Theme recipe info for generation context
3113
+ */
3114
+ export declare const ThemeRecipeInfoSchema: z.ZodObject<{
3115
+ componentType: z.ZodString;
3116
+ variants: z.ZodArray<z.ZodString, "many">;
3117
+ defaultClassName: z.ZodOptional<z.ZodString>;
3118
+ }, "strip", z.ZodTypeAny, {
3119
+ variants: string[];
3120
+ componentType: string;
3121
+ defaultClassName?: string | undefined;
3122
+ }, {
3123
+ variants: string[];
3124
+ componentType: string;
3125
+ defaultClassName?: string | undefined;
3126
+ }>;
3127
+ export type ThemeRecipeInfo = z.infer<typeof ThemeRecipeInfoSchema>;
3128
+ /**
3129
+ * Generation hint for coding agents
3130
+ */
3131
+ export declare const GenerationHintSchema: z.ZodObject<{
3132
+ category: z.ZodEnum<["layout", "component", "styling", "accessibility", "best-practice"]>;
3133
+ priority: z.ZodEnum<["high", "medium", "low"]>;
3134
+ message: z.ZodString;
3135
+ example: z.ZodOptional<z.ZodString>;
3136
+ }, "strip", z.ZodTypeAny, {
3137
+ message: string;
3138
+ category: "accessibility" | "layout" | "component" | "styling" | "best-practice";
3139
+ priority: "high" | "medium" | "low";
3140
+ example?: string | undefined;
3141
+ }, {
3142
+ message: string;
3143
+ category: "accessibility" | "layout" | "component" | "styling" | "best-practice";
3144
+ priority: "high" | "medium" | "low";
3145
+ example?: string | undefined;
3146
+ }>;
3147
+ export type GenerationHint = z.infer<typeof GenerationHintSchema>;
3148
+ /**
3149
+ * Workflow Step Schema
3150
+ * SPEC-MCP-004 Phase 5: E2E workflow guide for agents
3151
+ */
3152
+ export declare const WorkflowStepSchema: z.ZodObject<{
3153
+ step: z.ZodNumber;
3154
+ action: z.ZodString;
3155
+ tool: z.ZodOptional<z.ZodString>;
3156
+ description: z.ZodString;
3157
+ example: z.ZodOptional<z.ZodString>;
3158
+ }, "strip", z.ZodTypeAny, {
3159
+ description: string;
3160
+ step: number;
3161
+ action: string;
3162
+ example?: string | undefined;
3163
+ tool?: string | undefined;
3164
+ }, {
3165
+ description: string;
3166
+ step: number;
3167
+ action: string;
3168
+ example?: string | undefined;
3169
+ tool?: string | undefined;
3170
+ }>;
3171
+ export type WorkflowStep = z.infer<typeof WorkflowStepSchema>;
3172
+ /**
3173
+ * Workflow Guide Schema
3174
+ * Provides step-by-step guidance for agents to generate screens
3175
+ */
3176
+ export declare const WorkflowGuideSchema: z.ZodObject<{
3177
+ title: z.ZodString;
3178
+ description: z.ZodString;
3179
+ steps: z.ZodArray<z.ZodObject<{
3180
+ step: z.ZodNumber;
3181
+ action: z.ZodString;
3182
+ tool: z.ZodOptional<z.ZodString>;
3183
+ description: z.ZodString;
3184
+ example: z.ZodOptional<z.ZodString>;
3185
+ }, "strip", z.ZodTypeAny, {
3186
+ description: string;
3187
+ step: number;
3188
+ action: string;
3189
+ example?: string | undefined;
3190
+ tool?: string | undefined;
3191
+ }, {
3192
+ description: string;
3193
+ step: number;
3194
+ action: string;
3195
+ example?: string | undefined;
3196
+ tool?: string | undefined;
3197
+ }>, "many">;
3198
+ notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3199
+ }, "strip", z.ZodTypeAny, {
3200
+ description: string;
3201
+ title: string;
3202
+ steps: {
3203
+ description: string;
3204
+ step: number;
3205
+ action: string;
3206
+ example?: string | undefined;
3207
+ tool?: string | undefined;
3208
+ }[];
3209
+ notes?: string[] | undefined;
3210
+ }, {
3211
+ description: string;
3212
+ title: string;
3213
+ steps: {
3214
+ description: string;
3215
+ step: number;
3216
+ action: string;
3217
+ example?: string | undefined;
3218
+ tool?: string | undefined;
3219
+ }[];
3220
+ notes?: string[] | undefined;
3221
+ }>;
3222
+ export type WorkflowGuide = z.infer<typeof WorkflowGuideSchema>;
3223
+ /**
3224
+ * Get Screen Generation Context Output Schema
3225
+ */
3226
+ export declare const GetScreenGenerationContextOutputSchema: z.ZodObject<{
3227
+ success: z.ZodBoolean;
3228
+ templateMatch: z.ZodOptional<z.ZodObject<{
3229
+ templateId: z.ZodString;
3230
+ templateName: z.ZodString;
3231
+ category: z.ZodString;
3232
+ confidence: z.ZodNumber;
3233
+ matchedKeywords: z.ZodArray<z.ZodString, "many">;
3234
+ skeleton: z.ZodOptional<z.ZodObject<{
3235
+ shell: z.ZodString;
3236
+ page: z.ZodString;
3237
+ sections: z.ZodArray<z.ZodObject<{
3238
+ id: z.ZodString;
3239
+ name: z.ZodString;
3240
+ slot: z.ZodString;
3241
+ required: z.ZodBoolean;
3242
+ }, "strip", z.ZodTypeAny, {
3243
+ name: string;
3244
+ required: boolean;
3245
+ id: string;
3246
+ slot: string;
3247
+ }, {
3248
+ name: string;
3249
+ required: boolean;
3250
+ id: string;
3251
+ slot: string;
3252
+ }>, "many">;
3253
+ }, "strip", z.ZodTypeAny, {
3254
+ sections: {
3255
+ name: string;
3256
+ required: boolean;
3257
+ id: string;
3258
+ slot: string;
3259
+ }[];
3260
+ shell: string;
3261
+ page: string;
3262
+ }, {
3263
+ sections: {
3264
+ name: string;
3265
+ required: boolean;
3266
+ id: string;
3267
+ slot: string;
3268
+ }[];
3269
+ shell: string;
3270
+ page: string;
3271
+ }>>;
3272
+ requiredComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3273
+ }, "strip", z.ZodTypeAny, {
3274
+ category: string;
3275
+ templateId: string;
3276
+ templateName: string;
3277
+ confidence: number;
3278
+ matchedKeywords: string[];
3279
+ skeleton?: {
3280
+ sections: {
3281
+ name: string;
3282
+ required: boolean;
3283
+ id: string;
3284
+ slot: string;
3285
+ }[];
3286
+ shell: string;
3287
+ page: string;
3288
+ } | undefined;
3289
+ requiredComponents?: string[] | undefined;
3290
+ }, {
3291
+ category: string;
3292
+ templateId: string;
3293
+ templateName: string;
3294
+ confidence: number;
3295
+ matchedKeywords: string[];
3296
+ skeleton?: {
3297
+ sections: {
3298
+ name: string;
3299
+ required: boolean;
3300
+ id: string;
3301
+ slot: string;
3302
+ }[];
3303
+ shell: string;
3304
+ page: string;
3305
+ } | undefined;
3306
+ requiredComponents?: string[] | undefined;
3307
+ }>>;
3308
+ components: z.ZodOptional<z.ZodArray<z.ZodObject<{
3309
+ id: z.ZodString;
3310
+ name: z.ZodString;
3311
+ category: z.ZodEnum<["core", "complex", "advanced"]>;
3312
+ description: z.ZodString;
3313
+ importStatement: z.ZodString;
3314
+ props: z.ZodArray<z.ZodObject<{
3315
+ name: z.ZodString;
3316
+ type: z.ZodString;
3317
+ required: z.ZodBoolean;
3318
+ defaultValue: z.ZodOptional<z.ZodString>;
3319
+ description: z.ZodOptional<z.ZodString>;
3320
+ }, "strip", z.ZodTypeAny, {
3321
+ type: string;
3322
+ name: string;
3323
+ required: boolean;
3324
+ defaultValue?: string | undefined;
3325
+ description?: string | undefined;
3326
+ }, {
3327
+ type: string;
3328
+ name: string;
3329
+ required: boolean;
3330
+ defaultValue?: string | undefined;
3331
+ description?: string | undefined;
3332
+ }>, "many">;
3333
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
3334
+ name: z.ZodString;
3335
+ value: z.ZodString;
3336
+ description: z.ZodOptional<z.ZodString>;
3337
+ }, "strip", z.ZodTypeAny, {
3338
+ value: string;
3339
+ name: string;
3340
+ description?: string | undefined;
3341
+ }, {
3342
+ value: string;
3343
+ name: string;
3344
+ description?: string | undefined;
3345
+ }>, "many">>;
3346
+ }, "strip", z.ZodTypeAny, {
3347
+ name: string;
3348
+ description: string;
3349
+ category: "core" | "complex" | "advanced";
3350
+ id: string;
3351
+ props: {
3352
+ type: string;
3353
+ name: string;
3354
+ required: boolean;
3355
+ defaultValue?: string | undefined;
3356
+ description?: string | undefined;
3357
+ }[];
3358
+ importStatement: string;
3359
+ variants?: {
3360
+ value: string;
3361
+ name: string;
3362
+ description?: string | undefined;
3363
+ }[] | undefined;
3364
+ }, {
3365
+ name: string;
3366
+ description: string;
3367
+ category: "core" | "complex" | "advanced";
3368
+ id: string;
3369
+ props: {
3370
+ type: string;
3371
+ name: string;
3372
+ required: boolean;
3373
+ defaultValue?: string | undefined;
3374
+ description?: string | undefined;
3375
+ }[];
3376
+ importStatement: string;
3377
+ variants?: {
3378
+ value: string;
3379
+ name: string;
3380
+ description?: string | undefined;
3381
+ }[] | undefined;
3382
+ }>, "many">>;
3383
+ schema: z.ZodOptional<z.ZodObject<{
3384
+ screenDefinition: z.ZodUnknown;
3385
+ description: z.ZodString;
3386
+ }, "strip", z.ZodTypeAny, {
3387
+ description: string;
3388
+ screenDefinition?: unknown;
3389
+ }, {
3390
+ description: string;
3391
+ screenDefinition?: unknown;
3392
+ }>>;
3393
+ examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
3394
+ name: z.ZodString;
3395
+ description: z.ZodString;
3396
+ definition: z.ZodObject<{
3397
+ id: z.ZodString;
3398
+ name: z.ZodOptional<z.ZodString>;
3399
+ description: z.ZodOptional<z.ZodString>;
3400
+ shell: z.ZodString;
3401
+ page: z.ZodString;
3402
+ themeId: z.ZodOptional<z.ZodString>;
3403
+ sections: z.ZodArray<z.ZodObject<{
3404
+ id: z.ZodString;
3405
+ pattern: z.ZodString;
3406
+ slot: z.ZodOptional<z.ZodString>;
3407
+ components: z.ZodArray<z.ZodObject<{
3408
+ type: z.ZodString;
3409
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3410
+ children: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>>;
3411
+ }, "strip", z.ZodTypeAny, {
3412
+ type: string;
3413
+ props?: Record<string, unknown> | undefined;
3414
+ children?: string | unknown[] | undefined;
3415
+ }, {
3416
+ type: string;
3417
+ props?: Record<string, unknown> | undefined;
3418
+ children?: string | unknown[] | undefined;
3419
+ }>, "many">;
3420
+ }, "strip", z.ZodTypeAny, {
3421
+ id: string;
3422
+ pattern: string;
3423
+ components: {
3424
+ type: string;
3425
+ props?: Record<string, unknown> | undefined;
3426
+ children?: string | unknown[] | undefined;
3427
+ }[];
3428
+ slot?: string | undefined;
3429
+ }, {
3430
+ id: string;
3431
+ pattern: string;
3432
+ components: {
3433
+ type: string;
3434
+ props?: Record<string, unknown> | undefined;
3435
+ children?: string | unknown[] | undefined;
3436
+ }[];
3437
+ slot?: string | undefined;
3438
+ }>, "many">;
3439
+ metadata: z.ZodOptional<z.ZodObject<{
3440
+ version: z.ZodOptional<z.ZodString>;
3441
+ author: z.ZodOptional<z.ZodString>;
3442
+ created: z.ZodOptional<z.ZodString>;
3443
+ updated: z.ZodOptional<z.ZodString>;
3444
+ }, "strip", z.ZodTypeAny, {
3445
+ version?: string | undefined;
3446
+ author?: string | undefined;
3447
+ created?: string | undefined;
3448
+ updated?: string | undefined;
3449
+ }, {
3450
+ version?: string | undefined;
3451
+ author?: string | undefined;
3452
+ created?: string | undefined;
3453
+ updated?: string | undefined;
3454
+ }>>;
3455
+ }, "strip", z.ZodTypeAny, {
3456
+ sections: {
3457
+ id: string;
3458
+ pattern: string;
3459
+ components: {
3460
+ type: string;
3461
+ props?: Record<string, unknown> | undefined;
3462
+ children?: string | unknown[] | undefined;
3463
+ }[];
3464
+ slot?: string | undefined;
3465
+ }[];
3466
+ id: string;
3467
+ shell: string;
3468
+ page: string;
3469
+ name?: string | undefined;
3470
+ description?: string | undefined;
3471
+ themeId?: string | undefined;
3472
+ metadata?: {
3473
+ version?: string | undefined;
3474
+ author?: string | undefined;
3475
+ created?: string | undefined;
3476
+ updated?: string | undefined;
3477
+ } | undefined;
3478
+ }, {
3479
+ sections: {
3480
+ id: string;
3481
+ pattern: string;
3482
+ components: {
3483
+ type: string;
3484
+ props?: Record<string, unknown> | undefined;
3485
+ children?: string | unknown[] | undefined;
3486
+ }[];
3487
+ slot?: string | undefined;
3488
+ }[];
3489
+ id: string;
3490
+ shell: string;
3491
+ page: string;
3492
+ name?: string | undefined;
3493
+ description?: string | undefined;
3494
+ themeId?: string | undefined;
3495
+ metadata?: {
3496
+ version?: string | undefined;
3497
+ author?: string | undefined;
3498
+ created?: string | undefined;
3499
+ updated?: string | undefined;
3500
+ } | undefined;
3501
+ }>;
3502
+ }, "strip", z.ZodTypeAny, {
3503
+ name: string;
3504
+ description: string;
3505
+ definition: {
3506
+ sections: {
3507
+ id: string;
3508
+ pattern: string;
3509
+ components: {
3510
+ type: string;
3511
+ props?: Record<string, unknown> | undefined;
3512
+ children?: string | unknown[] | undefined;
3513
+ }[];
3514
+ slot?: string | undefined;
3515
+ }[];
3516
+ id: string;
3517
+ shell: string;
3518
+ page: string;
3519
+ name?: string | undefined;
3520
+ description?: string | undefined;
3521
+ themeId?: string | undefined;
3522
+ metadata?: {
3523
+ version?: string | undefined;
3524
+ author?: string | undefined;
3525
+ created?: string | undefined;
3526
+ updated?: string | undefined;
3527
+ } | undefined;
3528
+ };
3529
+ }, {
3530
+ name: string;
3531
+ description: string;
3532
+ definition: {
3533
+ sections: {
3534
+ id: string;
3535
+ pattern: string;
3536
+ components: {
3537
+ type: string;
3538
+ props?: Record<string, unknown> | undefined;
3539
+ children?: string | unknown[] | undefined;
3540
+ }[];
3541
+ slot?: string | undefined;
3542
+ }[];
3543
+ id: string;
3544
+ shell: string;
3545
+ page: string;
3546
+ name?: string | undefined;
3547
+ description?: string | undefined;
3548
+ themeId?: string | undefined;
3549
+ metadata?: {
3550
+ version?: string | undefined;
3551
+ author?: string | undefined;
3552
+ created?: string | undefined;
3553
+ updated?: string | undefined;
3554
+ } | undefined;
3555
+ };
3556
+ }>, "many">>;
3557
+ themeRecipes: z.ZodOptional<z.ZodArray<z.ZodObject<{
3558
+ componentType: z.ZodString;
3559
+ variants: z.ZodArray<z.ZodString, "many">;
3560
+ defaultClassName: z.ZodOptional<z.ZodString>;
3561
+ }, "strip", z.ZodTypeAny, {
3562
+ variants: string[];
3563
+ componentType: string;
3564
+ defaultClassName?: string | undefined;
3565
+ }, {
3566
+ variants: string[];
3567
+ componentType: string;
3568
+ defaultClassName?: string | undefined;
3569
+ }>, "many">>;
3570
+ hints: z.ZodOptional<z.ZodArray<z.ZodObject<{
3571
+ category: z.ZodEnum<["layout", "component", "styling", "accessibility", "best-practice"]>;
3572
+ priority: z.ZodEnum<["high", "medium", "low"]>;
3573
+ message: z.ZodString;
3574
+ example: z.ZodOptional<z.ZodString>;
3575
+ }, "strip", z.ZodTypeAny, {
3576
+ message: string;
3577
+ category: "accessibility" | "layout" | "component" | "styling" | "best-practice";
3578
+ priority: "high" | "medium" | "low";
3579
+ example?: string | undefined;
3580
+ }, {
3581
+ message: string;
3582
+ category: "accessibility" | "layout" | "component" | "styling" | "best-practice";
3583
+ priority: "high" | "medium" | "low";
3584
+ example?: string | undefined;
3585
+ }>, "many">>;
3586
+ workflow: z.ZodOptional<z.ZodObject<{
3587
+ title: z.ZodString;
3588
+ description: z.ZodString;
3589
+ steps: z.ZodArray<z.ZodObject<{
3590
+ step: z.ZodNumber;
3591
+ action: z.ZodString;
3592
+ tool: z.ZodOptional<z.ZodString>;
3593
+ description: z.ZodString;
3594
+ example: z.ZodOptional<z.ZodString>;
3595
+ }, "strip", z.ZodTypeAny, {
3596
+ description: string;
3597
+ step: number;
3598
+ action: string;
3599
+ example?: string | undefined;
3600
+ tool?: string | undefined;
3601
+ }, {
3602
+ description: string;
3603
+ step: number;
3604
+ action: string;
3605
+ example?: string | undefined;
3606
+ tool?: string | undefined;
3607
+ }>, "many">;
3608
+ notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3609
+ }, "strip", z.ZodTypeAny, {
3610
+ description: string;
3611
+ title: string;
3612
+ steps: {
3613
+ description: string;
3614
+ step: number;
3615
+ action: string;
3616
+ example?: string | undefined;
3617
+ tool?: string | undefined;
3618
+ }[];
3619
+ notes?: string[] | undefined;
3620
+ }, {
3621
+ description: string;
3622
+ title: string;
3623
+ steps: {
3624
+ description: string;
3625
+ step: number;
3626
+ action: string;
3627
+ example?: string | undefined;
3628
+ tool?: string | undefined;
3629
+ }[];
3630
+ notes?: string[] | undefined;
3631
+ }>>;
3632
+ error: z.ZodOptional<z.ZodString>;
3633
+ }, "strip", z.ZodTypeAny, {
3634
+ success: boolean;
3635
+ error?: string | undefined;
3636
+ components?: {
3637
+ name: string;
3638
+ description: string;
3639
+ category: "core" | "complex" | "advanced";
3640
+ id: string;
3641
+ props: {
3642
+ type: string;
3643
+ name: string;
3644
+ required: boolean;
3645
+ defaultValue?: string | undefined;
3646
+ description?: string | undefined;
3647
+ }[];
3648
+ importStatement: string;
3649
+ variants?: {
3650
+ value: string;
3651
+ name: string;
3652
+ description?: string | undefined;
3653
+ }[] | undefined;
3654
+ }[] | undefined;
3655
+ templateMatch?: {
3656
+ category: string;
3657
+ templateId: string;
3658
+ templateName: string;
3659
+ confidence: number;
3660
+ matchedKeywords: string[];
3661
+ skeleton?: {
3662
+ sections: {
3663
+ name: string;
3664
+ required: boolean;
3665
+ id: string;
3666
+ slot: string;
3667
+ }[];
3668
+ shell: string;
3669
+ page: string;
3670
+ } | undefined;
3671
+ requiredComponents?: string[] | undefined;
3672
+ } | undefined;
3673
+ schema?: {
3674
+ description: string;
3675
+ screenDefinition?: unknown;
3676
+ } | undefined;
3677
+ examples?: {
3678
+ name: string;
3679
+ description: string;
3680
+ definition: {
3681
+ sections: {
3682
+ id: string;
3683
+ pattern: string;
3684
+ components: {
3685
+ type: string;
3686
+ props?: Record<string, unknown> | undefined;
3687
+ children?: string | unknown[] | undefined;
3688
+ }[];
3689
+ slot?: string | undefined;
3690
+ }[];
3691
+ id: string;
3692
+ shell: string;
3693
+ page: string;
3694
+ name?: string | undefined;
3695
+ description?: string | undefined;
3696
+ themeId?: string | undefined;
3697
+ metadata?: {
3698
+ version?: string | undefined;
3699
+ author?: string | undefined;
3700
+ created?: string | undefined;
3701
+ updated?: string | undefined;
3702
+ } | undefined;
3703
+ };
3704
+ }[] | undefined;
3705
+ themeRecipes?: {
3706
+ variants: string[];
3707
+ componentType: string;
3708
+ defaultClassName?: string | undefined;
3709
+ }[] | undefined;
3710
+ hints?: {
3711
+ message: string;
3712
+ category: "accessibility" | "layout" | "component" | "styling" | "best-practice";
3713
+ priority: "high" | "medium" | "low";
3714
+ example?: string | undefined;
3715
+ }[] | undefined;
3716
+ workflow?: {
3717
+ description: string;
3718
+ title: string;
3719
+ steps: {
3720
+ description: string;
3721
+ step: number;
3722
+ action: string;
3723
+ example?: string | undefined;
3724
+ tool?: string | undefined;
3725
+ }[];
3726
+ notes?: string[] | undefined;
3727
+ } | undefined;
3728
+ }, {
3729
+ success: boolean;
3730
+ error?: string | undefined;
3731
+ components?: {
3732
+ name: string;
3733
+ description: string;
3734
+ category: "core" | "complex" | "advanced";
3735
+ id: string;
3736
+ props: {
3737
+ type: string;
3738
+ name: string;
3739
+ required: boolean;
3740
+ defaultValue?: string | undefined;
3741
+ description?: string | undefined;
3742
+ }[];
3743
+ importStatement: string;
3744
+ variants?: {
3745
+ value: string;
3746
+ name: string;
3747
+ description?: string | undefined;
3748
+ }[] | undefined;
3749
+ }[] | undefined;
3750
+ templateMatch?: {
3751
+ category: string;
3752
+ templateId: string;
3753
+ templateName: string;
3754
+ confidence: number;
3755
+ matchedKeywords: string[];
3756
+ skeleton?: {
3757
+ sections: {
3758
+ name: string;
3759
+ required: boolean;
3760
+ id: string;
3761
+ slot: string;
3762
+ }[];
3763
+ shell: string;
3764
+ page: string;
3765
+ } | undefined;
3766
+ requiredComponents?: string[] | undefined;
3767
+ } | undefined;
3768
+ schema?: {
3769
+ description: string;
3770
+ screenDefinition?: unknown;
3771
+ } | undefined;
3772
+ examples?: {
3773
+ name: string;
3774
+ description: string;
3775
+ definition: {
3776
+ sections: {
3777
+ id: string;
3778
+ pattern: string;
3779
+ components: {
3780
+ type: string;
3781
+ props?: Record<string, unknown> | undefined;
3782
+ children?: string | unknown[] | undefined;
3783
+ }[];
3784
+ slot?: string | undefined;
3785
+ }[];
3786
+ id: string;
3787
+ shell: string;
3788
+ page: string;
3789
+ name?: string | undefined;
3790
+ description?: string | undefined;
3791
+ themeId?: string | undefined;
3792
+ metadata?: {
3793
+ version?: string | undefined;
3794
+ author?: string | undefined;
3795
+ created?: string | undefined;
3796
+ updated?: string | undefined;
3797
+ } | undefined;
3798
+ };
3799
+ }[] | undefined;
3800
+ themeRecipes?: {
3801
+ variants: string[];
3802
+ componentType: string;
3803
+ defaultClassName?: string | undefined;
3804
+ }[] | undefined;
3805
+ hints?: {
3806
+ message: string;
3807
+ category: "accessibility" | "layout" | "component" | "styling" | "best-practice";
3808
+ priority: "high" | "medium" | "low";
3809
+ example?: string | undefined;
3810
+ }[] | undefined;
3811
+ workflow?: {
3812
+ description: string;
3813
+ title: string;
3814
+ steps: {
3815
+ description: string;
3816
+ step: number;
3817
+ action: string;
3818
+ example?: string | undefined;
3819
+ tool?: string | undefined;
3820
+ }[];
3821
+ notes?: string[] | undefined;
3822
+ } | undefined;
3823
+ }>;
3824
+ export type GetScreenGenerationContextOutput = z.infer<typeof GetScreenGenerationContextOutputSchema>;
3825
+ /**
3826
+ * Output format for code generation
3827
+ */
3828
+ export declare const OutputFormatSchema: z.ZodEnum<["css-in-js", "tailwind", "react"]>;
3829
+ export type OutputFormat = z.infer<typeof OutputFormatSchema>;
3830
+ /**
3831
+ * CSS Framework options for CSS-in-JS format
3832
+ */
3833
+ export declare const CSSFrameworkSchema: z.ZodEnum<["styled-components", "emotion"]>;
3834
+ export type CSSFramework = z.infer<typeof CSSFrameworkSchema>;
3835
+ /**
3836
+ * Generation options for generate_screen tool
3837
+ */
3838
+ export declare const GenerationOptionsSchema: z.ZodObject<{
3839
+ cssFramework: z.ZodOptional<z.ZodEnum<["styled-components", "emotion"]>>;
3840
+ typescript: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3841
+ prettier: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3842
+ }, "strip", z.ZodTypeAny, {
3843
+ typescript: boolean;
3844
+ prettier: boolean;
3845
+ cssFramework?: "styled-components" | "emotion" | undefined;
3846
+ }, {
3847
+ cssFramework?: "styled-components" | "emotion" | undefined;
3848
+ typescript?: boolean | undefined;
3849
+ prettier?: boolean | undefined;
3850
+ }>;
3851
+ export type GenerationOptions = z.infer<typeof GenerationOptionsSchema>;
3852
+ /**
3853
+ * Generate Screen Input Schema
3854
+ * SPEC-LAYOUT-002: Generate production code from screen definition
3855
+ */
3856
+ export declare const GenerateScreenInputSchema: z.ZodObject<{
3857
+ screenDefinition: z.ZodUnknown;
3858
+ outputFormat: z.ZodEnum<["css-in-js", "tailwind", "react"]>;
3859
+ options: z.ZodOptional<z.ZodObject<{
3860
+ cssFramework: z.ZodOptional<z.ZodEnum<["styled-components", "emotion"]>>;
3861
+ typescript: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3862
+ prettier: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3863
+ }, "strip", z.ZodTypeAny, {
3864
+ typescript: boolean;
3865
+ prettier: boolean;
3866
+ cssFramework?: "styled-components" | "emotion" | undefined;
3867
+ }, {
3868
+ cssFramework?: "styled-components" | "emotion" | undefined;
3869
+ typescript?: boolean | undefined;
3870
+ prettier?: boolean | undefined;
3871
+ }>>;
3872
+ }, "strip", z.ZodTypeAny, {
3873
+ outputFormat: "react" | "css-in-js" | "tailwind";
3874
+ options?: {
3875
+ typescript: boolean;
3876
+ prettier: boolean;
3877
+ cssFramework?: "styled-components" | "emotion" | undefined;
3878
+ } | undefined;
3879
+ screenDefinition?: unknown;
3880
+ }, {
3881
+ outputFormat: "react" | "css-in-js" | "tailwind";
3882
+ options?: {
3883
+ cssFramework?: "styled-components" | "emotion" | undefined;
3884
+ typescript?: boolean | undefined;
3885
+ prettier?: boolean | undefined;
3886
+ } | undefined;
3887
+ screenDefinition?: unknown;
3888
+ }>;
3889
+ export type GenerateScreenInput = z.infer<typeof GenerateScreenInputSchema>;
3890
+ /**
3891
+ * Validate Screen Definition Input Schema
3892
+ * SPEC-MCP-004 Phase 3.5: Validates screen definitions with helpful feedback
3893
+ */
3894
+ export declare const ValidateScreenDefinitionInputSchema: z.ZodObject<{
3895
+ definition: z.ZodUnknown;
3896
+ strict: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3897
+ }, "strip", z.ZodTypeAny, {
3898
+ strict: boolean;
3899
+ definition?: unknown;
3900
+ }, {
3901
+ definition?: unknown;
3902
+ strict?: boolean | undefined;
3903
+ }>;
3904
+ export type ValidateScreenDefinitionInput = z.infer<typeof ValidateScreenDefinitionInputSchema>;
3905
+ /**
3906
+ * JSON Patch Operation Schema (RFC 6902 subset)
3907
+ * Auto-fix 패치를 위한 스키마
3908
+ */
3909
+ export declare const JsonPatchOperationSchema: z.ZodObject<{
3910
+ op: z.ZodEnum<["replace", "add", "remove"]>;
3911
+ path: z.ZodString;
3912
+ value: z.ZodOptional<z.ZodUnknown>;
3913
+ }, "strip", z.ZodTypeAny, {
3914
+ path: string;
3915
+ op: "replace" | "add" | "remove";
3916
+ value?: unknown;
3917
+ }, {
3918
+ path: string;
3919
+ op: "replace" | "add" | "remove";
3920
+ value?: unknown;
3921
+ }>;
3922
+ export type JsonPatchOperation = z.infer<typeof JsonPatchOperationSchema>;
3923
+ /**
3924
+ * Validation error with path and suggestion
3925
+ */
3926
+ export declare const ValidationErrorSchema: z.ZodObject<{
3927
+ path: z.ZodString;
3928
+ code: z.ZodString;
3929
+ message: z.ZodString;
3930
+ expected: z.ZodOptional<z.ZodString>;
3931
+ received: z.ZodOptional<z.ZodString>;
3932
+ suggestion: z.ZodOptional<z.ZodString>;
3933
+ autoFix: z.ZodOptional<z.ZodArray<z.ZodObject<{
3934
+ op: z.ZodEnum<["replace", "add", "remove"]>;
3935
+ path: z.ZodString;
3936
+ value: z.ZodOptional<z.ZodUnknown>;
3937
+ }, "strip", z.ZodTypeAny, {
3938
+ path: string;
3939
+ op: "replace" | "add" | "remove";
3940
+ value?: unknown;
3941
+ }, {
3942
+ path: string;
3943
+ op: "replace" | "add" | "remove";
3944
+ value?: unknown;
3945
+ }>, "many">>;
3946
+ }, "strip", z.ZodTypeAny, {
3947
+ path: string;
3948
+ code: string;
3949
+ message: string;
3950
+ expected?: string | undefined;
3951
+ received?: string | undefined;
3952
+ suggestion?: string | undefined;
3953
+ autoFix?: {
3954
+ path: string;
3955
+ op: "replace" | "add" | "remove";
3956
+ value?: unknown;
3957
+ }[] | undefined;
3958
+ }, {
3959
+ path: string;
3960
+ code: string;
3961
+ message: string;
3962
+ expected?: string | undefined;
3963
+ received?: string | undefined;
3964
+ suggestion?: string | undefined;
3965
+ autoFix?: {
3966
+ path: string;
3967
+ op: "replace" | "add" | "remove";
3968
+ value?: unknown;
3969
+ }[] | undefined;
3970
+ }>;
3971
+ export type ValidationError = z.infer<typeof ValidationErrorSchema>;
3972
+ /**
3973
+ * Validation warning (non-blocking)
3974
+ */
3975
+ export declare const ValidationWarningSchema: z.ZodObject<{
3976
+ path: z.ZodString;
3977
+ code: z.ZodString;
3978
+ message: z.ZodString;
3979
+ recommendation: z.ZodOptional<z.ZodString>;
3980
+ }, "strip", z.ZodTypeAny, {
3981
+ path: string;
3982
+ code: string;
3983
+ message: string;
3984
+ recommendation?: string | undefined;
3985
+ }, {
3986
+ path: string;
3987
+ code: string;
3988
+ message: string;
3989
+ recommendation?: string | undefined;
3990
+ }>;
3991
+ export type ValidationWarning = z.infer<typeof ValidationWarningSchema>;
3992
+ /**
3993
+ * Improvement suggestion
3994
+ */
3995
+ export declare const ImprovementSuggestionSchema: z.ZodObject<{
3996
+ category: z.ZodEnum<["accessibility", "performance", "maintainability", "consistency"]>;
3997
+ message: z.ZodString;
3998
+ affectedPath: z.ZodOptional<z.ZodString>;
3999
+ suggestedChange: z.ZodOptional<z.ZodString>;
4000
+ autoFix: z.ZodOptional<z.ZodArray<z.ZodObject<{
4001
+ op: z.ZodEnum<["replace", "add", "remove"]>;
4002
+ path: z.ZodString;
4003
+ value: z.ZodOptional<z.ZodUnknown>;
4004
+ }, "strip", z.ZodTypeAny, {
4005
+ path: string;
4006
+ op: "replace" | "add" | "remove";
4007
+ value?: unknown;
4008
+ }, {
4009
+ path: string;
4010
+ op: "replace" | "add" | "remove";
4011
+ value?: unknown;
4012
+ }>, "many">>;
4013
+ }, "strip", z.ZodTypeAny, {
4014
+ message: string;
4015
+ category: "accessibility" | "performance" | "maintainability" | "consistency";
4016
+ autoFix?: {
4017
+ path: string;
4018
+ op: "replace" | "add" | "remove";
4019
+ value?: unknown;
4020
+ }[] | undefined;
4021
+ affectedPath?: string | undefined;
4022
+ suggestedChange?: string | undefined;
4023
+ }, {
4024
+ message: string;
4025
+ category: "accessibility" | "performance" | "maintainability" | "consistency";
4026
+ autoFix?: {
4027
+ path: string;
4028
+ op: "replace" | "add" | "remove";
4029
+ value?: unknown;
4030
+ }[] | undefined;
4031
+ affectedPath?: string | undefined;
4032
+ suggestedChange?: string | undefined;
4033
+ }>;
4034
+ export type ImprovementSuggestion = z.infer<typeof ImprovementSuggestionSchema>;
4035
+ /**
4036
+ * Validate Screen Definition Output Schema
4037
+ */
4038
+ export declare const ValidateScreenDefinitionOutputSchema: z.ZodObject<{
4039
+ success: z.ZodBoolean;
4040
+ valid: z.ZodOptional<z.ZodBoolean>;
4041
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
4042
+ path: z.ZodString;
4043
+ code: z.ZodString;
4044
+ message: z.ZodString;
4045
+ expected: z.ZodOptional<z.ZodString>;
4046
+ received: z.ZodOptional<z.ZodString>;
4047
+ suggestion: z.ZodOptional<z.ZodString>;
4048
+ autoFix: z.ZodOptional<z.ZodArray<z.ZodObject<{
4049
+ op: z.ZodEnum<["replace", "add", "remove"]>;
4050
+ path: z.ZodString;
4051
+ value: z.ZodOptional<z.ZodUnknown>;
4052
+ }, "strip", z.ZodTypeAny, {
4053
+ path: string;
4054
+ op: "replace" | "add" | "remove";
4055
+ value?: unknown;
4056
+ }, {
4057
+ path: string;
4058
+ op: "replace" | "add" | "remove";
4059
+ value?: unknown;
4060
+ }>, "many">>;
4061
+ }, "strip", z.ZodTypeAny, {
4062
+ path: string;
4063
+ code: string;
4064
+ message: string;
4065
+ expected?: string | undefined;
4066
+ received?: string | undefined;
4067
+ suggestion?: string | undefined;
4068
+ autoFix?: {
4069
+ path: string;
4070
+ op: "replace" | "add" | "remove";
4071
+ value?: unknown;
4072
+ }[] | undefined;
4073
+ }, {
4074
+ path: string;
4075
+ code: string;
4076
+ message: string;
4077
+ expected?: string | undefined;
4078
+ received?: string | undefined;
4079
+ suggestion?: string | undefined;
4080
+ autoFix?: {
4081
+ path: string;
4082
+ op: "replace" | "add" | "remove";
4083
+ value?: unknown;
4084
+ }[] | undefined;
4085
+ }>, "many">>;
4086
+ warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
4087
+ path: z.ZodString;
4088
+ code: z.ZodString;
4089
+ message: z.ZodString;
4090
+ recommendation: z.ZodOptional<z.ZodString>;
4091
+ }, "strip", z.ZodTypeAny, {
4092
+ path: string;
4093
+ code: string;
4094
+ message: string;
4095
+ recommendation?: string | undefined;
4096
+ }, {
4097
+ path: string;
4098
+ code: string;
4099
+ message: string;
4100
+ recommendation?: string | undefined;
4101
+ }>, "many">>;
4102
+ suggestions: z.ZodOptional<z.ZodArray<z.ZodObject<{
4103
+ category: z.ZodEnum<["accessibility", "performance", "maintainability", "consistency"]>;
4104
+ message: z.ZodString;
4105
+ affectedPath: z.ZodOptional<z.ZodString>;
4106
+ suggestedChange: z.ZodOptional<z.ZodString>;
4107
+ autoFix: z.ZodOptional<z.ZodArray<z.ZodObject<{
4108
+ op: z.ZodEnum<["replace", "add", "remove"]>;
4109
+ path: z.ZodString;
4110
+ value: z.ZodOptional<z.ZodUnknown>;
4111
+ }, "strip", z.ZodTypeAny, {
4112
+ path: string;
4113
+ op: "replace" | "add" | "remove";
4114
+ value?: unknown;
4115
+ }, {
4116
+ path: string;
4117
+ op: "replace" | "add" | "remove";
4118
+ value?: unknown;
4119
+ }>, "many">>;
4120
+ }, "strip", z.ZodTypeAny, {
4121
+ message: string;
4122
+ category: "accessibility" | "performance" | "maintainability" | "consistency";
4123
+ autoFix?: {
4124
+ path: string;
4125
+ op: "replace" | "add" | "remove";
4126
+ value?: unknown;
4127
+ }[] | undefined;
4128
+ affectedPath?: string | undefined;
4129
+ suggestedChange?: string | undefined;
4130
+ }, {
4131
+ message: string;
4132
+ category: "accessibility" | "performance" | "maintainability" | "consistency";
4133
+ autoFix?: {
4134
+ path: string;
4135
+ op: "replace" | "add" | "remove";
4136
+ value?: unknown;
4137
+ }[] | undefined;
4138
+ affectedPath?: string | undefined;
4139
+ suggestedChange?: string | undefined;
4140
+ }>, "many">>;
4141
+ autoFixPatches: z.ZodOptional<z.ZodArray<z.ZodObject<{
4142
+ op: z.ZodEnum<["replace", "add", "remove"]>;
4143
+ path: z.ZodString;
4144
+ value: z.ZodOptional<z.ZodUnknown>;
4145
+ }, "strip", z.ZodTypeAny, {
4146
+ path: string;
4147
+ op: "replace" | "add" | "remove";
4148
+ value?: unknown;
4149
+ }, {
4150
+ path: string;
4151
+ op: "replace" | "add" | "remove";
4152
+ value?: unknown;
4153
+ }>, "many">>;
4154
+ error: z.ZodOptional<z.ZodString>;
4155
+ }, "strip", z.ZodTypeAny, {
4156
+ success: boolean;
4157
+ valid?: boolean | undefined;
4158
+ error?: string | undefined;
4159
+ errors?: {
4160
+ path: string;
4161
+ code: string;
4162
+ message: string;
4163
+ expected?: string | undefined;
4164
+ received?: string | undefined;
4165
+ suggestion?: string | undefined;
4166
+ autoFix?: {
4167
+ path: string;
4168
+ op: "replace" | "add" | "remove";
4169
+ value?: unknown;
4170
+ }[] | undefined;
4171
+ }[] | undefined;
4172
+ warnings?: {
4173
+ path: string;
4174
+ code: string;
4175
+ message: string;
4176
+ recommendation?: string | undefined;
4177
+ }[] | undefined;
4178
+ suggestions?: {
4179
+ message: string;
4180
+ category: "accessibility" | "performance" | "maintainability" | "consistency";
4181
+ autoFix?: {
4182
+ path: string;
4183
+ op: "replace" | "add" | "remove";
4184
+ value?: unknown;
4185
+ }[] | undefined;
4186
+ affectedPath?: string | undefined;
4187
+ suggestedChange?: string | undefined;
4188
+ }[] | undefined;
4189
+ autoFixPatches?: {
4190
+ path: string;
4191
+ op: "replace" | "add" | "remove";
4192
+ value?: unknown;
4193
+ }[] | undefined;
4194
+ }, {
4195
+ success: boolean;
4196
+ valid?: boolean | undefined;
4197
+ error?: string | undefined;
4198
+ errors?: {
4199
+ path: string;
4200
+ code: string;
4201
+ message: string;
4202
+ expected?: string | undefined;
4203
+ received?: string | undefined;
4204
+ suggestion?: string | undefined;
4205
+ autoFix?: {
4206
+ path: string;
4207
+ op: "replace" | "add" | "remove";
4208
+ value?: unknown;
4209
+ }[] | undefined;
4210
+ }[] | undefined;
4211
+ warnings?: {
4212
+ path: string;
4213
+ code: string;
4214
+ message: string;
4215
+ recommendation?: string | undefined;
4216
+ }[] | undefined;
4217
+ suggestions?: {
4218
+ message: string;
4219
+ category: "accessibility" | "performance" | "maintainability" | "consistency";
4220
+ autoFix?: {
4221
+ path: string;
4222
+ op: "replace" | "add" | "remove";
4223
+ value?: unknown;
4224
+ }[] | undefined;
4225
+ affectedPath?: string | undefined;
4226
+ suggestedChange?: string | undefined;
4227
+ }[] | undefined;
4228
+ autoFixPatches?: {
4229
+ path: string;
4230
+ op: "replace" | "add" | "remove";
4231
+ value?: unknown;
4232
+ }[] | undefined;
4233
+ }>;
4234
+ export type ValidateScreenDefinitionOutput = z.infer<typeof ValidateScreenDefinitionOutputSchema>;
4235
+ /**
4236
+ * Validate Environment Input Schema
4237
+ * SPEC-MCP-005 Phase 2: Check user's environment for missing dependencies
4238
+ */
4239
+ export declare const ValidateEnvironmentInputSchema: z.ZodObject<{
4240
+ projectPath: z.ZodString;
4241
+ requiredPackages: z.ZodArray<z.ZodString, "many">;
4242
+ checkTailwind: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4243
+ }, "strip", z.ZodTypeAny, {
4244
+ projectPath: string;
4245
+ requiredPackages: string[];
4246
+ checkTailwind: boolean;
4247
+ }, {
4248
+ projectPath: string;
4249
+ requiredPackages: string[];
4250
+ checkTailwind?: boolean | undefined;
4251
+ }>;
4252
+ export type ValidateEnvironmentInput = z.infer<typeof ValidateEnvironmentInputSchema>;
4253
+ /**
4254
+ * Validate Environment Output Schema
4255
+ */
4256
+ export declare const ValidateEnvironmentOutputSchema: z.ZodObject<{
4257
+ success: z.ZodBoolean;
4258
+ installed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4259
+ missing: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4260
+ installCommands: z.ZodOptional<z.ZodObject<{
4261
+ npm: z.ZodString;
4262
+ yarn: z.ZodString;
4263
+ pnpm: z.ZodString;
4264
+ bun: z.ZodString;
4265
+ }, "strip", z.ZodTypeAny, {
4266
+ npm: string;
4267
+ yarn: string;
4268
+ pnpm: string;
4269
+ bun: string;
4270
+ }, {
4271
+ npm: string;
4272
+ yarn: string;
4273
+ pnpm: string;
4274
+ bun: string;
4275
+ }>>;
4276
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4277
+ tailwind: z.ZodOptional<z.ZodObject<{
4278
+ configFound: z.ZodBoolean;
4279
+ configPath: z.ZodOptional<z.ZodString>;
4280
+ hasUiContentPath: z.ZodBoolean;
4281
+ hasAnimatePlugin: z.ZodBoolean;
4282
+ issues: z.ZodArray<z.ZodString, "many">;
4283
+ fixes: z.ZodArray<z.ZodString, "many">;
4284
+ }, "strip", z.ZodTypeAny, {
4285
+ issues: string[];
4286
+ configFound: boolean;
4287
+ hasUiContentPath: boolean;
4288
+ hasAnimatePlugin: boolean;
4289
+ fixes: string[];
4290
+ configPath?: string | undefined;
4291
+ }, {
4292
+ issues: string[];
4293
+ configFound: boolean;
4294
+ hasUiContentPath: boolean;
4295
+ hasAnimatePlugin: boolean;
4296
+ fixes: string[];
4297
+ configPath?: string | undefined;
4298
+ }>>;
4299
+ error: z.ZodOptional<z.ZodString>;
4300
+ }, "strip", z.ZodTypeAny, {
4301
+ success: boolean;
4302
+ error?: string | undefined;
4303
+ warnings?: string[] | undefined;
4304
+ tailwind?: {
4305
+ issues: string[];
4306
+ configFound: boolean;
4307
+ hasUiContentPath: boolean;
4308
+ hasAnimatePlugin: boolean;
4309
+ fixes: string[];
4310
+ configPath?: string | undefined;
4311
+ } | undefined;
4312
+ installCommands?: {
4313
+ npm: string;
4314
+ yarn: string;
4315
+ pnpm: string;
4316
+ bun: string;
4317
+ } | undefined;
4318
+ installed?: Record<string, string> | undefined;
4319
+ missing?: string[] | undefined;
4320
+ }, {
4321
+ success: boolean;
4322
+ error?: string | undefined;
4323
+ warnings?: string[] | undefined;
4324
+ tailwind?: {
4325
+ issues: string[];
4326
+ configFound: boolean;
4327
+ hasUiContentPath: boolean;
4328
+ hasAnimatePlugin: boolean;
4329
+ fixes: string[];
4330
+ configPath?: string | undefined;
4331
+ } | undefined;
4332
+ installCommands?: {
4333
+ npm: string;
4334
+ yarn: string;
4335
+ pnpm: string;
4336
+ bun: string;
4337
+ } | undefined;
4338
+ installed?: Record<string, string> | undefined;
4339
+ missing?: string[] | undefined;
4340
+ }>;
4341
+ export type ValidateEnvironmentOutput = z.infer<typeof ValidateEnvironmentOutputSchema>;
4342
+ //# sourceMappingURL=mcp-schemas.d.ts.map