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