@octanejs/tanstack-start 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +52 -0
  3. package/THIRD_PARTY_NOTICES.md +11 -0
  4. package/package.json +149 -0
  5. package/src/client-only.d.ts +1 -0
  6. package/src/client-only.js +0 -0
  7. package/src/client-rpc.d.ts +1 -0
  8. package/src/client-rpc.js +1 -0
  9. package/src/client.d.ts +3 -0
  10. package/src/client.js +2 -0
  11. package/src/default-entry/client.js +12 -0
  12. package/src/default-entry/server.js +13 -0
  13. package/src/default-entry/start.js +1 -0
  14. package/src/default-entry-paths.d.ts +5 -0
  15. package/src/default-entry-paths.js +11 -0
  16. package/src/index.d.ts +11 -0
  17. package/src/index.js +22 -0
  18. package/src/internal/README.md +15 -0
  19. package/src/internal/router-generator/config.d.ts +255 -0
  20. package/src/internal/router-generator/config.js +134 -0
  21. package/src/internal/router-generator/filesystem/physical/getRouteNodes.d.ts +53 -0
  22. package/src/internal/router-generator/filesystem/physical/getRouteNodes.js +335 -0
  23. package/src/internal/router-generator/filesystem/physical/rootPathId.d.ts +1 -0
  24. package/src/internal/router-generator/filesystem/physical/rootPathId.js +4 -0
  25. package/src/internal/router-generator/filesystem/virtual/config.d.ts +3 -0
  26. package/src/internal/router-generator/filesystem/virtual/config.js +36 -0
  27. package/src/internal/router-generator/filesystem/virtual/getRouteNodes.d.ts +31 -0
  28. package/src/internal/router-generator/filesystem/virtual/getRouteNodes.js +272 -0
  29. package/src/internal/router-generator/filesystem/virtual/loadConfigFile.d.ts +1 -0
  30. package/src/internal/router-generator/filesystem/virtual/loadConfigFile.js +10 -0
  31. package/src/internal/router-generator/generator.d.ts +119 -0
  32. package/src/internal/router-generator/generator.js +1080 -0
  33. package/src/internal/router-generator/index.d.ts +40 -0
  34. package/src/internal/router-generator/index.js +49 -0
  35. package/src/internal/router-generator/logger.d.ts +8 -0
  36. package/src/internal/router-generator/logger.js +30 -0
  37. package/src/internal/router-generator/plugin/types.d.ts +37 -0
  38. package/src/internal/router-generator/template.d.ts +38 -0
  39. package/src/internal/router-generator/template.js +220 -0
  40. package/src/internal/router-generator/transform/transform.d.ts +8 -0
  41. package/src/internal/router-generator/transform/transform.js +385 -0
  42. package/src/internal/router-generator/transform/types.d.ts +34 -0
  43. package/src/internal/router-generator/types.d.ts +73 -0
  44. package/src/internal/router-generator/utils.d.ts +270 -0
  45. package/src/internal/router-generator/utils.js +864 -0
  46. package/src/internal/router-generator/validate-route-params.d.ts +13 -0
  47. package/src/internal/router-generator/validate-route-params.js +75 -0
  48. package/src/internal/router-plugin/context.d.ts +2 -0
  49. package/src/internal/router-plugin/context.js +2 -0
  50. package/src/internal/router-plugin/core/code-splitter/compilers.d.ts +69 -0
  51. package/src/internal/router-plugin/core/code-splitter/compilers.js +1042 -0
  52. package/src/internal/router-plugin/core/code-splitter/framework-options.d.ts +11 -0
  53. package/src/internal/router-plugin/core/code-splitter/framework-options.js +41 -0
  54. package/src/internal/router-plugin/core/code-splitter/plugins/framework-plugins.d.ts +12 -0
  55. package/src/internal/router-plugin/core/code-splitter/plugins/framework-plugins.js +35 -0
  56. package/src/internal/router-plugin/core/code-splitter/plugins/octane-hmr-split-route-components.d.ts +5 -0
  57. package/src/internal/router-plugin/core/code-splitter/plugins/octane-hmr-split-route-components.js +106 -0
  58. package/src/internal/router-plugin/core/code-splitter/plugins/octane-split-route-components.d.ts +8 -0
  59. package/src/internal/router-plugin/core/code-splitter/plugins/octane-split-route-components.js +85 -0
  60. package/src/internal/router-plugin/core/code-splitter/plugins/react-refresh-ignored-route-exports.d.ts +2 -0
  61. package/src/internal/router-plugin/core/code-splitter/plugins/react-refresh-ignored-route-exports.js +55 -0
  62. package/src/internal/router-plugin/core/code-splitter/plugins/react-refresh-route-components.d.ts +2 -0
  63. package/src/internal/router-plugin/core/code-splitter/plugins/react-refresh-route-components.js +50 -0
  64. package/src/internal/router-plugin/core/code-splitter/plugins/react-stable-hmr-split-route-components.d.ts +5 -0
  65. package/src/internal/router-plugin/core/code-splitter/plugins/react-stable-hmr-split-route-components.js +54 -0
  66. package/src/internal/router-plugin/core/code-splitter/plugins.d.ts +62 -0
  67. package/src/internal/router-plugin/core/code-splitter/types.d.ts +9 -0
  68. package/src/internal/router-plugin/core/config.d.ts +294 -0
  69. package/src/internal/router-plugin/core/config.js +56 -0
  70. package/src/internal/router-plugin/core/constants.d.ts +12 -0
  71. package/src/internal/router-plugin/core/constants.js +13 -0
  72. package/src/internal/router-plugin/core/framework-plugin-order.d.ts +8 -0
  73. package/src/internal/router-plugin/core/framework-plugin-order.js +78 -0
  74. package/src/internal/router-plugin/core/hmr/handle-route-update.d.ts +1 -0
  75. package/src/internal/router-plugin/core/hmr/handle-route-update.js +126 -0
  76. package/src/internal/router-plugin/core/hmr/index.d.ts +5 -0
  77. package/src/internal/router-plugin/core/hmr/select-adapter.d.ts +17 -0
  78. package/src/internal/router-plugin/core/hmr/select-adapter.js +24 -0
  79. package/src/internal/router-plugin/core/hmr/vite-adapter.d.ts +18 -0
  80. package/src/internal/router-plugin/core/hmr/vite-adapter.js +73 -0
  81. package/src/internal/router-plugin/core/hmr/webpack-adapter.d.ts +22 -0
  82. package/src/internal/router-plugin/core/hmr/webpack-adapter.js +78 -0
  83. package/src/internal/router-plugin/core/router-code-splitter-plugin.d.ts +10 -0
  84. package/src/internal/router-plugin/core/router-code-splitter-plugin.js +244 -0
  85. package/src/internal/router-plugin/core/router-composed-plugin.d.ts +5 -0
  86. package/src/internal/router-plugin/core/router-composed-plugin.js +62 -0
  87. package/src/internal/router-plugin/core/router-generator-plugin.d.ts +10 -0
  88. package/src/internal/router-plugin/core/router-generator-plugin.js +125 -0
  89. package/src/internal/router-plugin/core/router-hmr-plugin.d.ts +13 -0
  90. package/src/internal/router-plugin/core/router-hmr-plugin.js +101 -0
  91. package/src/internal/router-plugin/core/router-plugin-context.d.ts +5 -0
  92. package/src/internal/router-plugin/core/router-plugin-context.js +6 -0
  93. package/src/internal/router-plugin/core/utils.d.ts +17 -0
  94. package/src/internal/router-plugin/core/utils.js +47 -0
  95. package/src/internal/router-plugin/esbuild.d.ts +197 -0
  96. package/src/internal/router-plugin/esbuild.js +58 -0
  97. package/src/internal/router-plugin/index.d.ts +19 -0
  98. package/src/internal/router-plugin/index.js +17 -0
  99. package/src/internal/router-plugin/rspack.d.ts +61 -0
  100. package/src/internal/router-plugin/rspack.js +92 -0
  101. package/src/internal/router-plugin/vite.d.ts +201 -0
  102. package/src/internal/router-plugin/vite.js +62 -0
  103. package/src/internal/router-plugin/webpack.d.ts +50 -0
  104. package/src/internal/router-plugin/webpack.js +77 -0
  105. package/src/internal/start-plugin-core/build-sitemap.d.ts +34 -0
  106. package/src/internal/start-plugin-core/build-sitemap.js +125 -0
  107. package/src/internal/start-plugin-core/config-context.d.ts +30 -0
  108. package/src/internal/start-plugin-core/config-context.js +89 -0
  109. package/src/internal/start-plugin-core/constants.d.ts +20 -0
  110. package/src/internal/start-plugin-core/constants.js +24 -0
  111. package/src/internal/start-plugin-core/debug.d.ts +1 -0
  112. package/src/internal/start-plugin-core/hydrate-when-transform.d.ts +5 -0
  113. package/src/internal/start-plugin-core/hydrate-when-transform.js +661 -0
  114. package/src/internal/start-plugin-core/hydration-constants.d.ts +1 -0
  115. package/src/internal/start-plugin-core/hydration-constants.js +4 -0
  116. package/src/internal/start-plugin-core/import-protection/adapterUtils.d.ts +40 -0
  117. package/src/internal/start-plugin-core/import-protection/adapterUtils.js +42 -0
  118. package/src/internal/start-plugin-core/import-protection/analysis.d.ts +63 -0
  119. package/src/internal/start-plugin-core/import-protection/analysis.js +533 -0
  120. package/src/internal/start-plugin-core/import-protection/constants.d.ts +11 -0
  121. package/src/internal/start-plugin-core/import-protection/constants.js +39 -0
  122. package/src/internal/start-plugin-core/import-protection/defaults.d.ts +19 -0
  123. package/src/internal/start-plugin-core/import-protection/defaults.js +34 -0
  124. package/src/internal/start-plugin-core/import-protection/extensionlessAbsoluteIdResolver.d.ts +22 -0
  125. package/src/internal/start-plugin-core/import-protection/extensionlessAbsoluteIdResolver.js +94 -0
  126. package/src/internal/start-plugin-core/import-protection/matchers.d.ts +18 -0
  127. package/src/internal/start-plugin-core/import-protection/matchers.js +39 -0
  128. package/src/internal/start-plugin-core/import-protection/rewrite.d.ts +29 -0
  129. package/src/internal/start-plugin-core/import-protection/rewrite.js +184 -0
  130. package/src/internal/start-plugin-core/import-protection/sourceLocation.d.ts +170 -0
  131. package/src/internal/start-plugin-core/import-protection/sourceLocation.js +376 -0
  132. package/src/internal/start-plugin-core/import-protection/trace.d.ts +89 -0
  133. package/src/internal/start-plugin-core/import-protection/trace.js +186 -0
  134. package/src/internal/start-plugin-core/import-protection/utils.d.ts +78 -0
  135. package/src/internal/start-plugin-core/import-protection/utils.js +171 -0
  136. package/src/internal/start-plugin-core/import-protection/virtualModules.d.ts +38 -0
  137. package/src/internal/start-plugin-core/import-protection/virtualModules.js +241 -0
  138. package/src/internal/start-plugin-core/index.d.ts +8 -0
  139. package/src/internal/start-plugin-core/index.js +2 -0
  140. package/src/internal/start-plugin-core/planning.d.ts +44 -0
  141. package/src/internal/start-plugin-core/planning.js +98 -0
  142. package/src/internal/start-plugin-core/post-build.d.ts +12 -0
  143. package/src/internal/start-plugin-core/post-build.js +40 -0
  144. package/src/internal/start-plugin-core/prerender.d.ts +17 -0
  145. package/src/internal/start-plugin-core/prerender.js +172 -0
  146. package/src/internal/start-plugin-core/queue.d.ts +37 -0
  147. package/src/internal/start-plugin-core/queue.js +118 -0
  148. package/src/internal/start-plugin-core/resolve-entries.d.ts +10 -0
  149. package/src/internal/start-plugin-core/resolve-entries.js +32 -0
  150. package/src/internal/start-plugin-core/schema.d.ts +1799 -0
  151. package/src/internal/start-plugin-core/schema.js +252 -0
  152. package/src/internal/start-plugin-core/serialization-adapters-module.d.ts +18 -0
  153. package/src/internal/start-plugin-core/serialization-adapters-module.js +37 -0
  154. package/src/internal/start-plugin-core/start-compiler/compiler.d.ts +181 -0
  155. package/src/internal/start-plugin-core/start-compiler/compiler.js +1078 -0
  156. package/src/internal/start-plugin-core/start-compiler/config.d.ts +20 -0
  157. package/src/internal/start-plugin-core/start-compiler/config.js +84 -0
  158. package/src/internal/start-plugin-core/start-compiler/handleClientOnlyJSX.d.ts +24 -0
  159. package/src/internal/start-plugin-core/start-compiler/handleClientOnlyJSX.js +25 -0
  160. package/src/internal/start-plugin-core/start-compiler/handleCreateIsomorphicFn.d.ts +11 -0
  161. package/src/internal/start-plugin-core/start-compiler/handleCreateIsomorphicFn.js +24 -0
  162. package/src/internal/start-plugin-core/start-compiler/handleCreateMiddleware.d.ts +11 -0
  163. package/src/internal/start-plugin-core/start-compiler/handleCreateMiddleware.js +35 -0
  164. package/src/internal/start-plugin-core/start-compiler/handleCreateServerFn.d.ts +22 -0
  165. package/src/internal/start-plugin-core/start-compiler/handleCreateServerFn.js +292 -0
  166. package/src/internal/start-plugin-core/start-compiler/handleEnvOnly.d.ts +14 -0
  167. package/src/internal/start-plugin-core/start-compiler/handleEnvOnly.js +41 -0
  168. package/src/internal/start-plugin-core/start-compiler/host.d.ts +44 -0
  169. package/src/internal/start-plugin-core/start-compiler/host.js +75 -0
  170. package/src/internal/start-plugin-core/start-compiler/server-fn-resolver-module.d.ts +10 -0
  171. package/src/internal/start-plugin-core/start-compiler/server-fn-resolver-module.js +87 -0
  172. package/src/internal/start-plugin-core/start-compiler/types.d.ts +119 -0
  173. package/src/internal/start-plugin-core/start-compiler/utils.d.ts +27 -0
  174. package/src/internal/start-plugin-core/start-compiler/utils.js +36 -0
  175. package/src/internal/start-plugin-core/start-manifest-plugin/inlineCss.d.ts +16 -0
  176. package/src/internal/start-plugin-core/start-manifest-plugin/inlineCss.js +131 -0
  177. package/src/internal/start-plugin-core/start-manifest-plugin/manifestBuilder.d.ts +64 -0
  178. package/src/internal/start-plugin-core/start-manifest-plugin/manifestBuilder.js +441 -0
  179. package/src/internal/start-plugin-core/start-router-plugin/constants.d.ts +1 -0
  180. package/src/internal/start-plugin-core/start-router-plugin/constants.js +4 -0
  181. package/src/internal/start-plugin-core/start-router-plugin/generator-plugins/compose-generator-plugins.d.ts +6 -0
  182. package/src/internal/start-plugin-core/start-router-plugin/generator-plugins/compose-generator-plugins.js +6 -0
  183. package/src/internal/start-plugin-core/start-router-plugin/generator-plugins/prerender-routes-plugin.d.ts +6 -0
  184. package/src/internal/start-plugin-core/start-router-plugin/generator-plugins/prerender-routes-plugin.js +27 -0
  185. package/src/internal/start-plugin-core/start-router-plugin/generator-plugins/routes-manifest-plugin.d.ts +6 -0
  186. package/src/internal/start-plugin-core/start-router-plugin/generator-plugins/routes-manifest-plugin.js +34 -0
  187. package/src/internal/start-plugin-core/start-router-plugin/pruneServerOnlySubtrees.d.ts +11 -0
  188. package/src/internal/start-plugin-core/start-router-plugin/pruneServerOnlySubtrees.js +42 -0
  189. package/src/internal/start-plugin-core/start-router-plugin/route-tree-footer.d.ts +6 -0
  190. package/src/internal/start-plugin-core/start-router-plugin/route-tree-footer.js +59 -0
  191. package/src/internal/start-plugin-core/types.d.ts +135 -0
  192. package/src/internal/start-plugin-core/types.js +4 -0
  193. package/src/internal/start-plugin-core/utils.d.ts +13 -0
  194. package/src/internal/start-plugin-core/utils.js +42 -0
  195. package/src/internal/start-plugin-core/vite/createVirtualModule.d.ts +15 -0
  196. package/src/internal/start-plugin-core/vite/createVirtualModule.js +27 -0
  197. package/src/internal/start-plugin-core/vite/dev-server-plugin/dev-styles.d.ts +26 -0
  198. package/src/internal/start-plugin-core/vite/dev-server-plugin/dev-styles.js +165 -0
  199. package/src/internal/start-plugin-core/vite/dev-server-plugin/plugin.d.ts +11 -0
  200. package/src/internal/start-plugin-core/vite/dev-server-plugin/plugin.js +170 -0
  201. package/src/internal/start-plugin-core/vite/import-protection-plugin/plugin.d.ts +4 -0
  202. package/src/internal/start-plugin-core/vite/import-protection-plugin/plugin.js +1553 -0
  203. package/src/internal/start-plugin-core/vite/import-protection-plugin/types.d.ts +103 -0
  204. package/src/internal/start-plugin-core/vite/import-protection-plugin/virtualModules.d.ts +40 -0
  205. package/src/internal/start-plugin-core/vite/import-protection-plugin/virtualModules.js +68 -0
  206. package/src/internal/start-plugin-core/vite/index.d.ts +13 -0
  207. package/src/internal/start-plugin-core/vite/index.js +4 -0
  208. package/src/internal/start-plugin-core/vite/load-env-plugin/plugin.d.ts +2 -0
  209. package/src/internal/start-plugin-core/vite/load-env-plugin/plugin.js +13 -0
  210. package/src/internal/start-plugin-core/vite/output-directory.d.ts +7 -0
  211. package/src/internal/start-plugin-core/vite/output-directory.js +18 -0
  212. package/src/internal/start-plugin-core/vite/planning.d.ts +112 -0
  213. package/src/internal/start-plugin-core/vite/planning.js +152 -0
  214. package/src/internal/start-plugin-core/vite/plugin.d.ts +7 -0
  215. package/src/internal/start-plugin-core/vite/plugin.js +208 -0
  216. package/src/internal/start-plugin-core/vite/plugins.d.ts +17 -0
  217. package/src/internal/start-plugin-core/vite/plugins.js +72 -0
  218. package/src/internal/start-plugin-core/vite/post-server-build.d.ts +9 -0
  219. package/src/internal/start-plugin-core/vite/post-server-build.js +22 -0
  220. package/src/internal/start-plugin-core/vite/prerender.d.ts +9 -0
  221. package/src/internal/start-plugin-core/vite/prerender.js +52 -0
  222. package/src/internal/start-plugin-core/vite/preview-server-plugin/plugin.d.ts +2 -0
  223. package/src/internal/start-plugin-core/vite/preview-server-plugin/plugin.js +54 -0
  224. package/src/internal/start-plugin-core/vite/schema.d.ts +2423 -0
  225. package/src/internal/start-plugin-core/vite/schema.js +17 -0
  226. package/src/internal/start-plugin-core/vite/serialization-adapters-plugin.d.ts +5 -0
  227. package/src/internal/start-plugin-core/vite/serialization-adapters-plugin.js +63 -0
  228. package/src/internal/start-plugin-core/vite/start-compiler-plugin/hot-update.d.ts +5 -0
  229. package/src/internal/start-plugin-core/vite/start-compiler-plugin/hot-update.js +14 -0
  230. package/src/internal/start-plugin-core/vite/start-compiler-plugin/module-specifier.d.ts +5 -0
  231. package/src/internal/start-plugin-core/vite/start-compiler-plugin/module-specifier.js +25 -0
  232. package/src/internal/start-plugin-core/vite/start-compiler-plugin/plugin.d.ts +29 -0
  233. package/src/internal/start-plugin-core/vite/start-compiler-plugin/plugin.js +380 -0
  234. package/src/internal/start-plugin-core/vite/start-manifest-plugin/normalized-client-build.d.ts +11 -0
  235. package/src/internal/start-plugin-core/vite/start-manifest-plugin/normalized-client-build.js +114 -0
  236. package/src/internal/start-plugin-core/vite/start-manifest-plugin/plugin.d.ts +3 -0
  237. package/src/internal/start-plugin-core/vite/start-manifest-plugin/plugin.js +103 -0
  238. package/src/internal/start-plugin-core/vite/start-router-plugin/plugin.d.ts +9 -0
  239. package/src/internal/start-plugin-core/vite/start-router-plugin/plugin.js +143 -0
  240. package/src/internal/start-plugin-core/vite/types.d.ts +17 -0
  241. package/src/package-names.js +10 -0
  242. package/src/plugin-vite.d.ts +23 -0
  243. package/src/plugin-vite.js +62 -0
  244. package/src/runtime/client/StartClient.d.ts +11 -0
  245. package/src/runtime/client/StartClient.js +16 -0
  246. package/src/runtime/client/hydrateStart.d.ts +4 -0
  247. package/src/runtime/client/hydrateStart.js +30 -0
  248. package/src/runtime/server/StartServer.d.ts +10 -0
  249. package/src/runtime/server/StartServer.js +6 -0
  250. package/src/runtime/server/defaultRenderHandler.d.ts +3 -0
  251. package/src/runtime/server/defaultRenderHandler.js +11 -0
  252. package/src/runtime/server/defaultStreamHandler.d.ts +3 -0
  253. package/src/runtime/server/defaultStreamHandler.js +13 -0
  254. package/src/server-entry.d.ts +11 -0
  255. package/src/server-entry.js +13 -0
  256. package/src/server-only.d.ts +1 -0
  257. package/src/server-only.js +0 -0
  258. package/src/server-rpc.d.ts +1 -0
  259. package/src/server-rpc.js +1 -0
  260. package/src/server.d.ts +6 -0
  261. package/src/server.js +4 -0
  262. package/src/ssr-rpc.d.ts +1 -0
  263. package/src/ssr-rpc.js +1 -0
  264. package/src/use-server-fn.d.ts +3 -0
  265. package/src/use-server-fn.js +18 -0
  266. package/src/validate-options.js +7 -0
@@ -0,0 +1,2423 @@
1
+ import { z } from 'zod';
2
+ import { CompileStartFrameworkOptions } from '../types.js';
3
+ import { InlineCssInputOptions } from '../schema.js';
4
+ export declare const tanstackStartViteOptionsSchema: z.ZodPrefault<
5
+ z.ZodOptional<
6
+ z.ZodObject<
7
+ {
8
+ srcDirectory: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9
+ start: z.ZodPrefault<
10
+ z.ZodOptional<
11
+ z.ZodObject<
12
+ {
13
+ entry: z.ZodOptional<z.ZodString>;
14
+ },
15
+ z.core.$strip
16
+ >
17
+ >
18
+ >;
19
+ router: z.ZodPrefault<
20
+ z.ZodOptional<
21
+ z.ZodIntersection<
22
+ z.ZodObject<
23
+ {
24
+ entry: z.ZodOptional<z.ZodString>;
25
+ basepath: z.ZodOptional<z.ZodString>;
26
+ },
27
+ z.core.$strip
28
+ >,
29
+ z.ZodPrefault<
30
+ z.ZodOptional<
31
+ z.ZodObject<
32
+ {
33
+ virtualRouteConfig: z.ZodOptional<
34
+ z.ZodOptional<
35
+ z.ZodUnion<
36
+ [
37
+ z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>,
38
+ z.ZodString,
39
+ ]
40
+ >
41
+ >
42
+ >;
43
+ routeFilePrefix: z.ZodOptional<z.ZodOptional<z.ZodString>>;
44
+ routeFileIgnorePrefix: z.ZodOptional<
45
+ z.ZodDefault<z.ZodOptional<z.ZodString>>
46
+ >;
47
+ routeFileIgnorePattern: z.ZodOptional<z.ZodOptional<z.ZodString>>;
48
+ routesDirectory: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
49
+ quoteStyle: z.ZodOptional<
50
+ z.ZodDefault<
51
+ z.ZodOptional<
52
+ z.ZodEnum<{
53
+ single: 'single';
54
+ double: 'double';
55
+ }>
56
+ >
57
+ >
58
+ >;
59
+ semicolons: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
60
+ disableLogging: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
61
+ routeTreeFileHeader: z.ZodOptional<
62
+ z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>
63
+ >;
64
+ indexToken: z.ZodOptional<
65
+ z.ZodDefault<
66
+ z.ZodOptional<
67
+ z.ZodUnion<
68
+ readonly [
69
+ z.ZodString,
70
+ z.ZodCustom<RegExp, RegExp>,
71
+ z.ZodObject<
72
+ {
73
+ regex: z.ZodString;
74
+ flags: z.ZodOptional<z.ZodString>;
75
+ },
76
+ z.core.$strip
77
+ >,
78
+ ]
79
+ >
80
+ >
81
+ >
82
+ >;
83
+ routeToken: z.ZodOptional<
84
+ z.ZodDefault<
85
+ z.ZodOptional<
86
+ z.ZodUnion<
87
+ readonly [
88
+ z.ZodString,
89
+ z.ZodCustom<RegExp, RegExp>,
90
+ z.ZodObject<
91
+ {
92
+ regex: z.ZodString;
93
+ flags: z.ZodOptional<z.ZodString>;
94
+ },
95
+ z.core.$strip
96
+ >,
97
+ ]
98
+ >
99
+ >
100
+ >
101
+ >;
102
+ pathParamsAllowedCharacters: z.ZodOptional<
103
+ z.ZodOptional<
104
+ z.ZodArray<
105
+ z.ZodEnum<{
106
+ ':': ':';
107
+ $: '$';
108
+ ';': ';';
109
+ '@': '@';
110
+ '&': '&';
111
+ '=': '=';
112
+ '+': '+';
113
+ ',': ',';
114
+ }>
115
+ >
116
+ >
117
+ >;
118
+ generatedRouteTree: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
119
+ disableTypes: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
120
+ addExtensions: z.ZodOptional<
121
+ z.ZodPipe<
122
+ z.ZodDefault<
123
+ z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>
124
+ >,
125
+ z.ZodTransform<string | boolean, string | boolean>
126
+ >
127
+ >;
128
+ enableRouteTreeFormatting: z.ZodOptional<
129
+ z.ZodDefault<z.ZodOptional<z.ZodBoolean>>
130
+ >;
131
+ routeTreeFileFooter: z.ZodOptional<
132
+ z.ZodOptional<
133
+ z.ZodUnion<
134
+ readonly [
135
+ z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>,
136
+ z.ZodCustom<() => Array<string>, () => Array<string>>,
137
+ ]
138
+ >
139
+ >
140
+ >;
141
+ customScaffolding: z.ZodOptional<
142
+ z.ZodOptional<
143
+ z.ZodObject<
144
+ {
145
+ routeTemplate: z.ZodOptional<z.ZodString>;
146
+ lazyRouteTemplate: z.ZodOptional<z.ZodString>;
147
+ },
148
+ z.core.$strip
149
+ >
150
+ >
151
+ >;
152
+ experimental: z.ZodOptional<
153
+ z.ZodOptional<
154
+ z.ZodObject<
155
+ {
156
+ enableCodeSplitting: z.ZodOptional<z.ZodBoolean>;
157
+ },
158
+ z.core.$strip
159
+ >
160
+ >
161
+ >;
162
+ plugins: z.ZodOptional<
163
+ z.ZodOptional<
164
+ z.ZodArray<
165
+ z.ZodCustom<
166
+ import('#tanstack-start/router-generator').GeneratorPlugin,
167
+ import('#tanstack-start/router-generator').GeneratorPlugin
168
+ >
169
+ >
170
+ >
171
+ >;
172
+ tmpDir: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
173
+ importRoutesUsingAbsolutePaths: z.ZodOptional<
174
+ z.ZodDefault<z.ZodOptional<z.ZodBoolean>>
175
+ >;
176
+ enableRouteGeneration: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
177
+ codeSplittingOptions: z.ZodOptional<
178
+ z.ZodOptional<
179
+ z.ZodCustom<
180
+ import('#tanstack-start/router-plugin').CodeSplittingOptions,
181
+ import('#tanstack-start/router-plugin').CodeSplittingOptions
182
+ >
183
+ >
184
+ >;
185
+ plugin: z.ZodOptional<
186
+ z.ZodOptional<
187
+ z.ZodObject<
188
+ {
189
+ hmr: z.ZodOptional<
190
+ z.ZodObject<
191
+ {
192
+ style: z.ZodOptional<
193
+ z.ZodEnum<{
194
+ vite: 'vite';
195
+ webpack: 'webpack';
196
+ }>
197
+ >;
198
+ },
199
+ z.core.$strip
200
+ >
201
+ >;
202
+ vite: z.ZodOptional<
203
+ z.ZodObject<
204
+ {
205
+ environmentName: z.ZodOptional<z.ZodString>;
206
+ },
207
+ z.core.$strip
208
+ >
209
+ >;
210
+ },
211
+ z.core.$strip
212
+ >
213
+ >
214
+ >;
215
+ },
216
+ z.core.$strip
217
+ >
218
+ >
219
+ >
220
+ >
221
+ >
222
+ >;
223
+ client: z.ZodPrefault<
224
+ z.ZodOptional<
225
+ z.ZodObject<
226
+ {
227
+ entry: z.ZodOptional<z.ZodString>;
228
+ base: z.ZodDefault<z.ZodOptional<z.ZodString>>;
229
+ },
230
+ z.core.$strip
231
+ >
232
+ >
233
+ >;
234
+ server: z.ZodPrefault<
235
+ z.ZodOptional<
236
+ z.ZodObject<
237
+ {
238
+ entry: z.ZodOptional<z.ZodString>;
239
+ build: z.ZodPrefault<
240
+ z.ZodOptional<
241
+ z.ZodObject<
242
+ {
243
+ staticNodeEnv: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
244
+ inlineCss: z.ZodPipe<
245
+ z.ZodDefault<
246
+ z.ZodOptional<
247
+ z.ZodUnion<
248
+ readonly [
249
+ z.ZodBoolean,
250
+ z.ZodObject<
251
+ {
252
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
253
+ transformAssets: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
254
+ },
255
+ z.core.$strip
256
+ >,
257
+ ]
258
+ >
259
+ >
260
+ >,
261
+ z.ZodTransform<
262
+ {
263
+ enabled: boolean;
264
+ transformAssets: boolean;
265
+ },
266
+ | boolean
267
+ | {
268
+ enabled: boolean;
269
+ transformAssets: boolean;
270
+ }
271
+ >
272
+ >;
273
+ },
274
+ z.core.$strip
275
+ >
276
+ >
277
+ >;
278
+ },
279
+ z.core.$strip
280
+ >
281
+ >
282
+ >;
283
+ serverFns: z.ZodPrefault<
284
+ z.ZodOptional<
285
+ z.ZodObject<
286
+ {
287
+ base: z.ZodDefault<z.ZodOptional<z.ZodString>>;
288
+ disableCsrfMiddlewareWarning: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
289
+ generateFunctionId: z.ZodOptional<
290
+ z.ZodCustom<
291
+ (opts: { filename: string; functionName: string }) => string | undefined,
292
+ (opts: { filename: string; functionName: string }) => string | undefined
293
+ >
294
+ >;
295
+ },
296
+ z.core.$strip
297
+ >
298
+ >
299
+ >;
300
+ pages: z.ZodDefault<
301
+ z.ZodOptional<
302
+ z.ZodArray<
303
+ z.ZodObject<
304
+ {
305
+ path: z.ZodString;
306
+ sitemap: z.ZodOptional<
307
+ z.ZodObject<
308
+ {
309
+ exclude: z.ZodOptional<z.ZodBoolean>;
310
+ priority: z.ZodOptional<z.ZodNumber>;
311
+ changefreq: z.ZodOptional<
312
+ z.ZodEnum<{
313
+ never: 'never';
314
+ always: 'always';
315
+ hourly: 'hourly';
316
+ daily: 'daily';
317
+ weekly: 'weekly';
318
+ monthly: 'monthly';
319
+ yearly: 'yearly';
320
+ }>
321
+ >;
322
+ lastmod: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>>;
323
+ alternateRefs: z.ZodOptional<
324
+ z.ZodArray<
325
+ z.ZodObject<
326
+ {
327
+ href: z.ZodString;
328
+ hreflang: z.ZodString;
329
+ },
330
+ z.core.$strip
331
+ >
332
+ >
333
+ >;
334
+ images: z.ZodOptional<
335
+ z.ZodArray<
336
+ z.ZodObject<
337
+ {
338
+ loc: z.ZodString;
339
+ caption: z.ZodOptional<z.ZodString>;
340
+ title: z.ZodOptional<z.ZodString>;
341
+ },
342
+ z.core.$strip
343
+ >
344
+ >
345
+ >;
346
+ news: z.ZodOptional<
347
+ z.ZodObject<
348
+ {
349
+ publication: z.ZodObject<
350
+ {
351
+ name: z.ZodString;
352
+ language: z.ZodString;
353
+ },
354
+ z.core.$strip
355
+ >;
356
+ publicationDate: z.ZodUnion<readonly [z.ZodString, z.ZodDate]>;
357
+ title: z.ZodString;
358
+ },
359
+ z.core.$strip
360
+ >
361
+ >;
362
+ },
363
+ z.core.$strip
364
+ >
365
+ >;
366
+ fromCrawl: z.ZodOptional<z.ZodBoolean>;
367
+ prerender: z.ZodOptional<
368
+ z.ZodObject<
369
+ {
370
+ enabled: z.ZodOptional<z.ZodBoolean>;
371
+ outputPath: z.ZodOptional<z.ZodString>;
372
+ autoSubfolderIndex: z.ZodOptional<z.ZodBoolean>;
373
+ crawlLinks: z.ZodOptional<z.ZodBoolean>;
374
+ retryCount: z.ZodOptional<z.ZodNumber>;
375
+ retryDelay: z.ZodOptional<z.ZodNumber>;
376
+ onSuccess: z.ZodOptional<
377
+ z.ZodCustom<
378
+ (result: {
379
+ page: z.infer<
380
+ z.ZodObject<
381
+ {
382
+ path: z.ZodString;
383
+ sitemap: z.ZodOptional<
384
+ z.ZodObject<
385
+ {
386
+ exclude: z.ZodOptional<z.ZodBoolean>;
387
+ priority: z.ZodOptional<z.ZodNumber>;
388
+ changefreq: z.ZodOptional<
389
+ z.ZodEnum<{
390
+ never: 'never';
391
+ always: 'always';
392
+ hourly: 'hourly';
393
+ daily: 'daily';
394
+ weekly: 'weekly';
395
+ monthly: 'monthly';
396
+ yearly: 'yearly';
397
+ }>
398
+ >;
399
+ lastmod: z.ZodOptional<
400
+ z.ZodUnion<readonly [z.ZodString, z.ZodDate]>
401
+ >;
402
+ alternateRefs: z.ZodOptional<
403
+ z.ZodArray<
404
+ z.ZodObject<
405
+ {
406
+ href: z.ZodString;
407
+ hreflang: z.ZodString;
408
+ },
409
+ z.core.$strip
410
+ >
411
+ >
412
+ >;
413
+ images: z.ZodOptional<
414
+ z.ZodArray<
415
+ z.ZodObject<
416
+ {
417
+ loc: z.ZodString;
418
+ caption: z.ZodOptional<z.ZodString>;
419
+ title: z.ZodOptional<z.ZodString>;
420
+ },
421
+ z.core.$strip
422
+ >
423
+ >
424
+ >;
425
+ news: z.ZodOptional<
426
+ z.ZodObject<
427
+ {
428
+ publication: z.ZodObject<
429
+ {
430
+ name: z.ZodString;
431
+ language: z.ZodString;
432
+ },
433
+ z.core.$strip
434
+ >;
435
+ publicationDate: z.ZodUnion<
436
+ readonly [z.ZodString, z.ZodDate]
437
+ >;
438
+ title: z.ZodString;
439
+ },
440
+ z.core.$strip
441
+ >
442
+ >;
443
+ },
444
+ z.core.$strip
445
+ >
446
+ >;
447
+ fromCrawl: z.ZodOptional<z.ZodBoolean>;
448
+ },
449
+ z.core.$strip
450
+ >
451
+ >;
452
+ html: string;
453
+ }) => unknown,
454
+ (result: {
455
+ page: z.infer<
456
+ z.ZodObject<
457
+ {
458
+ path: z.ZodString;
459
+ sitemap: z.ZodOptional<
460
+ z.ZodObject<
461
+ {
462
+ exclude: z.ZodOptional<z.ZodBoolean>;
463
+ priority: z.ZodOptional<z.ZodNumber>;
464
+ changefreq: z.ZodOptional<
465
+ z.ZodEnum<{
466
+ never: 'never';
467
+ always: 'always';
468
+ hourly: 'hourly';
469
+ daily: 'daily';
470
+ weekly: 'weekly';
471
+ monthly: 'monthly';
472
+ yearly: 'yearly';
473
+ }>
474
+ >;
475
+ lastmod: z.ZodOptional<
476
+ z.ZodUnion<readonly [z.ZodString, z.ZodDate]>
477
+ >;
478
+ alternateRefs: z.ZodOptional<
479
+ z.ZodArray<
480
+ z.ZodObject<
481
+ {
482
+ href: z.ZodString;
483
+ hreflang: z.ZodString;
484
+ },
485
+ z.core.$strip
486
+ >
487
+ >
488
+ >;
489
+ images: z.ZodOptional<
490
+ z.ZodArray<
491
+ z.ZodObject<
492
+ {
493
+ loc: z.ZodString;
494
+ caption: z.ZodOptional<z.ZodString>;
495
+ title: z.ZodOptional<z.ZodString>;
496
+ },
497
+ z.core.$strip
498
+ >
499
+ >
500
+ >;
501
+ news: z.ZodOptional<
502
+ z.ZodObject<
503
+ {
504
+ publication: z.ZodObject<
505
+ {
506
+ name: z.ZodString;
507
+ language: z.ZodString;
508
+ },
509
+ z.core.$strip
510
+ >;
511
+ publicationDate: z.ZodUnion<
512
+ readonly [z.ZodString, z.ZodDate]
513
+ >;
514
+ title: z.ZodString;
515
+ },
516
+ z.core.$strip
517
+ >
518
+ >;
519
+ },
520
+ z.core.$strip
521
+ >
522
+ >;
523
+ fromCrawl: z.ZodOptional<z.ZodBoolean>;
524
+ },
525
+ z.core.$strip
526
+ >
527
+ >;
528
+ html: string;
529
+ }) => unknown
530
+ >
531
+ >;
532
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
533
+ },
534
+ z.core.$strip
535
+ >
536
+ >;
537
+ },
538
+ z.core.$strip
539
+ >
540
+ >
541
+ >
542
+ >;
543
+ sitemap: z.ZodOptional<
544
+ z.ZodObject<
545
+ {
546
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
547
+ host: z.ZodOptional<z.ZodString>;
548
+ outputPath: z.ZodDefault<z.ZodOptional<z.ZodString>>;
549
+ },
550
+ z.core.$strip
551
+ >
552
+ >;
553
+ prerender: z.ZodOptional<
554
+ z.ZodIntersection<
555
+ z.ZodObject<
556
+ {
557
+ enabled: z.ZodOptional<z.ZodBoolean>;
558
+ concurrency: z.ZodOptional<z.ZodNumber>;
559
+ filter: z.ZodOptional<
560
+ z.ZodCustom<
561
+ (
562
+ page: z.infer<
563
+ z.ZodObject<
564
+ {
565
+ path: z.ZodString;
566
+ sitemap: z.ZodOptional<
567
+ z.ZodObject<
568
+ {
569
+ exclude: z.ZodOptional<z.ZodBoolean>;
570
+ priority: z.ZodOptional<z.ZodNumber>;
571
+ changefreq: z.ZodOptional<
572
+ z.ZodEnum<{
573
+ never: 'never';
574
+ always: 'always';
575
+ hourly: 'hourly';
576
+ daily: 'daily';
577
+ weekly: 'weekly';
578
+ monthly: 'monthly';
579
+ yearly: 'yearly';
580
+ }>
581
+ >;
582
+ lastmod: z.ZodOptional<
583
+ z.ZodUnion<readonly [z.ZodString, z.ZodDate]>
584
+ >;
585
+ alternateRefs: z.ZodOptional<
586
+ z.ZodArray<
587
+ z.ZodObject<
588
+ {
589
+ href: z.ZodString;
590
+ hreflang: z.ZodString;
591
+ },
592
+ z.core.$strip
593
+ >
594
+ >
595
+ >;
596
+ images: z.ZodOptional<
597
+ z.ZodArray<
598
+ z.ZodObject<
599
+ {
600
+ loc: z.ZodString;
601
+ caption: z.ZodOptional<z.ZodString>;
602
+ title: z.ZodOptional<z.ZodString>;
603
+ },
604
+ z.core.$strip
605
+ >
606
+ >
607
+ >;
608
+ news: z.ZodOptional<
609
+ z.ZodObject<
610
+ {
611
+ publication: z.ZodObject<
612
+ {
613
+ name: z.ZodString;
614
+ language: z.ZodString;
615
+ },
616
+ z.core.$strip
617
+ >;
618
+ publicationDate: z.ZodUnion<
619
+ readonly [z.ZodString, z.ZodDate]
620
+ >;
621
+ title: z.ZodString;
622
+ },
623
+ z.core.$strip
624
+ >
625
+ >;
626
+ },
627
+ z.core.$strip
628
+ >
629
+ >;
630
+ fromCrawl: z.ZodOptional<z.ZodBoolean>;
631
+ prerender: z.ZodOptional<
632
+ z.ZodObject<
633
+ {
634
+ enabled: z.ZodOptional<z.ZodBoolean>;
635
+ outputPath: z.ZodOptional<z.ZodString>;
636
+ autoSubfolderIndex: z.ZodOptional<z.ZodBoolean>;
637
+ crawlLinks: z.ZodOptional<z.ZodBoolean>;
638
+ retryCount: z.ZodOptional<z.ZodNumber>;
639
+ retryDelay: z.ZodOptional<z.ZodNumber>;
640
+ onSuccess: z.ZodOptional<
641
+ z.ZodCustom<
642
+ (result: {
643
+ page: z.infer<
644
+ z.ZodObject<
645
+ {
646
+ path: z.ZodString;
647
+ sitemap: z.ZodOptional<
648
+ z.ZodObject<
649
+ {
650
+ exclude: z.ZodOptional<z.ZodBoolean>;
651
+ priority: z.ZodOptional<z.ZodNumber>;
652
+ changefreq: z.ZodOptional<
653
+ z.ZodEnum<{
654
+ never: 'never';
655
+ always: 'always';
656
+ hourly: 'hourly';
657
+ daily: 'daily';
658
+ weekly: 'weekly';
659
+ monthly: 'monthly';
660
+ yearly: 'yearly';
661
+ }>
662
+ >;
663
+ lastmod: z.ZodOptional<
664
+ z.ZodUnion<readonly [z.ZodString, z.ZodDate]>
665
+ >;
666
+ alternateRefs: z.ZodOptional<
667
+ z.ZodArray<
668
+ z.ZodObject<
669
+ {
670
+ href: z.ZodString;
671
+ hreflang: z.ZodString;
672
+ },
673
+ z.core.$strip
674
+ >
675
+ >
676
+ >;
677
+ images: z.ZodOptional<
678
+ z.ZodArray<
679
+ z.ZodObject<
680
+ {
681
+ loc: z.ZodString;
682
+ caption: z.ZodOptional<z.ZodString>;
683
+ title: z.ZodOptional<z.ZodString>;
684
+ },
685
+ z.core.$strip
686
+ >
687
+ >
688
+ >;
689
+ news: z.ZodOptional<
690
+ z.ZodObject<
691
+ {
692
+ publication: z.ZodObject<
693
+ {
694
+ name: z.ZodString;
695
+ language: z.ZodString;
696
+ },
697
+ z.core.$strip
698
+ >;
699
+ publicationDate: z.ZodUnion<
700
+ readonly [z.ZodString, z.ZodDate]
701
+ >;
702
+ title: z.ZodString;
703
+ },
704
+ z.core.$strip
705
+ >
706
+ >;
707
+ },
708
+ z.core.$strip
709
+ >
710
+ >;
711
+ fromCrawl: z.ZodOptional<z.ZodBoolean>;
712
+ },
713
+ z.core.$strip
714
+ >
715
+ >;
716
+ html: string;
717
+ }) => unknown,
718
+ (result: {
719
+ page: z.infer<
720
+ z.ZodObject<
721
+ {
722
+ path: z.ZodString;
723
+ sitemap: z.ZodOptional<
724
+ z.ZodObject<
725
+ {
726
+ exclude: z.ZodOptional<z.ZodBoolean>;
727
+ priority: z.ZodOptional<z.ZodNumber>;
728
+ changefreq: z.ZodOptional<
729
+ z.ZodEnum<{
730
+ never: 'never';
731
+ always: 'always';
732
+ hourly: 'hourly';
733
+ daily: 'daily';
734
+ weekly: 'weekly';
735
+ monthly: 'monthly';
736
+ yearly: 'yearly';
737
+ }>
738
+ >;
739
+ lastmod: z.ZodOptional<
740
+ z.ZodUnion<readonly [z.ZodString, z.ZodDate]>
741
+ >;
742
+ alternateRefs: z.ZodOptional<
743
+ z.ZodArray<
744
+ z.ZodObject<
745
+ {
746
+ href: z.ZodString;
747
+ hreflang: z.ZodString;
748
+ },
749
+ z.core.$strip
750
+ >
751
+ >
752
+ >;
753
+ images: z.ZodOptional<
754
+ z.ZodArray<
755
+ z.ZodObject<
756
+ {
757
+ loc: z.ZodString;
758
+ caption: z.ZodOptional<z.ZodString>;
759
+ title: z.ZodOptional<z.ZodString>;
760
+ },
761
+ z.core.$strip
762
+ >
763
+ >
764
+ >;
765
+ news: z.ZodOptional<
766
+ z.ZodObject<
767
+ {
768
+ publication: z.ZodObject<
769
+ {
770
+ name: z.ZodString;
771
+ language: z.ZodString;
772
+ },
773
+ z.core.$strip
774
+ >;
775
+ publicationDate: z.ZodUnion<
776
+ readonly [z.ZodString, z.ZodDate]
777
+ >;
778
+ title: z.ZodString;
779
+ },
780
+ z.core.$strip
781
+ >
782
+ >;
783
+ },
784
+ z.core.$strip
785
+ >
786
+ >;
787
+ fromCrawl: z.ZodOptional<z.ZodBoolean>;
788
+ },
789
+ z.core.$strip
790
+ >
791
+ >;
792
+ html: string;
793
+ }) => unknown
794
+ >
795
+ >;
796
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
797
+ },
798
+ z.core.$strip
799
+ >
800
+ >;
801
+ },
802
+ z.core.$strip
803
+ >
804
+ >,
805
+ ) => unknown,
806
+ (
807
+ page: z.infer<
808
+ z.ZodObject<
809
+ {
810
+ path: z.ZodString;
811
+ sitemap: z.ZodOptional<
812
+ z.ZodObject<
813
+ {
814
+ exclude: z.ZodOptional<z.ZodBoolean>;
815
+ priority: z.ZodOptional<z.ZodNumber>;
816
+ changefreq: z.ZodOptional<
817
+ z.ZodEnum<{
818
+ never: 'never';
819
+ always: 'always';
820
+ hourly: 'hourly';
821
+ daily: 'daily';
822
+ weekly: 'weekly';
823
+ monthly: 'monthly';
824
+ yearly: 'yearly';
825
+ }>
826
+ >;
827
+ lastmod: z.ZodOptional<
828
+ z.ZodUnion<readonly [z.ZodString, z.ZodDate]>
829
+ >;
830
+ alternateRefs: z.ZodOptional<
831
+ z.ZodArray<
832
+ z.ZodObject<
833
+ {
834
+ href: z.ZodString;
835
+ hreflang: z.ZodString;
836
+ },
837
+ z.core.$strip
838
+ >
839
+ >
840
+ >;
841
+ images: z.ZodOptional<
842
+ z.ZodArray<
843
+ z.ZodObject<
844
+ {
845
+ loc: z.ZodString;
846
+ caption: z.ZodOptional<z.ZodString>;
847
+ title: z.ZodOptional<z.ZodString>;
848
+ },
849
+ z.core.$strip
850
+ >
851
+ >
852
+ >;
853
+ news: z.ZodOptional<
854
+ z.ZodObject<
855
+ {
856
+ publication: z.ZodObject<
857
+ {
858
+ name: z.ZodString;
859
+ language: z.ZodString;
860
+ },
861
+ z.core.$strip
862
+ >;
863
+ publicationDate: z.ZodUnion<
864
+ readonly [z.ZodString, z.ZodDate]
865
+ >;
866
+ title: z.ZodString;
867
+ },
868
+ z.core.$strip
869
+ >
870
+ >;
871
+ },
872
+ z.core.$strip
873
+ >
874
+ >;
875
+ fromCrawl: z.ZodOptional<z.ZodBoolean>;
876
+ prerender: z.ZodOptional<
877
+ z.ZodObject<
878
+ {
879
+ enabled: z.ZodOptional<z.ZodBoolean>;
880
+ outputPath: z.ZodOptional<z.ZodString>;
881
+ autoSubfolderIndex: z.ZodOptional<z.ZodBoolean>;
882
+ crawlLinks: z.ZodOptional<z.ZodBoolean>;
883
+ retryCount: z.ZodOptional<z.ZodNumber>;
884
+ retryDelay: z.ZodOptional<z.ZodNumber>;
885
+ onSuccess: z.ZodOptional<
886
+ z.ZodCustom<
887
+ (result: {
888
+ page: z.infer<
889
+ z.ZodObject<
890
+ {
891
+ path: z.ZodString;
892
+ sitemap: z.ZodOptional<
893
+ z.ZodObject<
894
+ {
895
+ exclude: z.ZodOptional<z.ZodBoolean>;
896
+ priority: z.ZodOptional<z.ZodNumber>;
897
+ changefreq: z.ZodOptional<
898
+ z.ZodEnum<{
899
+ never: 'never';
900
+ always: 'always';
901
+ hourly: 'hourly';
902
+ daily: 'daily';
903
+ weekly: 'weekly';
904
+ monthly: 'monthly';
905
+ yearly: 'yearly';
906
+ }>
907
+ >;
908
+ lastmod: z.ZodOptional<
909
+ z.ZodUnion<readonly [z.ZodString, z.ZodDate]>
910
+ >;
911
+ alternateRefs: z.ZodOptional<
912
+ z.ZodArray<
913
+ z.ZodObject<
914
+ {
915
+ href: z.ZodString;
916
+ hreflang: z.ZodString;
917
+ },
918
+ z.core.$strip
919
+ >
920
+ >
921
+ >;
922
+ images: z.ZodOptional<
923
+ z.ZodArray<
924
+ z.ZodObject<
925
+ {
926
+ loc: z.ZodString;
927
+ caption: z.ZodOptional<z.ZodString>;
928
+ title: z.ZodOptional<z.ZodString>;
929
+ },
930
+ z.core.$strip
931
+ >
932
+ >
933
+ >;
934
+ news: z.ZodOptional<
935
+ z.ZodObject<
936
+ {
937
+ publication: z.ZodObject<
938
+ {
939
+ name: z.ZodString;
940
+ language: z.ZodString;
941
+ },
942
+ z.core.$strip
943
+ >;
944
+ publicationDate: z.ZodUnion<
945
+ readonly [z.ZodString, z.ZodDate]
946
+ >;
947
+ title: z.ZodString;
948
+ },
949
+ z.core.$strip
950
+ >
951
+ >;
952
+ },
953
+ z.core.$strip
954
+ >
955
+ >;
956
+ fromCrawl: z.ZodOptional<z.ZodBoolean>;
957
+ },
958
+ z.core.$strip
959
+ >
960
+ >;
961
+ html: string;
962
+ }) => unknown,
963
+ (result: {
964
+ page: z.infer<
965
+ z.ZodObject<
966
+ {
967
+ path: z.ZodString;
968
+ sitemap: z.ZodOptional<
969
+ z.ZodObject<
970
+ {
971
+ exclude: z.ZodOptional<z.ZodBoolean>;
972
+ priority: z.ZodOptional<z.ZodNumber>;
973
+ changefreq: z.ZodOptional<
974
+ z.ZodEnum<{
975
+ never: 'never';
976
+ always: 'always';
977
+ hourly: 'hourly';
978
+ daily: 'daily';
979
+ weekly: 'weekly';
980
+ monthly: 'monthly';
981
+ yearly: 'yearly';
982
+ }>
983
+ >;
984
+ lastmod: z.ZodOptional<
985
+ z.ZodUnion<readonly [z.ZodString, z.ZodDate]>
986
+ >;
987
+ alternateRefs: z.ZodOptional<
988
+ z.ZodArray<
989
+ z.ZodObject<
990
+ {
991
+ href: z.ZodString;
992
+ hreflang: z.ZodString;
993
+ },
994
+ z.core.$strip
995
+ >
996
+ >
997
+ >;
998
+ images: z.ZodOptional<
999
+ z.ZodArray<
1000
+ z.ZodObject<
1001
+ {
1002
+ loc: z.ZodString;
1003
+ caption: z.ZodOptional<z.ZodString>;
1004
+ title: z.ZodOptional<z.ZodString>;
1005
+ },
1006
+ z.core.$strip
1007
+ >
1008
+ >
1009
+ >;
1010
+ news: z.ZodOptional<
1011
+ z.ZodObject<
1012
+ {
1013
+ publication: z.ZodObject<
1014
+ {
1015
+ name: z.ZodString;
1016
+ language: z.ZodString;
1017
+ },
1018
+ z.core.$strip
1019
+ >;
1020
+ publicationDate: z.ZodUnion<
1021
+ readonly [z.ZodString, z.ZodDate]
1022
+ >;
1023
+ title: z.ZodString;
1024
+ },
1025
+ z.core.$strip
1026
+ >
1027
+ >;
1028
+ },
1029
+ z.core.$strip
1030
+ >
1031
+ >;
1032
+ fromCrawl: z.ZodOptional<z.ZodBoolean>;
1033
+ },
1034
+ z.core.$strip
1035
+ >
1036
+ >;
1037
+ html: string;
1038
+ }) => unknown
1039
+ >
1040
+ >;
1041
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1042
+ },
1043
+ z.core.$strip
1044
+ >
1045
+ >;
1046
+ },
1047
+ z.core.$strip
1048
+ >
1049
+ >,
1050
+ ) => unknown
1051
+ >
1052
+ >;
1053
+ failOnError: z.ZodOptional<z.ZodBoolean>;
1054
+ autoStaticPathsDiscovery: z.ZodOptional<z.ZodBoolean>;
1055
+ maxRedirects: z.ZodOptional<z.ZodNumber>;
1056
+ },
1057
+ z.core.$strip
1058
+ >,
1059
+ z.ZodOptional<
1060
+ z.ZodObject<
1061
+ {
1062
+ enabled: z.ZodOptional<z.ZodBoolean>;
1063
+ outputPath: z.ZodOptional<z.ZodString>;
1064
+ autoSubfolderIndex: z.ZodOptional<z.ZodBoolean>;
1065
+ crawlLinks: z.ZodOptional<z.ZodBoolean>;
1066
+ retryCount: z.ZodOptional<z.ZodNumber>;
1067
+ retryDelay: z.ZodOptional<z.ZodNumber>;
1068
+ onSuccess: z.ZodOptional<
1069
+ z.ZodCustom<
1070
+ (result: {
1071
+ page: z.infer<
1072
+ z.ZodObject<
1073
+ {
1074
+ path: z.ZodString;
1075
+ sitemap: z.ZodOptional<
1076
+ z.ZodObject<
1077
+ {
1078
+ exclude: z.ZodOptional<z.ZodBoolean>;
1079
+ priority: z.ZodOptional<z.ZodNumber>;
1080
+ changefreq: z.ZodOptional<
1081
+ z.ZodEnum<{
1082
+ never: 'never';
1083
+ always: 'always';
1084
+ hourly: 'hourly';
1085
+ daily: 'daily';
1086
+ weekly: 'weekly';
1087
+ monthly: 'monthly';
1088
+ yearly: 'yearly';
1089
+ }>
1090
+ >;
1091
+ lastmod: z.ZodOptional<
1092
+ z.ZodUnion<readonly [z.ZodString, z.ZodDate]>
1093
+ >;
1094
+ alternateRefs: z.ZodOptional<
1095
+ z.ZodArray<
1096
+ z.ZodObject<
1097
+ {
1098
+ href: z.ZodString;
1099
+ hreflang: z.ZodString;
1100
+ },
1101
+ z.core.$strip
1102
+ >
1103
+ >
1104
+ >;
1105
+ images: z.ZodOptional<
1106
+ z.ZodArray<
1107
+ z.ZodObject<
1108
+ {
1109
+ loc: z.ZodString;
1110
+ caption: z.ZodOptional<z.ZodString>;
1111
+ title: z.ZodOptional<z.ZodString>;
1112
+ },
1113
+ z.core.$strip
1114
+ >
1115
+ >
1116
+ >;
1117
+ news: z.ZodOptional<
1118
+ z.ZodObject<
1119
+ {
1120
+ publication: z.ZodObject<
1121
+ {
1122
+ name: z.ZodString;
1123
+ language: z.ZodString;
1124
+ },
1125
+ z.core.$strip
1126
+ >;
1127
+ publicationDate: z.ZodUnion<
1128
+ readonly [z.ZodString, z.ZodDate]
1129
+ >;
1130
+ title: z.ZodString;
1131
+ },
1132
+ z.core.$strip
1133
+ >
1134
+ >;
1135
+ },
1136
+ z.core.$strip
1137
+ >
1138
+ >;
1139
+ fromCrawl: z.ZodOptional<z.ZodBoolean>;
1140
+ },
1141
+ z.core.$strip
1142
+ >
1143
+ >;
1144
+ html: string;
1145
+ }) => unknown,
1146
+ (result: {
1147
+ page: z.infer<
1148
+ z.ZodObject<
1149
+ {
1150
+ path: z.ZodString;
1151
+ sitemap: z.ZodOptional<
1152
+ z.ZodObject<
1153
+ {
1154
+ exclude: z.ZodOptional<z.ZodBoolean>;
1155
+ priority: z.ZodOptional<z.ZodNumber>;
1156
+ changefreq: z.ZodOptional<
1157
+ z.ZodEnum<{
1158
+ never: 'never';
1159
+ always: 'always';
1160
+ hourly: 'hourly';
1161
+ daily: 'daily';
1162
+ weekly: 'weekly';
1163
+ monthly: 'monthly';
1164
+ yearly: 'yearly';
1165
+ }>
1166
+ >;
1167
+ lastmod: z.ZodOptional<
1168
+ z.ZodUnion<readonly [z.ZodString, z.ZodDate]>
1169
+ >;
1170
+ alternateRefs: z.ZodOptional<
1171
+ z.ZodArray<
1172
+ z.ZodObject<
1173
+ {
1174
+ href: z.ZodString;
1175
+ hreflang: z.ZodString;
1176
+ },
1177
+ z.core.$strip
1178
+ >
1179
+ >
1180
+ >;
1181
+ images: z.ZodOptional<
1182
+ z.ZodArray<
1183
+ z.ZodObject<
1184
+ {
1185
+ loc: z.ZodString;
1186
+ caption: z.ZodOptional<z.ZodString>;
1187
+ title: z.ZodOptional<z.ZodString>;
1188
+ },
1189
+ z.core.$strip
1190
+ >
1191
+ >
1192
+ >;
1193
+ news: z.ZodOptional<
1194
+ z.ZodObject<
1195
+ {
1196
+ publication: z.ZodObject<
1197
+ {
1198
+ name: z.ZodString;
1199
+ language: z.ZodString;
1200
+ },
1201
+ z.core.$strip
1202
+ >;
1203
+ publicationDate: z.ZodUnion<
1204
+ readonly [z.ZodString, z.ZodDate]
1205
+ >;
1206
+ title: z.ZodString;
1207
+ },
1208
+ z.core.$strip
1209
+ >
1210
+ >;
1211
+ },
1212
+ z.core.$strip
1213
+ >
1214
+ >;
1215
+ fromCrawl: z.ZodOptional<z.ZodBoolean>;
1216
+ },
1217
+ z.core.$strip
1218
+ >
1219
+ >;
1220
+ html: string;
1221
+ }) => unknown
1222
+ >
1223
+ >;
1224
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1225
+ },
1226
+ z.core.$strip
1227
+ >
1228
+ >
1229
+ >
1230
+ >;
1231
+ dev: z.ZodPrefault<
1232
+ z.ZodOptional<
1233
+ z.ZodObject<
1234
+ {
1235
+ ssrStyles: z.ZodPrefault<
1236
+ z.ZodOptional<
1237
+ z.ZodObject<
1238
+ {
1239
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1240
+ basepath: z.ZodOptional<z.ZodString>;
1241
+ },
1242
+ z.core.$strip
1243
+ >
1244
+ >
1245
+ >;
1246
+ },
1247
+ z.core.$strip
1248
+ >
1249
+ >
1250
+ >;
1251
+ spa: z.ZodOptional<
1252
+ z.ZodObject<
1253
+ {
1254
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1255
+ maskPath: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1256
+ prerender: z.ZodPipe<
1257
+ z.ZodPrefault<
1258
+ z.ZodOptional<
1259
+ z.ZodObject<
1260
+ {
1261
+ enabled: z.ZodOptional<z.ZodBoolean>;
1262
+ outputPath: z.ZodOptional<z.ZodString>;
1263
+ autoSubfolderIndex: z.ZodOptional<z.ZodBoolean>;
1264
+ crawlLinks: z.ZodOptional<z.ZodBoolean>;
1265
+ retryCount: z.ZodOptional<z.ZodNumber>;
1266
+ retryDelay: z.ZodOptional<z.ZodNumber>;
1267
+ onSuccess: z.ZodOptional<
1268
+ z.ZodCustom<
1269
+ (result: {
1270
+ page: z.infer<
1271
+ z.ZodObject<
1272
+ {
1273
+ path: z.ZodString;
1274
+ sitemap: z.ZodOptional<
1275
+ z.ZodObject<
1276
+ {
1277
+ exclude: z.ZodOptional<z.ZodBoolean>;
1278
+ priority: z.ZodOptional<z.ZodNumber>;
1279
+ changefreq: z.ZodOptional<
1280
+ z.ZodEnum<{
1281
+ never: 'never';
1282
+ always: 'always';
1283
+ hourly: 'hourly';
1284
+ daily: 'daily';
1285
+ weekly: 'weekly';
1286
+ monthly: 'monthly';
1287
+ yearly: 'yearly';
1288
+ }>
1289
+ >;
1290
+ lastmod: z.ZodOptional<
1291
+ z.ZodUnion<readonly [z.ZodString, z.ZodDate]>
1292
+ >;
1293
+ alternateRefs: z.ZodOptional<
1294
+ z.ZodArray<
1295
+ z.ZodObject<
1296
+ {
1297
+ href: z.ZodString;
1298
+ hreflang: z.ZodString;
1299
+ },
1300
+ z.core.$strip
1301
+ >
1302
+ >
1303
+ >;
1304
+ images: z.ZodOptional<
1305
+ z.ZodArray<
1306
+ z.ZodObject<
1307
+ {
1308
+ loc: z.ZodString;
1309
+ caption: z.ZodOptional<z.ZodString>;
1310
+ title: z.ZodOptional<z.ZodString>;
1311
+ },
1312
+ z.core.$strip
1313
+ >
1314
+ >
1315
+ >;
1316
+ news: z.ZodOptional<
1317
+ z.ZodObject<
1318
+ {
1319
+ publication: z.ZodObject<
1320
+ {
1321
+ name: z.ZodString;
1322
+ language: z.ZodString;
1323
+ },
1324
+ z.core.$strip
1325
+ >;
1326
+ publicationDate: z.ZodUnion<
1327
+ readonly [z.ZodString, z.ZodDate]
1328
+ >;
1329
+ title: z.ZodString;
1330
+ },
1331
+ z.core.$strip
1332
+ >
1333
+ >;
1334
+ },
1335
+ z.core.$strip
1336
+ >
1337
+ >;
1338
+ fromCrawl: z.ZodOptional<z.ZodBoolean>;
1339
+ },
1340
+ z.core.$strip
1341
+ >
1342
+ >;
1343
+ html: string;
1344
+ }) => unknown,
1345
+ (result: {
1346
+ page: z.infer<
1347
+ z.ZodObject<
1348
+ {
1349
+ path: z.ZodString;
1350
+ sitemap: z.ZodOptional<
1351
+ z.ZodObject<
1352
+ {
1353
+ exclude: z.ZodOptional<z.ZodBoolean>;
1354
+ priority: z.ZodOptional<z.ZodNumber>;
1355
+ changefreq: z.ZodOptional<
1356
+ z.ZodEnum<{
1357
+ never: 'never';
1358
+ always: 'always';
1359
+ hourly: 'hourly';
1360
+ daily: 'daily';
1361
+ weekly: 'weekly';
1362
+ monthly: 'monthly';
1363
+ yearly: 'yearly';
1364
+ }>
1365
+ >;
1366
+ lastmod: z.ZodOptional<
1367
+ z.ZodUnion<readonly [z.ZodString, z.ZodDate]>
1368
+ >;
1369
+ alternateRefs: z.ZodOptional<
1370
+ z.ZodArray<
1371
+ z.ZodObject<
1372
+ {
1373
+ href: z.ZodString;
1374
+ hreflang: z.ZodString;
1375
+ },
1376
+ z.core.$strip
1377
+ >
1378
+ >
1379
+ >;
1380
+ images: z.ZodOptional<
1381
+ z.ZodArray<
1382
+ z.ZodObject<
1383
+ {
1384
+ loc: z.ZodString;
1385
+ caption: z.ZodOptional<z.ZodString>;
1386
+ title: z.ZodOptional<z.ZodString>;
1387
+ },
1388
+ z.core.$strip
1389
+ >
1390
+ >
1391
+ >;
1392
+ news: z.ZodOptional<
1393
+ z.ZodObject<
1394
+ {
1395
+ publication: z.ZodObject<
1396
+ {
1397
+ name: z.ZodString;
1398
+ language: z.ZodString;
1399
+ },
1400
+ z.core.$strip
1401
+ >;
1402
+ publicationDate: z.ZodUnion<
1403
+ readonly [z.ZodString, z.ZodDate]
1404
+ >;
1405
+ title: z.ZodString;
1406
+ },
1407
+ z.core.$strip
1408
+ >
1409
+ >;
1410
+ },
1411
+ z.core.$strip
1412
+ >
1413
+ >;
1414
+ fromCrawl: z.ZodOptional<z.ZodBoolean>;
1415
+ },
1416
+ z.core.$strip
1417
+ >
1418
+ >;
1419
+ html: string;
1420
+ }) => unknown
1421
+ >
1422
+ >;
1423
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1424
+ },
1425
+ z.core.$strip
1426
+ >
1427
+ >
1428
+ >,
1429
+ z.ZodTransform<
1430
+ {
1431
+ enabled: boolean;
1432
+ outputPath: string;
1433
+ autoSubfolderIndex?: boolean | undefined;
1434
+ crawlLinks: boolean;
1435
+ retryCount: number;
1436
+ retryDelay?: number | undefined;
1437
+ onSuccess?:
1438
+ | ((result: {
1439
+ page: z.infer<
1440
+ z.ZodObject<
1441
+ {
1442
+ path: z.ZodString;
1443
+ sitemap: z.ZodOptional<
1444
+ z.ZodObject<
1445
+ {
1446
+ exclude: z.ZodOptional<z.ZodBoolean>;
1447
+ priority: z.ZodOptional<z.ZodNumber>;
1448
+ changefreq: z.ZodOptional<
1449
+ z.ZodEnum<{
1450
+ never: 'never';
1451
+ always: 'always';
1452
+ hourly: 'hourly';
1453
+ daily: 'daily';
1454
+ weekly: 'weekly';
1455
+ monthly: 'monthly';
1456
+ yearly: 'yearly';
1457
+ }>
1458
+ >;
1459
+ lastmod: z.ZodOptional<
1460
+ z.ZodUnion<readonly [z.ZodString, z.ZodDate]>
1461
+ >;
1462
+ alternateRefs: z.ZodOptional<
1463
+ z.ZodArray<
1464
+ z.ZodObject<
1465
+ {
1466
+ href: z.ZodString;
1467
+ hreflang: z.ZodString;
1468
+ },
1469
+ z.core.$strip
1470
+ >
1471
+ >
1472
+ >;
1473
+ images: z.ZodOptional<
1474
+ z.ZodArray<
1475
+ z.ZodObject<
1476
+ {
1477
+ loc: z.ZodString;
1478
+ caption: z.ZodOptional<z.ZodString>;
1479
+ title: z.ZodOptional<z.ZodString>;
1480
+ },
1481
+ z.core.$strip
1482
+ >
1483
+ >
1484
+ >;
1485
+ news: z.ZodOptional<
1486
+ z.ZodObject<
1487
+ {
1488
+ publication: z.ZodObject<
1489
+ {
1490
+ name: z.ZodString;
1491
+ language: z.ZodString;
1492
+ },
1493
+ z.core.$strip
1494
+ >;
1495
+ publicationDate: z.ZodUnion<
1496
+ readonly [z.ZodString, z.ZodDate]
1497
+ >;
1498
+ title: z.ZodString;
1499
+ },
1500
+ z.core.$strip
1501
+ >
1502
+ >;
1503
+ },
1504
+ z.core.$strip
1505
+ >
1506
+ >;
1507
+ fromCrawl: z.ZodOptional<z.ZodBoolean>;
1508
+ },
1509
+ z.core.$strip
1510
+ >
1511
+ >;
1512
+ html: string;
1513
+ }) => unknown)
1514
+ | undefined;
1515
+ headers?: Record<string, string> | undefined;
1516
+ },
1517
+ {
1518
+ enabled?: boolean | undefined;
1519
+ outputPath?: string | undefined;
1520
+ autoSubfolderIndex?: boolean | undefined;
1521
+ crawlLinks?: boolean | undefined;
1522
+ retryCount?: number | undefined;
1523
+ retryDelay?: number | undefined;
1524
+ onSuccess?:
1525
+ | ((result: {
1526
+ page: z.infer<
1527
+ z.ZodObject<
1528
+ {
1529
+ path: z.ZodString;
1530
+ sitemap: z.ZodOptional<
1531
+ z.ZodObject<
1532
+ {
1533
+ exclude: z.ZodOptional<z.ZodBoolean>;
1534
+ priority: z.ZodOptional<z.ZodNumber>;
1535
+ changefreq: z.ZodOptional<
1536
+ z.ZodEnum<{
1537
+ never: 'never';
1538
+ always: 'always';
1539
+ hourly: 'hourly';
1540
+ daily: 'daily';
1541
+ weekly: 'weekly';
1542
+ monthly: 'monthly';
1543
+ yearly: 'yearly';
1544
+ }>
1545
+ >;
1546
+ lastmod: z.ZodOptional<
1547
+ z.ZodUnion<readonly [z.ZodString, z.ZodDate]>
1548
+ >;
1549
+ alternateRefs: z.ZodOptional<
1550
+ z.ZodArray<
1551
+ z.ZodObject<
1552
+ {
1553
+ href: z.ZodString;
1554
+ hreflang: z.ZodString;
1555
+ },
1556
+ z.core.$strip
1557
+ >
1558
+ >
1559
+ >;
1560
+ images: z.ZodOptional<
1561
+ z.ZodArray<
1562
+ z.ZodObject<
1563
+ {
1564
+ loc: z.ZodString;
1565
+ caption: z.ZodOptional<z.ZodString>;
1566
+ title: z.ZodOptional<z.ZodString>;
1567
+ },
1568
+ z.core.$strip
1569
+ >
1570
+ >
1571
+ >;
1572
+ news: z.ZodOptional<
1573
+ z.ZodObject<
1574
+ {
1575
+ publication: z.ZodObject<
1576
+ {
1577
+ name: z.ZodString;
1578
+ language: z.ZodString;
1579
+ },
1580
+ z.core.$strip
1581
+ >;
1582
+ publicationDate: z.ZodUnion<
1583
+ readonly [z.ZodString, z.ZodDate]
1584
+ >;
1585
+ title: z.ZodString;
1586
+ },
1587
+ z.core.$strip
1588
+ >
1589
+ >;
1590
+ },
1591
+ z.core.$strip
1592
+ >
1593
+ >;
1594
+ fromCrawl: z.ZodOptional<z.ZodBoolean>;
1595
+ },
1596
+ z.core.$strip
1597
+ >
1598
+ >;
1599
+ html: string;
1600
+ }) => unknown)
1601
+ | undefined;
1602
+ headers?: Record<string, string> | undefined;
1603
+ }
1604
+ >
1605
+ >;
1606
+ },
1607
+ z.core.$strip
1608
+ >
1609
+ >;
1610
+ importProtection: z.ZodOptional<
1611
+ z.ZodObject<
1612
+ {
1613
+ enabled: z.ZodOptional<z.ZodBoolean>;
1614
+ behavior: z.ZodOptional<
1615
+ z.ZodUnion<
1616
+ readonly [
1617
+ z.ZodEnum<{
1618
+ error: 'error';
1619
+ mock: 'mock';
1620
+ }>,
1621
+ z.ZodObject<
1622
+ {
1623
+ dev: z.ZodOptional<
1624
+ z.ZodEnum<{
1625
+ error: 'error';
1626
+ mock: 'mock';
1627
+ }>
1628
+ >;
1629
+ build: z.ZodOptional<
1630
+ z.ZodEnum<{
1631
+ error: 'error';
1632
+ mock: 'mock';
1633
+ }>
1634
+ >;
1635
+ },
1636
+ z.core.$strip
1637
+ >,
1638
+ ]
1639
+ >
1640
+ >;
1641
+ mockAccess: z.ZodOptional<
1642
+ z.ZodEnum<{
1643
+ error: 'error';
1644
+ warn: 'warn';
1645
+ off: 'off';
1646
+ }>
1647
+ >;
1648
+ onViolation: z.ZodOptional<
1649
+ z.ZodCustom<
1650
+ (violation: unknown) => boolean | void | Promise<boolean | void>,
1651
+ (violation: unknown) => boolean | void | Promise<boolean | void>
1652
+ >
1653
+ >;
1654
+ include: z.ZodOptional<
1655
+ z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>]>>
1656
+ >;
1657
+ exclude: z.ZodOptional<
1658
+ z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>]>>
1659
+ >;
1660
+ client: z.ZodOptional<
1661
+ z.ZodObject<
1662
+ {
1663
+ specifiers: z.ZodOptional<
1664
+ z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>]>>
1665
+ >;
1666
+ files: z.ZodOptional<
1667
+ z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>]>>
1668
+ >;
1669
+ excludeFiles: z.ZodOptional<
1670
+ z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>]>>
1671
+ >;
1672
+ },
1673
+ z.core.$strip
1674
+ >
1675
+ >;
1676
+ server: z.ZodOptional<
1677
+ z.ZodObject<
1678
+ {
1679
+ specifiers: z.ZodOptional<
1680
+ z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>]>>
1681
+ >;
1682
+ files: z.ZodOptional<
1683
+ z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>]>>
1684
+ >;
1685
+ excludeFiles: z.ZodOptional<
1686
+ z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>]>>
1687
+ >;
1688
+ },
1689
+ z.core.$strip
1690
+ >
1691
+ >;
1692
+ ignoreImporters: z.ZodOptional<
1693
+ z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>]>>
1694
+ >;
1695
+ maxTraceDepth: z.ZodOptional<z.ZodNumber>;
1696
+ log: z.ZodOptional<
1697
+ z.ZodEnum<{
1698
+ always: 'always';
1699
+ once: 'once';
1700
+ }>
1701
+ >;
1702
+ },
1703
+ z.core.$strip
1704
+ >
1705
+ >;
1706
+ vite: z.ZodOptional<
1707
+ z.ZodObject<
1708
+ {
1709
+ installDevServerMiddleware: z.ZodOptional<z.ZodBoolean>;
1710
+ },
1711
+ z.core.$strip
1712
+ >
1713
+ >;
1714
+ },
1715
+ z.core.$strip
1716
+ >
1717
+ >
1718
+ >;
1719
+ export declare function parseStartConfig(
1720
+ opts: z.input<typeof tanstackStartViteOptionsSchema>,
1721
+ corePluginOpts: {
1722
+ framework: CompileStartFrameworkOptions;
1723
+ },
1724
+ root: string,
1725
+ ): {
1726
+ router: {
1727
+ target: 'react' | 'solid' | 'vue' | 'octane';
1728
+ routeFileIgnorePrefix: string;
1729
+ routesDirectory: string;
1730
+ quoteStyle: 'single' | 'double';
1731
+ semicolons: boolean;
1732
+ disableLogging: boolean;
1733
+ routeTreeFileHeader: string[];
1734
+ indexToken:
1735
+ | string
1736
+ | RegExp
1737
+ | {
1738
+ regex: string;
1739
+ flags?: string | undefined;
1740
+ };
1741
+ routeToken:
1742
+ | string
1743
+ | RegExp
1744
+ | {
1745
+ regex: string;
1746
+ flags?: string | undefined;
1747
+ };
1748
+ generatedRouteTree: string;
1749
+ disableTypes: boolean;
1750
+ addExtensions: string | boolean;
1751
+ enableRouteTreeFormatting: boolean;
1752
+ tmpDir: string;
1753
+ importRoutesUsingAbsolutePaths: boolean;
1754
+ virtualRouteConfig?: any;
1755
+ routeFilePrefix?: string | undefined;
1756
+ routeFileIgnorePattern?: string | undefined;
1757
+ pathParamsAllowedCharacters?: (':' | '$' | ';' | '@' | '&' | '=' | '+' | ',')[] | undefined;
1758
+ routeTreeFileFooter?: string[] | (() => Array<string>) | undefined;
1759
+ autoCodeSplitting?: boolean | undefined;
1760
+ customScaffolding?:
1761
+ | {
1762
+ routeTemplate?: string | undefined;
1763
+ lazyRouteTemplate?: string | undefined;
1764
+ }
1765
+ | undefined;
1766
+ experimental?:
1767
+ | {
1768
+ enableCodeSplitting?: boolean | undefined;
1769
+ }
1770
+ | undefined;
1771
+ plugins?: import('#tanstack-start/router-generator').GeneratorPlugin[] | undefined;
1772
+ enableRouteGeneration?: boolean | undefined;
1773
+ codeSplittingOptions?: import('#tanstack-start/router-plugin').CodeSplittingOptions | undefined;
1774
+ plugin?:
1775
+ | {
1776
+ hmr?:
1777
+ | {
1778
+ style?: 'vite' | 'webpack' | undefined;
1779
+ }
1780
+ | undefined;
1781
+ vite?:
1782
+ | {
1783
+ environmentName?: string | undefined;
1784
+ }
1785
+ | undefined;
1786
+ }
1787
+ | undefined;
1788
+ entry?: string | undefined;
1789
+ basepath?: string | undefined;
1790
+ };
1791
+ srcDirectory: string;
1792
+ start: {
1793
+ entry?: string | undefined;
1794
+ };
1795
+ client: {
1796
+ base: string;
1797
+ entry?: string | undefined;
1798
+ };
1799
+ server: {
1800
+ build: {
1801
+ staticNodeEnv: boolean;
1802
+ inlineCss: {
1803
+ enabled: boolean;
1804
+ transformAssets: boolean;
1805
+ };
1806
+ };
1807
+ entry?: string | undefined;
1808
+ };
1809
+ serverFns: {
1810
+ base: string;
1811
+ disableCsrfMiddlewareWarning: boolean;
1812
+ generateFunctionId?:
1813
+ | ((opts: { filename: string; functionName: string }) => string | undefined)
1814
+ | undefined;
1815
+ };
1816
+ pages: {
1817
+ path: string;
1818
+ sitemap?:
1819
+ | {
1820
+ exclude?: boolean | undefined;
1821
+ priority?: number | undefined;
1822
+ changefreq?:
1823
+ | 'never'
1824
+ | 'always'
1825
+ | 'hourly'
1826
+ | 'daily'
1827
+ | 'weekly'
1828
+ | 'monthly'
1829
+ | 'yearly'
1830
+ | undefined;
1831
+ lastmod?: string | Date | undefined;
1832
+ alternateRefs?:
1833
+ | {
1834
+ href: string;
1835
+ hreflang: string;
1836
+ }[]
1837
+ | undefined;
1838
+ images?:
1839
+ | {
1840
+ loc: string;
1841
+ caption?: string | undefined;
1842
+ title?: string | undefined;
1843
+ }[]
1844
+ | undefined;
1845
+ news?:
1846
+ | {
1847
+ publication: {
1848
+ name: string;
1849
+ language: string;
1850
+ };
1851
+ publicationDate: string | Date;
1852
+ title: string;
1853
+ }
1854
+ | undefined;
1855
+ }
1856
+ | undefined;
1857
+ fromCrawl?: boolean | undefined;
1858
+ prerender?:
1859
+ | {
1860
+ enabled?: boolean | undefined;
1861
+ outputPath?: string | undefined;
1862
+ autoSubfolderIndex?: boolean | undefined;
1863
+ crawlLinks?: boolean | undefined;
1864
+ retryCount?: number | undefined;
1865
+ retryDelay?: number | undefined;
1866
+ onSuccess?:
1867
+ | ((result: {
1868
+ page: z.infer<
1869
+ z.ZodObject<
1870
+ {
1871
+ path: z.ZodString;
1872
+ sitemap: z.ZodOptional<
1873
+ z.ZodObject<
1874
+ {
1875
+ exclude: z.ZodOptional<z.ZodBoolean>;
1876
+ priority: z.ZodOptional<z.ZodNumber>;
1877
+ changefreq: z.ZodOptional<
1878
+ z.ZodEnum<{
1879
+ never: 'never';
1880
+ always: 'always';
1881
+ hourly: 'hourly';
1882
+ daily: 'daily';
1883
+ weekly: 'weekly';
1884
+ monthly: 'monthly';
1885
+ yearly: 'yearly';
1886
+ }>
1887
+ >;
1888
+ lastmod: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>>;
1889
+ alternateRefs: z.ZodOptional<
1890
+ z.ZodArray<
1891
+ z.ZodObject<
1892
+ {
1893
+ href: z.ZodString;
1894
+ hreflang: z.ZodString;
1895
+ },
1896
+ z.core.$strip
1897
+ >
1898
+ >
1899
+ >;
1900
+ images: z.ZodOptional<
1901
+ z.ZodArray<
1902
+ z.ZodObject<
1903
+ {
1904
+ loc: z.ZodString;
1905
+ caption: z.ZodOptional<z.ZodString>;
1906
+ title: z.ZodOptional<z.ZodString>;
1907
+ },
1908
+ z.core.$strip
1909
+ >
1910
+ >
1911
+ >;
1912
+ news: z.ZodOptional<
1913
+ z.ZodObject<
1914
+ {
1915
+ publication: z.ZodObject<
1916
+ {
1917
+ name: z.ZodString;
1918
+ language: z.ZodString;
1919
+ },
1920
+ z.core.$strip
1921
+ >;
1922
+ publicationDate: z.ZodUnion<readonly [z.ZodString, z.ZodDate]>;
1923
+ title: z.ZodString;
1924
+ },
1925
+ z.core.$strip
1926
+ >
1927
+ >;
1928
+ },
1929
+ z.core.$strip
1930
+ >
1931
+ >;
1932
+ fromCrawl: z.ZodOptional<z.ZodBoolean>;
1933
+ },
1934
+ z.core.$strip
1935
+ >
1936
+ >;
1937
+ html: string;
1938
+ }) => unknown)
1939
+ | undefined;
1940
+ headers?: Record<string, string> | undefined;
1941
+ }
1942
+ | undefined;
1943
+ }[];
1944
+ dev: {
1945
+ ssrStyles: {
1946
+ enabled: boolean;
1947
+ basepath?: string | undefined;
1948
+ };
1949
+ };
1950
+ sitemap?:
1951
+ | {
1952
+ enabled: boolean;
1953
+ outputPath: string;
1954
+ host?: string | undefined;
1955
+ }
1956
+ | undefined;
1957
+ prerender?:
1958
+ | ({
1959
+ enabled?: boolean | undefined;
1960
+ concurrency?: number | undefined;
1961
+ filter?:
1962
+ | ((
1963
+ page: z.infer<
1964
+ z.ZodObject<
1965
+ {
1966
+ path: z.ZodString;
1967
+ sitemap: z.ZodOptional<
1968
+ z.ZodObject<
1969
+ {
1970
+ exclude: z.ZodOptional<z.ZodBoolean>;
1971
+ priority: z.ZodOptional<z.ZodNumber>;
1972
+ changefreq: z.ZodOptional<
1973
+ z.ZodEnum<{
1974
+ never: 'never';
1975
+ always: 'always';
1976
+ hourly: 'hourly';
1977
+ daily: 'daily';
1978
+ weekly: 'weekly';
1979
+ monthly: 'monthly';
1980
+ yearly: 'yearly';
1981
+ }>
1982
+ >;
1983
+ lastmod: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>>;
1984
+ alternateRefs: z.ZodOptional<
1985
+ z.ZodArray<
1986
+ z.ZodObject<
1987
+ {
1988
+ href: z.ZodString;
1989
+ hreflang: z.ZodString;
1990
+ },
1991
+ z.core.$strip
1992
+ >
1993
+ >
1994
+ >;
1995
+ images: z.ZodOptional<
1996
+ z.ZodArray<
1997
+ z.ZodObject<
1998
+ {
1999
+ loc: z.ZodString;
2000
+ caption: z.ZodOptional<z.ZodString>;
2001
+ title: z.ZodOptional<z.ZodString>;
2002
+ },
2003
+ z.core.$strip
2004
+ >
2005
+ >
2006
+ >;
2007
+ news: z.ZodOptional<
2008
+ z.ZodObject<
2009
+ {
2010
+ publication: z.ZodObject<
2011
+ {
2012
+ name: z.ZodString;
2013
+ language: z.ZodString;
2014
+ },
2015
+ z.core.$strip
2016
+ >;
2017
+ publicationDate: z.ZodUnion<readonly [z.ZodString, z.ZodDate]>;
2018
+ title: z.ZodString;
2019
+ },
2020
+ z.core.$strip
2021
+ >
2022
+ >;
2023
+ },
2024
+ z.core.$strip
2025
+ >
2026
+ >;
2027
+ fromCrawl: z.ZodOptional<z.ZodBoolean>;
2028
+ prerender: z.ZodOptional<
2029
+ z.ZodObject<
2030
+ {
2031
+ enabled: z.ZodOptional<z.ZodBoolean>;
2032
+ outputPath: z.ZodOptional<z.ZodString>;
2033
+ autoSubfolderIndex: z.ZodOptional<z.ZodBoolean>;
2034
+ crawlLinks: z.ZodOptional<z.ZodBoolean>;
2035
+ retryCount: z.ZodOptional<z.ZodNumber>;
2036
+ retryDelay: z.ZodOptional<z.ZodNumber>;
2037
+ onSuccess: z.ZodOptional<
2038
+ z.ZodCustom<
2039
+ (result: {
2040
+ page: z.infer<
2041
+ z.ZodObject<
2042
+ {
2043
+ path: z.ZodString;
2044
+ sitemap: z.ZodOptional<
2045
+ z.ZodObject<
2046
+ {
2047
+ exclude: z.ZodOptional<z.ZodBoolean>;
2048
+ priority: z.ZodOptional<z.ZodNumber>;
2049
+ changefreq: z.ZodOptional<
2050
+ z.ZodEnum<{
2051
+ never: 'never';
2052
+ always: 'always';
2053
+ hourly: 'hourly';
2054
+ daily: 'daily';
2055
+ weekly: 'weekly';
2056
+ monthly: 'monthly';
2057
+ yearly: 'yearly';
2058
+ }>
2059
+ >;
2060
+ lastmod: z.ZodOptional<
2061
+ z.ZodUnion<readonly [z.ZodString, z.ZodDate]>
2062
+ >;
2063
+ alternateRefs: z.ZodOptional<
2064
+ z.ZodArray<
2065
+ z.ZodObject<
2066
+ {
2067
+ href: z.ZodString;
2068
+ hreflang: z.ZodString;
2069
+ },
2070
+ z.core.$strip
2071
+ >
2072
+ >
2073
+ >;
2074
+ images: z.ZodOptional<
2075
+ z.ZodArray<
2076
+ z.ZodObject<
2077
+ {
2078
+ loc: z.ZodString;
2079
+ caption: z.ZodOptional<z.ZodString>;
2080
+ title: z.ZodOptional<z.ZodString>;
2081
+ },
2082
+ z.core.$strip
2083
+ >
2084
+ >
2085
+ >;
2086
+ news: z.ZodOptional<
2087
+ z.ZodObject<
2088
+ {
2089
+ publication: z.ZodObject<
2090
+ {
2091
+ name: z.ZodString;
2092
+ language: z.ZodString;
2093
+ },
2094
+ z.core.$strip
2095
+ >;
2096
+ publicationDate: z.ZodUnion<
2097
+ readonly [z.ZodString, z.ZodDate]
2098
+ >;
2099
+ title: z.ZodString;
2100
+ },
2101
+ z.core.$strip
2102
+ >
2103
+ >;
2104
+ },
2105
+ z.core.$strip
2106
+ >
2107
+ >;
2108
+ fromCrawl: z.ZodOptional<z.ZodBoolean>;
2109
+ },
2110
+ z.core.$strip
2111
+ >
2112
+ >;
2113
+ html: string;
2114
+ }) => unknown,
2115
+ (result: {
2116
+ page: z.infer<
2117
+ z.ZodObject<
2118
+ {
2119
+ path: z.ZodString;
2120
+ sitemap: z.ZodOptional<
2121
+ z.ZodObject<
2122
+ {
2123
+ exclude: z.ZodOptional<z.ZodBoolean>;
2124
+ priority: z.ZodOptional<z.ZodNumber>;
2125
+ changefreq: z.ZodOptional<
2126
+ z.ZodEnum<{
2127
+ never: 'never';
2128
+ always: 'always';
2129
+ hourly: 'hourly';
2130
+ daily: 'daily';
2131
+ weekly: 'weekly';
2132
+ monthly: 'monthly';
2133
+ yearly: 'yearly';
2134
+ }>
2135
+ >;
2136
+ lastmod: z.ZodOptional<
2137
+ z.ZodUnion<readonly [z.ZodString, z.ZodDate]>
2138
+ >;
2139
+ alternateRefs: z.ZodOptional<
2140
+ z.ZodArray<
2141
+ z.ZodObject<
2142
+ {
2143
+ href: z.ZodString;
2144
+ hreflang: z.ZodString;
2145
+ },
2146
+ z.core.$strip
2147
+ >
2148
+ >
2149
+ >;
2150
+ images: z.ZodOptional<
2151
+ z.ZodArray<
2152
+ z.ZodObject<
2153
+ {
2154
+ loc: z.ZodString;
2155
+ caption: z.ZodOptional<z.ZodString>;
2156
+ title: z.ZodOptional<z.ZodString>;
2157
+ },
2158
+ z.core.$strip
2159
+ >
2160
+ >
2161
+ >;
2162
+ news: z.ZodOptional<
2163
+ z.ZodObject<
2164
+ {
2165
+ publication: z.ZodObject<
2166
+ {
2167
+ name: z.ZodString;
2168
+ language: z.ZodString;
2169
+ },
2170
+ z.core.$strip
2171
+ >;
2172
+ publicationDate: z.ZodUnion<
2173
+ readonly [z.ZodString, z.ZodDate]
2174
+ >;
2175
+ title: z.ZodString;
2176
+ },
2177
+ z.core.$strip
2178
+ >
2179
+ >;
2180
+ },
2181
+ z.core.$strip
2182
+ >
2183
+ >;
2184
+ fromCrawl: z.ZodOptional<z.ZodBoolean>;
2185
+ },
2186
+ z.core.$strip
2187
+ >
2188
+ >;
2189
+ html: string;
2190
+ }) => unknown
2191
+ >
2192
+ >;
2193
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2194
+ },
2195
+ z.core.$strip
2196
+ >
2197
+ >;
2198
+ },
2199
+ z.core.$strip
2200
+ >
2201
+ >,
2202
+ ) => unknown)
2203
+ | undefined;
2204
+ failOnError?: boolean | undefined;
2205
+ autoStaticPathsDiscovery?: boolean | undefined;
2206
+ maxRedirects?: number | undefined;
2207
+ } & {
2208
+ enabled?: boolean | undefined;
2209
+ outputPath?: string | undefined;
2210
+ autoSubfolderIndex?: boolean | undefined;
2211
+ crawlLinks?: boolean | undefined;
2212
+ retryCount?: number | undefined;
2213
+ retryDelay?: number | undefined;
2214
+ onSuccess?:
2215
+ | ((result: {
2216
+ page: z.infer<
2217
+ z.ZodObject<
2218
+ {
2219
+ path: z.ZodString;
2220
+ sitemap: z.ZodOptional<
2221
+ z.ZodObject<
2222
+ {
2223
+ exclude: z.ZodOptional<z.ZodBoolean>;
2224
+ priority: z.ZodOptional<z.ZodNumber>;
2225
+ changefreq: z.ZodOptional<
2226
+ z.ZodEnum<{
2227
+ never: 'never';
2228
+ always: 'always';
2229
+ hourly: 'hourly';
2230
+ daily: 'daily';
2231
+ weekly: 'weekly';
2232
+ monthly: 'monthly';
2233
+ yearly: 'yearly';
2234
+ }>
2235
+ >;
2236
+ lastmod: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>>;
2237
+ alternateRefs: z.ZodOptional<
2238
+ z.ZodArray<
2239
+ z.ZodObject<
2240
+ {
2241
+ href: z.ZodString;
2242
+ hreflang: z.ZodString;
2243
+ },
2244
+ z.core.$strip
2245
+ >
2246
+ >
2247
+ >;
2248
+ images: z.ZodOptional<
2249
+ z.ZodArray<
2250
+ z.ZodObject<
2251
+ {
2252
+ loc: z.ZodString;
2253
+ caption: z.ZodOptional<z.ZodString>;
2254
+ title: z.ZodOptional<z.ZodString>;
2255
+ },
2256
+ z.core.$strip
2257
+ >
2258
+ >
2259
+ >;
2260
+ news: z.ZodOptional<
2261
+ z.ZodObject<
2262
+ {
2263
+ publication: z.ZodObject<
2264
+ {
2265
+ name: z.ZodString;
2266
+ language: z.ZodString;
2267
+ },
2268
+ z.core.$strip
2269
+ >;
2270
+ publicationDate: z.ZodUnion<readonly [z.ZodString, z.ZodDate]>;
2271
+ title: z.ZodString;
2272
+ },
2273
+ z.core.$strip
2274
+ >
2275
+ >;
2276
+ },
2277
+ z.core.$strip
2278
+ >
2279
+ >;
2280
+ fromCrawl: z.ZodOptional<z.ZodBoolean>;
2281
+ },
2282
+ z.core.$strip
2283
+ >
2284
+ >;
2285
+ html: string;
2286
+ }) => unknown)
2287
+ | undefined;
2288
+ headers?: Record<string, string> | undefined;
2289
+ })
2290
+ | undefined;
2291
+ spa?:
2292
+ | {
2293
+ enabled: boolean;
2294
+ maskPath: string;
2295
+ prerender: {
2296
+ enabled: boolean;
2297
+ outputPath: string;
2298
+ autoSubfolderIndex?: boolean | undefined;
2299
+ crawlLinks: boolean;
2300
+ retryCount: number;
2301
+ retryDelay?: number | undefined;
2302
+ onSuccess?:
2303
+ | ((result: {
2304
+ page: z.infer<
2305
+ z.ZodObject<
2306
+ {
2307
+ path: z.ZodString;
2308
+ sitemap: z.ZodOptional<
2309
+ z.ZodObject<
2310
+ {
2311
+ exclude: z.ZodOptional<z.ZodBoolean>;
2312
+ priority: z.ZodOptional<z.ZodNumber>;
2313
+ changefreq: z.ZodOptional<
2314
+ z.ZodEnum<{
2315
+ never: 'never';
2316
+ always: 'always';
2317
+ hourly: 'hourly';
2318
+ daily: 'daily';
2319
+ weekly: 'weekly';
2320
+ monthly: 'monthly';
2321
+ yearly: 'yearly';
2322
+ }>
2323
+ >;
2324
+ lastmod: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>>;
2325
+ alternateRefs: z.ZodOptional<
2326
+ z.ZodArray<
2327
+ z.ZodObject<
2328
+ {
2329
+ href: z.ZodString;
2330
+ hreflang: z.ZodString;
2331
+ },
2332
+ z.core.$strip
2333
+ >
2334
+ >
2335
+ >;
2336
+ images: z.ZodOptional<
2337
+ z.ZodArray<
2338
+ z.ZodObject<
2339
+ {
2340
+ loc: z.ZodString;
2341
+ caption: z.ZodOptional<z.ZodString>;
2342
+ title: z.ZodOptional<z.ZodString>;
2343
+ },
2344
+ z.core.$strip
2345
+ >
2346
+ >
2347
+ >;
2348
+ news: z.ZodOptional<
2349
+ z.ZodObject<
2350
+ {
2351
+ publication: z.ZodObject<
2352
+ {
2353
+ name: z.ZodString;
2354
+ language: z.ZodString;
2355
+ },
2356
+ z.core.$strip
2357
+ >;
2358
+ publicationDate: z.ZodUnion<readonly [z.ZodString, z.ZodDate]>;
2359
+ title: z.ZodString;
2360
+ },
2361
+ z.core.$strip
2362
+ >
2363
+ >;
2364
+ },
2365
+ z.core.$strip
2366
+ >
2367
+ >;
2368
+ fromCrawl: z.ZodOptional<z.ZodBoolean>;
2369
+ },
2370
+ z.core.$strip
2371
+ >
2372
+ >;
2373
+ html: string;
2374
+ }) => unknown)
2375
+ | undefined;
2376
+ headers?: Record<string, string> | undefined;
2377
+ };
2378
+ }
2379
+ | undefined;
2380
+ importProtection?:
2381
+ | {
2382
+ enabled?: boolean | undefined;
2383
+ behavior?:
2384
+ | 'error'
2385
+ | 'mock'
2386
+ | {
2387
+ dev?: 'error' | 'mock' | undefined;
2388
+ build?: 'error' | 'mock' | undefined;
2389
+ }
2390
+ | undefined;
2391
+ mockAccess?: 'error' | 'warn' | 'off' | undefined;
2392
+ onViolation?:
2393
+ | ((violation: unknown) => boolean | void | Promise<boolean | void>)
2394
+ | undefined;
2395
+ include?: (string | RegExp)[] | undefined;
2396
+ exclude?: (string | RegExp)[] | undefined;
2397
+ client?:
2398
+ | {
2399
+ specifiers?: (string | RegExp)[] | undefined;
2400
+ files?: (string | RegExp)[] | undefined;
2401
+ excludeFiles?: (string | RegExp)[] | undefined;
2402
+ }
2403
+ | undefined;
2404
+ server?:
2405
+ | {
2406
+ specifiers?: (string | RegExp)[] | undefined;
2407
+ files?: (string | RegExp)[] | undefined;
2408
+ excludeFiles?: (string | RegExp)[] | undefined;
2409
+ }
2410
+ | undefined;
2411
+ ignoreImporters?: (string | RegExp)[] | undefined;
2412
+ maxTraceDepth?: number | undefined;
2413
+ log?: 'always' | 'once' | undefined;
2414
+ }
2415
+ | undefined;
2416
+ };
2417
+ export type TanStackStartViteInputConfig = z.input<typeof tanstackStartViteOptionsSchema> & {
2418
+ server?: {
2419
+ build?: {
2420
+ inlineCss?: InlineCssInputOptions;
2421
+ };
2422
+ };
2423
+ };