@pixerate/schemas 1.3.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1759,74 +1759,2241 @@ declare const CodeGenerationSchema: z.ZodObject<{
1759
1759
  language: string;
1760
1760
  }>;
1761
1761
  type CodeGenerationPayload = z.infer<typeof CodeGenerationSchema>;
1762
+ declare const PlatformLanguageSchema: z.ZodEnum<["svelte", "react", "webcomponent"]>;
1763
+ type PlatformLanguage = z.infer<typeof PlatformLanguageSchema>;
1764
+ declare const ThemeSupportSchema: z.ZodEnum<["default", "light-and-dark"]>;
1765
+ type ThemeSupport = z.infer<typeof ThemeSupportSchema>;
1766
+ declare const ComponentPropDocSchema: z.ZodObject<{
1767
+ name: z.ZodString;
1768
+ type: z.ZodString;
1769
+ default: z.ZodOptional<z.ZodString>;
1770
+ description: z.ZodString;
1771
+ }, "strip", z.ZodTypeAny, {
1772
+ type: string;
1773
+ name: string;
1774
+ description: string;
1775
+ default?: string | undefined;
1776
+ }, {
1777
+ type: string;
1778
+ name: string;
1779
+ description: string;
1780
+ default?: string | undefined;
1781
+ }>;
1782
+ type ComponentPropDoc = z.infer<typeof ComponentPropDocSchema>;
1762
1783
  declare const ComponentPropDefinitionSchema: z.ZodObject<{
1763
1784
  name: z.ZodString;
1764
1785
  type: z.ZodString;
1765
1786
  default: z.ZodOptional<z.ZodString>;
1766
- description: z.ZodOptional<z.ZodString>;
1787
+ description: z.ZodString;
1767
1788
  }, "strip", z.ZodTypeAny, {
1768
1789
  type: string;
1769
1790
  name: string;
1791
+ description: string;
1770
1792
  default?: string | undefined;
1771
- description?: string | undefined;
1772
1793
  }, {
1773
1794
  type: string;
1774
1795
  name: string;
1796
+ description: string;
1775
1797
  default?: string | undefined;
1776
- description?: string | undefined;
1777
1798
  }>;
1778
- type ComponentPropDefinition = z.infer<typeof ComponentPropDefinitionSchema>;
1779
- declare const ComponentSynthesisSchema: z.ZodObject<{
1780
- svelte5: z.ZodString;
1781
- reactTsx: z.ZodString;
1782
- webComponent: z.ZodString;
1783
- usageDocs: z.ZodString;
1784
- propsSummary: z.ZodArray<z.ZodObject<{
1799
+ type ComponentPropDefinition = ComponentPropDoc;
1800
+ declare const ComponentDocsSchema: z.ZodObject<{
1801
+ usage: z.ZodString;
1802
+ props: z.ZodArray<z.ZodObject<{
1785
1803
  name: z.ZodString;
1786
1804
  type: z.ZodString;
1787
1805
  default: z.ZodOptional<z.ZodString>;
1788
- description: z.ZodOptional<z.ZodString>;
1806
+ description: z.ZodString;
1789
1807
  }, "strip", z.ZodTypeAny, {
1790
1808
  type: string;
1791
1809
  name: string;
1810
+ description: string;
1792
1811
  default?: string | undefined;
1793
- description?: string | undefined;
1794
1812
  }, {
1795
1813
  type: string;
1796
1814
  name: string;
1815
+ description: string;
1797
1816
  default?: string | undefined;
1798
- description?: string | undefined;
1799
1817
  }>, "many">;
1800
- supportedThemes: z.ZodEnum<["default", "light-and-dark"]>;
1801
- previewHtml: z.ZodOptional<z.ZodString>;
1802
- }, "strip", z.ZodTypeAny, {
1803
- svelte5: string;
1804
- reactTsx: string;
1805
- webComponent: string;
1806
- usageDocs: string;
1807
- propsSummary: {
1818
+ notes: z.ZodOptional<z.ZodString>;
1819
+ }, "strip", z.ZodTypeAny, {
1820
+ usage: string;
1821
+ props: {
1808
1822
  type: string;
1809
1823
  name: string;
1824
+ description: string;
1810
1825
  default?: string | undefined;
1811
- description?: string | undefined;
1812
1826
  }[];
1813
- supportedThemes: "default" | "light-and-dark";
1814
- previewHtml?: string | undefined;
1815
- }, {
1816
- svelte5: string;
1817
- reactTsx: string;
1818
- webComponent: string;
1819
- usageDocs: string;
1820
- propsSummary: {
1827
+ notes?: string | undefined;
1828
+ }, {
1829
+ usage: string;
1830
+ props: {
1821
1831
  type: string;
1822
1832
  name: string;
1833
+ description: string;
1823
1834
  default?: string | undefined;
1824
- description?: string | undefined;
1825
1835
  }[];
1826
- supportedThemes: "default" | "light-and-dark";
1827
- previewHtml?: string | undefined;
1836
+ notes?: string | undefined;
1837
+ }>;
1838
+ type ComponentDocs = z.infer<typeof ComponentDocsSchema>;
1839
+ declare const PreviewHarnessSchema: z.ZodObject<{
1840
+ driverCode: z.ZodString;
1841
+ mockProps: z.ZodRecord<z.ZodString, z.ZodAny>;
1842
+ wrapperClass: z.ZodOptional<z.ZodString>;
1843
+ }, "strip", z.ZodTypeAny, {
1844
+ driverCode: string;
1845
+ mockProps: Record<string, any>;
1846
+ wrapperClass?: string | undefined;
1847
+ }, {
1848
+ driverCode: string;
1849
+ mockProps: Record<string, any>;
1850
+ wrapperClass?: string | undefined;
1851
+ }>;
1852
+ type PreviewHarness = z.infer<typeof PreviewHarnessSchema>;
1853
+ declare const GenerateHarnessOptionsSchema: z.ZodObject<{
1854
+ code: z.ZodString;
1855
+ language: z.ZodEnum<["svelte", "react", "webcomponent"]>;
1856
+ componentName: z.ZodString;
1857
+ docsProps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1858
+ name: z.ZodString;
1859
+ type: z.ZodString;
1860
+ default: z.ZodOptional<z.ZodString>;
1861
+ description: z.ZodString;
1862
+ }, "strip", z.ZodTypeAny, {
1863
+ type: string;
1864
+ name: string;
1865
+ description: string;
1866
+ default?: string | undefined;
1867
+ }, {
1868
+ type: string;
1869
+ name: string;
1870
+ description: string;
1871
+ default?: string | undefined;
1872
+ }>, "many">>;
1873
+ }, "strip", z.ZodTypeAny, {
1874
+ code: string;
1875
+ language: "svelte" | "react" | "webcomponent";
1876
+ componentName: string;
1877
+ docsProps?: {
1878
+ type: string;
1879
+ name: string;
1880
+ description: string;
1881
+ default?: string | undefined;
1882
+ }[] | undefined;
1883
+ }, {
1884
+ code: string;
1885
+ language: "svelte" | "react" | "webcomponent";
1886
+ componentName: string;
1887
+ docsProps?: {
1888
+ type: string;
1889
+ name: string;
1890
+ description: string;
1891
+ default?: string | undefined;
1892
+ }[] | undefined;
1893
+ }>;
1894
+ type GenerateHarnessOptions = z.infer<typeof GenerateHarnessOptionsSchema>;
1895
+ declare const ComponentSynthesisSchema: z.ZodObject<{
1896
+ title: z.ZodString;
1897
+ description: z.ZodString;
1898
+ tags: z.ZodArray<z.ZodString, "many">;
1899
+ platforms: z.ZodObject<{
1900
+ svelte: z.ZodString;
1901
+ react: z.ZodString;
1902
+ webcomponent: z.ZodString;
1903
+ }, "strip", z.ZodTypeAny, {
1904
+ svelte: string;
1905
+ react: string;
1906
+ webcomponent: string;
1907
+ }, {
1908
+ svelte: string;
1909
+ react: string;
1910
+ webcomponent: string;
1911
+ }>;
1912
+ harnesses: z.ZodOptional<z.ZodObject<{
1913
+ svelte: z.ZodObject<{
1914
+ driverCode: z.ZodString;
1915
+ mockProps: z.ZodRecord<z.ZodString, z.ZodAny>;
1916
+ wrapperClass: z.ZodOptional<z.ZodString>;
1917
+ }, "strip", z.ZodTypeAny, {
1918
+ driverCode: string;
1919
+ mockProps: Record<string, any>;
1920
+ wrapperClass?: string | undefined;
1921
+ }, {
1922
+ driverCode: string;
1923
+ mockProps: Record<string, any>;
1924
+ wrapperClass?: string | undefined;
1925
+ }>;
1926
+ react: z.ZodObject<{
1927
+ driverCode: z.ZodString;
1928
+ mockProps: z.ZodRecord<z.ZodString, z.ZodAny>;
1929
+ wrapperClass: z.ZodOptional<z.ZodString>;
1930
+ }, "strip", z.ZodTypeAny, {
1931
+ driverCode: string;
1932
+ mockProps: Record<string, any>;
1933
+ wrapperClass?: string | undefined;
1934
+ }, {
1935
+ driverCode: string;
1936
+ mockProps: Record<string, any>;
1937
+ wrapperClass?: string | undefined;
1938
+ }>;
1939
+ webcomponent: z.ZodObject<{
1940
+ driverCode: z.ZodString;
1941
+ mockProps: z.ZodRecord<z.ZodString, z.ZodAny>;
1942
+ wrapperClass: z.ZodOptional<z.ZodString>;
1943
+ }, "strip", z.ZodTypeAny, {
1944
+ driverCode: string;
1945
+ mockProps: Record<string, any>;
1946
+ wrapperClass?: string | undefined;
1947
+ }, {
1948
+ driverCode: string;
1949
+ mockProps: Record<string, any>;
1950
+ wrapperClass?: string | undefined;
1951
+ }>;
1952
+ }, "strip", z.ZodTypeAny, {
1953
+ svelte: {
1954
+ driverCode: string;
1955
+ mockProps: Record<string, any>;
1956
+ wrapperClass?: string | undefined;
1957
+ };
1958
+ react: {
1959
+ driverCode: string;
1960
+ mockProps: Record<string, any>;
1961
+ wrapperClass?: string | undefined;
1962
+ };
1963
+ webcomponent: {
1964
+ driverCode: string;
1965
+ mockProps: Record<string, any>;
1966
+ wrapperClass?: string | undefined;
1967
+ };
1968
+ }, {
1969
+ svelte: {
1970
+ driverCode: string;
1971
+ mockProps: Record<string, any>;
1972
+ wrapperClass?: string | undefined;
1973
+ };
1974
+ react: {
1975
+ driverCode: string;
1976
+ mockProps: Record<string, any>;
1977
+ wrapperClass?: string | undefined;
1978
+ };
1979
+ webcomponent: {
1980
+ driverCode: string;
1981
+ mockProps: Record<string, any>;
1982
+ wrapperClass?: string | undefined;
1983
+ };
1984
+ }>>;
1985
+ docs: z.ZodObject<{
1986
+ usage: z.ZodString;
1987
+ props: z.ZodArray<z.ZodObject<{
1988
+ name: z.ZodString;
1989
+ type: z.ZodString;
1990
+ default: z.ZodOptional<z.ZodString>;
1991
+ description: z.ZodString;
1992
+ }, "strip", z.ZodTypeAny, {
1993
+ type: string;
1994
+ name: string;
1995
+ description: string;
1996
+ default?: string | undefined;
1997
+ }, {
1998
+ type: string;
1999
+ name: string;
2000
+ description: string;
2001
+ default?: string | undefined;
2002
+ }>, "many">;
2003
+ notes: z.ZodOptional<z.ZodString>;
2004
+ }, "strip", z.ZodTypeAny, {
2005
+ usage: string;
2006
+ props: {
2007
+ type: string;
2008
+ name: string;
2009
+ description: string;
2010
+ default?: string | undefined;
2011
+ }[];
2012
+ notes?: string | undefined;
2013
+ }, {
2014
+ usage: string;
2015
+ props: {
2016
+ type: string;
2017
+ name: string;
2018
+ description: string;
2019
+ default?: string | undefined;
2020
+ }[];
2021
+ notes?: string | undefined;
2022
+ }>;
2023
+ }, "strip", z.ZodTypeAny, {
2024
+ title: string;
2025
+ description: string;
2026
+ tags: string[];
2027
+ platforms: {
2028
+ svelte: string;
2029
+ react: string;
2030
+ webcomponent: string;
2031
+ };
2032
+ docs: {
2033
+ usage: string;
2034
+ props: {
2035
+ type: string;
2036
+ name: string;
2037
+ description: string;
2038
+ default?: string | undefined;
2039
+ }[];
2040
+ notes?: string | undefined;
2041
+ };
2042
+ harnesses?: {
2043
+ svelte: {
2044
+ driverCode: string;
2045
+ mockProps: Record<string, any>;
2046
+ wrapperClass?: string | undefined;
2047
+ };
2048
+ react: {
2049
+ driverCode: string;
2050
+ mockProps: Record<string, any>;
2051
+ wrapperClass?: string | undefined;
2052
+ };
2053
+ webcomponent: {
2054
+ driverCode: string;
2055
+ mockProps: Record<string, any>;
2056
+ wrapperClass?: string | undefined;
2057
+ };
2058
+ } | undefined;
2059
+ }, {
2060
+ title: string;
2061
+ description: string;
2062
+ tags: string[];
2063
+ platforms: {
2064
+ svelte: string;
2065
+ react: string;
2066
+ webcomponent: string;
2067
+ };
2068
+ docs: {
2069
+ usage: string;
2070
+ props: {
2071
+ type: string;
2072
+ name: string;
2073
+ description: string;
2074
+ default?: string | undefined;
2075
+ }[];
2076
+ notes?: string | undefined;
2077
+ };
2078
+ harnesses?: {
2079
+ svelte: {
2080
+ driverCode: string;
2081
+ mockProps: Record<string, any>;
2082
+ wrapperClass?: string | undefined;
2083
+ };
2084
+ react: {
2085
+ driverCode: string;
2086
+ mockProps: Record<string, any>;
2087
+ wrapperClass?: string | undefined;
2088
+ };
2089
+ webcomponent: {
2090
+ driverCode: string;
2091
+ mockProps: Record<string, any>;
2092
+ wrapperClass?: string | undefined;
2093
+ };
2094
+ } | undefined;
1828
2095
  }>;
1829
2096
  type ComponentSynthesisPayload = z.infer<typeof ComponentSynthesisSchema>;
2097
+ declare const ComponentTransformationResultSchema: z.ZodObject<{
2098
+ title: z.ZodString;
2099
+ description: z.ZodString;
2100
+ tags: z.ZodArray<z.ZodString, "many">;
2101
+ platforms: z.ZodRecord<z.ZodEnum<["svelte", "react", "webcomponent"]>, z.ZodString>;
2102
+ harnesses: z.ZodRecord<z.ZodEnum<["svelte", "react", "webcomponent"]>, z.ZodObject<{
2103
+ driverCode: z.ZodString;
2104
+ mockProps: z.ZodRecord<z.ZodString, z.ZodAny>;
2105
+ wrapperClass: z.ZodOptional<z.ZodString>;
2106
+ }, "strip", z.ZodTypeAny, {
2107
+ driverCode: string;
2108
+ mockProps: Record<string, any>;
2109
+ wrapperClass?: string | undefined;
2110
+ }, {
2111
+ driverCode: string;
2112
+ mockProps: Record<string, any>;
2113
+ wrapperClass?: string | undefined;
2114
+ }>>;
2115
+ docs: z.ZodObject<{
2116
+ usage: z.ZodString;
2117
+ props: z.ZodArray<z.ZodObject<{
2118
+ name: z.ZodString;
2119
+ type: z.ZodString;
2120
+ default: z.ZodOptional<z.ZodString>;
2121
+ description: z.ZodString;
2122
+ }, "strip", z.ZodTypeAny, {
2123
+ type: string;
2124
+ name: string;
2125
+ description: string;
2126
+ default?: string | undefined;
2127
+ }, {
2128
+ type: string;
2129
+ name: string;
2130
+ description: string;
2131
+ default?: string | undefined;
2132
+ }>, "many">;
2133
+ notes: z.ZodOptional<z.ZodString>;
2134
+ }, "strip", z.ZodTypeAny, {
2135
+ usage: string;
2136
+ props: {
2137
+ type: string;
2138
+ name: string;
2139
+ description: string;
2140
+ default?: string | undefined;
2141
+ }[];
2142
+ notes?: string | undefined;
2143
+ }, {
2144
+ usage: string;
2145
+ props: {
2146
+ type: string;
2147
+ name: string;
2148
+ description: string;
2149
+ default?: string | undefined;
2150
+ }[];
2151
+ notes?: string | undefined;
2152
+ }>;
2153
+ detectedLanguage: z.ZodEnum<["svelte", "react", "webcomponent"]>;
2154
+ themeSupport: z.ZodEnum<["default", "light-and-dark"]>;
2155
+ }, "strip", z.ZodTypeAny, {
2156
+ title: string;
2157
+ description: string;
2158
+ tags: string[];
2159
+ platforms: Partial<Record<"svelte" | "react" | "webcomponent", string>>;
2160
+ harnesses: Partial<Record<"svelte" | "react" | "webcomponent", {
2161
+ driverCode: string;
2162
+ mockProps: Record<string, any>;
2163
+ wrapperClass?: string | undefined;
2164
+ }>>;
2165
+ docs: {
2166
+ usage: string;
2167
+ props: {
2168
+ type: string;
2169
+ name: string;
2170
+ description: string;
2171
+ default?: string | undefined;
2172
+ }[];
2173
+ notes?: string | undefined;
2174
+ };
2175
+ detectedLanguage: "svelte" | "react" | "webcomponent";
2176
+ themeSupport: "default" | "light-and-dark";
2177
+ }, {
2178
+ title: string;
2179
+ description: string;
2180
+ tags: string[];
2181
+ platforms: Partial<Record<"svelte" | "react" | "webcomponent", string>>;
2182
+ harnesses: Partial<Record<"svelte" | "react" | "webcomponent", {
2183
+ driverCode: string;
2184
+ mockProps: Record<string, any>;
2185
+ wrapperClass?: string | undefined;
2186
+ }>>;
2187
+ docs: {
2188
+ usage: string;
2189
+ props: {
2190
+ type: string;
2191
+ name: string;
2192
+ description: string;
2193
+ default?: string | undefined;
2194
+ }[];
2195
+ notes?: string | undefined;
2196
+ };
2197
+ detectedLanguage: "svelte" | "react" | "webcomponent";
2198
+ themeSupport: "default" | "light-and-dark";
2199
+ }>;
2200
+ type ComponentTransformationResult = z.infer<typeof ComponentTransformationResultSchema>;
2201
+ declare const ComponentPackageSchema: z.ZodObject<{
2202
+ language: z.ZodEnum<["svelte", "react", "webcomponent"]>;
2203
+ code: z.ZodString;
2204
+ docs: z.ZodObject<{
2205
+ usage: z.ZodString;
2206
+ props: z.ZodArray<z.ZodObject<{
2207
+ name: z.ZodString;
2208
+ type: z.ZodString;
2209
+ default: z.ZodOptional<z.ZodString>;
2210
+ description: z.ZodString;
2211
+ }, "strip", z.ZodTypeAny, {
2212
+ type: string;
2213
+ name: string;
2214
+ description: string;
2215
+ default?: string | undefined;
2216
+ }, {
2217
+ type: string;
2218
+ name: string;
2219
+ description: string;
2220
+ default?: string | undefined;
2221
+ }>, "many">;
2222
+ notes: z.ZodOptional<z.ZodString>;
2223
+ }, "strip", z.ZodTypeAny, {
2224
+ usage: string;
2225
+ props: {
2226
+ type: string;
2227
+ name: string;
2228
+ description: string;
2229
+ default?: string | undefined;
2230
+ }[];
2231
+ notes?: string | undefined;
2232
+ }, {
2233
+ usage: string;
2234
+ props: {
2235
+ type: string;
2236
+ name: string;
2237
+ description: string;
2238
+ default?: string | undefined;
2239
+ }[];
2240
+ notes?: string | undefined;
2241
+ }>;
2242
+ screenshot: z.ZodString;
2243
+ themeSupport: z.ZodEnum<["default", "light-and-dark"]>;
2244
+ tags: z.ZodArray<z.ZodString, "many">;
2245
+ previewHarness: z.ZodOptional<z.ZodObject<{
2246
+ driverCode: z.ZodString;
2247
+ mockProps: z.ZodRecord<z.ZodString, z.ZodAny>;
2248
+ wrapperClass: z.ZodOptional<z.ZodString>;
2249
+ }, "strip", z.ZodTypeAny, {
2250
+ driverCode: string;
2251
+ mockProps: Record<string, any>;
2252
+ wrapperClass?: string | undefined;
2253
+ }, {
2254
+ driverCode: string;
2255
+ mockProps: Record<string, any>;
2256
+ wrapperClass?: string | undefined;
2257
+ }>>;
2258
+ }, "strip", z.ZodTypeAny, {
2259
+ code: string;
2260
+ language: "svelte" | "react" | "webcomponent";
2261
+ tags: string[];
2262
+ docs: {
2263
+ usage: string;
2264
+ props: {
2265
+ type: string;
2266
+ name: string;
2267
+ description: string;
2268
+ default?: string | undefined;
2269
+ }[];
2270
+ notes?: string | undefined;
2271
+ };
2272
+ themeSupport: "default" | "light-and-dark";
2273
+ screenshot: string;
2274
+ previewHarness?: {
2275
+ driverCode: string;
2276
+ mockProps: Record<string, any>;
2277
+ wrapperClass?: string | undefined;
2278
+ } | undefined;
2279
+ }, {
2280
+ code: string;
2281
+ language: "svelte" | "react" | "webcomponent";
2282
+ tags: string[];
2283
+ docs: {
2284
+ usage: string;
2285
+ props: {
2286
+ type: string;
2287
+ name: string;
2288
+ description: string;
2289
+ default?: string | undefined;
2290
+ }[];
2291
+ notes?: string | undefined;
2292
+ };
2293
+ themeSupport: "default" | "light-and-dark";
2294
+ screenshot: string;
2295
+ previewHarness?: {
2296
+ driverCode: string;
2297
+ mockProps: Record<string, any>;
2298
+ wrapperClass?: string | undefined;
2299
+ } | undefined;
2300
+ }>;
2301
+ type ComponentPackage = z.infer<typeof ComponentPackageSchema>;
2302
+ declare const UIComponentTypeSchema: z.ZodObject<{
2303
+ id: z.ZodString;
2304
+ name: z.ZodString;
2305
+ description: z.ZodString;
2306
+ tags: z.ZodArray<z.ZodString, "many">;
2307
+ createdAt: z.ZodString;
2308
+ updatedAt: z.ZodString;
2309
+ }, "strip", z.ZodTypeAny, {
2310
+ name: string;
2311
+ description: string;
2312
+ tags: string[];
2313
+ id: string;
2314
+ createdAt: string;
2315
+ updatedAt: string;
2316
+ }, {
2317
+ name: string;
2318
+ description: string;
2319
+ tags: string[];
2320
+ id: string;
2321
+ createdAt: string;
2322
+ updatedAt: string;
2323
+ }>;
2324
+ type UIComponentType = z.infer<typeof UIComponentTypeSchema>;
2325
+ declare const ComponentVariantSchema: z.ZodObject<{
2326
+ id: z.ZodString;
2327
+ componentTypeId: z.ZodString;
2328
+ name: z.ZodString;
2329
+ aestheticId: z.ZodString;
2330
+ recommendedThemeId: z.ZodOptional<z.ZodString>;
2331
+ description: z.ZodOptional<z.ZodString>;
2332
+ imageUrl: z.ZodOptional<z.ZodString>;
2333
+ image: z.ZodOptional<z.ZodString>;
2334
+ screenshot: z.ZodOptional<z.ZodString>;
2335
+ createdAt: z.ZodString;
2336
+ updatedAt: z.ZodString;
2337
+ }, "strip", z.ZodTypeAny, {
2338
+ name: string;
2339
+ id: string;
2340
+ createdAt: string;
2341
+ updatedAt: string;
2342
+ componentTypeId: string;
2343
+ aestheticId: string;
2344
+ description?: string | undefined;
2345
+ screenshot?: string | undefined;
2346
+ recommendedThemeId?: string | undefined;
2347
+ imageUrl?: string | undefined;
2348
+ image?: string | undefined;
2349
+ }, {
2350
+ name: string;
2351
+ id: string;
2352
+ createdAt: string;
2353
+ updatedAt: string;
2354
+ componentTypeId: string;
2355
+ aestheticId: string;
2356
+ description?: string | undefined;
2357
+ screenshot?: string | undefined;
2358
+ recommendedThemeId?: string | undefined;
2359
+ imageUrl?: string | undefined;
2360
+ image?: string | undefined;
2361
+ }>;
2362
+ type ComponentVariant = z.infer<typeof ComponentVariantSchema>;
2363
+ declare const AestheticSchema: z.ZodObject<{
2364
+ id: z.ZodString;
2365
+ componentTypeId: z.ZodString;
2366
+ name: z.ZodString;
2367
+ aestheticId: z.ZodString;
2368
+ recommendedThemeId: z.ZodOptional<z.ZodString>;
2369
+ description: z.ZodOptional<z.ZodString>;
2370
+ imageUrl: z.ZodOptional<z.ZodString>;
2371
+ image: z.ZodOptional<z.ZodString>;
2372
+ screenshot: z.ZodOptional<z.ZodString>;
2373
+ createdAt: z.ZodString;
2374
+ updatedAt: z.ZodString;
2375
+ }, "strip", z.ZodTypeAny, {
2376
+ name: string;
2377
+ id: string;
2378
+ createdAt: string;
2379
+ updatedAt: string;
2380
+ componentTypeId: string;
2381
+ aestheticId: string;
2382
+ description?: string | undefined;
2383
+ screenshot?: string | undefined;
2384
+ recommendedThemeId?: string | undefined;
2385
+ imageUrl?: string | undefined;
2386
+ image?: string | undefined;
2387
+ }, {
2388
+ name: string;
2389
+ id: string;
2390
+ createdAt: string;
2391
+ updatedAt: string;
2392
+ componentTypeId: string;
2393
+ aestheticId: string;
2394
+ description?: string | undefined;
2395
+ screenshot?: string | undefined;
2396
+ recommendedThemeId?: string | undefined;
2397
+ imageUrl?: string | undefined;
2398
+ image?: string | undefined;
2399
+ }>;
2400
+ type Aesthetic = ComponentVariant;
2401
+ declare const ComponentVersionSchema: z.ZodObject<{
2402
+ id: z.ZodString;
2403
+ componentTypeId: z.ZodString;
2404
+ variantId: z.ZodString;
2405
+ aestheticId: z.ZodString;
2406
+ version: z.ZodString;
2407
+ changelogNote: z.ZodString;
2408
+ createdBy: z.ZodString;
2409
+ createdAt: z.ZodString;
2410
+ packages: z.ZodRecord<z.ZodEnum<["svelte", "react", "webcomponent"]>, z.ZodObject<{
2411
+ language: z.ZodEnum<["svelte", "react", "webcomponent"]>;
2412
+ code: z.ZodString;
2413
+ docs: z.ZodObject<{
2414
+ usage: z.ZodString;
2415
+ props: z.ZodArray<z.ZodObject<{
2416
+ name: z.ZodString;
2417
+ type: z.ZodString;
2418
+ default: z.ZodOptional<z.ZodString>;
2419
+ description: z.ZodString;
2420
+ }, "strip", z.ZodTypeAny, {
2421
+ type: string;
2422
+ name: string;
2423
+ description: string;
2424
+ default?: string | undefined;
2425
+ }, {
2426
+ type: string;
2427
+ name: string;
2428
+ description: string;
2429
+ default?: string | undefined;
2430
+ }>, "many">;
2431
+ notes: z.ZodOptional<z.ZodString>;
2432
+ }, "strip", z.ZodTypeAny, {
2433
+ usage: string;
2434
+ props: {
2435
+ type: string;
2436
+ name: string;
2437
+ description: string;
2438
+ default?: string | undefined;
2439
+ }[];
2440
+ notes?: string | undefined;
2441
+ }, {
2442
+ usage: string;
2443
+ props: {
2444
+ type: string;
2445
+ name: string;
2446
+ description: string;
2447
+ default?: string | undefined;
2448
+ }[];
2449
+ notes?: string | undefined;
2450
+ }>;
2451
+ screenshot: z.ZodString;
2452
+ themeSupport: z.ZodEnum<["default", "light-and-dark"]>;
2453
+ tags: z.ZodArray<z.ZodString, "many">;
2454
+ previewHarness: z.ZodOptional<z.ZodObject<{
2455
+ driverCode: z.ZodString;
2456
+ mockProps: z.ZodRecord<z.ZodString, z.ZodAny>;
2457
+ wrapperClass: z.ZodOptional<z.ZodString>;
2458
+ }, "strip", z.ZodTypeAny, {
2459
+ driverCode: string;
2460
+ mockProps: Record<string, any>;
2461
+ wrapperClass?: string | undefined;
2462
+ }, {
2463
+ driverCode: string;
2464
+ mockProps: Record<string, any>;
2465
+ wrapperClass?: string | undefined;
2466
+ }>>;
2467
+ }, "strip", z.ZodTypeAny, {
2468
+ code: string;
2469
+ language: "svelte" | "react" | "webcomponent";
2470
+ tags: string[];
2471
+ docs: {
2472
+ usage: string;
2473
+ props: {
2474
+ type: string;
2475
+ name: string;
2476
+ description: string;
2477
+ default?: string | undefined;
2478
+ }[];
2479
+ notes?: string | undefined;
2480
+ };
2481
+ themeSupport: "default" | "light-and-dark";
2482
+ screenshot: string;
2483
+ previewHarness?: {
2484
+ driverCode: string;
2485
+ mockProps: Record<string, any>;
2486
+ wrapperClass?: string | undefined;
2487
+ } | undefined;
2488
+ }, {
2489
+ code: string;
2490
+ language: "svelte" | "react" | "webcomponent";
2491
+ tags: string[];
2492
+ docs: {
2493
+ usage: string;
2494
+ props: {
2495
+ type: string;
2496
+ name: string;
2497
+ description: string;
2498
+ default?: string | undefined;
2499
+ }[];
2500
+ notes?: string | undefined;
2501
+ };
2502
+ themeSupport: "default" | "light-and-dark";
2503
+ screenshot: string;
2504
+ previewHarness?: {
2505
+ driverCode: string;
2506
+ mockProps: Record<string, any>;
2507
+ wrapperClass?: string | undefined;
2508
+ } | undefined;
2509
+ }>>;
2510
+ }, "strip", z.ZodTypeAny, {
2511
+ id: string;
2512
+ createdAt: string;
2513
+ componentTypeId: string;
2514
+ aestheticId: string;
2515
+ variantId: string;
2516
+ version: string;
2517
+ changelogNote: string;
2518
+ createdBy: string;
2519
+ packages: Partial<Record<"svelte" | "react" | "webcomponent", {
2520
+ code: string;
2521
+ language: "svelte" | "react" | "webcomponent";
2522
+ tags: string[];
2523
+ docs: {
2524
+ usage: string;
2525
+ props: {
2526
+ type: string;
2527
+ name: string;
2528
+ description: string;
2529
+ default?: string | undefined;
2530
+ }[];
2531
+ notes?: string | undefined;
2532
+ };
2533
+ themeSupport: "default" | "light-and-dark";
2534
+ screenshot: string;
2535
+ previewHarness?: {
2536
+ driverCode: string;
2537
+ mockProps: Record<string, any>;
2538
+ wrapperClass?: string | undefined;
2539
+ } | undefined;
2540
+ }>>;
2541
+ }, {
2542
+ id: string;
2543
+ createdAt: string;
2544
+ componentTypeId: string;
2545
+ aestheticId: string;
2546
+ variantId: string;
2547
+ version: string;
2548
+ changelogNote: string;
2549
+ createdBy: string;
2550
+ packages: Partial<Record<"svelte" | "react" | "webcomponent", {
2551
+ code: string;
2552
+ language: "svelte" | "react" | "webcomponent";
2553
+ tags: string[];
2554
+ docs: {
2555
+ usage: string;
2556
+ props: {
2557
+ type: string;
2558
+ name: string;
2559
+ description: string;
2560
+ default?: string | undefined;
2561
+ }[];
2562
+ notes?: string | undefined;
2563
+ };
2564
+ themeSupport: "default" | "light-and-dark";
2565
+ screenshot: string;
2566
+ previewHarness?: {
2567
+ driverCode: string;
2568
+ mockProps: Record<string, any>;
2569
+ wrapperClass?: string | undefined;
2570
+ } | undefined;
2571
+ }>>;
2572
+ }>;
2573
+ type ComponentVersion = z.infer<typeof ComponentVersionSchema>;
2574
+ declare const ActivityActionSchema: z.ZodEnum<["CREATED", "UPDATED", "REVERTED", "PACKAGE_GENERATED", "DELETED"]>;
2575
+ type ActivityAction = z.infer<typeof ActivityActionSchema>;
2576
+ declare const ActivityLogSchema: z.ZodObject<{
2577
+ id: z.ZodString;
2578
+ componentTypeId: z.ZodString;
2579
+ componentTypeName: z.ZodString;
2580
+ variantId: z.ZodOptional<z.ZodString>;
2581
+ aestheticId: z.ZodString;
2582
+ action: z.ZodEnum<["CREATED", "UPDATED", "REVERTED", "PACKAGE_GENERATED", "DELETED"]>;
2583
+ version: z.ZodString;
2584
+ details: z.ZodString;
2585
+ timestamp: z.ZodString;
2586
+ }, "strip", z.ZodTypeAny, {
2587
+ id: string;
2588
+ componentTypeId: string;
2589
+ aestheticId: string;
2590
+ version: string;
2591
+ componentTypeName: string;
2592
+ action: "CREATED" | "UPDATED" | "REVERTED" | "PACKAGE_GENERATED" | "DELETED";
2593
+ details: string;
2594
+ timestamp: string;
2595
+ variantId?: string | undefined;
2596
+ }, {
2597
+ id: string;
2598
+ componentTypeId: string;
2599
+ aestheticId: string;
2600
+ version: string;
2601
+ componentTypeName: string;
2602
+ action: "CREATED" | "UPDATED" | "REVERTED" | "PACKAGE_GENERATED" | "DELETED";
2603
+ details: string;
2604
+ timestamp: string;
2605
+ variantId?: string | undefined;
2606
+ }>;
2607
+ type ActivityLog = z.infer<typeof ActivityLogSchema>;
2608
+ declare const IngestionInputSchema: z.ZodObject<{
2609
+ codeBundle: z.ZodString;
2610
+ css: z.ZodOptional<z.ZodString>;
2611
+ componentTypeId: z.ZodString;
2612
+ variantName: z.ZodString;
2613
+ variantId: z.ZodOptional<z.ZodString>;
2614
+ aestheticId: z.ZodOptional<z.ZodString>;
2615
+ recommendedThemeId: z.ZodOptional<z.ZodString>;
2616
+ componentTypeName: z.ZodOptional<z.ZodString>;
2617
+ componentTypeDescription: z.ZodOptional<z.ZodString>;
2618
+ variantDescription: z.ZodOptional<z.ZodString>;
2619
+ aestheticName: z.ZodOptional<z.ZodString>;
2620
+ aestheticDescription: z.ZodOptional<z.ZodString>;
2621
+ sourcePlatform: z.ZodOptional<z.ZodEnum<["svelte", "react", "webcomponent"]>>;
2622
+ changelogNote: z.ZodOptional<z.ZodString>;
2623
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2624
+ }, "strip", z.ZodTypeAny, {
2625
+ componentTypeId: string;
2626
+ codeBundle: string;
2627
+ variantName: string;
2628
+ tags?: string[] | undefined;
2629
+ aestheticId?: string | undefined;
2630
+ recommendedThemeId?: string | undefined;
2631
+ variantId?: string | undefined;
2632
+ changelogNote?: string | undefined;
2633
+ componentTypeName?: string | undefined;
2634
+ css?: string | undefined;
2635
+ componentTypeDescription?: string | undefined;
2636
+ variantDescription?: string | undefined;
2637
+ aestheticName?: string | undefined;
2638
+ aestheticDescription?: string | undefined;
2639
+ sourcePlatform?: "svelte" | "react" | "webcomponent" | undefined;
2640
+ }, {
2641
+ componentTypeId: string;
2642
+ codeBundle: string;
2643
+ variantName: string;
2644
+ tags?: string[] | undefined;
2645
+ aestheticId?: string | undefined;
2646
+ recommendedThemeId?: string | undefined;
2647
+ variantId?: string | undefined;
2648
+ changelogNote?: string | undefined;
2649
+ componentTypeName?: string | undefined;
2650
+ css?: string | undefined;
2651
+ componentTypeDescription?: string | undefined;
2652
+ variantDescription?: string | undefined;
2653
+ aestheticName?: string | undefined;
2654
+ aestheticDescription?: string | undefined;
2655
+ sourcePlatform?: "svelte" | "react" | "webcomponent" | undefined;
2656
+ }>;
2657
+ type IngestionInput = z.infer<typeof IngestionInputSchema>;
2658
+ declare const ThemeColorsSchema: z.ZodObject<{
2659
+ primary: z.ZodString;
2660
+ primaryForeground: z.ZodOptional<z.ZodString>;
2661
+ secondary: z.ZodOptional<z.ZodString>;
2662
+ secondaryForeground: z.ZodOptional<z.ZodString>;
2663
+ accent: z.ZodOptional<z.ZodString>;
2664
+ accentForeground: z.ZodOptional<z.ZodString>;
2665
+ background: z.ZodString;
2666
+ foreground: z.ZodString;
2667
+ surface: z.ZodOptional<z.ZodString>;
2668
+ surfaceForeground: z.ZodOptional<z.ZodString>;
2669
+ muted: z.ZodOptional<z.ZodString>;
2670
+ mutedForeground: z.ZodOptional<z.ZodString>;
2671
+ destructive: z.ZodOptional<z.ZodString>;
2672
+ destructiveForeground: z.ZodOptional<z.ZodString>;
2673
+ border: z.ZodOptional<z.ZodString>;
2674
+ ring: z.ZodOptional<z.ZodString>;
2675
+ customProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2676
+ }, "strip", z.ZodTypeAny, {
2677
+ primary: string;
2678
+ background: string;
2679
+ foreground: string;
2680
+ primaryForeground?: string | undefined;
2681
+ secondary?: string | undefined;
2682
+ secondaryForeground?: string | undefined;
2683
+ accent?: string | undefined;
2684
+ accentForeground?: string | undefined;
2685
+ surface?: string | undefined;
2686
+ surfaceForeground?: string | undefined;
2687
+ muted?: string | undefined;
2688
+ mutedForeground?: string | undefined;
2689
+ destructive?: string | undefined;
2690
+ destructiveForeground?: string | undefined;
2691
+ border?: string | undefined;
2692
+ ring?: string | undefined;
2693
+ customProperties?: Record<string, string> | undefined;
2694
+ }, {
2695
+ primary: string;
2696
+ background: string;
2697
+ foreground: string;
2698
+ primaryForeground?: string | undefined;
2699
+ secondary?: string | undefined;
2700
+ secondaryForeground?: string | undefined;
2701
+ accent?: string | undefined;
2702
+ accentForeground?: string | undefined;
2703
+ surface?: string | undefined;
2704
+ surfaceForeground?: string | undefined;
2705
+ muted?: string | undefined;
2706
+ mutedForeground?: string | undefined;
2707
+ destructive?: string | undefined;
2708
+ destructiveForeground?: string | undefined;
2709
+ border?: string | undefined;
2710
+ ring?: string | undefined;
2711
+ customProperties?: Record<string, string> | undefined;
2712
+ }>;
2713
+ type ThemeColors = z.infer<typeof ThemeColorsSchema>;
2714
+ declare const ThemeTypographyTokensSchema: z.ZodObject<{
2715
+ fontSans: z.ZodOptional<z.ZodString>;
2716
+ fontMono: z.ZodOptional<z.ZodString>;
2717
+ fontHeading: z.ZodOptional<z.ZodString>;
2718
+ fontImports: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2719
+ fontCss: z.ZodOptional<z.ZodString>;
2720
+ fontSize: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2721
+ fontWeight: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2722
+ }, "strip", z.ZodTypeAny, {
2723
+ fontSize?: Record<string, string> | undefined;
2724
+ fontSans?: string | undefined;
2725
+ fontMono?: string | undefined;
2726
+ fontHeading?: string | undefined;
2727
+ fontImports?: string[] | undefined;
2728
+ fontCss?: string | undefined;
2729
+ fontWeight?: Record<string, string> | undefined;
2730
+ }, {
2731
+ fontSize?: Record<string, string> | undefined;
2732
+ fontSans?: string | undefined;
2733
+ fontMono?: string | undefined;
2734
+ fontHeading?: string | undefined;
2735
+ fontImports?: string[] | undefined;
2736
+ fontCss?: string | undefined;
2737
+ fontWeight?: Record<string, string> | undefined;
2738
+ }>;
2739
+ type ThemeTypographyTokens = z.infer<typeof ThemeTypographyTokensSchema>;
2740
+ declare const ThemeTokensSchema: z.ZodObject<{
2741
+ colors: z.ZodObject<{
2742
+ light: z.ZodObject<{
2743
+ primary: z.ZodString;
2744
+ primaryForeground: z.ZodOptional<z.ZodString>;
2745
+ secondary: z.ZodOptional<z.ZodString>;
2746
+ secondaryForeground: z.ZodOptional<z.ZodString>;
2747
+ accent: z.ZodOptional<z.ZodString>;
2748
+ accentForeground: z.ZodOptional<z.ZodString>;
2749
+ background: z.ZodString;
2750
+ foreground: z.ZodString;
2751
+ surface: z.ZodOptional<z.ZodString>;
2752
+ surfaceForeground: z.ZodOptional<z.ZodString>;
2753
+ muted: z.ZodOptional<z.ZodString>;
2754
+ mutedForeground: z.ZodOptional<z.ZodString>;
2755
+ destructive: z.ZodOptional<z.ZodString>;
2756
+ destructiveForeground: z.ZodOptional<z.ZodString>;
2757
+ border: z.ZodOptional<z.ZodString>;
2758
+ ring: z.ZodOptional<z.ZodString>;
2759
+ customProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2760
+ }, "strip", z.ZodTypeAny, {
2761
+ primary: string;
2762
+ background: string;
2763
+ foreground: string;
2764
+ primaryForeground?: string | undefined;
2765
+ secondary?: string | undefined;
2766
+ secondaryForeground?: string | undefined;
2767
+ accent?: string | undefined;
2768
+ accentForeground?: string | undefined;
2769
+ surface?: string | undefined;
2770
+ surfaceForeground?: string | undefined;
2771
+ muted?: string | undefined;
2772
+ mutedForeground?: string | undefined;
2773
+ destructive?: string | undefined;
2774
+ destructiveForeground?: string | undefined;
2775
+ border?: string | undefined;
2776
+ ring?: string | undefined;
2777
+ customProperties?: Record<string, string> | undefined;
2778
+ }, {
2779
+ primary: string;
2780
+ background: string;
2781
+ foreground: string;
2782
+ primaryForeground?: string | undefined;
2783
+ secondary?: string | undefined;
2784
+ secondaryForeground?: string | undefined;
2785
+ accent?: string | undefined;
2786
+ accentForeground?: string | undefined;
2787
+ surface?: string | undefined;
2788
+ surfaceForeground?: string | undefined;
2789
+ muted?: string | undefined;
2790
+ mutedForeground?: string | undefined;
2791
+ destructive?: string | undefined;
2792
+ destructiveForeground?: string | undefined;
2793
+ border?: string | undefined;
2794
+ ring?: string | undefined;
2795
+ customProperties?: Record<string, string> | undefined;
2796
+ }>;
2797
+ dark: z.ZodOptional<z.ZodObject<{
2798
+ primary: z.ZodOptional<z.ZodString>;
2799
+ primaryForeground: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2800
+ secondary: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2801
+ secondaryForeground: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2802
+ accent: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2803
+ accentForeground: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2804
+ background: z.ZodOptional<z.ZodString>;
2805
+ foreground: z.ZodOptional<z.ZodString>;
2806
+ surface: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2807
+ surfaceForeground: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2808
+ muted: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2809
+ mutedForeground: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2810
+ destructive: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2811
+ destructiveForeground: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2812
+ border: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2813
+ ring: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2814
+ customProperties: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
2815
+ }, "strip", z.ZodTypeAny, {
2816
+ primary?: string | undefined;
2817
+ primaryForeground?: string | undefined;
2818
+ secondary?: string | undefined;
2819
+ secondaryForeground?: string | undefined;
2820
+ accent?: string | undefined;
2821
+ accentForeground?: string | undefined;
2822
+ background?: string | undefined;
2823
+ foreground?: string | undefined;
2824
+ surface?: string | undefined;
2825
+ surfaceForeground?: string | undefined;
2826
+ muted?: string | undefined;
2827
+ mutedForeground?: string | undefined;
2828
+ destructive?: string | undefined;
2829
+ destructiveForeground?: string | undefined;
2830
+ border?: string | undefined;
2831
+ ring?: string | undefined;
2832
+ customProperties?: Record<string, string> | undefined;
2833
+ }, {
2834
+ primary?: string | undefined;
2835
+ primaryForeground?: string | undefined;
2836
+ secondary?: string | undefined;
2837
+ secondaryForeground?: string | undefined;
2838
+ accent?: string | undefined;
2839
+ accentForeground?: string | undefined;
2840
+ background?: string | undefined;
2841
+ foreground?: string | undefined;
2842
+ surface?: string | undefined;
2843
+ surfaceForeground?: string | undefined;
2844
+ muted?: string | undefined;
2845
+ mutedForeground?: string | undefined;
2846
+ destructive?: string | undefined;
2847
+ destructiveForeground?: string | undefined;
2848
+ border?: string | undefined;
2849
+ ring?: string | undefined;
2850
+ customProperties?: Record<string, string> | undefined;
2851
+ }>>;
2852
+ }, "strip", z.ZodTypeAny, {
2853
+ light: {
2854
+ primary: string;
2855
+ background: string;
2856
+ foreground: string;
2857
+ primaryForeground?: string | undefined;
2858
+ secondary?: string | undefined;
2859
+ secondaryForeground?: string | undefined;
2860
+ accent?: string | undefined;
2861
+ accentForeground?: string | undefined;
2862
+ surface?: string | undefined;
2863
+ surfaceForeground?: string | undefined;
2864
+ muted?: string | undefined;
2865
+ mutedForeground?: string | undefined;
2866
+ destructive?: string | undefined;
2867
+ destructiveForeground?: string | undefined;
2868
+ border?: string | undefined;
2869
+ ring?: string | undefined;
2870
+ customProperties?: Record<string, string> | undefined;
2871
+ };
2872
+ dark?: {
2873
+ primary?: string | undefined;
2874
+ primaryForeground?: string | undefined;
2875
+ secondary?: string | undefined;
2876
+ secondaryForeground?: string | undefined;
2877
+ accent?: string | undefined;
2878
+ accentForeground?: string | undefined;
2879
+ background?: string | undefined;
2880
+ foreground?: string | undefined;
2881
+ surface?: string | undefined;
2882
+ surfaceForeground?: string | undefined;
2883
+ muted?: string | undefined;
2884
+ mutedForeground?: string | undefined;
2885
+ destructive?: string | undefined;
2886
+ destructiveForeground?: string | undefined;
2887
+ border?: string | undefined;
2888
+ ring?: string | undefined;
2889
+ customProperties?: Record<string, string> | undefined;
2890
+ } | undefined;
2891
+ }, {
2892
+ light: {
2893
+ primary: string;
2894
+ background: string;
2895
+ foreground: string;
2896
+ primaryForeground?: string | undefined;
2897
+ secondary?: string | undefined;
2898
+ secondaryForeground?: string | undefined;
2899
+ accent?: string | undefined;
2900
+ accentForeground?: string | undefined;
2901
+ surface?: string | undefined;
2902
+ surfaceForeground?: string | undefined;
2903
+ muted?: string | undefined;
2904
+ mutedForeground?: string | undefined;
2905
+ destructive?: string | undefined;
2906
+ destructiveForeground?: string | undefined;
2907
+ border?: string | undefined;
2908
+ ring?: string | undefined;
2909
+ customProperties?: Record<string, string> | undefined;
2910
+ };
2911
+ dark?: {
2912
+ primary?: string | undefined;
2913
+ primaryForeground?: string | undefined;
2914
+ secondary?: string | undefined;
2915
+ secondaryForeground?: string | undefined;
2916
+ accent?: string | undefined;
2917
+ accentForeground?: string | undefined;
2918
+ background?: string | undefined;
2919
+ foreground?: string | undefined;
2920
+ surface?: string | undefined;
2921
+ surfaceForeground?: string | undefined;
2922
+ muted?: string | undefined;
2923
+ mutedForeground?: string | undefined;
2924
+ destructive?: string | undefined;
2925
+ destructiveForeground?: string | undefined;
2926
+ border?: string | undefined;
2927
+ ring?: string | undefined;
2928
+ customProperties?: Record<string, string> | undefined;
2929
+ } | undefined;
2930
+ }>;
2931
+ typography: z.ZodOptional<z.ZodObject<{
2932
+ fontSans: z.ZodOptional<z.ZodString>;
2933
+ fontMono: z.ZodOptional<z.ZodString>;
2934
+ fontHeading: z.ZodOptional<z.ZodString>;
2935
+ fontImports: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2936
+ fontCss: z.ZodOptional<z.ZodString>;
2937
+ fontSize: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2938
+ fontWeight: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2939
+ }, "strip", z.ZodTypeAny, {
2940
+ fontSize?: Record<string, string> | undefined;
2941
+ fontSans?: string | undefined;
2942
+ fontMono?: string | undefined;
2943
+ fontHeading?: string | undefined;
2944
+ fontImports?: string[] | undefined;
2945
+ fontCss?: string | undefined;
2946
+ fontWeight?: Record<string, string> | undefined;
2947
+ }, {
2948
+ fontSize?: Record<string, string> | undefined;
2949
+ fontSans?: string | undefined;
2950
+ fontMono?: string | undefined;
2951
+ fontHeading?: string | undefined;
2952
+ fontImports?: string[] | undefined;
2953
+ fontCss?: string | undefined;
2954
+ fontWeight?: Record<string, string> | undefined;
2955
+ }>>;
2956
+ radii: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
2957
+ spacing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2958
+ paddings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2959
+ shadows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2960
+ }, "strip", z.ZodTypeAny, {
2961
+ colors: {
2962
+ light: {
2963
+ primary: string;
2964
+ background: string;
2965
+ foreground: string;
2966
+ primaryForeground?: string | undefined;
2967
+ secondary?: string | undefined;
2968
+ secondaryForeground?: string | undefined;
2969
+ accent?: string | undefined;
2970
+ accentForeground?: string | undefined;
2971
+ surface?: string | undefined;
2972
+ surfaceForeground?: string | undefined;
2973
+ muted?: string | undefined;
2974
+ mutedForeground?: string | undefined;
2975
+ destructive?: string | undefined;
2976
+ destructiveForeground?: string | undefined;
2977
+ border?: string | undefined;
2978
+ ring?: string | undefined;
2979
+ customProperties?: Record<string, string> | undefined;
2980
+ };
2981
+ dark?: {
2982
+ primary?: string | undefined;
2983
+ primaryForeground?: string | undefined;
2984
+ secondary?: string | undefined;
2985
+ secondaryForeground?: string | undefined;
2986
+ accent?: string | undefined;
2987
+ accentForeground?: string | undefined;
2988
+ background?: string | undefined;
2989
+ foreground?: string | undefined;
2990
+ surface?: string | undefined;
2991
+ surfaceForeground?: string | undefined;
2992
+ muted?: string | undefined;
2993
+ mutedForeground?: string | undefined;
2994
+ destructive?: string | undefined;
2995
+ destructiveForeground?: string | undefined;
2996
+ border?: string | undefined;
2997
+ ring?: string | undefined;
2998
+ customProperties?: Record<string, string> | undefined;
2999
+ } | undefined;
3000
+ };
3001
+ typography?: {
3002
+ fontSize?: Record<string, string> | undefined;
3003
+ fontSans?: string | undefined;
3004
+ fontMono?: string | undefined;
3005
+ fontHeading?: string | undefined;
3006
+ fontImports?: string[] | undefined;
3007
+ fontCss?: string | undefined;
3008
+ fontWeight?: Record<string, string> | undefined;
3009
+ } | undefined;
3010
+ radii?: Record<string, string | undefined> | undefined;
3011
+ spacing?: Record<string, string> | undefined;
3012
+ paddings?: Record<string, string> | undefined;
3013
+ shadows?: Record<string, string> | undefined;
3014
+ }, {
3015
+ colors: {
3016
+ light: {
3017
+ primary: string;
3018
+ background: string;
3019
+ foreground: string;
3020
+ primaryForeground?: string | undefined;
3021
+ secondary?: string | undefined;
3022
+ secondaryForeground?: string | undefined;
3023
+ accent?: string | undefined;
3024
+ accentForeground?: string | undefined;
3025
+ surface?: string | undefined;
3026
+ surfaceForeground?: string | undefined;
3027
+ muted?: string | undefined;
3028
+ mutedForeground?: string | undefined;
3029
+ destructive?: string | undefined;
3030
+ destructiveForeground?: string | undefined;
3031
+ border?: string | undefined;
3032
+ ring?: string | undefined;
3033
+ customProperties?: Record<string, string> | undefined;
3034
+ };
3035
+ dark?: {
3036
+ primary?: string | undefined;
3037
+ primaryForeground?: string | undefined;
3038
+ secondary?: string | undefined;
3039
+ secondaryForeground?: string | undefined;
3040
+ accent?: string | undefined;
3041
+ accentForeground?: string | undefined;
3042
+ background?: string | undefined;
3043
+ foreground?: string | undefined;
3044
+ surface?: string | undefined;
3045
+ surfaceForeground?: string | undefined;
3046
+ muted?: string | undefined;
3047
+ mutedForeground?: string | undefined;
3048
+ destructive?: string | undefined;
3049
+ destructiveForeground?: string | undefined;
3050
+ border?: string | undefined;
3051
+ ring?: string | undefined;
3052
+ customProperties?: Record<string, string> | undefined;
3053
+ } | undefined;
3054
+ };
3055
+ typography?: {
3056
+ fontSize?: Record<string, string> | undefined;
3057
+ fontSans?: string | undefined;
3058
+ fontMono?: string | undefined;
3059
+ fontHeading?: string | undefined;
3060
+ fontImports?: string[] | undefined;
3061
+ fontCss?: string | undefined;
3062
+ fontWeight?: Record<string, string> | undefined;
3063
+ } | undefined;
3064
+ radii?: Record<string, string | undefined> | undefined;
3065
+ spacing?: Record<string, string> | undefined;
3066
+ paddings?: Record<string, string> | undefined;
3067
+ shadows?: Record<string, string> | undefined;
3068
+ }>;
3069
+ type ThemeTokens = z.infer<typeof ThemeTokensSchema>;
3070
+ declare const ThemeSchema: z.ZodObject<{
3071
+ id: z.ZodString;
3072
+ name: z.ZodString;
3073
+ description: z.ZodOptional<z.ZodString>;
3074
+ tokens: z.ZodObject<{
3075
+ colors: z.ZodObject<{
3076
+ light: z.ZodObject<{
3077
+ primary: z.ZodString;
3078
+ primaryForeground: z.ZodOptional<z.ZodString>;
3079
+ secondary: z.ZodOptional<z.ZodString>;
3080
+ secondaryForeground: z.ZodOptional<z.ZodString>;
3081
+ accent: z.ZodOptional<z.ZodString>;
3082
+ accentForeground: z.ZodOptional<z.ZodString>;
3083
+ background: z.ZodString;
3084
+ foreground: z.ZodString;
3085
+ surface: z.ZodOptional<z.ZodString>;
3086
+ surfaceForeground: z.ZodOptional<z.ZodString>;
3087
+ muted: z.ZodOptional<z.ZodString>;
3088
+ mutedForeground: z.ZodOptional<z.ZodString>;
3089
+ destructive: z.ZodOptional<z.ZodString>;
3090
+ destructiveForeground: z.ZodOptional<z.ZodString>;
3091
+ border: z.ZodOptional<z.ZodString>;
3092
+ ring: z.ZodOptional<z.ZodString>;
3093
+ customProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3094
+ }, "strip", z.ZodTypeAny, {
3095
+ primary: string;
3096
+ background: string;
3097
+ foreground: string;
3098
+ primaryForeground?: string | undefined;
3099
+ secondary?: string | undefined;
3100
+ secondaryForeground?: string | undefined;
3101
+ accent?: string | undefined;
3102
+ accentForeground?: string | undefined;
3103
+ surface?: string | undefined;
3104
+ surfaceForeground?: string | undefined;
3105
+ muted?: string | undefined;
3106
+ mutedForeground?: string | undefined;
3107
+ destructive?: string | undefined;
3108
+ destructiveForeground?: string | undefined;
3109
+ border?: string | undefined;
3110
+ ring?: string | undefined;
3111
+ customProperties?: Record<string, string> | undefined;
3112
+ }, {
3113
+ primary: string;
3114
+ background: string;
3115
+ foreground: string;
3116
+ primaryForeground?: string | undefined;
3117
+ secondary?: string | undefined;
3118
+ secondaryForeground?: string | undefined;
3119
+ accent?: string | undefined;
3120
+ accentForeground?: string | undefined;
3121
+ surface?: string | undefined;
3122
+ surfaceForeground?: string | undefined;
3123
+ muted?: string | undefined;
3124
+ mutedForeground?: string | undefined;
3125
+ destructive?: string | undefined;
3126
+ destructiveForeground?: string | undefined;
3127
+ border?: string | undefined;
3128
+ ring?: string | undefined;
3129
+ customProperties?: Record<string, string> | undefined;
3130
+ }>;
3131
+ dark: z.ZodOptional<z.ZodObject<{
3132
+ primary: z.ZodOptional<z.ZodString>;
3133
+ primaryForeground: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3134
+ secondary: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3135
+ secondaryForeground: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3136
+ accent: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3137
+ accentForeground: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3138
+ background: z.ZodOptional<z.ZodString>;
3139
+ foreground: z.ZodOptional<z.ZodString>;
3140
+ surface: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3141
+ surfaceForeground: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3142
+ muted: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3143
+ mutedForeground: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3144
+ destructive: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3145
+ destructiveForeground: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3146
+ border: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3147
+ ring: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3148
+ customProperties: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
3149
+ }, "strip", z.ZodTypeAny, {
3150
+ primary?: string | undefined;
3151
+ primaryForeground?: string | undefined;
3152
+ secondary?: string | undefined;
3153
+ secondaryForeground?: string | undefined;
3154
+ accent?: string | undefined;
3155
+ accentForeground?: string | undefined;
3156
+ background?: string | undefined;
3157
+ foreground?: string | undefined;
3158
+ surface?: string | undefined;
3159
+ surfaceForeground?: string | undefined;
3160
+ muted?: string | undefined;
3161
+ mutedForeground?: string | undefined;
3162
+ destructive?: string | undefined;
3163
+ destructiveForeground?: string | undefined;
3164
+ border?: string | undefined;
3165
+ ring?: string | undefined;
3166
+ customProperties?: Record<string, string> | undefined;
3167
+ }, {
3168
+ primary?: string | undefined;
3169
+ primaryForeground?: string | undefined;
3170
+ secondary?: string | undefined;
3171
+ secondaryForeground?: string | undefined;
3172
+ accent?: string | undefined;
3173
+ accentForeground?: string | undefined;
3174
+ background?: string | undefined;
3175
+ foreground?: string | undefined;
3176
+ surface?: string | undefined;
3177
+ surfaceForeground?: string | undefined;
3178
+ muted?: string | undefined;
3179
+ mutedForeground?: string | undefined;
3180
+ destructive?: string | undefined;
3181
+ destructiveForeground?: string | undefined;
3182
+ border?: string | undefined;
3183
+ ring?: string | undefined;
3184
+ customProperties?: Record<string, string> | undefined;
3185
+ }>>;
3186
+ }, "strip", z.ZodTypeAny, {
3187
+ light: {
3188
+ primary: string;
3189
+ background: string;
3190
+ foreground: string;
3191
+ primaryForeground?: string | undefined;
3192
+ secondary?: string | undefined;
3193
+ secondaryForeground?: string | undefined;
3194
+ accent?: string | undefined;
3195
+ accentForeground?: string | undefined;
3196
+ surface?: string | undefined;
3197
+ surfaceForeground?: string | undefined;
3198
+ muted?: string | undefined;
3199
+ mutedForeground?: string | undefined;
3200
+ destructive?: string | undefined;
3201
+ destructiveForeground?: string | undefined;
3202
+ border?: string | undefined;
3203
+ ring?: string | undefined;
3204
+ customProperties?: Record<string, string> | undefined;
3205
+ };
3206
+ dark?: {
3207
+ primary?: string | undefined;
3208
+ primaryForeground?: string | undefined;
3209
+ secondary?: string | undefined;
3210
+ secondaryForeground?: string | undefined;
3211
+ accent?: string | undefined;
3212
+ accentForeground?: string | undefined;
3213
+ background?: string | undefined;
3214
+ foreground?: string | undefined;
3215
+ surface?: string | undefined;
3216
+ surfaceForeground?: string | undefined;
3217
+ muted?: string | undefined;
3218
+ mutedForeground?: string | undefined;
3219
+ destructive?: string | undefined;
3220
+ destructiveForeground?: string | undefined;
3221
+ border?: string | undefined;
3222
+ ring?: string | undefined;
3223
+ customProperties?: Record<string, string> | undefined;
3224
+ } | undefined;
3225
+ }, {
3226
+ light: {
3227
+ primary: string;
3228
+ background: string;
3229
+ foreground: string;
3230
+ primaryForeground?: string | undefined;
3231
+ secondary?: string | undefined;
3232
+ secondaryForeground?: string | undefined;
3233
+ accent?: string | undefined;
3234
+ accentForeground?: string | undefined;
3235
+ surface?: string | undefined;
3236
+ surfaceForeground?: string | undefined;
3237
+ muted?: string | undefined;
3238
+ mutedForeground?: string | undefined;
3239
+ destructive?: string | undefined;
3240
+ destructiveForeground?: string | undefined;
3241
+ border?: string | undefined;
3242
+ ring?: string | undefined;
3243
+ customProperties?: Record<string, string> | undefined;
3244
+ };
3245
+ dark?: {
3246
+ primary?: string | undefined;
3247
+ primaryForeground?: string | undefined;
3248
+ secondary?: string | undefined;
3249
+ secondaryForeground?: string | undefined;
3250
+ accent?: string | undefined;
3251
+ accentForeground?: string | undefined;
3252
+ background?: string | undefined;
3253
+ foreground?: string | undefined;
3254
+ surface?: string | undefined;
3255
+ surfaceForeground?: string | undefined;
3256
+ muted?: string | undefined;
3257
+ mutedForeground?: string | undefined;
3258
+ destructive?: string | undefined;
3259
+ destructiveForeground?: string | undefined;
3260
+ border?: string | undefined;
3261
+ ring?: string | undefined;
3262
+ customProperties?: Record<string, string> | undefined;
3263
+ } | undefined;
3264
+ }>;
3265
+ typography: z.ZodOptional<z.ZodObject<{
3266
+ fontSans: z.ZodOptional<z.ZodString>;
3267
+ fontMono: z.ZodOptional<z.ZodString>;
3268
+ fontHeading: z.ZodOptional<z.ZodString>;
3269
+ fontImports: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3270
+ fontCss: z.ZodOptional<z.ZodString>;
3271
+ fontSize: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3272
+ fontWeight: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3273
+ }, "strip", z.ZodTypeAny, {
3274
+ fontSize?: Record<string, string> | undefined;
3275
+ fontSans?: string | undefined;
3276
+ fontMono?: string | undefined;
3277
+ fontHeading?: string | undefined;
3278
+ fontImports?: string[] | undefined;
3279
+ fontCss?: string | undefined;
3280
+ fontWeight?: Record<string, string> | undefined;
3281
+ }, {
3282
+ fontSize?: Record<string, string> | undefined;
3283
+ fontSans?: string | undefined;
3284
+ fontMono?: string | undefined;
3285
+ fontHeading?: string | undefined;
3286
+ fontImports?: string[] | undefined;
3287
+ fontCss?: string | undefined;
3288
+ fontWeight?: Record<string, string> | undefined;
3289
+ }>>;
3290
+ radii: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
3291
+ spacing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3292
+ paddings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3293
+ shadows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3294
+ }, "strip", z.ZodTypeAny, {
3295
+ colors: {
3296
+ light: {
3297
+ primary: string;
3298
+ background: string;
3299
+ foreground: string;
3300
+ primaryForeground?: string | undefined;
3301
+ secondary?: string | undefined;
3302
+ secondaryForeground?: string | undefined;
3303
+ accent?: string | undefined;
3304
+ accentForeground?: string | undefined;
3305
+ surface?: string | undefined;
3306
+ surfaceForeground?: string | undefined;
3307
+ muted?: string | undefined;
3308
+ mutedForeground?: string | undefined;
3309
+ destructive?: string | undefined;
3310
+ destructiveForeground?: string | undefined;
3311
+ border?: string | undefined;
3312
+ ring?: string | undefined;
3313
+ customProperties?: Record<string, string> | undefined;
3314
+ };
3315
+ dark?: {
3316
+ primary?: string | undefined;
3317
+ primaryForeground?: string | undefined;
3318
+ secondary?: string | undefined;
3319
+ secondaryForeground?: string | undefined;
3320
+ accent?: string | undefined;
3321
+ accentForeground?: string | undefined;
3322
+ background?: string | undefined;
3323
+ foreground?: string | undefined;
3324
+ surface?: string | undefined;
3325
+ surfaceForeground?: string | undefined;
3326
+ muted?: string | undefined;
3327
+ mutedForeground?: string | undefined;
3328
+ destructive?: string | undefined;
3329
+ destructiveForeground?: string | undefined;
3330
+ border?: string | undefined;
3331
+ ring?: string | undefined;
3332
+ customProperties?: Record<string, string> | undefined;
3333
+ } | undefined;
3334
+ };
3335
+ typography?: {
3336
+ fontSize?: Record<string, string> | undefined;
3337
+ fontSans?: string | undefined;
3338
+ fontMono?: string | undefined;
3339
+ fontHeading?: string | undefined;
3340
+ fontImports?: string[] | undefined;
3341
+ fontCss?: string | undefined;
3342
+ fontWeight?: Record<string, string> | undefined;
3343
+ } | undefined;
3344
+ radii?: Record<string, string | undefined> | undefined;
3345
+ spacing?: Record<string, string> | undefined;
3346
+ paddings?: Record<string, string> | undefined;
3347
+ shadows?: Record<string, string> | undefined;
3348
+ }, {
3349
+ colors: {
3350
+ light: {
3351
+ primary: string;
3352
+ background: string;
3353
+ foreground: string;
3354
+ primaryForeground?: string | undefined;
3355
+ secondary?: string | undefined;
3356
+ secondaryForeground?: string | undefined;
3357
+ accent?: string | undefined;
3358
+ accentForeground?: string | undefined;
3359
+ surface?: string | undefined;
3360
+ surfaceForeground?: string | undefined;
3361
+ muted?: string | undefined;
3362
+ mutedForeground?: string | undefined;
3363
+ destructive?: string | undefined;
3364
+ destructiveForeground?: string | undefined;
3365
+ border?: string | undefined;
3366
+ ring?: string | undefined;
3367
+ customProperties?: Record<string, string> | undefined;
3368
+ };
3369
+ dark?: {
3370
+ primary?: string | undefined;
3371
+ primaryForeground?: string | undefined;
3372
+ secondary?: string | undefined;
3373
+ secondaryForeground?: string | undefined;
3374
+ accent?: string | undefined;
3375
+ accentForeground?: string | undefined;
3376
+ background?: string | undefined;
3377
+ foreground?: string | undefined;
3378
+ surface?: string | undefined;
3379
+ surfaceForeground?: string | undefined;
3380
+ muted?: string | undefined;
3381
+ mutedForeground?: string | undefined;
3382
+ destructive?: string | undefined;
3383
+ destructiveForeground?: string | undefined;
3384
+ border?: string | undefined;
3385
+ ring?: string | undefined;
3386
+ customProperties?: Record<string, string> | undefined;
3387
+ } | undefined;
3388
+ };
3389
+ typography?: {
3390
+ fontSize?: Record<string, string> | undefined;
3391
+ fontSans?: string | undefined;
3392
+ fontMono?: string | undefined;
3393
+ fontHeading?: string | undefined;
3394
+ fontImports?: string[] | undefined;
3395
+ fontCss?: string | undefined;
3396
+ fontWeight?: Record<string, string> | undefined;
3397
+ } | undefined;
3398
+ radii?: Record<string, string | undefined> | undefined;
3399
+ spacing?: Record<string, string> | undefined;
3400
+ paddings?: Record<string, string> | undefined;
3401
+ shadows?: Record<string, string> | undefined;
3402
+ }>;
3403
+ supportsDarkMode: z.ZodOptional<z.ZodBoolean>;
3404
+ isSystem: z.ZodOptional<z.ZodBoolean>;
3405
+ createdAt: z.ZodString;
3406
+ updatedAt: z.ZodString;
3407
+ }, "strip", z.ZodTypeAny, {
3408
+ name: string;
3409
+ id: string;
3410
+ createdAt: string;
3411
+ updatedAt: string;
3412
+ tokens: {
3413
+ colors: {
3414
+ light: {
3415
+ primary: string;
3416
+ background: string;
3417
+ foreground: string;
3418
+ primaryForeground?: string | undefined;
3419
+ secondary?: string | undefined;
3420
+ secondaryForeground?: string | undefined;
3421
+ accent?: string | undefined;
3422
+ accentForeground?: string | undefined;
3423
+ surface?: string | undefined;
3424
+ surfaceForeground?: string | undefined;
3425
+ muted?: string | undefined;
3426
+ mutedForeground?: string | undefined;
3427
+ destructive?: string | undefined;
3428
+ destructiveForeground?: string | undefined;
3429
+ border?: string | undefined;
3430
+ ring?: string | undefined;
3431
+ customProperties?: Record<string, string> | undefined;
3432
+ };
3433
+ dark?: {
3434
+ primary?: string | undefined;
3435
+ primaryForeground?: string | undefined;
3436
+ secondary?: string | undefined;
3437
+ secondaryForeground?: string | undefined;
3438
+ accent?: string | undefined;
3439
+ accentForeground?: string | undefined;
3440
+ background?: string | undefined;
3441
+ foreground?: string | undefined;
3442
+ surface?: string | undefined;
3443
+ surfaceForeground?: string | undefined;
3444
+ muted?: string | undefined;
3445
+ mutedForeground?: string | undefined;
3446
+ destructive?: string | undefined;
3447
+ destructiveForeground?: string | undefined;
3448
+ border?: string | undefined;
3449
+ ring?: string | undefined;
3450
+ customProperties?: Record<string, string> | undefined;
3451
+ } | undefined;
3452
+ };
3453
+ typography?: {
3454
+ fontSize?: Record<string, string> | undefined;
3455
+ fontSans?: string | undefined;
3456
+ fontMono?: string | undefined;
3457
+ fontHeading?: string | undefined;
3458
+ fontImports?: string[] | undefined;
3459
+ fontCss?: string | undefined;
3460
+ fontWeight?: Record<string, string> | undefined;
3461
+ } | undefined;
3462
+ radii?: Record<string, string | undefined> | undefined;
3463
+ spacing?: Record<string, string> | undefined;
3464
+ paddings?: Record<string, string> | undefined;
3465
+ shadows?: Record<string, string> | undefined;
3466
+ };
3467
+ description?: string | undefined;
3468
+ supportsDarkMode?: boolean | undefined;
3469
+ isSystem?: boolean | undefined;
3470
+ }, {
3471
+ name: string;
3472
+ id: string;
3473
+ createdAt: string;
3474
+ updatedAt: string;
3475
+ tokens: {
3476
+ colors: {
3477
+ light: {
3478
+ primary: string;
3479
+ background: string;
3480
+ foreground: string;
3481
+ primaryForeground?: string | undefined;
3482
+ secondary?: string | undefined;
3483
+ secondaryForeground?: string | undefined;
3484
+ accent?: string | undefined;
3485
+ accentForeground?: string | undefined;
3486
+ surface?: string | undefined;
3487
+ surfaceForeground?: string | undefined;
3488
+ muted?: string | undefined;
3489
+ mutedForeground?: string | undefined;
3490
+ destructive?: string | undefined;
3491
+ destructiveForeground?: string | undefined;
3492
+ border?: string | undefined;
3493
+ ring?: string | undefined;
3494
+ customProperties?: Record<string, string> | undefined;
3495
+ };
3496
+ dark?: {
3497
+ primary?: string | undefined;
3498
+ primaryForeground?: string | undefined;
3499
+ secondary?: string | undefined;
3500
+ secondaryForeground?: string | undefined;
3501
+ accent?: string | undefined;
3502
+ accentForeground?: string | undefined;
3503
+ background?: string | undefined;
3504
+ foreground?: string | undefined;
3505
+ surface?: string | undefined;
3506
+ surfaceForeground?: string | undefined;
3507
+ muted?: string | undefined;
3508
+ mutedForeground?: string | undefined;
3509
+ destructive?: string | undefined;
3510
+ destructiveForeground?: string | undefined;
3511
+ border?: string | undefined;
3512
+ ring?: string | undefined;
3513
+ customProperties?: Record<string, string> | undefined;
3514
+ } | undefined;
3515
+ };
3516
+ typography?: {
3517
+ fontSize?: Record<string, string> | undefined;
3518
+ fontSans?: string | undefined;
3519
+ fontMono?: string | undefined;
3520
+ fontHeading?: string | undefined;
3521
+ fontImports?: string[] | undefined;
3522
+ fontCss?: string | undefined;
3523
+ fontWeight?: Record<string, string> | undefined;
3524
+ } | undefined;
3525
+ radii?: Record<string, string | undefined> | undefined;
3526
+ spacing?: Record<string, string> | undefined;
3527
+ paddings?: Record<string, string> | undefined;
3528
+ shadows?: Record<string, string> | undefined;
3529
+ };
3530
+ description?: string | undefined;
3531
+ supportsDarkMode?: boolean | undefined;
3532
+ isSystem?: boolean | undefined;
3533
+ }>;
3534
+ type Theme = z.infer<typeof ThemeSchema>;
3535
+ declare const ThemeIngestionInputSchema: z.ZodObject<{
3536
+ id: z.ZodOptional<z.ZodString>;
3537
+ name: z.ZodString;
3538
+ description: z.ZodOptional<z.ZodString>;
3539
+ tokens: z.ZodOptional<z.ZodObject<{
3540
+ colors: z.ZodObject<{
3541
+ light: z.ZodObject<{
3542
+ primary: z.ZodString;
3543
+ primaryForeground: z.ZodOptional<z.ZodString>;
3544
+ secondary: z.ZodOptional<z.ZodString>;
3545
+ secondaryForeground: z.ZodOptional<z.ZodString>;
3546
+ accent: z.ZodOptional<z.ZodString>;
3547
+ accentForeground: z.ZodOptional<z.ZodString>;
3548
+ background: z.ZodString;
3549
+ foreground: z.ZodString;
3550
+ surface: z.ZodOptional<z.ZodString>;
3551
+ surfaceForeground: z.ZodOptional<z.ZodString>;
3552
+ muted: z.ZodOptional<z.ZodString>;
3553
+ mutedForeground: z.ZodOptional<z.ZodString>;
3554
+ destructive: z.ZodOptional<z.ZodString>;
3555
+ destructiveForeground: z.ZodOptional<z.ZodString>;
3556
+ border: z.ZodOptional<z.ZodString>;
3557
+ ring: z.ZodOptional<z.ZodString>;
3558
+ customProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3559
+ }, "strip", z.ZodTypeAny, {
3560
+ primary: string;
3561
+ background: string;
3562
+ foreground: string;
3563
+ primaryForeground?: string | undefined;
3564
+ secondary?: string | undefined;
3565
+ secondaryForeground?: string | undefined;
3566
+ accent?: string | undefined;
3567
+ accentForeground?: string | undefined;
3568
+ surface?: string | undefined;
3569
+ surfaceForeground?: string | undefined;
3570
+ muted?: string | undefined;
3571
+ mutedForeground?: string | undefined;
3572
+ destructive?: string | undefined;
3573
+ destructiveForeground?: string | undefined;
3574
+ border?: string | undefined;
3575
+ ring?: string | undefined;
3576
+ customProperties?: Record<string, string> | undefined;
3577
+ }, {
3578
+ primary: string;
3579
+ background: string;
3580
+ foreground: string;
3581
+ primaryForeground?: string | undefined;
3582
+ secondary?: string | undefined;
3583
+ secondaryForeground?: string | undefined;
3584
+ accent?: string | undefined;
3585
+ accentForeground?: string | undefined;
3586
+ surface?: string | undefined;
3587
+ surfaceForeground?: string | undefined;
3588
+ muted?: string | undefined;
3589
+ mutedForeground?: string | undefined;
3590
+ destructive?: string | undefined;
3591
+ destructiveForeground?: string | undefined;
3592
+ border?: string | undefined;
3593
+ ring?: string | undefined;
3594
+ customProperties?: Record<string, string> | undefined;
3595
+ }>;
3596
+ dark: z.ZodOptional<z.ZodObject<{
3597
+ primary: z.ZodOptional<z.ZodString>;
3598
+ primaryForeground: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3599
+ secondary: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3600
+ secondaryForeground: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3601
+ accent: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3602
+ accentForeground: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3603
+ background: z.ZodOptional<z.ZodString>;
3604
+ foreground: z.ZodOptional<z.ZodString>;
3605
+ surface: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3606
+ surfaceForeground: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3607
+ muted: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3608
+ mutedForeground: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3609
+ destructive: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3610
+ destructiveForeground: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3611
+ border: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3612
+ ring: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3613
+ customProperties: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
3614
+ }, "strip", z.ZodTypeAny, {
3615
+ primary?: string | undefined;
3616
+ primaryForeground?: string | undefined;
3617
+ secondary?: string | undefined;
3618
+ secondaryForeground?: string | undefined;
3619
+ accent?: string | undefined;
3620
+ accentForeground?: string | undefined;
3621
+ background?: string | undefined;
3622
+ foreground?: string | undefined;
3623
+ surface?: string | undefined;
3624
+ surfaceForeground?: string | undefined;
3625
+ muted?: string | undefined;
3626
+ mutedForeground?: string | undefined;
3627
+ destructive?: string | undefined;
3628
+ destructiveForeground?: string | undefined;
3629
+ border?: string | undefined;
3630
+ ring?: string | undefined;
3631
+ customProperties?: Record<string, string> | undefined;
3632
+ }, {
3633
+ primary?: string | undefined;
3634
+ primaryForeground?: string | undefined;
3635
+ secondary?: string | undefined;
3636
+ secondaryForeground?: string | undefined;
3637
+ accent?: string | undefined;
3638
+ accentForeground?: string | undefined;
3639
+ background?: string | undefined;
3640
+ foreground?: string | undefined;
3641
+ surface?: string | undefined;
3642
+ surfaceForeground?: string | undefined;
3643
+ muted?: string | undefined;
3644
+ mutedForeground?: string | undefined;
3645
+ destructive?: string | undefined;
3646
+ destructiveForeground?: string | undefined;
3647
+ border?: string | undefined;
3648
+ ring?: string | undefined;
3649
+ customProperties?: Record<string, string> | undefined;
3650
+ }>>;
3651
+ }, "strip", z.ZodTypeAny, {
3652
+ light: {
3653
+ primary: string;
3654
+ background: string;
3655
+ foreground: string;
3656
+ primaryForeground?: string | undefined;
3657
+ secondary?: string | undefined;
3658
+ secondaryForeground?: string | undefined;
3659
+ accent?: string | undefined;
3660
+ accentForeground?: string | undefined;
3661
+ surface?: string | undefined;
3662
+ surfaceForeground?: string | undefined;
3663
+ muted?: string | undefined;
3664
+ mutedForeground?: string | undefined;
3665
+ destructive?: string | undefined;
3666
+ destructiveForeground?: string | undefined;
3667
+ border?: string | undefined;
3668
+ ring?: string | undefined;
3669
+ customProperties?: Record<string, string> | undefined;
3670
+ };
3671
+ dark?: {
3672
+ primary?: string | undefined;
3673
+ primaryForeground?: string | undefined;
3674
+ secondary?: string | undefined;
3675
+ secondaryForeground?: string | undefined;
3676
+ accent?: string | undefined;
3677
+ accentForeground?: string | undefined;
3678
+ background?: string | undefined;
3679
+ foreground?: string | undefined;
3680
+ surface?: string | undefined;
3681
+ surfaceForeground?: string | undefined;
3682
+ muted?: string | undefined;
3683
+ mutedForeground?: string | undefined;
3684
+ destructive?: string | undefined;
3685
+ destructiveForeground?: string | undefined;
3686
+ border?: string | undefined;
3687
+ ring?: string | undefined;
3688
+ customProperties?: Record<string, string> | undefined;
3689
+ } | undefined;
3690
+ }, {
3691
+ light: {
3692
+ primary: string;
3693
+ background: string;
3694
+ foreground: string;
3695
+ primaryForeground?: string | undefined;
3696
+ secondary?: string | undefined;
3697
+ secondaryForeground?: string | undefined;
3698
+ accent?: string | undefined;
3699
+ accentForeground?: string | undefined;
3700
+ surface?: string | undefined;
3701
+ surfaceForeground?: string | undefined;
3702
+ muted?: string | undefined;
3703
+ mutedForeground?: string | undefined;
3704
+ destructive?: string | undefined;
3705
+ destructiveForeground?: string | undefined;
3706
+ border?: string | undefined;
3707
+ ring?: string | undefined;
3708
+ customProperties?: Record<string, string> | undefined;
3709
+ };
3710
+ dark?: {
3711
+ primary?: string | undefined;
3712
+ primaryForeground?: string | undefined;
3713
+ secondary?: string | undefined;
3714
+ secondaryForeground?: string | undefined;
3715
+ accent?: string | undefined;
3716
+ accentForeground?: string | undefined;
3717
+ background?: string | undefined;
3718
+ foreground?: string | undefined;
3719
+ surface?: string | undefined;
3720
+ surfaceForeground?: string | undefined;
3721
+ muted?: string | undefined;
3722
+ mutedForeground?: string | undefined;
3723
+ destructive?: string | undefined;
3724
+ destructiveForeground?: string | undefined;
3725
+ border?: string | undefined;
3726
+ ring?: string | undefined;
3727
+ customProperties?: Record<string, string> | undefined;
3728
+ } | undefined;
3729
+ }>;
3730
+ typography: z.ZodOptional<z.ZodObject<{
3731
+ fontSans: z.ZodOptional<z.ZodString>;
3732
+ fontMono: z.ZodOptional<z.ZodString>;
3733
+ fontHeading: z.ZodOptional<z.ZodString>;
3734
+ fontImports: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3735
+ fontCss: z.ZodOptional<z.ZodString>;
3736
+ fontSize: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3737
+ fontWeight: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3738
+ }, "strip", z.ZodTypeAny, {
3739
+ fontSize?: Record<string, string> | undefined;
3740
+ fontSans?: string | undefined;
3741
+ fontMono?: string | undefined;
3742
+ fontHeading?: string | undefined;
3743
+ fontImports?: string[] | undefined;
3744
+ fontCss?: string | undefined;
3745
+ fontWeight?: Record<string, string> | undefined;
3746
+ }, {
3747
+ fontSize?: Record<string, string> | undefined;
3748
+ fontSans?: string | undefined;
3749
+ fontMono?: string | undefined;
3750
+ fontHeading?: string | undefined;
3751
+ fontImports?: string[] | undefined;
3752
+ fontCss?: string | undefined;
3753
+ fontWeight?: Record<string, string> | undefined;
3754
+ }>>;
3755
+ radii: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
3756
+ spacing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3757
+ paddings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3758
+ shadows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3759
+ }, "strip", z.ZodTypeAny, {
3760
+ colors: {
3761
+ light: {
3762
+ primary: string;
3763
+ background: string;
3764
+ foreground: string;
3765
+ primaryForeground?: string | undefined;
3766
+ secondary?: string | undefined;
3767
+ secondaryForeground?: string | undefined;
3768
+ accent?: string | undefined;
3769
+ accentForeground?: string | undefined;
3770
+ surface?: string | undefined;
3771
+ surfaceForeground?: string | undefined;
3772
+ muted?: string | undefined;
3773
+ mutedForeground?: string | undefined;
3774
+ destructive?: string | undefined;
3775
+ destructiveForeground?: string | undefined;
3776
+ border?: string | undefined;
3777
+ ring?: string | undefined;
3778
+ customProperties?: Record<string, string> | undefined;
3779
+ };
3780
+ dark?: {
3781
+ primary?: string | undefined;
3782
+ primaryForeground?: string | undefined;
3783
+ secondary?: string | undefined;
3784
+ secondaryForeground?: string | undefined;
3785
+ accent?: string | undefined;
3786
+ accentForeground?: string | undefined;
3787
+ background?: string | undefined;
3788
+ foreground?: string | undefined;
3789
+ surface?: string | undefined;
3790
+ surfaceForeground?: string | undefined;
3791
+ muted?: string | undefined;
3792
+ mutedForeground?: string | undefined;
3793
+ destructive?: string | undefined;
3794
+ destructiveForeground?: string | undefined;
3795
+ border?: string | undefined;
3796
+ ring?: string | undefined;
3797
+ customProperties?: Record<string, string> | undefined;
3798
+ } | undefined;
3799
+ };
3800
+ typography?: {
3801
+ fontSize?: Record<string, string> | undefined;
3802
+ fontSans?: string | undefined;
3803
+ fontMono?: string | undefined;
3804
+ fontHeading?: string | undefined;
3805
+ fontImports?: string[] | undefined;
3806
+ fontCss?: string | undefined;
3807
+ fontWeight?: Record<string, string> | undefined;
3808
+ } | undefined;
3809
+ radii?: Record<string, string | undefined> | undefined;
3810
+ spacing?: Record<string, string> | undefined;
3811
+ paddings?: Record<string, string> | undefined;
3812
+ shadows?: Record<string, string> | undefined;
3813
+ }, {
3814
+ colors: {
3815
+ light: {
3816
+ primary: string;
3817
+ background: string;
3818
+ foreground: string;
3819
+ primaryForeground?: string | undefined;
3820
+ secondary?: string | undefined;
3821
+ secondaryForeground?: string | undefined;
3822
+ accent?: string | undefined;
3823
+ accentForeground?: string | undefined;
3824
+ surface?: string | undefined;
3825
+ surfaceForeground?: string | undefined;
3826
+ muted?: string | undefined;
3827
+ mutedForeground?: string | undefined;
3828
+ destructive?: string | undefined;
3829
+ destructiveForeground?: string | undefined;
3830
+ border?: string | undefined;
3831
+ ring?: string | undefined;
3832
+ customProperties?: Record<string, string> | undefined;
3833
+ };
3834
+ dark?: {
3835
+ primary?: string | undefined;
3836
+ primaryForeground?: string | undefined;
3837
+ secondary?: string | undefined;
3838
+ secondaryForeground?: string | undefined;
3839
+ accent?: string | undefined;
3840
+ accentForeground?: string | undefined;
3841
+ background?: string | undefined;
3842
+ foreground?: string | undefined;
3843
+ surface?: string | undefined;
3844
+ surfaceForeground?: string | undefined;
3845
+ muted?: string | undefined;
3846
+ mutedForeground?: string | undefined;
3847
+ destructive?: string | undefined;
3848
+ destructiveForeground?: string | undefined;
3849
+ border?: string | undefined;
3850
+ ring?: string | undefined;
3851
+ customProperties?: Record<string, string> | undefined;
3852
+ } | undefined;
3853
+ };
3854
+ typography?: {
3855
+ fontSize?: Record<string, string> | undefined;
3856
+ fontSans?: string | undefined;
3857
+ fontMono?: string | undefined;
3858
+ fontHeading?: string | undefined;
3859
+ fontImports?: string[] | undefined;
3860
+ fontCss?: string | undefined;
3861
+ fontWeight?: Record<string, string> | undefined;
3862
+ } | undefined;
3863
+ radii?: Record<string, string | undefined> | undefined;
3864
+ spacing?: Record<string, string> | undefined;
3865
+ paddings?: Record<string, string> | undefined;
3866
+ shadows?: Record<string, string> | undefined;
3867
+ }>>;
3868
+ rawCss: z.ZodOptional<z.ZodString>;
3869
+ supportsDarkMode: z.ZodOptional<z.ZodBoolean>;
3870
+ isSystem: z.ZodOptional<z.ZodBoolean>;
3871
+ }, "strip", z.ZodTypeAny, {
3872
+ name: string;
3873
+ description?: string | undefined;
3874
+ id?: string | undefined;
3875
+ tokens?: {
3876
+ colors: {
3877
+ light: {
3878
+ primary: string;
3879
+ background: string;
3880
+ foreground: string;
3881
+ primaryForeground?: string | undefined;
3882
+ secondary?: string | undefined;
3883
+ secondaryForeground?: string | undefined;
3884
+ accent?: string | undefined;
3885
+ accentForeground?: string | undefined;
3886
+ surface?: string | undefined;
3887
+ surfaceForeground?: string | undefined;
3888
+ muted?: string | undefined;
3889
+ mutedForeground?: string | undefined;
3890
+ destructive?: string | undefined;
3891
+ destructiveForeground?: string | undefined;
3892
+ border?: string | undefined;
3893
+ ring?: string | undefined;
3894
+ customProperties?: Record<string, string> | undefined;
3895
+ };
3896
+ dark?: {
3897
+ primary?: string | undefined;
3898
+ primaryForeground?: string | undefined;
3899
+ secondary?: string | undefined;
3900
+ secondaryForeground?: string | undefined;
3901
+ accent?: string | undefined;
3902
+ accentForeground?: string | undefined;
3903
+ background?: string | undefined;
3904
+ foreground?: string | undefined;
3905
+ surface?: string | undefined;
3906
+ surfaceForeground?: string | undefined;
3907
+ muted?: string | undefined;
3908
+ mutedForeground?: string | undefined;
3909
+ destructive?: string | undefined;
3910
+ destructiveForeground?: string | undefined;
3911
+ border?: string | undefined;
3912
+ ring?: string | undefined;
3913
+ customProperties?: Record<string, string> | undefined;
3914
+ } | undefined;
3915
+ };
3916
+ typography?: {
3917
+ fontSize?: Record<string, string> | undefined;
3918
+ fontSans?: string | undefined;
3919
+ fontMono?: string | undefined;
3920
+ fontHeading?: string | undefined;
3921
+ fontImports?: string[] | undefined;
3922
+ fontCss?: string | undefined;
3923
+ fontWeight?: Record<string, string> | undefined;
3924
+ } | undefined;
3925
+ radii?: Record<string, string | undefined> | undefined;
3926
+ spacing?: Record<string, string> | undefined;
3927
+ paddings?: Record<string, string> | undefined;
3928
+ shadows?: Record<string, string> | undefined;
3929
+ } | undefined;
3930
+ supportsDarkMode?: boolean | undefined;
3931
+ isSystem?: boolean | undefined;
3932
+ rawCss?: string | undefined;
3933
+ }, {
3934
+ name: string;
3935
+ description?: string | undefined;
3936
+ id?: string | undefined;
3937
+ tokens?: {
3938
+ colors: {
3939
+ light: {
3940
+ primary: string;
3941
+ background: string;
3942
+ foreground: string;
3943
+ primaryForeground?: string | undefined;
3944
+ secondary?: string | undefined;
3945
+ secondaryForeground?: string | undefined;
3946
+ accent?: string | undefined;
3947
+ accentForeground?: string | undefined;
3948
+ surface?: string | undefined;
3949
+ surfaceForeground?: string | undefined;
3950
+ muted?: string | undefined;
3951
+ mutedForeground?: string | undefined;
3952
+ destructive?: string | undefined;
3953
+ destructiveForeground?: string | undefined;
3954
+ border?: string | undefined;
3955
+ ring?: string | undefined;
3956
+ customProperties?: Record<string, string> | undefined;
3957
+ };
3958
+ dark?: {
3959
+ primary?: string | undefined;
3960
+ primaryForeground?: string | undefined;
3961
+ secondary?: string | undefined;
3962
+ secondaryForeground?: string | undefined;
3963
+ accent?: string | undefined;
3964
+ accentForeground?: string | undefined;
3965
+ background?: string | undefined;
3966
+ foreground?: string | undefined;
3967
+ surface?: string | undefined;
3968
+ surfaceForeground?: string | undefined;
3969
+ muted?: string | undefined;
3970
+ mutedForeground?: string | undefined;
3971
+ destructive?: string | undefined;
3972
+ destructiveForeground?: string | undefined;
3973
+ border?: string | undefined;
3974
+ ring?: string | undefined;
3975
+ customProperties?: Record<string, string> | undefined;
3976
+ } | undefined;
3977
+ };
3978
+ typography?: {
3979
+ fontSize?: Record<string, string> | undefined;
3980
+ fontSans?: string | undefined;
3981
+ fontMono?: string | undefined;
3982
+ fontHeading?: string | undefined;
3983
+ fontImports?: string[] | undefined;
3984
+ fontCss?: string | undefined;
3985
+ fontWeight?: Record<string, string> | undefined;
3986
+ } | undefined;
3987
+ radii?: Record<string, string | undefined> | undefined;
3988
+ spacing?: Record<string, string> | undefined;
3989
+ paddings?: Record<string, string> | undefined;
3990
+ shadows?: Record<string, string> | undefined;
3991
+ } | undefined;
3992
+ supportsDarkMode?: boolean | undefined;
3993
+ isSystem?: boolean | undefined;
3994
+ rawCss?: string | undefined;
3995
+ }>;
3996
+ type ThemeIngestionInput = z.infer<typeof ThemeIngestionInputSchema>;
1830
3997
  declare const JsonGenerationSchema: z.ZodObject<{
1831
3998
  prompt: z.ZodString;
1832
3999
  schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -2106,9 +4273,9 @@ declare const AgentInteractionRequestSchema: z.ZodObject<{
2106
4273
  }>, "many">>;
2107
4274
  coachingRules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2108
4275
  }, "strip", z.ZodTypeAny, {
4276
+ background: boolean;
2109
4277
  agent: string;
2110
4278
  input: string;
2111
- background: boolean;
2112
4279
  systemInstruction?: string | undefined;
2113
4280
  tools?: {
2114
4281
  type: string;
@@ -2140,9 +4307,9 @@ declare const AgentInteractionRequestSchema: z.ZodObject<{
2140
4307
  coachingRules?: string[] | undefined;
2141
4308
  }, {
2142
4309
  input: string;
4310
+ background?: boolean | undefined;
2143
4311
  agent?: string | undefined;
2144
4312
  systemInstruction?: string | undefined;
2145
- background?: boolean | undefined;
2146
4313
  tools?: {
2147
4314
  type: string;
2148
4315
  config?: Record<string, any> | undefined;
@@ -2185,24 +4352,24 @@ declare const AgentInteractionResultSchema: z.ZodObject<{
2185
4352
  updatedAt: z.ZodOptional<z.ZodString>;
2186
4353
  }, "strip", z.ZodTypeAny, {
2187
4354
  status: "queued" | "in_progress" | "completed" | "failed" | "cancelled";
2188
- agent: string;
2189
4355
  id: string;
4356
+ agent: string;
4357
+ createdAt?: string | undefined;
4358
+ updatedAt?: string | undefined;
2190
4359
  outputText?: string | undefined;
2191
4360
  error?: string | undefined;
2192
4361
  latencyMs?: number | undefined;
2193
4362
  metadata?: Record<string, any> | undefined;
2194
- createdAt?: string | undefined;
2195
- updatedAt?: string | undefined;
2196
4363
  }, {
2197
4364
  status: "queued" | "in_progress" | "completed" | "failed" | "cancelled";
2198
- agent: string;
2199
4365
  id: string;
4366
+ agent: string;
4367
+ createdAt?: string | undefined;
4368
+ updatedAt?: string | undefined;
2200
4369
  outputText?: string | undefined;
2201
4370
  error?: string | undefined;
2202
4371
  latencyMs?: number | undefined;
2203
4372
  metadata?: Record<string, any> | undefined;
2204
- createdAt?: string | undefined;
2205
- updatedAt?: string | undefined;
2206
4373
  }>;
2207
4374
  type AgentInteractionResult = z.infer<typeof AgentInteractionResultSchema>;
2208
4375
  declare const QueueJobTypeSchema: z.ZodEnum<["text", "image", "video", "analysis", "audio", "agent", "code", "component", "upscale"]>;
@@ -2218,7 +4385,7 @@ declare const QueueJobSchema: z.ZodObject<{
2218
4385
  createdAt: z.ZodOptional<z.ZodAny>;
2219
4386
  updatedAt: z.ZodOptional<z.ZodAny>;
2220
4387
  }, "strip", z.ZodTypeAny, {
2221
- type: "code" | "video" | "text" | "agent" | "image" | "analysis" | "audio" | "component" | "upscale";
4388
+ type: "code" | "video" | "text" | "image" | "agent" | "analysis" | "audio" | "component" | "upscale";
2222
4389
  status: "queued" | "completed" | "failed" | "processing";
2223
4390
  id: string;
2224
4391
  createdAt?: any;
@@ -2226,7 +4393,7 @@ declare const QueueJobSchema: z.ZodObject<{
2226
4393
  client?: "unknown" | "pixerate" | "slopmachine" | "social" | "surrealui" | "surreal-ui" | "symphonia" | "flair" | "operative" | undefined;
2227
4394
  payload?: Record<string, any> | undefined;
2228
4395
  }, {
2229
- type: "code" | "video" | "text" | "agent" | "image" | "analysis" | "audio" | "component" | "upscale";
4396
+ type: "code" | "video" | "text" | "image" | "agent" | "analysis" | "audio" | "component" | "upscale";
2230
4397
  status: "queued" | "completed" | "failed" | "processing";
2231
4398
  id: string;
2232
4399
  createdAt?: any;
@@ -2718,13 +4885,13 @@ declare const ScoreBandSchema: z.ZodObject<{
2718
4885
  min: z.ZodNumber;
2719
4886
  max: z.ZodOptional<z.ZodNumber>;
2720
4887
  }, "strip", z.ZodTypeAny, {
2721
- id: string;
2722
4888
  min: number;
4889
+ id: string;
2723
4890
  label: string;
2724
4891
  max?: number | undefined;
2725
4892
  }, {
2726
- id: string;
2727
4893
  min: number;
4894
+ id: string;
2728
4895
  label: string;
2729
4896
  max?: number | undefined;
2730
4897
  }>;
@@ -2819,13 +4986,13 @@ declare const ScoringConfigSchema: z.ZodObject<{
2819
4986
  min: z.ZodNumber;
2820
4987
  max: z.ZodOptional<z.ZodNumber>;
2821
4988
  }, "strip", z.ZodTypeAny, {
2822
- id: string;
2823
4989
  min: number;
4990
+ id: string;
2824
4991
  label: string;
2825
4992
  max?: number | undefined;
2826
4993
  }, {
2827
- id: string;
2828
4994
  min: number;
4995
+ id: string;
2829
4996
  label: string;
2830
4997
  max?: number | undefined;
2831
4998
  }>, "many">>;
@@ -2850,8 +5017,8 @@ declare const ScoringConfigSchema: z.ZodObject<{
2850
5017
  }[];
2851
5018
  description?: string | undefined;
2852
5019
  bands?: {
2853
- id: string;
2854
5020
  min: number;
5021
+ id: string;
2855
5022
  label: string;
2856
5023
  max?: number | undefined;
2857
5024
  }[] | undefined;
@@ -2876,8 +5043,8 @@ declare const ScoringConfigSchema: z.ZodObject<{
2876
5043
  }[];
2877
5044
  description?: string | undefined;
2878
5045
  bands?: {
2879
- id: string;
2880
5046
  min: number;
5047
+ id: string;
2881
5048
  label: string;
2882
5049
  max?: number | undefined;
2883
5050
  }[] | undefined;
@@ -3016,8 +5183,8 @@ declare const FormHandoffActionSchema: z.ZodObject<{
3016
5183
  config: z.ZodOptional<z.ZodAny>;
3017
5184
  }, "strip", z.ZodTypeAny, {
3018
5185
  type?: string | undefined;
3019
- config?: any;
3020
5186
  id?: string | undefined;
5187
+ config?: any;
3021
5188
  label?: string | undefined;
3022
5189
  condition?: string | {
3023
5190
  operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
@@ -3029,8 +5196,8 @@ declare const FormHandoffActionSchema: z.ZodObject<{
3029
5196
  payloadFields?: string[] | undefined;
3030
5197
  }, {
3031
5198
  type?: string | undefined;
3032
- config?: any;
3033
5199
  id?: string | undefined;
5200
+ config?: any;
3034
5201
  label?: string | undefined;
3035
5202
  condition?: string | {
3036
5203
  operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
@@ -3291,8 +5458,8 @@ declare const TechnicalFormSchema: z.ZodObject<{
3291
5458
  config: z.ZodOptional<z.ZodAny>;
3292
5459
  }, "strip", z.ZodTypeAny, {
3293
5460
  type?: string | undefined;
3294
- config?: any;
3295
5461
  id?: string | undefined;
5462
+ config?: any;
3296
5463
  label?: string | undefined;
3297
5464
  condition?: string | {
3298
5465
  operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
@@ -3304,8 +5471,8 @@ declare const TechnicalFormSchema: z.ZodObject<{
3304
5471
  payloadFields?: string[] | undefined;
3305
5472
  }, {
3306
5473
  type?: string | undefined;
3307
- config?: any;
3308
5474
  id?: string | undefined;
5475
+ config?: any;
3309
5476
  label?: string | undefined;
3310
5477
  condition?: string | {
3311
5478
  operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
@@ -3426,13 +5593,13 @@ declare const TechnicalFormSchema: z.ZodObject<{
3426
5593
  min: z.ZodNumber;
3427
5594
  max: z.ZodOptional<z.ZodNumber>;
3428
5595
  }, "strip", z.ZodTypeAny, {
3429
- id: string;
3430
5596
  min: number;
5597
+ id: string;
3431
5598
  label: string;
3432
5599
  max?: number | undefined;
3433
5600
  }, {
3434
- id: string;
3435
5601
  min: number;
5602
+ id: string;
3436
5603
  label: string;
3437
5604
  max?: number | undefined;
3438
5605
  }>, "many">>;
@@ -3457,8 +5624,8 @@ declare const TechnicalFormSchema: z.ZodObject<{
3457
5624
  }[];
3458
5625
  description?: string | undefined;
3459
5626
  bands?: {
3460
- id: string;
3461
5627
  min: number;
5628
+ id: string;
3462
5629
  label: string;
3463
5630
  max?: number | undefined;
3464
5631
  }[] | undefined;
@@ -3483,8 +5650,8 @@ declare const TechnicalFormSchema: z.ZodObject<{
3483
5650
  }[];
3484
5651
  description?: string | undefined;
3485
5652
  bands?: {
3486
- id: string;
3487
5653
  min: number;
5654
+ id: string;
3488
5655
  label: string;
3489
5656
  max?: number | undefined;
3490
5657
  }[] | undefined;
@@ -3550,8 +5717,8 @@ declare const TechnicalFormSchema: z.ZodObject<{
3550
5717
  }[] | undefined;
3551
5718
  handoffActions?: {
3552
5719
  type?: string | undefined;
3553
- config?: any;
3554
5720
  id?: string | undefined;
5721
+ config?: any;
3555
5722
  label?: string | undefined;
3556
5723
  condition?: string | {
3557
5724
  operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
@@ -3587,8 +5754,8 @@ declare const TechnicalFormSchema: z.ZodObject<{
3587
5754
  }[];
3588
5755
  description?: string | undefined;
3589
5756
  bands?: {
3590
- id: string;
3591
5757
  min: number;
5758
+ id: string;
3592
5759
  label: string;
3593
5760
  max?: number | undefined;
3594
5761
  }[] | undefined;
@@ -3654,8 +5821,8 @@ declare const TechnicalFormSchema: z.ZodObject<{
3654
5821
  }[] | undefined;
3655
5822
  handoffActions?: {
3656
5823
  type?: string | undefined;
3657
- config?: any;
3658
5824
  id?: string | undefined;
5825
+ config?: any;
3659
5826
  label?: string | undefined;
3660
5827
  condition?: string | {
3661
5828
  operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
@@ -3691,8 +5858,8 @@ declare const TechnicalFormSchema: z.ZodObject<{
3691
5858
  }[];
3692
5859
  description?: string | undefined;
3693
5860
  bands?: {
3694
- id: string;
3695
5861
  min: number;
5862
+ id: string;
3696
5863
  label: string;
3697
5864
  max?: number | undefined;
3698
5865
  }[] | undefined;
@@ -3889,5 +6056,527 @@ declare const FormSubmissionPayloadSchema: z.ZodObject<{
3889
6056
  } | undefined;
3890
6057
  }>;
3891
6058
  type FormSubmissionPayload = z.infer<typeof FormSubmissionPayloadSchema>;
6059
+ /** Canonical Generative Forms contract, JSON Schema draft 2020-12, version 1. */
6060
+ declare const FORM_SCHEMA_JSON_SCHEMA: {
6061
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
6062
+ readonly $id: "https://workspace.local/schemas/generative-forms/form-schema-v1.json";
6063
+ readonly type: "object";
6064
+ readonly $defs: {
6065
+ readonly control: {
6066
+ readonly type: "object";
6067
+ readonly properties: {
6068
+ readonly id: {
6069
+ readonly type: "string";
6070
+ };
6071
+ readonly type: {
6072
+ readonly enum: readonly ["text", "textarea", "number", "select", "multiselect", "radio", "checkbox", "date", "file", "company", "user", "slider", "computed", "repeater"];
6073
+ };
6074
+ readonly label: {
6075
+ readonly type: "string";
6076
+ };
6077
+ readonly description: {
6078
+ readonly type: "string";
6079
+ };
6080
+ readonly helperText: {
6081
+ readonly type: "string";
6082
+ };
6083
+ readonly placeholder: {
6084
+ readonly type: "string";
6085
+ };
6086
+ readonly required: {
6087
+ readonly type: "boolean";
6088
+ };
6089
+ readonly defaultValue: {};
6090
+ readonly options: {
6091
+ readonly type: "array";
6092
+ readonly items: {
6093
+ readonly type: "object";
6094
+ readonly properties: {
6095
+ readonly label: {
6096
+ readonly type: "string";
6097
+ };
6098
+ readonly value: {
6099
+ readonly type: "string";
6100
+ };
6101
+ };
6102
+ readonly required: readonly ["label", "value"];
6103
+ };
6104
+ };
6105
+ readonly dataSource: {
6106
+ readonly enum: readonly ["companies", "users"];
6107
+ };
6108
+ readonly validation: {
6109
+ readonly type: "object";
6110
+ readonly properties: {
6111
+ readonly min: {
6112
+ readonly type: "number";
6113
+ };
6114
+ readonly max: {
6115
+ readonly type: "number";
6116
+ };
6117
+ readonly minLength: {
6118
+ readonly type: "number";
6119
+ };
6120
+ readonly maxLength: {
6121
+ readonly type: "number";
6122
+ };
6123
+ readonly pattern: {
6124
+ readonly type: "string";
6125
+ };
6126
+ readonly message: {
6127
+ readonly type: "string";
6128
+ };
6129
+ readonly unit: {
6130
+ readonly type: "string";
6131
+ };
6132
+ };
6133
+ };
6134
+ readonly pattern: {
6135
+ readonly type: "string";
6136
+ };
6137
+ readonly min: {
6138
+ readonly type: "number";
6139
+ };
6140
+ readonly max: {
6141
+ readonly type: "number";
6142
+ };
6143
+ readonly step: {
6144
+ readonly type: "number";
6145
+ };
6146
+ readonly minItems: {
6147
+ readonly type: "number";
6148
+ };
6149
+ readonly maxItems: {
6150
+ readonly type: "number";
6151
+ };
6152
+ readonly formula: {
6153
+ readonly type: "string";
6154
+ };
6155
+ readonly computed: {
6156
+ readonly type: "object";
6157
+ readonly properties: {
6158
+ readonly formula: {
6159
+ readonly type: "string";
6160
+ };
6161
+ };
6162
+ };
6163
+ readonly visibleWhen: {
6164
+ readonly type: "object";
6165
+ readonly properties: {
6166
+ readonly field: {
6167
+ readonly type: "string";
6168
+ };
6169
+ readonly fieldId: {
6170
+ readonly type: "string";
6171
+ };
6172
+ readonly operator: {
6173
+ readonly enum: readonly ["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"];
6174
+ };
6175
+ readonly value: {
6176
+ readonly type: readonly ["string", "number", "boolean"];
6177
+ };
6178
+ };
6179
+ readonly required: readonly ["operator"];
6180
+ };
6181
+ readonly condition: {
6182
+ readonly type: "object";
6183
+ readonly properties: {
6184
+ readonly field: {
6185
+ readonly type: "string";
6186
+ };
6187
+ readonly fieldId: {
6188
+ readonly type: "string";
6189
+ };
6190
+ readonly operator: {
6191
+ readonly enum: readonly ["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"];
6192
+ };
6193
+ readonly value: {
6194
+ readonly type: readonly ["string", "number", "boolean"];
6195
+ };
6196
+ };
6197
+ readonly required: readonly ["operator"];
6198
+ };
6199
+ readonly itemControls: {
6200
+ readonly type: "array";
6201
+ readonly items: {
6202
+ readonly $ref: "#/$defs/control";
6203
+ };
6204
+ };
6205
+ readonly controls: {
6206
+ readonly type: "array";
6207
+ readonly items: {
6208
+ readonly $ref: "#/$defs/control";
6209
+ };
6210
+ };
6211
+ };
6212
+ readonly required: readonly ["id", "type", "label"];
6213
+ };
6214
+ };
6215
+ readonly properties: {
6216
+ readonly id: {
6217
+ readonly type: "string";
6218
+ };
6219
+ readonly title: {
6220
+ readonly type: "string";
6221
+ };
6222
+ readonly description: {
6223
+ readonly type: "string";
6224
+ };
6225
+ readonly version: {
6226
+ readonly type: readonly ["string", "number"];
6227
+ };
6228
+ readonly stages: {
6229
+ readonly type: "array";
6230
+ readonly items: {
6231
+ readonly type: "object";
6232
+ readonly properties: {
6233
+ readonly id: {
6234
+ readonly type: "string";
6235
+ };
6236
+ readonly title: {
6237
+ readonly type: "string";
6238
+ };
6239
+ readonly description: {
6240
+ readonly type: "string";
6241
+ };
6242
+ readonly gate: {
6243
+ readonly type: "string";
6244
+ };
6245
+ readonly sections: {
6246
+ readonly type: "array";
6247
+ readonly items: {
6248
+ readonly type: "object";
6249
+ readonly properties: {
6250
+ readonly id: {
6251
+ readonly type: "string";
6252
+ };
6253
+ readonly title: {
6254
+ readonly type: "string";
6255
+ };
6256
+ readonly description: {
6257
+ readonly type: "string";
6258
+ };
6259
+ readonly controls: {
6260
+ readonly type: "array";
6261
+ readonly items: {
6262
+ readonly $ref: "#/$defs/control";
6263
+ };
6264
+ };
6265
+ readonly visibleWhen: {
6266
+ readonly type: "object";
6267
+ readonly properties: {
6268
+ readonly field: {
6269
+ readonly type: "string";
6270
+ };
6271
+ readonly fieldId: {
6272
+ readonly type: "string";
6273
+ };
6274
+ readonly operator: {
6275
+ readonly enum: readonly ["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"];
6276
+ };
6277
+ readonly value: {
6278
+ readonly type: readonly ["string", "number", "boolean"];
6279
+ };
6280
+ };
6281
+ readonly required: readonly ["operator"];
6282
+ };
6283
+ readonly condition: {
6284
+ readonly type: "object";
6285
+ readonly properties: {
6286
+ readonly field: {
6287
+ readonly type: "string";
6288
+ };
6289
+ readonly fieldId: {
6290
+ readonly type: "string";
6291
+ };
6292
+ readonly operator: {
6293
+ readonly enum: readonly ["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"];
6294
+ };
6295
+ readonly value: {
6296
+ readonly type: readonly ["string", "number", "boolean"];
6297
+ };
6298
+ };
6299
+ readonly required: readonly ["operator"];
6300
+ };
6301
+ };
6302
+ readonly required: readonly ["id", "title", "controls"];
6303
+ };
6304
+ };
6305
+ };
6306
+ readonly required: readonly ["id", "title", "sections"];
6307
+ };
6308
+ };
6309
+ readonly decisionGates: {
6310
+ readonly type: "array";
6311
+ readonly items: {
6312
+ readonly type: "object";
6313
+ readonly properties: {
6314
+ readonly id: {
6315
+ readonly type: "string";
6316
+ };
6317
+ readonly title: {
6318
+ readonly type: "string";
6319
+ };
6320
+ readonly description: {
6321
+ readonly type: "string";
6322
+ };
6323
+ readonly stageId: {
6324
+ readonly type: "string";
6325
+ };
6326
+ readonly kind: {
6327
+ readonly enum: readonly ["approval", "review", "decision"];
6328
+ };
6329
+ readonly trigger: {
6330
+ readonly type: "string";
6331
+ };
6332
+ readonly requiredAction: {
6333
+ readonly type: "string";
6334
+ };
6335
+ readonly consequence: {
6336
+ readonly type: "string";
6337
+ };
6338
+ readonly condition: {
6339
+ readonly anyOf: readonly [{
6340
+ readonly type: "object";
6341
+ readonly properties: {
6342
+ readonly field: {
6343
+ readonly type: "string";
6344
+ };
6345
+ readonly fieldId: {
6346
+ readonly type: "string";
6347
+ };
6348
+ readonly operator: {
6349
+ readonly enum: readonly ["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"];
6350
+ };
6351
+ readonly value: {
6352
+ readonly type: readonly ["string", "number", "boolean"];
6353
+ };
6354
+ };
6355
+ readonly required: readonly ["operator"];
6356
+ }, {
6357
+ readonly type: "string";
6358
+ }];
6359
+ };
6360
+ readonly blocking: {
6361
+ readonly type: "boolean";
6362
+ };
6363
+ readonly reviewerRole: {
6364
+ readonly type: "string";
6365
+ };
6366
+ };
6367
+ readonly required: readonly ["id", "title", "stageId", "blocking"];
6368
+ };
6369
+ };
6370
+ readonly validators: {
6371
+ readonly type: "array";
6372
+ readonly items: {
6373
+ readonly type: "object";
6374
+ readonly properties: {
6375
+ readonly id: {
6376
+ readonly type: "string";
6377
+ };
6378
+ readonly description: {
6379
+ readonly type: "string";
6380
+ };
6381
+ readonly fields: {
6382
+ readonly type: "array";
6383
+ readonly items: {
6384
+ readonly type: "string";
6385
+ };
6386
+ };
6387
+ readonly severity: {
6388
+ readonly type: "string";
6389
+ };
6390
+ readonly type: {
6391
+ readonly type: "string";
6392
+ };
6393
+ readonly config: {};
6394
+ };
6395
+ readonly required: readonly ["id"];
6396
+ };
6397
+ };
6398
+ readonly handoffActions: {
6399
+ readonly type: "array";
6400
+ readonly items: {
6401
+ readonly type: "object";
6402
+ readonly properties: {
6403
+ readonly id: {
6404
+ readonly type: "string";
6405
+ };
6406
+ readonly label: {
6407
+ readonly type: "string";
6408
+ };
6409
+ readonly destination: {
6410
+ readonly type: "string";
6411
+ };
6412
+ readonly condition: {
6413
+ readonly anyOf: readonly [{
6414
+ readonly type: "object";
6415
+ readonly properties: {
6416
+ readonly field: {
6417
+ readonly type: "string";
6418
+ };
6419
+ readonly fieldId: {
6420
+ readonly type: "string";
6421
+ };
6422
+ readonly operator: {
6423
+ readonly enum: readonly ["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"];
6424
+ };
6425
+ readonly value: {
6426
+ readonly type: readonly ["string", "number", "boolean"];
6427
+ };
6428
+ };
6429
+ readonly required: readonly ["operator"];
6430
+ }, {
6431
+ readonly type: "string";
6432
+ }];
6433
+ };
6434
+ readonly payloadFields: {
6435
+ readonly type: "array";
6436
+ readonly items: {
6437
+ readonly type: "string";
6438
+ };
6439
+ };
6440
+ readonly type: {
6441
+ readonly type: "string";
6442
+ };
6443
+ readonly config: {};
6444
+ };
6445
+ };
6446
+ };
6447
+ readonly review: {
6448
+ readonly type: "object";
6449
+ readonly properties: {
6450
+ readonly humanReviewRequired: {
6451
+ readonly type: "boolean";
6452
+ };
6453
+ readonly reviewAreas: {
6454
+ readonly type: "array";
6455
+ readonly items: {
6456
+ readonly type: "string";
6457
+ };
6458
+ };
6459
+ };
6460
+ readonly required: readonly ["humanReviewRequired", "reviewAreas"];
6461
+ };
6462
+ readonly reviewMetadata: {
6463
+ readonly type: "object";
6464
+ readonly properties: {
6465
+ readonly approvers: {
6466
+ readonly type: "array";
6467
+ readonly items: {
6468
+ readonly type: "string";
6469
+ };
6470
+ };
6471
+ readonly requirements: {
6472
+ readonly type: "array";
6473
+ readonly items: {
6474
+ readonly type: "string";
6475
+ };
6476
+ };
6477
+ };
6478
+ readonly required: readonly ["approvers", "requirements"];
6479
+ };
6480
+ readonly scoring: {
6481
+ readonly type: "object";
6482
+ readonly properties: {
6483
+ readonly description: {
6484
+ readonly type: "string";
6485
+ };
6486
+ readonly dimensions: {
6487
+ readonly type: "array";
6488
+ readonly minItems: 1;
6489
+ readonly items: {
6490
+ readonly type: "object";
6491
+ readonly properties: {
6492
+ readonly id: {
6493
+ readonly type: "string";
6494
+ };
6495
+ readonly label: {
6496
+ readonly type: "string";
6497
+ };
6498
+ readonly description: {
6499
+ readonly type: "string";
6500
+ };
6501
+ readonly weight: {
6502
+ readonly type: "number";
6503
+ };
6504
+ readonly rules: {
6505
+ readonly type: "array";
6506
+ readonly minItems: 1;
6507
+ readonly items: {
6508
+ readonly type: "object";
6509
+ readonly properties: {
6510
+ readonly field: {
6511
+ readonly type: "string";
6512
+ };
6513
+ readonly optionPoints: {
6514
+ readonly type: "object";
6515
+ readonly additionalProperties: {
6516
+ readonly type: "number";
6517
+ };
6518
+ };
6519
+ readonly ranges: {
6520
+ readonly type: "array";
6521
+ readonly items: {
6522
+ readonly type: "object";
6523
+ readonly properties: {
6524
+ readonly min: {
6525
+ readonly type: "number";
6526
+ };
6527
+ readonly max: {
6528
+ readonly type: "number";
6529
+ };
6530
+ readonly points: {
6531
+ readonly type: "number";
6532
+ };
6533
+ };
6534
+ readonly required: readonly ["points"];
6535
+ };
6536
+ };
6537
+ readonly multiplier: {
6538
+ readonly type: "number";
6539
+ };
6540
+ readonly truePoints: {
6541
+ readonly type: "number";
6542
+ };
6543
+ readonly falsePoints: {
6544
+ readonly type: "number";
6545
+ };
6546
+ };
6547
+ readonly required: readonly ["field"];
6548
+ };
6549
+ };
6550
+ };
6551
+ readonly required: readonly ["id", "label", "rules"];
6552
+ };
6553
+ };
6554
+ readonly bands: {
6555
+ readonly type: "array";
6556
+ readonly items: {
6557
+ readonly type: "object";
6558
+ readonly properties: {
6559
+ readonly id: {
6560
+ readonly type: "string";
6561
+ };
6562
+ readonly label: {
6563
+ readonly type: "string";
6564
+ };
6565
+ readonly min: {
6566
+ readonly type: "number";
6567
+ };
6568
+ readonly max: {
6569
+ readonly type: "number";
6570
+ };
6571
+ };
6572
+ readonly required: readonly ["id", "label", "min"];
6573
+ };
6574
+ };
6575
+ };
6576
+ readonly required: readonly ["dimensions"];
6577
+ };
6578
+ };
6579
+ readonly required: readonly ["version", "stages"];
6580
+ };
3892
6581
 
3893
- export { type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AspectRatio, AspectRatioSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentPropDefinition, ComponentPropDefinitionSchema, type ComponentSynthesisPayload, ComponentSynthesisSchema, type Condition, type ConditionOperator, ConditionOperatorSchema, ConditionSchema, type ControlValidation, ControlValidationSchema, type DecisionGate, type DecisionGateKind, DecisionGateKindSchema, DecisionGateSchema, type DimensionScore, DimensionScoreSchema, type DropShadow, DropShadowSchema, type Fidelity, FidelitySchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type JsonGenerationPayload, JsonGenerationSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type ScoreBand, ScoreBandSchema, type ScoringConfig, ScoringConfigSchema, type ScoringDimension, ScoringDimensionSchema, type ScoringRule, ScoringRuleSchema, type SemanticReviewIssue, SemanticReviewIssueSchema, type SemanticReviewResult, SemanticReviewResultSchema, type SemanticReviewStatus, SemanticReviewStatusSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type SubmissionScore, SubmissionScoreSchema, TechnicalFormSchema, type TechnicalSchema, type TextAlignment, TextAlignmentSchema, type TextOverlayPosition, TextOverlayPositionSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoResolution, VideoResolutionSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type WatermarkPosition, WatermarkPositionSchema };
6582
+ export { type ActivityAction, ActivityActionSchema, type ActivityLog, ActivityLogSchema, type Aesthetic, AestheticSchema, type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AspectRatio, AspectRatioSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentDocs, ComponentDocsSchema, type ComponentPackage, ComponentPackageSchema, type ComponentPropDefinition, ComponentPropDefinitionSchema, type ComponentPropDoc, ComponentPropDocSchema, type ComponentSynthesisPayload, ComponentSynthesisSchema, type ComponentTransformationResult, ComponentTransformationResultSchema, type ComponentVariant, ComponentVariantSchema, type ComponentVersion, ComponentVersionSchema, type Condition, type ConditionOperator, ConditionOperatorSchema, ConditionSchema, type ControlValidation, ControlValidationSchema, type DecisionGate, type DecisionGateKind, DecisionGateKindSchema, DecisionGateSchema, type DimensionScore, DimensionScoreSchema, type DropShadow, DropShadowSchema, FORM_SCHEMA_JSON_SCHEMA, type Fidelity, FidelitySchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type IngestionInput, IngestionInputSchema, type JsonGenerationPayload, JsonGenerationSchema, type PlatformLanguage, PlatformLanguageSchema, type PreviewHarness, PreviewHarnessSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type ScoreBand, ScoreBandSchema, type ScoringConfig, ScoringConfigSchema, type ScoringDimension, ScoringDimensionSchema, type ScoringRule, ScoringRuleSchema, type SemanticReviewIssue, SemanticReviewIssueSchema, type SemanticReviewResult, SemanticReviewResultSchema, type SemanticReviewStatus, SemanticReviewStatusSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type SubmissionScore, SubmissionScoreSchema, TechnicalFormSchema, type TechnicalSchema, type TextAlignment, TextAlignmentSchema, type TextOverlayPosition, TextOverlayPositionSchema, type Theme, type ThemeColors, ThemeColorsSchema, type ThemeIngestionInput, ThemeIngestionInputSchema, ThemeSchema, type ThemeSupport, ThemeSupportSchema, type ThemeTokens, ThemeTokensSchema, type ThemeTypographyTokens, ThemeTypographyTokensSchema, type UIComponentType, UIComponentTypeSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoResolution, VideoResolutionSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type WatermarkPosition, WatermarkPositionSchema };