devflare 1.0.0-next.19 → 1.0.0-next.20

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 (360) hide show
  1. package/LLM.md +6807 -888
  2. package/README.md +375 -957
  3. package/dist/account-05zgta47.js +475 -0
  4. package/dist/account-b2ag1esh.js +475 -0
  5. package/dist/account-bxtcz61a.js +475 -0
  6. package/dist/account-gyfqg964.js +475 -0
  7. package/dist/account-q6pvs9d9.js +475 -0
  8. package/dist/account-rp4zbvw1.js +475 -0
  9. package/dist/bridge/client.d.ts +5 -0
  10. package/dist/bridge/client.d.ts.map +1 -1
  11. package/dist/bridge/gateway-runtime.d.ts +1 -1
  12. package/dist/bridge/gateway-runtime.d.ts.map +1 -1
  13. package/dist/bridge/miniflare.d.ts +67 -0
  14. package/dist/bridge/miniflare.d.ts.map +1 -1
  15. package/dist/bridge/proxy.d.ts +2 -1
  16. package/dist/bridge/proxy.d.ts.map +1 -1
  17. package/dist/bridge/server.d.ts.map +1 -1
  18. package/dist/browser.d.ts +2520 -40
  19. package/dist/browser.d.ts.map +1 -1
  20. package/dist/browser.js +3 -3
  21. package/dist/build-2s5paw5p.js +54 -0
  22. package/dist/build-4c350cp7.js +54 -0
  23. package/dist/build-e7wym63t.js +54 -0
  24. package/dist/build-ge6qp3t4.js +54 -0
  25. package/dist/build-ta8c6t11.js +54 -0
  26. package/dist/build-wvjj8f28.js +54 -0
  27. package/dist/build-ypg6f2kw.js +54 -0
  28. package/dist/build-yts8wwgf.js +54 -0
  29. package/dist/build-yzkdqexs.js +54 -0
  30. package/dist/cli/build-manifest.d.ts +12 -0
  31. package/dist/cli/build-manifest.d.ts.map +1 -1
  32. package/dist/cli/commands/deploy/metadata.d.ts +18 -0
  33. package/dist/cli/commands/deploy/metadata.d.ts.map +1 -0
  34. package/dist/cli/commands/deploy/prepare.d.ts +23 -0
  35. package/dist/cli/commands/deploy/prepare.d.ts.map +1 -0
  36. package/dist/cli/commands/deploy/runtime.d.ts +4 -0
  37. package/dist/cli/commands/deploy/runtime.d.ts.map +1 -0
  38. package/dist/cli/commands/deploy/verification.d.ts +36 -0
  39. package/dist/cli/commands/deploy/verification.d.ts.map +1 -0
  40. package/dist/cli/commands/deploy.d.ts +2 -2
  41. package/dist/cli/commands/deploy.d.ts.map +1 -1
  42. package/dist/cli/commands/secrets.d.ts +4 -0
  43. package/dist/cli/commands/secrets.d.ts.map +1 -0
  44. package/dist/cli/commands/type-generation/generator.d.ts +67 -1
  45. package/dist/cli/commands/type-generation/generator.d.ts.map +1 -1
  46. package/dist/cli/help-pages/pages/core.d.ts +1 -1
  47. package/dist/cli/help-pages/pages/core.d.ts.map +1 -1
  48. package/dist/cli/help-pages/shared.d.ts +1 -1
  49. package/dist/cli/help-pages/shared.d.ts.map +1 -1
  50. package/dist/cli/index.d.ts.map +1 -1
  51. package/dist/cli/index.js +2 -2
  52. package/dist/cli/package-metadata.d.ts.map +1 -1
  53. package/dist/cli/preview-bindings.d.ts.map +1 -1
  54. package/dist/cloudflare/index.js +2 -2
  55. package/dist/cloudflare/preview-registry-store.d.ts +1 -1
  56. package/dist/cloudflare/preview-registry-store.d.ts.map +1 -1
  57. package/dist/cloudflare/types.d.ts +1 -1
  58. package/dist/cloudflare/types.d.ts.map +1 -1
  59. package/dist/config/binding-resolution-helpers.d.ts +5 -0
  60. package/dist/config/binding-resolution-helpers.d.ts.map +1 -1
  61. package/dist/config/compiler/bindings.d.ts +14 -0
  62. package/dist/config/compiler/bindings.d.ts.map +1 -0
  63. package/dist/config/compiler/core-helpers.d.ts +6 -0
  64. package/dist/config/compiler/core-helpers.d.ts.map +1 -0
  65. package/dist/config/compiler/do-workers.d.ts +34 -0
  66. package/dist/config/compiler/do-workers.d.ts.map +1 -0
  67. package/dist/config/compiler/paths.d.ts +18 -0
  68. package/dist/config/compiler/paths.d.ts.map +1 -0
  69. package/dist/config/compiler/types.d.ts +267 -0
  70. package/dist/config/compiler/types.d.ts.map +1 -0
  71. package/dist/config/compiler.d.ts +11 -175
  72. package/dist/config/compiler.d.ts.map +1 -1
  73. package/dist/config/deploy-resources.d.ts.map +1 -1
  74. package/dist/config/index.d.ts +1 -1
  75. package/dist/config/index.d.ts.map +1 -1
  76. package/dist/config/local-dev-vars.d.ts +15 -0
  77. package/dist/config/local-dev-vars.d.ts.map +1 -0
  78. package/dist/config/preview-resources.d.ts.map +1 -1
  79. package/dist/config/preview.d.ts.map +1 -1
  80. package/dist/config/resolve.d.ts.map +1 -1
  81. package/dist/config/resource-resolution.d.ts.map +1 -1
  82. package/dist/config/schema-bindings.d.ts +559 -19
  83. package/dist/config/schema-bindings.d.ts.map +1 -1
  84. package/dist/config/schema-env.d.ts +1306 -34
  85. package/dist/config/schema-env.d.ts.map +1 -1
  86. package/dist/config/schema-normalization.d.ts +97 -1
  87. package/dist/config/schema-normalization.d.ts.map +1 -1
  88. package/dist/config/schema-runtime.d.ts +245 -7
  89. package/dist/config/schema-runtime.d.ts.map +1 -1
  90. package/dist/config/schema.d.ts +2976 -57
  91. package/dist/config/schema.d.ts.map +1 -1
  92. package/dist/config-6m0n7d84.js +59 -0
  93. package/dist/config-7cf004ag.js +59 -0
  94. package/dist/config-b98dp58n.js +59 -0
  95. package/dist/config-cf3djhqy.js +59 -0
  96. package/dist/config-entry.js +1 -1
  97. package/dist/config-wa7hm0w9.js +59 -0
  98. package/dist/deploy-1jfagtn9.js +1055 -0
  99. package/dist/deploy-2afw0jfg.js +1055 -0
  100. package/dist/deploy-2fzj68kq.js +1055 -0
  101. package/dist/deploy-57nzn9wj.js +1045 -0
  102. package/dist/deploy-asyryrvm.js +1055 -0
  103. package/dist/deploy-hc927rw6.js +1045 -0
  104. package/dist/deploy-pnnf8tgy.js +1045 -0
  105. package/dist/deploy-q33bw715.js +1055 -0
  106. package/dist/deploy-tmdgecs3.js +1055 -0
  107. package/dist/deploy-v0y8kczr.js +1055 -0
  108. package/dist/deploy-xhj6zbcx.js +1055 -0
  109. package/dist/dev-1mvcts8w.js +2515 -0
  110. package/dist/dev-2a283xts.js +2515 -0
  111. package/dist/dev-62nhytf8.js +2505 -0
  112. package/dist/dev-75acm2xj.js +2478 -0
  113. package/dist/dev-802rg9dp.js +2515 -0
  114. package/dist/dev-d1bb2t0f.js +2515 -0
  115. package/dist/dev-dwry8494.js +2489 -0
  116. package/dist/dev-g6112y4w.js +2515 -0
  117. package/dist/dev-h2kneh95.js +2496 -0
  118. package/dist/dev-kybq3mwr.js +2489 -0
  119. package/dist/dev-n8qndkyg.js +2512 -0
  120. package/dist/dev-p32fkbwf.js +2489 -0
  121. package/dist/dev-qm9d4mfh.js +2478 -0
  122. package/dist/dev-rcthnse5.js +2473 -0
  123. package/dist/dev-server/dev-server-state.d.ts +1 -0
  124. package/dist/dev-server/dev-server-state.d.ts.map +1 -1
  125. package/dist/dev-server/miniflare-bindings.d.ts +44 -1
  126. package/dist/dev-server/miniflare-bindings.d.ts.map +1 -1
  127. package/dist/dev-server/miniflare-dev-config.d.ts +1 -0
  128. package/dist/dev-server/miniflare-dev-config.d.ts.map +1 -1
  129. package/dist/dev-server/miniflare-log.d.ts +8 -0
  130. package/dist/dev-server/miniflare-log.d.ts.map +1 -1
  131. package/dist/dev-server/miniflare-worker-config.d.ts +31 -1
  132. package/dist/dev-server/miniflare-worker-config.d.ts.map +1 -1
  133. package/dist/dev-server/server.d.ts.map +1 -1
  134. package/dist/dev-server/vite-process.d.ts +1 -0
  135. package/dist/dev-server/vite-process.d.ts.map +1 -1
  136. package/dist/dev-tgwja5mz.js +2496 -0
  137. package/dist/doctor-2shhdak6.js +245 -0
  138. package/dist/doctor-5g73w40j.js +245 -0
  139. package/dist/doctor-gamefzcs.js +245 -0
  140. package/dist/doctor-rn53ctfs.js +245 -0
  141. package/dist/index-01kehw41.js +348 -0
  142. package/dist/index-06bg0z9y.js +185 -0
  143. package/dist/index-0d7tw5r4.js +136 -0
  144. package/dist/index-0m6e4mxz.js +133 -0
  145. package/dist/index-0vah20er.js +1410 -0
  146. package/dist/index-0wa0ebm1.js +68 -0
  147. package/dist/index-1714y3cz.js +1410 -0
  148. package/dist/index-1qs5gcm7.js +895 -0
  149. package/dist/index-29k04v43.js +574 -0
  150. package/dist/index-2jywf4pz.js +1372 -0
  151. package/dist/index-2qhk9nbx.js +1372 -0
  152. package/dist/index-2vq6bveq.js +574 -0
  153. package/dist/index-36h8gkhb.js +1088 -0
  154. package/dist/index-38fq7pww.js +560 -0
  155. package/dist/index-3bxqn033.js +1410 -0
  156. package/dist/index-3jme4hgw.js +1234 -0
  157. package/dist/index-3p7s9mk9.js +360 -0
  158. package/dist/index-47w35sft.js +244 -0
  159. package/dist/index-4by4c7rm.js +52 -0
  160. package/dist/index-4phjwd6h.js +412 -0
  161. package/dist/index-4z5jrw0j.js +594 -0
  162. package/dist/index-51mzqy0d.js +895 -0
  163. package/dist/index-53pqqpq9.js +74 -0
  164. package/dist/index-5enq8ntr.js +1766 -0
  165. package/dist/index-5fnq9r9m.js +1410 -0
  166. package/dist/index-5w9f2b17.js +695 -0
  167. package/dist/index-627srx16.js +45 -0
  168. package/dist/index-6bqgf5x8.js +227 -0
  169. package/dist/index-6xknvbyk.js +1088 -0
  170. package/dist/index-7ef3ktz5.js +1372 -0
  171. package/dist/index-7hpjfdzh.js +185 -0
  172. package/dist/index-8052df4m.js +627 -0
  173. package/dist/index-82epjzrr.js +1410 -0
  174. package/dist/index-82z7rvz6.js +1238 -0
  175. package/dist/index-8atc1yb9.js +68 -0
  176. package/dist/index-8tj0awnv.js +476 -0
  177. package/dist/index-8x745h59.js +1069 -0
  178. package/dist/index-9bawzcny.js +574 -0
  179. package/dist/index-9bjjqdfc.js +236 -0
  180. package/dist/index-9d7x3vfr.js +236 -0
  181. package/dist/index-9nf8zs4p.js +1069 -0
  182. package/dist/index-acwbmagz.js +412 -0
  183. package/dist/index-aqjdaem7.js +74 -0
  184. package/dist/index-b6448fd0.js +133 -0
  185. package/dist/index-b9j55r7q.js +240 -0
  186. package/dist/index-bdatd1za.js +1372 -0
  187. package/dist/index-c3nxftnp.js +699 -0
  188. package/dist/index-c643s0gv.js +488 -0
  189. package/dist/index-d2md1j3d.js +185 -0
  190. package/dist/index-dbr6bfz6.js +528 -0
  191. package/dist/index-dd1g0g7e.js +360 -0
  192. package/dist/index-dktb9az5.js +1372 -0
  193. package/dist/index-dm9q84c7.js +360 -0
  194. package/dist/index-f51mkh13.js +1088 -0
  195. package/dist/index-f86n1fpd.js +55 -0
  196. package/dist/index-fnk0tkw7.js +412 -0
  197. package/dist/index-g5aq66bj.js +1534 -0
  198. package/dist/index-gj5qh491.js +54 -0
  199. package/dist/index-gq39t0rx.js +895 -0
  200. package/dist/index-h5dqna7q.js +1410 -0
  201. package/dist/index-hjs9j2g9.js +895 -0
  202. package/dist/index-hn5nbxbt.js +147 -0
  203. package/dist/index-hpjh0qjx.js +1723 -0
  204. package/dist/index-hs6ekcfs.js +412 -0
  205. package/dist/index-jdzrvnfj.js +52 -0
  206. package/dist/index-jg720mq7.js +476 -0
  207. package/dist/index-jrzddxvt.js +2167 -0
  208. package/dist/index-kgstnk6g.js +239 -0
  209. package/dist/index-khnw972v.js +117 -0
  210. package/dist/index-kwqff3ba.js +1410 -0
  211. package/dist/index-m2v0fj08.js +74 -0
  212. package/dist/index-mjve6tqn.js +447 -0
  213. package/dist/index-mkxzgn0q.js +1372 -0
  214. package/dist/index-mzmq3v0d.js +1088 -0
  215. package/dist/index-ng9n3znd.js +1372 -0
  216. package/dist/index-nhbkm2ba.js +467 -0
  217. package/dist/index-nrfhk0k5.js +1088 -0
  218. package/dist/index-p0zppqxm.js +467 -0
  219. package/dist/index-pkxf6h87.js +895 -0
  220. package/dist/index-pqp4312v.js +52 -0
  221. package/dist/index-pw9jn6kz.js +574 -0
  222. package/dist/index-q31ne0xa.js +412 -0
  223. package/dist/index-qf2dkqxh.js +249 -0
  224. package/dist/index-qmtdf7k5.js +639 -0
  225. package/dist/index-qwgr4q7s.js +37 -0
  226. package/dist/index-rab2dfh3.js +494 -0
  227. package/dist/index-rz7rx80s.js +1410 -0
  228. package/dist/index-s37h3jgk.js +572 -0
  229. package/dist/index-sb705m7d.js +52 -0
  230. package/dist/index-syscwrjp.js +1576 -0
  231. package/dist/index-t14zr0ys.js +1063 -0
  232. package/dist/index-tjc99447.js +68 -0
  233. package/dist/index-v35460hf.js +574 -0
  234. package/dist/index-v7q00d1e.js +1410 -0
  235. package/dist/index-vkkmx4xe.js +1372 -0
  236. package/dist/index-vrps1gky.js +2202 -0
  237. package/dist/index-w4c9vmvg.js +1517 -0
  238. package/dist/index-wqd8n2qk.js +574 -0
  239. package/dist/index-x12e6fzy.js +476 -0
  240. package/dist/index-xagpz645.js +2199 -0
  241. package/dist/index-xbth1r6e.js +572 -0
  242. package/dist/index-xm9fqhcb.js +447 -0
  243. package/dist/index-y59hnmd0.js +132 -0
  244. package/dist/index-y7mkb00x.js +133 -0
  245. package/dist/index-z40mjts9.js +212 -0
  246. package/dist/index-z5k5bjc7.js +1218 -0
  247. package/dist/index-z73sytma.js +895 -0
  248. package/dist/index-zjv6apef.js +1410 -0
  249. package/dist/index.js +8 -8
  250. package/dist/init-cwpergap.js +180 -0
  251. package/dist/login-83bjfhvz.js +77 -0
  252. package/dist/login-ddw888xb.js +77 -0
  253. package/dist/login-e7pytkdc.js +77 -0
  254. package/dist/login-fe0brfcr.js +77 -0
  255. package/dist/login-h7sm5trm.js +77 -0
  256. package/dist/login-vd0m3xr4.js +77 -0
  257. package/dist/previews-2wfvsjfy.js +1337 -0
  258. package/dist/previews-31feb8r3.js +1337 -0
  259. package/dist/previews-3w4pxqby.js +1337 -0
  260. package/dist/previews-93ttrf5f.js +1337 -0
  261. package/dist/previews-bdrefjzx.js +1337 -0
  262. package/dist/previews-cfcn56b4.js +1337 -0
  263. package/dist/previews-mssq1hrm.js +1337 -0
  264. package/dist/previews-tcaz1gt8.js +1337 -0
  265. package/dist/productions-4h80j2c7.js +505 -0
  266. package/dist/productions-86jaqt7m.js +505 -0
  267. package/dist/productions-bn2q31my.js +505 -0
  268. package/dist/productions-dv8g7f6g.js +505 -0
  269. package/dist/productions-e2m9s4tr.js +505 -0
  270. package/dist/productions-fgshs1m7.js +505 -0
  271. package/dist/productions-hphmt68n.js +505 -0
  272. package/dist/productions-vhq7yx86.js +505 -0
  273. package/dist/runtime/index.js +8 -8
  274. package/dist/secrets/local-secrets.d.ts +46 -0
  275. package/dist/secrets/local-secrets.d.ts.map +1 -0
  276. package/dist/secrets-8wcj47nh.js +91 -0
  277. package/dist/secrets-b2ww34ta.js +91 -0
  278. package/dist/secrets-b7g4z621.js +91 -0
  279. package/dist/shims/local-media-bindings.d.ts +19 -0
  280. package/dist/shims/local-media-bindings.d.ts.map +1 -0
  281. package/dist/shims/local-worker-loader.d.ts +3 -0
  282. package/dist/shims/local-worker-loader.d.ts.map +1 -0
  283. package/dist/sveltekit/index.js +163 -26
  284. package/dist/sveltekit/local-bindings.d.ts +4 -0
  285. package/dist/sveltekit/local-bindings.d.ts.map +1 -0
  286. package/dist/sveltekit/platform.d.ts +8 -0
  287. package/dist/sveltekit/platform.d.ts.map +1 -1
  288. package/dist/test/ai-search.d.ts +39 -0
  289. package/dist/test/ai-search.d.ts.map +1 -0
  290. package/dist/test/binding-hints.d.ts.map +1 -1
  291. package/dist/test/cf.d.ts +3 -3
  292. package/dist/test/containers.d.ts +87 -0
  293. package/dist/test/containers.d.ts.map +1 -0
  294. package/dist/test/index.d.ts +4 -1
  295. package/dist/test/index.d.ts.map +1 -1
  296. package/dist/test/index.js +2833 -543
  297. package/dist/test/local-worker-loader.d.ts +3 -0
  298. package/dist/test/local-worker-loader.d.ts.map +1 -0
  299. package/dist/test/offline-bindings.d.ts +65 -0
  300. package/dist/test/offline-bindings.d.ts.map +1 -0
  301. package/dist/test/queue.d.ts.map +1 -1
  302. package/dist/test/remote-ai.d.ts.map +1 -1
  303. package/dist/test/should-skip.d.ts +14 -0
  304. package/dist/test/should-skip.d.ts.map +1 -1
  305. package/dist/test/simple-context-bindings.d.ts.map +1 -1
  306. package/dist/test/simple-context-durable-objects.d.ts.map +1 -1
  307. package/dist/test/simple-context-gateway-script.d.ts +1 -1
  308. package/dist/test/simple-context-gateway-script.d.ts.map +1 -1
  309. package/dist/test/simple-context-lifecycle.d.ts.map +1 -1
  310. package/dist/test/simple-context-mfconfig.d.ts +4 -1
  311. package/dist/test/simple-context-mfconfig.d.ts.map +1 -1
  312. package/dist/test/simple-context-multi-worker.d.ts.map +1 -1
  313. package/dist/test/simple-context-startup.d.ts.map +1 -1
  314. package/dist/test/tail.d.ts.map +1 -1
  315. package/dist/test/utilities/artifacts.d.ts +11 -0
  316. package/dist/test/utilities/artifacts.d.ts.map +1 -0
  317. package/dist/test/utilities/context.d.ts +39 -0
  318. package/dist/test/utilities/context.d.ts.map +1 -0
  319. package/dist/test/utilities/d1.d.ts +21 -0
  320. package/dist/test/utilities/d1.d.ts.map +1 -0
  321. package/dist/test/utilities/env.d.ts +40 -0
  322. package/dist/test/utilities/env.d.ts.map +1 -0
  323. package/dist/test/utilities/kv.d.ts +11 -0
  324. package/dist/test/utilities/kv.d.ts.map +1 -0
  325. package/dist/test/utilities/media.d.ts +16 -0
  326. package/dist/test/utilities/media.d.ts.map +1 -0
  327. package/dist/test/utilities/platform.d.ts +38 -0
  328. package/dist/test/utilities/platform.d.ts.map +1 -0
  329. package/dist/test/utilities/queue.d.ts +5 -0
  330. package/dist/test/utilities/queue.d.ts.map +1 -0
  331. package/dist/test/utilities/r2.d.ts +12 -0
  332. package/dist/test/utilities/r2.d.ts.map +1 -0
  333. package/dist/test/utilities/workflows.d.ts +26 -0
  334. package/dist/test/utilities/workflows.d.ts.map +1 -0
  335. package/dist/test/utilities.d.ts +10 -106
  336. package/dist/test/utilities.d.ts.map +1 -1
  337. package/dist/types-2ejrbba1.js +695 -0
  338. package/dist/types-7jkbm95a.js +695 -0
  339. package/dist/types-a2fk9yns.js +695 -0
  340. package/dist/types-dyb3c6zw.js +695 -0
  341. package/dist/types-e2n9f3pd.js +695 -0
  342. package/dist/types-j4s6qcrc.js +695 -0
  343. package/dist/utils/send-email.d.ts.map +1 -1
  344. package/dist/utils/send-email.js +1 -1
  345. package/dist/vite/index.js +6 -6
  346. package/dist/vite/plugin-context.d.ts.map +1 -1
  347. package/dist/worker-663em30d.js +513 -0
  348. package/dist/worker-argxc7fb.js +513 -0
  349. package/dist/worker-entry/composed-worker.d.ts.map +1 -1
  350. package/dist/worker-entry/surface-paths.d.ts +2 -0
  351. package/dist/worker-entry/surface-paths.d.ts.map +1 -1
  352. package/dist/worker-fcdsnj14.js +513 -0
  353. package/dist/worker-fk42rzse.js +513 -0
  354. package/dist/worker-jkemk8d2.js +513 -0
  355. package/dist/worker-m4ze8djx.js +513 -0
  356. package/dist/worker-wnan5dca.js +513 -0
  357. package/dist/worker-yw3atfb1.js +513 -0
  358. package/dist/workflows/local-workflow-entrypoints.d.ts +7 -0
  359. package/dist/workflows/local-workflow-entrypoints.d.ts.map +1 -0
  360. package/package.json +13 -12
@@ -144,10 +144,71 @@ export declare const queuesConfigSchema: z.ZodObject<{
144
144
  }[] | undefined;
145
145
  }>;
146
146
  /**
147
- * Service binding schema.
148
- * Binds to another Worker for RPC-style communication.
149
- * Accepts plain objects or WorkerBinding from ref().worker.
147
+ * Rate Limiting binding configuration.
148
+ * Devflare uses camelCase authoring and compiles to Wrangler's `ratelimits`
149
+ * array (`namespace_id`, `simple.limit`, `simple.period`).
150
150
  */
151
+ export declare const rateLimitBindingSchema: z.ZodObject<{
152
+ /** Positive integer string unique to the Cloudflare account */
153
+ namespaceId: z.ZodString;
154
+ /** Simple rate limiting is the only currently supported Cloudflare mode */
155
+ simple: z.ZodObject<{
156
+ /** Number of allowed calls within the configured period */
157
+ limit: z.ZodNumber;
158
+ /** Rate limit window in seconds */
159
+ period: z.ZodUnion<[z.ZodLiteral<10>, z.ZodLiteral<60>]>;
160
+ }, "strict", z.ZodTypeAny, {
161
+ limit: number;
162
+ period: 10 | 60;
163
+ }, {
164
+ limit: number;
165
+ period: 10 | 60;
166
+ }>;
167
+ }, "strict", z.ZodTypeAny, {
168
+ namespaceId: string;
169
+ simple: {
170
+ limit: number;
171
+ period: 10 | 60;
172
+ };
173
+ }, {
174
+ namespaceId: string;
175
+ simple: {
176
+ limit: number;
177
+ period: 10 | 60;
178
+ };
179
+ }>;
180
+ /**
181
+ * Version Metadata binding configuration.
182
+ */
183
+ export declare const versionMetadataBindingSchema: z.ZodObject<{
184
+ /** Binding name exposed in env (for example, CF_VERSION_METADATA) */
185
+ binding: z.ZodString;
186
+ }, "strict", z.ZodTypeAny, {
187
+ binding: string;
188
+ }, {
189
+ binding: string;
190
+ }>;
191
+ /**
192
+ * Worker Loader binding configuration for Dynamic Workers.
193
+ */
194
+ export declare const workerLoaderBindingSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
195
+ /**
196
+ * Secrets Store binding configuration.
197
+ * Devflare accepts object form for explicit per-binding store IDs and string
198
+ * shorthand when the worker sets a top-level `secretsStoreId`.
199
+ */
200
+ export declare const secretsStoreBindingSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
201
+ /** Secrets Store ID containing the account-level secret */
202
+ storeId: z.ZodString;
203
+ /** Secret name within the store */
204
+ secretName: z.ZodString;
205
+ }, "strict", z.ZodTypeAny, {
206
+ storeId: string;
207
+ secretName: string;
208
+ }, {
209
+ storeId: string;
210
+ secretName: string;
211
+ }>]>;
151
212
  export declare const serviceBindingSchema: z.ZodType<{
152
213
  /** Target worker/service name */
153
214
  service: string;
@@ -174,10 +235,50 @@ export declare const serviceBindingSchema: z.ZodType<{
174
235
  export declare const aiBindingSchema: z.ZodObject<{
175
236
  /** Binding name exposed in env (e.g., 'AI') */
176
237
  binding: z.ZodString;
177
- }, "strip", z.ZodTypeAny, {
238
+ /** Ask Wrangler local development to connect this binding to the remote Workers AI service */
239
+ remote: z.ZodOptional<z.ZodBoolean>;
240
+ /** Use Cloudflare's staging Workers AI environment for this binding */
241
+ staging: z.ZodOptional<z.ZodBoolean>;
242
+ }, "strict", z.ZodTypeAny, {
178
243
  binding: string;
244
+ remote?: boolean | undefined;
245
+ staging?: boolean | undefined;
179
246
  }, {
180
247
  binding: string;
248
+ remote?: boolean | undefined;
249
+ staging?: boolean | undefined;
250
+ }>;
251
+ /**
252
+ * AI Search namespace binding configuration.
253
+ * Provides access to all AI Search instances in a namespace.
254
+ */
255
+ export declare const aiSearchNamespaceBindingSchema: z.ZodObject<{
256
+ /** AI Search namespace name */
257
+ namespace: z.ZodString;
258
+ /** Ask Wrangler local development to connect this binding remotely */
259
+ remote: z.ZodOptional<z.ZodBoolean>;
260
+ }, "strict", z.ZodTypeAny, {
261
+ namespace: string;
262
+ remote?: boolean | undefined;
263
+ }, {
264
+ namespace: string;
265
+ remote?: boolean | undefined;
266
+ }>;
267
+ /**
268
+ * AI Search instance binding configuration.
269
+ * Provides direct access to one AI Search instance in the default namespace.
270
+ */
271
+ export declare const aiSearchInstanceBindingSchema: z.ZodObject<{
272
+ /** AI Search instance name */
273
+ instanceName: z.ZodString;
274
+ /** Ask Wrangler local development to connect this binding remotely */
275
+ remote: z.ZodOptional<z.ZodBoolean>;
276
+ }, "strict", z.ZodTypeAny, {
277
+ instanceName: string;
278
+ remote?: boolean | undefined;
279
+ }, {
280
+ instanceName: string;
281
+ remote?: boolean | undefined;
181
282
  }>;
182
283
  /**
183
284
  * Vectorize index binding configuration.
@@ -186,10 +287,14 @@ export declare const aiBindingSchema: z.ZodObject<{
186
287
  export declare const vectorizeBindingSchema: z.ZodObject<{
187
288
  /** Name of the Vectorize index */
188
289
  indexName: z.ZodString;
290
+ /** Ask Wrangler local development to connect this binding to the remote index */
291
+ remote: z.ZodOptional<z.ZodBoolean>;
189
292
  }, "strip", z.ZodTypeAny, {
190
293
  indexName: string;
294
+ remote?: boolean | undefined;
191
295
  }, {
192
296
  indexName: string;
297
+ remote?: boolean | undefined;
193
298
  }>;
194
299
  /**
195
300
  * Hyperdrive binding configuration.
@@ -198,14 +303,20 @@ export declare const vectorizeBindingSchema: z.ZodObject<{
198
303
  export declare const hyperdriveBindingByIdSchema: z.ZodObject<{
199
304
  /** Explicit Hyperdrive configuration ID */
200
305
  id: z.ZodString;
306
+ /** Direct database connection string used by local Miniflare/Wrangler dev */
307
+ localConnectionString: z.ZodOptional<z.ZodString>;
201
308
  }, "strict", z.ZodTypeAny, {
202
309
  id: string;
310
+ localConnectionString?: string | undefined;
203
311
  }, {
204
312
  id: string;
313
+ localConnectionString?: string | undefined;
205
314
  }>;
206
315
  export declare const hyperdriveBindingByNameSchema: z.ZodObject<{
207
316
  /** Stable Hyperdrive configuration name to resolve to an ID at config/build/deploy time */
208
317
  name: z.ZodString;
318
+ /** Direct database connection string used by local Miniflare/Wrangler dev */
319
+ localConnectionString: z.ZodOptional<z.ZodString>;
209
320
  /**
210
321
  * Opt-in fallback behavior for preview-scoped Hyperdrive bindings.
211
322
  * When set to `'base'`, Devflare is permitted to reuse the base Hyperdrive
@@ -215,15 +326,17 @@ export declare const hyperdriveBindingByNameSchema: z.ZodObject<{
215
326
  previewFallback: z.ZodOptional<z.ZodLiteral<"base">>;
216
327
  /** Explicit dedicated preview Hyperdrive configuration ID */
217
328
  previewId: z.ZodOptional<z.ZodString>;
218
- /** Explicit local connection string used for preview/dev runs */
329
+ /** Legacy alias for a preview/dev local connection string; prefer localConnectionString */
219
330
  previewLocalConnectionString: z.ZodOptional<z.ZodString>;
220
331
  }, "strict", z.ZodTypeAny, {
221
332
  name: string;
333
+ localConnectionString?: string | undefined;
222
334
  previewFallback?: "base" | undefined;
223
335
  previewId?: string | undefined;
224
336
  previewLocalConnectionString?: string | undefined;
225
337
  }, {
226
338
  name: string;
339
+ localConnectionString?: string | undefined;
227
340
  previewFallback?: "base" | undefined;
228
341
  previewId?: string | undefined;
229
342
  previewLocalConnectionString?: string | undefined;
@@ -231,13 +344,19 @@ export declare const hyperdriveBindingByNameSchema: z.ZodObject<{
231
344
  export declare const hyperdriveBindingSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
232
345
  /** Explicit Hyperdrive configuration ID */
233
346
  id: z.ZodString;
347
+ /** Direct database connection string used by local Miniflare/Wrangler dev */
348
+ localConnectionString: z.ZodOptional<z.ZodString>;
234
349
  }, "strict", z.ZodTypeAny, {
235
350
  id: string;
351
+ localConnectionString?: string | undefined;
236
352
  }, {
237
353
  id: string;
354
+ localConnectionString?: string | undefined;
238
355
  }>, z.ZodObject<{
239
356
  /** Stable Hyperdrive configuration name to resolve to an ID at config/build/deploy time */
240
357
  name: z.ZodString;
358
+ /** Direct database connection string used by local Miniflare/Wrangler dev */
359
+ localConnectionString: z.ZodOptional<z.ZodString>;
241
360
  /**
242
361
  * Opt-in fallback behavior for preview-scoped Hyperdrive bindings.
243
362
  * When set to `'base'`, Devflare is permitted to reuse the base Hyperdrive
@@ -247,26 +366,47 @@ export declare const hyperdriveBindingSchema: z.ZodUnion<[z.ZodString, z.ZodObje
247
366
  previewFallback: z.ZodOptional<z.ZodLiteral<"base">>;
248
367
  /** Explicit dedicated preview Hyperdrive configuration ID */
249
368
  previewId: z.ZodOptional<z.ZodString>;
250
- /** Explicit local connection string used for preview/dev runs */
369
+ /** Legacy alias for a preview/dev local connection string; prefer localConnectionString */
251
370
  previewLocalConnectionString: z.ZodOptional<z.ZodString>;
252
371
  }, "strict", z.ZodTypeAny, {
253
372
  name: string;
373
+ localConnectionString?: string | undefined;
254
374
  previewFallback?: "base" | undefined;
255
375
  previewId?: string | undefined;
256
376
  previewLocalConnectionString?: string | undefined;
257
377
  }, {
258
378
  name: string;
379
+ localConnectionString?: string | undefined;
259
380
  previewFallback?: "base" | undefined;
260
381
  previewId?: string | undefined;
261
382
  previewLocalConnectionString?: string | undefined;
262
383
  }>]>;
263
384
  export declare function formatBrowserBindingLimitMessage(bindingNames: string[]): string;
264
- export declare function getBrowserBindingNames(bindings: Record<string, string> | undefined): string[];
385
+ export declare function getBrowserBindingNames(bindings: Record<string, unknown> | undefined): string[];
265
386
  /**
266
387
  * Browser Rendering binding configuration.
267
388
  * Provides headless browser access for rendering/screenshots.
268
389
  */
269
- export declare const browserBindingSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
390
+ export declare const browserBindingValueSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
391
+ /** Ask Wrangler local development to connect this binding to the remote Browser Rendering service */
392
+ remote: z.ZodOptional<z.ZodBoolean>;
393
+ }, "strict", z.ZodTypeAny, {
394
+ remote?: boolean | undefined;
395
+ }, {
396
+ remote?: boolean | undefined;
397
+ }>]>;
398
+ export declare const browserBindingSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
399
+ /** Ask Wrangler local development to connect this binding to the remote Browser Rendering service */
400
+ remote: z.ZodOptional<z.ZodBoolean>;
401
+ }, "strict", z.ZodTypeAny, {
402
+ remote?: boolean | undefined;
403
+ }, {
404
+ remote?: boolean | undefined;
405
+ }>]>>, Record<string, string | {
406
+ remote?: boolean | undefined;
407
+ }>, Record<string, string | {
408
+ remote?: boolean | undefined;
409
+ }>>;
270
410
  /**
271
411
  * Analytics Engine binding configuration.
272
412
  * Provides access to Cloudflare Analytics Engine for event logging.
@@ -369,16 +509,56 @@ export declare const kvBindingSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
369
509
  }, {
370
510
  name: string;
371
511
  }>]>;
512
+ export declare const mtlsCertificateBindingByIdSchema: z.ZodObject<{
513
+ /** Uploaded mTLS certificate UUID from `wrangler mtls-certificate upload` */
514
+ certificateId: z.ZodString;
515
+ /** Ask Wrangler local development to use the remote binding when available */
516
+ remote: z.ZodOptional<z.ZodBoolean>;
517
+ }, "strict", z.ZodTypeAny, {
518
+ certificateId: string;
519
+ remote?: boolean | undefined;
520
+ }, {
521
+ certificateId: string;
522
+ remote?: boolean | undefined;
523
+ }>;
524
+ export declare const mtlsCertificateBindingByWranglerIdSchema: z.ZodObject<{
525
+ /** Wrangler-native uploaded mTLS certificate UUID */
526
+ certificate_id: z.ZodString;
527
+ /** Ask Wrangler local development to use the remote binding when available */
528
+ remote: z.ZodOptional<z.ZodBoolean>;
529
+ }, "strict", z.ZodTypeAny, {
530
+ certificate_id: string;
531
+ remote?: boolean | undefined;
532
+ }, {
533
+ certificate_id: string;
534
+ remote?: boolean | undefined;
535
+ }>;
372
536
  /**
373
537
  * C17 — mTLS Certificate binding.
374
538
  * The id is the UUID returned by `wrangler mtls-certificate upload`.
375
539
  */
376
540
  export declare const mtlsCertificateBindingSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
541
+ /** Uploaded mTLS certificate UUID from `wrangler mtls-certificate upload` */
542
+ certificateId: z.ZodString;
543
+ /** Ask Wrangler local development to use the remote binding when available */
544
+ remote: z.ZodOptional<z.ZodBoolean>;
545
+ }, "strict", z.ZodTypeAny, {
546
+ certificateId: string;
547
+ remote?: boolean | undefined;
548
+ }, {
549
+ certificateId: string;
550
+ remote?: boolean | undefined;
551
+ }>, z.ZodObject<{
552
+ /** Wrangler-native uploaded mTLS certificate UUID */
377
553
  certificate_id: z.ZodString;
554
+ /** Ask Wrangler local development to use the remote binding when available */
555
+ remote: z.ZodOptional<z.ZodBoolean>;
378
556
  }, "strict", z.ZodTypeAny, {
379
557
  certificate_id: string;
558
+ remote?: boolean | undefined;
380
559
  }, {
381
560
  certificate_id: string;
561
+ remote?: boolean | undefined;
382
562
  }>]>;
383
563
  /**
384
564
  * C17 — Workers for Platforms (Dispatch Namespace) binding.
@@ -389,7 +569,7 @@ export declare const dispatchNamespaceBindingSchema: z.ZodUnion<[z.ZodString, z.
389
569
  service: z.ZodString;
390
570
  environment: z.ZodOptional<z.ZodString>;
391
571
  parameters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
392
- }, "strip", z.ZodTypeAny, {
572
+ }, "strict", z.ZodTypeAny, {
393
573
  service: string;
394
574
  environment?: string | undefined;
395
575
  parameters?: string[] | undefined;
@@ -398,6 +578,7 @@ export declare const dispatchNamespaceBindingSchema: z.ZodUnion<[z.ZodString, z.
398
578
  environment?: string | undefined;
399
579
  parameters?: string[] | undefined;
400
580
  }>>;
581
+ remote: z.ZodOptional<z.ZodBoolean>;
401
582
  }, "strict", z.ZodTypeAny, {
402
583
  namespace: string;
403
584
  outbound?: {
@@ -405,6 +586,7 @@ export declare const dispatchNamespaceBindingSchema: z.ZodUnion<[z.ZodString, z.
405
586
  environment?: string | undefined;
406
587
  parameters?: string[] | undefined;
407
588
  } | undefined;
589
+ remote?: boolean | undefined;
408
590
  }, {
409
591
  namespace: string;
410
592
  outbound?: {
@@ -412,6 +594,7 @@ export declare const dispatchNamespaceBindingSchema: z.ZodUnion<[z.ZodString, z.
412
594
  environment?: string | undefined;
413
595
  parameters?: string[] | undefined;
414
596
  } | undefined;
597
+ remote?: boolean | undefined;
415
598
  }>]>;
416
599
  /**
417
600
  * C17 — Workflows-as-binding (a workflow class exposed for another worker
@@ -421,29 +604,77 @@ export declare const workflowBindingSchema: z.ZodObject<{
421
604
  name: z.ZodString;
422
605
  className: z.ZodString;
423
606
  scriptName: z.ZodOptional<z.ZodString>;
607
+ remote: z.ZodOptional<z.ZodBoolean>;
608
+ limits: z.ZodOptional<z.ZodObject<{
609
+ steps: z.ZodNumber;
610
+ }, "strict", z.ZodTypeAny, {
611
+ steps: number;
612
+ }, {
613
+ steps: number;
614
+ }>>;
424
615
  }, "strict", z.ZodTypeAny, {
425
616
  name: string;
426
617
  className: string;
427
618
  scriptName?: string | undefined;
619
+ remote?: boolean | undefined;
620
+ limits?: {
621
+ steps: number;
622
+ } | undefined;
428
623
  }, {
429
624
  name: string;
430
625
  className: string;
431
626
  scriptName?: string | undefined;
627
+ remote?: boolean | undefined;
628
+ limits?: {
629
+ steps: number;
630
+ } | undefined;
432
631
  }>;
433
632
  /**
434
633
  * C17 — Cloudflare Pipelines binding.
435
634
  */
436
635
  export declare const pipelineBindingSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
437
636
  pipeline: z.ZodString;
637
+ remote: z.ZodOptional<z.ZodBoolean>;
438
638
  }, "strict", z.ZodTypeAny, {
439
639
  pipeline: string;
640
+ remote?: boolean | undefined;
440
641
  }, {
441
642
  pipeline: string;
643
+ remote?: boolean | undefined;
442
644
  }>]>;
443
645
  /**
444
646
  * C17 — Cloudflare Images binding (transformation/upload service).
445
647
  */
446
- export declare const imagesBindingSchema: z.ZodUnion<[z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>, z.ZodLiteral<true>]>;
648
+ export declare const imagesBindingSchema: z.ZodUnion<[z.ZodObject<{
649
+ remote: z.ZodOptional<z.ZodBoolean>;
650
+ }, "strict", z.ZodTypeAny, {
651
+ remote?: boolean | undefined;
652
+ }, {
653
+ remote?: boolean | undefined;
654
+ }>, z.ZodLiteral<true>]>;
655
+ /**
656
+ * C17 — Cloudflare Media Transformations binding.
657
+ */
658
+ export declare const mediaBindingSchema: z.ZodUnion<[z.ZodObject<{
659
+ remote: z.ZodOptional<z.ZodBoolean>;
660
+ }, "strict", z.ZodTypeAny, {
661
+ remote?: boolean | undefined;
662
+ }, {
663
+ remote?: boolean | undefined;
664
+ }>, z.ZodLiteral<true>]>;
665
+ /**
666
+ * C17 — Cloudflare Artifacts binding.
667
+ */
668
+ export declare const artifactsBindingSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
669
+ namespace: z.ZodString;
670
+ remote: z.ZodOptional<z.ZodBoolean>;
671
+ }, "strict", z.ZodTypeAny, {
672
+ namespace: string;
673
+ remote?: boolean | undefined;
674
+ }, {
675
+ namespace: string;
676
+ remote?: boolean | undefined;
677
+ }>]>;
447
678
  /**
448
679
  * All worker bindings configuration.
449
680
  * Defines connections to Cloudflare services and resources.
@@ -575,6 +806,68 @@ export declare const bindingsSchema: z.ZodOptional<z.ZodObject<{
575
806
  retryDelay?: number | undefined;
576
807
  }[] | undefined;
577
808
  }>>;
809
+ /**
810
+ * Rate Limiting bindings.
811
+ */
812
+ rateLimits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
813
+ /** Positive integer string unique to the Cloudflare account */
814
+ namespaceId: z.ZodString;
815
+ /** Simple rate limiting is the only currently supported Cloudflare mode */
816
+ simple: z.ZodObject<{
817
+ /** Number of allowed calls within the configured period */
818
+ limit: z.ZodNumber;
819
+ /** Rate limit window in seconds */
820
+ period: z.ZodUnion<[z.ZodLiteral<10>, z.ZodLiteral<60>]>;
821
+ }, "strict", z.ZodTypeAny, {
822
+ limit: number;
823
+ period: 10 | 60;
824
+ }, {
825
+ limit: number;
826
+ period: 10 | 60;
827
+ }>;
828
+ }, "strict", z.ZodTypeAny, {
829
+ namespaceId: string;
830
+ simple: {
831
+ limit: number;
832
+ period: 10 | 60;
833
+ };
834
+ }, {
835
+ namespaceId: string;
836
+ simple: {
837
+ limit: number;
838
+ period: 10 | 60;
839
+ };
840
+ }>>>;
841
+ /**
842
+ * Version Metadata binding.
843
+ */
844
+ versionMetadata: z.ZodOptional<z.ZodObject<{
845
+ /** Binding name exposed in env (for example, CF_VERSION_METADATA) */
846
+ binding: z.ZodString;
847
+ }, "strict", z.ZodTypeAny, {
848
+ binding: string;
849
+ }, {
850
+ binding: string;
851
+ }>>;
852
+ /**
853
+ * Worker Loader bindings for Dynamic Workers.
854
+ */
855
+ workerLoaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>>;
856
+ /**
857
+ * Secrets Store bindings.
858
+ */
859
+ secretsStore: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
860
+ /** Secrets Store ID containing the account-level secret */
861
+ storeId: z.ZodString;
862
+ /** Secret name within the store */
863
+ secretName: z.ZodString;
864
+ }, "strict", z.ZodTypeAny, {
865
+ storeId: string;
866
+ secretName: string;
867
+ }, {
868
+ storeId: string;
869
+ secretName: string;
870
+ }>]>>>;
578
871
  /**
579
872
  * Service bindings to other Workers.
580
873
  * Enables RPC-style communication between workers.
@@ -604,21 +897,63 @@ export declare const bindingsSchema: z.ZodOptional<z.ZodObject<{
604
897
  ai: z.ZodOptional<z.ZodObject<{
605
898
  /** Binding name exposed in env (e.g., 'AI') */
606
899
  binding: z.ZodString;
607
- }, "strip", z.ZodTypeAny, {
900
+ /** Ask Wrangler local development to connect this binding to the remote Workers AI service */
901
+ remote: z.ZodOptional<z.ZodBoolean>;
902
+ /** Use Cloudflare's staging Workers AI environment for this binding */
903
+ staging: z.ZodOptional<z.ZodBoolean>;
904
+ }, "strict", z.ZodTypeAny, {
608
905
  binding: string;
906
+ remote?: boolean | undefined;
907
+ staging?: boolean | undefined;
609
908
  }, {
610
909
  binding: string;
910
+ remote?: boolean | undefined;
911
+ staging?: boolean | undefined;
611
912
  }>>;
913
+ /**
914
+ * AI Search namespace bindings.
915
+ */
916
+ aiSearchNamespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
917
+ /** AI Search namespace name */
918
+ namespace: z.ZodString;
919
+ /** Ask Wrangler local development to connect this binding remotely */
920
+ remote: z.ZodOptional<z.ZodBoolean>;
921
+ }, "strict", z.ZodTypeAny, {
922
+ namespace: string;
923
+ remote?: boolean | undefined;
924
+ }, {
925
+ namespace: string;
926
+ remote?: boolean | undefined;
927
+ }>>>;
928
+ /**
929
+ * AI Search instance bindings.
930
+ */
931
+ aiSearch: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
932
+ /** AI Search instance name */
933
+ instanceName: z.ZodString;
934
+ /** Ask Wrangler local development to connect this binding remotely */
935
+ remote: z.ZodOptional<z.ZodBoolean>;
936
+ }, "strict", z.ZodTypeAny, {
937
+ instanceName: string;
938
+ remote?: boolean | undefined;
939
+ }, {
940
+ instanceName: string;
941
+ remote?: boolean | undefined;
942
+ }>>>;
612
943
  /**
613
944
  * Vectorize index bindings for vector similarity search.
614
945
  */
615
946
  vectorize: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
616
947
  /** Name of the Vectorize index */
617
948
  indexName: z.ZodString;
949
+ /** Ask Wrangler local development to connect this binding to the remote index */
950
+ remote: z.ZodOptional<z.ZodBoolean>;
618
951
  }, "strip", z.ZodTypeAny, {
619
952
  indexName: string;
953
+ remote?: boolean | undefined;
620
954
  }, {
621
955
  indexName: string;
956
+ remote?: boolean | undefined;
622
957
  }>>>;
623
958
  /**
624
959
  * Hyperdrive bindings for accelerated PostgreSQL.
@@ -626,13 +961,19 @@ export declare const bindingsSchema: z.ZodOptional<z.ZodObject<{
626
961
  hyperdrive: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
627
962
  /** Explicit Hyperdrive configuration ID */
628
963
  id: z.ZodString;
964
+ /** Direct database connection string used by local Miniflare/Wrangler dev */
965
+ localConnectionString: z.ZodOptional<z.ZodString>;
629
966
  }, "strict", z.ZodTypeAny, {
630
967
  id: string;
968
+ localConnectionString?: string | undefined;
631
969
  }, {
632
970
  id: string;
971
+ localConnectionString?: string | undefined;
633
972
  }>, z.ZodObject<{
634
973
  /** Stable Hyperdrive configuration name to resolve to an ID at config/build/deploy time */
635
974
  name: z.ZodString;
975
+ /** Direct database connection string used by local Miniflare/Wrangler dev */
976
+ localConnectionString: z.ZodOptional<z.ZodString>;
636
977
  /**
637
978
  * Opt-in fallback behavior for preview-scoped Hyperdrive bindings.
638
979
  * When set to `'base'`, Devflare is permitted to reuse the base Hyperdrive
@@ -642,15 +983,17 @@ export declare const bindingsSchema: z.ZodOptional<z.ZodObject<{
642
983
  previewFallback: z.ZodOptional<z.ZodLiteral<"base">>;
643
984
  /** Explicit dedicated preview Hyperdrive configuration ID */
644
985
  previewId: z.ZodOptional<z.ZodString>;
645
- /** Explicit local connection string used for preview/dev runs */
986
+ /** Legacy alias for a preview/dev local connection string; prefer localConnectionString */
646
987
  previewLocalConnectionString: z.ZodOptional<z.ZodString>;
647
988
  }, "strict", z.ZodTypeAny, {
648
989
  name: string;
990
+ localConnectionString?: string | undefined;
649
991
  previewFallback?: "base" | undefined;
650
992
  previewId?: string | undefined;
651
993
  previewLocalConnectionString?: string | undefined;
652
994
  }, {
653
995
  name: string;
996
+ localConnectionString?: string | undefined;
654
997
  previewFallback?: "base" | undefined;
655
998
  previewId?: string | undefined;
656
999
  previewLocalConnectionString?: string | undefined;
@@ -658,7 +1001,18 @@ export declare const bindingsSchema: z.ZodOptional<z.ZodObject<{
658
1001
  /**
659
1002
  * Browser Rendering binding for headless browser access.
660
1003
  */
661
- browser: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>>;
1004
+ browser: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
1005
+ /** Ask Wrangler local development to connect this binding to the remote Browser Rendering service */
1006
+ remote: z.ZodOptional<z.ZodBoolean>;
1007
+ }, "strict", z.ZodTypeAny, {
1008
+ remote?: boolean | undefined;
1009
+ }, {
1010
+ remote?: boolean | undefined;
1011
+ }>]>>, Record<string, string | {
1012
+ remote?: boolean | undefined;
1013
+ }>, Record<string, string | {
1014
+ remote?: boolean | undefined;
1015
+ }>>>;
662
1016
  /**
663
1017
  * Analytics Engine bindings for event logging.
664
1018
  */
@@ -704,11 +1058,27 @@ export declare const bindingsSchema: z.ZodOptional<z.ZodObject<{
704
1058
  * to the worker as `env.<binding>` for use with `fetch`'s `mTLS` option.
705
1059
  */
706
1060
  mtlsCertificates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
1061
+ /** Uploaded mTLS certificate UUID from `wrangler mtls-certificate upload` */
1062
+ certificateId: z.ZodString;
1063
+ /** Ask Wrangler local development to use the remote binding when available */
1064
+ remote: z.ZodOptional<z.ZodBoolean>;
1065
+ }, "strict", z.ZodTypeAny, {
1066
+ certificateId: string;
1067
+ remote?: boolean | undefined;
1068
+ }, {
1069
+ certificateId: string;
1070
+ remote?: boolean | undefined;
1071
+ }>, z.ZodObject<{
1072
+ /** Wrangler-native uploaded mTLS certificate UUID */
707
1073
  certificate_id: z.ZodString;
1074
+ /** Ask Wrangler local development to use the remote binding when available */
1075
+ remote: z.ZodOptional<z.ZodBoolean>;
708
1076
  }, "strict", z.ZodTypeAny, {
709
1077
  certificate_id: string;
1078
+ remote?: boolean | undefined;
710
1079
  }, {
711
1080
  certificate_id: string;
1081
+ remote?: boolean | undefined;
712
1082
  }>]>>>;
713
1083
  /**
714
1084
  * C17 — Workers for Platforms (Dispatch Namespace) bindings.
@@ -721,7 +1091,7 @@ export declare const bindingsSchema: z.ZodOptional<z.ZodObject<{
721
1091
  service: z.ZodString;
722
1092
  environment: z.ZodOptional<z.ZodString>;
723
1093
  parameters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
724
- }, "strip", z.ZodTypeAny, {
1094
+ }, "strict", z.ZodTypeAny, {
725
1095
  service: string;
726
1096
  environment?: string | undefined;
727
1097
  parameters?: string[] | undefined;
@@ -730,6 +1100,7 @@ export declare const bindingsSchema: z.ZodOptional<z.ZodObject<{
730
1100
  environment?: string | undefined;
731
1101
  parameters?: string[] | undefined;
732
1102
  }>>;
1103
+ remote: z.ZodOptional<z.ZodBoolean>;
733
1104
  }, "strict", z.ZodTypeAny, {
734
1105
  namespace: string;
735
1106
  outbound?: {
@@ -737,6 +1108,7 @@ export declare const bindingsSchema: z.ZodOptional<z.ZodObject<{
737
1108
  environment?: string | undefined;
738
1109
  parameters?: string[] | undefined;
739
1110
  } | undefined;
1111
+ remote?: boolean | undefined;
740
1112
  }, {
741
1113
  namespace: string;
742
1114
  outbound?: {
@@ -744,6 +1116,7 @@ export declare const bindingsSchema: z.ZodOptional<z.ZodObject<{
744
1116
  environment?: string | undefined;
745
1117
  parameters?: string[] | undefined;
746
1118
  } | undefined;
1119
+ remote?: boolean | undefined;
747
1120
  }>]>>>;
748
1121
  /**
749
1122
  * C17 — Workflows-as-binding.
@@ -755,14 +1128,30 @@ export declare const bindingsSchema: z.ZodOptional<z.ZodObject<{
755
1128
  name: z.ZodString;
756
1129
  className: z.ZodString;
757
1130
  scriptName: z.ZodOptional<z.ZodString>;
1131
+ remote: z.ZodOptional<z.ZodBoolean>;
1132
+ limits: z.ZodOptional<z.ZodObject<{
1133
+ steps: z.ZodNumber;
1134
+ }, "strict", z.ZodTypeAny, {
1135
+ steps: number;
1136
+ }, {
1137
+ steps: number;
1138
+ }>>;
758
1139
  }, "strict", z.ZodTypeAny, {
759
1140
  name: string;
760
1141
  className: string;
761
1142
  scriptName?: string | undefined;
1143
+ remote?: boolean | undefined;
1144
+ limits?: {
1145
+ steps: number;
1146
+ } | undefined;
762
1147
  }, {
763
1148
  name: string;
764
1149
  className: string;
765
1150
  scriptName?: string | undefined;
1151
+ remote?: boolean | undefined;
1152
+ limits?: {
1153
+ steps: number;
1154
+ } | undefined;
766
1155
  }>>>;
767
1156
  /**
768
1157
  * C17 — Pipelines bindings.
@@ -771,17 +1160,61 @@ export declare const bindingsSchema: z.ZodOptional<z.ZodObject<{
771
1160
  */
772
1161
  pipelines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
773
1162
  pipeline: z.ZodString;
1163
+ remote: z.ZodOptional<z.ZodBoolean>;
774
1164
  }, "strict", z.ZodTypeAny, {
775
1165
  pipeline: string;
1166
+ remote?: boolean | undefined;
776
1167
  }, {
777
1168
  pipeline: string;
1169
+ remote?: boolean | undefined;
778
1170
  }>]>>>;
779
1171
  /**
780
1172
  * C17 — Cloudflare Images binding.
781
1173
  * Maps a binding name to access the Images service from the worker
782
1174
  * (transformation/upload via `env.<binding>`).
783
1175
  */
784
- images: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>, z.ZodLiteral<true>]>>>;
1176
+ images: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
1177
+ remote: z.ZodOptional<z.ZodBoolean>;
1178
+ }, "strict", z.ZodTypeAny, {
1179
+ remote?: boolean | undefined;
1180
+ }, {
1181
+ remote?: boolean | undefined;
1182
+ }>, z.ZodLiteral<true>]>>>, Record<string, true | {
1183
+ remote?: boolean | undefined;
1184
+ }> | undefined, Record<string, true | {
1185
+ remote?: boolean | undefined;
1186
+ }> | undefined>;
1187
+ /**
1188
+ * C17 — Cloudflare Media Transformations binding.
1189
+ * Maps a binding name to access the Media Transformations service from
1190
+ * the worker (video/audio/frame extraction via `env.<binding>`).
1191
+ */
1192
+ media: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
1193
+ remote: z.ZodOptional<z.ZodBoolean>;
1194
+ }, "strict", z.ZodTypeAny, {
1195
+ remote?: boolean | undefined;
1196
+ }, {
1197
+ remote?: boolean | undefined;
1198
+ }>, z.ZodLiteral<true>]>>>, Record<string, true | {
1199
+ remote?: boolean | undefined;
1200
+ }> | undefined, Record<string, true | {
1201
+ remote?: boolean | undefined;
1202
+ }> | undefined>;
1203
+ /**
1204
+ * C17 — Cloudflare Artifacts bindings.
1205
+ * Maps a binding name to an Artifacts namespace for Git-compatible
1206
+ * file storage.
1207
+ */
1208
+ artifacts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
1209
+ namespace: z.ZodString;
1210
+ remote: z.ZodOptional<z.ZodBoolean>;
1211
+ }, "strict", z.ZodTypeAny, {
1212
+ namespace: string;
1213
+ remote?: boolean | undefined;
1214
+ }, {
1215
+ namespace: string;
1216
+ remote?: boolean | undefined;
1217
+ }>]>>>;
785
1218
  }, "strip", z.ZodTypeAny, {
786
1219
  kv?: Record<string, string | {
787
1220
  id: string;
@@ -807,6 +1240,21 @@ export declare const bindingsSchema: z.ZodOptional<z.ZodObject<{
807
1240
  retryDelay?: number | undefined;
808
1241
  }[] | undefined;
809
1242
  } | undefined;
1243
+ rateLimits?: Record<string, {
1244
+ namespaceId: string;
1245
+ simple: {
1246
+ limit: number;
1247
+ period: 10 | 60;
1248
+ };
1249
+ }> | undefined;
1250
+ versionMetadata?: {
1251
+ binding: string;
1252
+ } | undefined;
1253
+ workerLoaders?: Record<string, {}> | undefined;
1254
+ secretsStore?: Record<string, string | {
1255
+ storeId: string;
1256
+ secretName: string;
1257
+ }> | undefined;
810
1258
  services?: Record<string, {
811
1259
  /** Target worker/service name */
812
1260
  service: string;
@@ -819,19 +1267,34 @@ export declare const bindingsSchema: z.ZodOptional<z.ZodObject<{
819
1267
  }> | undefined;
820
1268
  ai?: {
821
1269
  binding: string;
1270
+ remote?: boolean | undefined;
1271
+ staging?: boolean | undefined;
822
1272
  } | undefined;
1273
+ aiSearchNamespaces?: Record<string, {
1274
+ namespace: string;
1275
+ remote?: boolean | undefined;
1276
+ }> | undefined;
1277
+ aiSearch?: Record<string, {
1278
+ instanceName: string;
1279
+ remote?: boolean | undefined;
1280
+ }> | undefined;
823
1281
  vectorize?: Record<string, {
824
1282
  indexName: string;
1283
+ remote?: boolean | undefined;
825
1284
  }> | undefined;
826
1285
  hyperdrive?: Record<string, string | {
827
1286
  id: string;
1287
+ localConnectionString?: string | undefined;
828
1288
  } | {
829
1289
  name: string;
1290
+ localConnectionString?: string | undefined;
830
1291
  previewFallback?: "base" | undefined;
831
1292
  previewId?: string | undefined;
832
1293
  previewLocalConnectionString?: string | undefined;
833
1294
  }> | undefined;
834
- browser?: Record<string, string> | undefined;
1295
+ browser?: Record<string, string | {
1296
+ remote?: boolean | undefined;
1297
+ }> | undefined;
835
1298
  analyticsEngine?: Record<string, {
836
1299
  dataset: string;
837
1300
  }> | undefined;
@@ -841,7 +1304,11 @@ export declare const bindingsSchema: z.ZodOptional<z.ZodObject<{
841
1304
  allowedSenderAddresses?: string[] | undefined;
842
1305
  }> | undefined;
843
1306
  mtlsCertificates?: Record<string, string | {
1307
+ certificateId: string;
1308
+ remote?: boolean | undefined;
1309
+ } | {
844
1310
  certificate_id: string;
1311
+ remote?: boolean | undefined;
845
1312
  }> | undefined;
846
1313
  dispatchNamespaces?: Record<string, string | {
847
1314
  namespace: string;
@@ -850,16 +1317,31 @@ export declare const bindingsSchema: z.ZodOptional<z.ZodObject<{
850
1317
  environment?: string | undefined;
851
1318
  parameters?: string[] | undefined;
852
1319
  } | undefined;
1320
+ remote?: boolean | undefined;
853
1321
  }> | undefined;
854
1322
  workflows?: Record<string, {
855
1323
  name: string;
856
1324
  className: string;
857
1325
  scriptName?: string | undefined;
1326
+ remote?: boolean | undefined;
1327
+ limits?: {
1328
+ steps: number;
1329
+ } | undefined;
858
1330
  }> | undefined;
859
1331
  pipelines?: Record<string, string | {
860
1332
  pipeline: string;
1333
+ remote?: boolean | undefined;
1334
+ }> | undefined;
1335
+ images?: Record<string, true | {
1336
+ remote?: boolean | undefined;
1337
+ }> | undefined;
1338
+ media?: Record<string, true | {
1339
+ remote?: boolean | undefined;
1340
+ }> | undefined;
1341
+ artifacts?: Record<string, string | {
1342
+ namespace: string;
1343
+ remote?: boolean | undefined;
861
1344
  }> | undefined;
862
- images?: Record<string, true | {}> | undefined;
863
1345
  }, {
864
1346
  kv?: Record<string, string | {
865
1347
  id: string;
@@ -885,6 +1367,21 @@ export declare const bindingsSchema: z.ZodOptional<z.ZodObject<{
885
1367
  retryDelay?: number | undefined;
886
1368
  }[] | undefined;
887
1369
  } | undefined;
1370
+ rateLimits?: Record<string, {
1371
+ namespaceId: string;
1372
+ simple: {
1373
+ limit: number;
1374
+ period: 10 | 60;
1375
+ };
1376
+ }> | undefined;
1377
+ versionMetadata?: {
1378
+ binding: string;
1379
+ } | undefined;
1380
+ workerLoaders?: Record<string, {}> | undefined;
1381
+ secretsStore?: Record<string, string | {
1382
+ storeId: string;
1383
+ secretName: string;
1384
+ }> | undefined;
888
1385
  services?: Record<string, {
889
1386
  /** Target worker/service name */
890
1387
  service: string;
@@ -897,19 +1394,34 @@ export declare const bindingsSchema: z.ZodOptional<z.ZodObject<{
897
1394
  }> | undefined;
898
1395
  ai?: {
899
1396
  binding: string;
1397
+ remote?: boolean | undefined;
1398
+ staging?: boolean | undefined;
900
1399
  } | undefined;
1400
+ aiSearchNamespaces?: Record<string, {
1401
+ namespace: string;
1402
+ remote?: boolean | undefined;
1403
+ }> | undefined;
1404
+ aiSearch?: Record<string, {
1405
+ instanceName: string;
1406
+ remote?: boolean | undefined;
1407
+ }> | undefined;
901
1408
  vectorize?: Record<string, {
902
1409
  indexName: string;
1410
+ remote?: boolean | undefined;
903
1411
  }> | undefined;
904
1412
  hyperdrive?: Record<string, string | {
905
1413
  id: string;
1414
+ localConnectionString?: string | undefined;
906
1415
  } | {
907
1416
  name: string;
1417
+ localConnectionString?: string | undefined;
908
1418
  previewFallback?: "base" | undefined;
909
1419
  previewId?: string | undefined;
910
1420
  previewLocalConnectionString?: string | undefined;
911
1421
  }> | undefined;
912
- browser?: Record<string, string> | undefined;
1422
+ browser?: Record<string, string | {
1423
+ remote?: boolean | undefined;
1424
+ }> | undefined;
913
1425
  analyticsEngine?: Record<string, {
914
1426
  dataset: string;
915
1427
  }> | undefined;
@@ -919,7 +1431,11 @@ export declare const bindingsSchema: z.ZodOptional<z.ZodObject<{
919
1431
  allowedSenderAddresses?: string[] | undefined;
920
1432
  }> | undefined;
921
1433
  mtlsCertificates?: Record<string, string | {
1434
+ certificateId: string;
1435
+ remote?: boolean | undefined;
1436
+ } | {
922
1437
  certificate_id: string;
1438
+ remote?: boolean | undefined;
923
1439
  }> | undefined;
924
1440
  dispatchNamespaces?: Record<string, string | {
925
1441
  namespace: string;
@@ -928,28 +1444,52 @@ export declare const bindingsSchema: z.ZodOptional<z.ZodObject<{
928
1444
  environment?: string | undefined;
929
1445
  parameters?: string[] | undefined;
930
1446
  } | undefined;
1447
+ remote?: boolean | undefined;
931
1448
  }> | undefined;
932
1449
  workflows?: Record<string, {
933
1450
  name: string;
934
1451
  className: string;
935
1452
  scriptName?: string | undefined;
1453
+ remote?: boolean | undefined;
1454
+ limits?: {
1455
+ steps: number;
1456
+ } | undefined;
936
1457
  }> | undefined;
937
1458
  pipelines?: Record<string, string | {
938
1459
  pipeline: string;
1460
+ remote?: boolean | undefined;
1461
+ }> | undefined;
1462
+ images?: Record<string, true | {
1463
+ remote?: boolean | undefined;
1464
+ }> | undefined;
1465
+ media?: Record<string, true | {
1466
+ remote?: boolean | undefined;
1467
+ }> | undefined;
1468
+ artifacts?: Record<string, string | {
1469
+ namespace: string;
1470
+ remote?: boolean | undefined;
939
1471
  }> | undefined;
940
- images?: Record<string, true | {}> | undefined;
941
1472
  }>>;
942
1473
  export type BrowserBindings = z.infer<typeof browserBindingSchema>;
1474
+ export type BrowserBinding = z.infer<typeof browserBindingValueSchema>;
943
1475
  export type D1Binding = z.infer<typeof d1BindingSchema>;
944
1476
  export type DurableObjectBinding = z.infer<typeof durableObjectBindingSchema>;
945
1477
  export type HyperdriveBinding = z.infer<typeof hyperdriveBindingSchema>;
946
1478
  export type KVBinding = z.infer<typeof kvBindingSchema>;
947
1479
  export type QueueConsumer = z.infer<typeof queueConsumerSchema>;
948
1480
  export type QueuesConfig = z.infer<typeof queuesConfigSchema>;
1481
+ export type RateLimitBinding = z.infer<typeof rateLimitBindingSchema>;
1482
+ export type VersionMetadataBinding = z.infer<typeof versionMetadataBindingSchema>;
1483
+ export type WorkerLoaderBinding = z.infer<typeof workerLoaderBindingSchema>;
1484
+ export type SecretsStoreBinding = z.infer<typeof secretsStoreBindingSchema>;
949
1485
  export type ServiceBinding = z.infer<typeof serviceBindingSchema>;
1486
+ export type AiSearchNamespaceBinding = z.infer<typeof aiSearchNamespaceBindingSchema>;
1487
+ export type AiSearchInstanceBinding = z.infer<typeof aiSearchInstanceBindingSchema>;
950
1488
  export type MtlsCertificateBinding = z.infer<typeof mtlsCertificateBindingSchema>;
951
1489
  export type DispatchNamespaceBinding = z.infer<typeof dispatchNamespaceBindingSchema>;
952
1490
  export type WorkflowBinding = z.infer<typeof workflowBindingSchema>;
953
1491
  export type PipelineBinding = z.infer<typeof pipelineBindingSchema>;
954
1492
  export type ImagesBinding = z.infer<typeof imagesBindingSchema>;
1493
+ export type MediaBinding = z.infer<typeof mediaBindingSchema>;
1494
+ export type ArtifactsBinding = z.infer<typeof artifactsBindingSchema>;
955
1495
  //# sourceMappingURL=schema-bindings.d.ts.map