@riverbankcms/sdk 0.85.0 → 0.89.1

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 (166) hide show
  1. package/dist/{PreviewEditorSidebar-4PH35ZIE.mjs → PreviewEditorSidebar-JDR64FEC.mjs} +3 -3
  2. package/dist/{PreviewEditorUI-WHMCRJGM.mjs → PreviewEditorUI-67TMJMAF.mjs} +3 -3
  3. package/dist/SdkPreviewModeRuntime-ZBEMRV7N.mjs +8 -0
  4. package/dist/_dts/api/src/accessAdmin.d.ts +7 -0
  5. package/dist/_dts/api/src/endpoints.d.ts +66 -14
  6. package/dist/_dts/api/src/index.d.ts +5 -2
  7. package/dist/_dts/api/src/launchReadiness.d.ts +3 -3
  8. package/dist/_dts/api/src/mailchimpIntegration.d.ts +215 -0
  9. package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +35 -15
  10. package/dist/_dts/api/src/siteInfrastructure.d.ts +0 -14
  11. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +5 -1
  12. package/dist/_dts/api/src/siteMembers.d.ts +6 -1
  13. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +1 -13
  14. package/dist/_dts/api/src/types.d.ts +7 -4
  15. package/dist/_dts/blocks/src/PageRenderer.d.ts +1 -0
  16. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +4 -0
  17. package/dist/_dts/blocks/src/index.d.ts +2 -1
  18. package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +288 -288
  19. package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +288 -288
  20. package/dist/_dts/blocks/src/system/blocks/cart.d.ts +288 -288
  21. package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +288 -288
  22. package/dist/_dts/blocks/src/system/blocks/collection.d.ts +288 -288
  23. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +42 -0
  24. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +4 -0
  25. package/dist/_dts/blocks/src/system/blocks/faq.d.ts +288 -288
  26. package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +288 -288
  27. package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +1 -1
  28. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +42 -42
  29. package/dist/_dts/blocks/src/system/blocks/newsletter-signup-destination.d.ts +300 -0
  30. package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +63 -3
  31. package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +288 -288
  32. package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +288 -288
  33. package/dist/_dts/blocks/src/system/blocks/shop.d.ts +288 -288
  34. package/dist/_dts/blocks/src/system/fragments/library/newsletterForm.d.ts +53 -1
  35. package/dist/_dts/blocks/src/system/icons/cta.d.ts +3 -3
  36. package/dist/_dts/blocks/src/system/icons/index.d.ts +1 -0
  37. package/dist/_dts/blocks/src/system/icons/registry.d.ts +2 -2
  38. package/dist/_dts/blocks/src/system/icons/semantic.d.ts +3 -3
  39. package/dist/_dts/blocks/src/system/icons/svg.d.ts +72 -0
  40. package/dist/_dts/blocks/src/system/manifest/richTextSchema.d.ts +27 -0
  41. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +23 -23
  42. package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +11 -2
  43. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +24 -0
  44. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +12 -0
  45. package/dist/_dts/blocks/src/system/runtime/hooks/loadStateError.d.ts +1 -0
  46. package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableDates.d.ts +1 -1
  47. package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableDates.state.d.ts +55 -0
  48. package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableSlots.state.d.ts +39 -0
  49. package/dist/_dts/blocks/src/system/runtime/hooks/useBookingFormConfig.d.ts +4 -27
  50. package/dist/_dts/blocks/src/system/runtime/hooks/useBookingFormConfig.state.d.ts +40 -0
  51. package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.state.d.ts +20 -0
  52. package/dist/_dts/blocks/src/system/runtime/hooks/useEventFilters.state.d.ts +31 -0
  53. package/dist/_dts/blocks/src/system/runtime/hooks/useEventPagination.d.ts +3 -3
  54. package/dist/_dts/blocks/src/system/runtime/hooks/useEventPagination.state.d.ts +39 -0
  55. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +1 -0
  56. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +4 -0
  57. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
  58. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventPaginatedListView.client.d.ts +1 -1
  59. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +11 -1
  60. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.client.state.d.ts +24 -2
  61. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +15 -0
  62. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.server.d.ts +1 -1
  63. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.submission.d.ts +32 -0
  64. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +5 -1
  65. package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.state.d.ts +24 -0
  66. package/dist/_dts/blocks/src/system/runtime/shared/components/ModalShell.d.ts +5 -1
  67. package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.state.d.ts +35 -0
  68. package/dist/_dts/blocks/src/system/runtime/shared/utils/formatting.d.ts +1 -1
  69. package/dist/_dts/content-model/src/entry-slots/types.d.ts +54 -0
  70. package/dist/_dts/content-model/src/referenceFields.d.ts +1 -1
  71. package/dist/_dts/core/src/branded.d.ts +7 -0
  72. package/dist/_dts/core/src/currency-format.d.ts +37 -2
  73. package/dist/_dts/core/src/event-pricing.d.ts +24 -0
  74. package/dist/_dts/core/src/index.d.ts +1 -0
  75. package/dist/_dts/core/src/site-route-target.d.ts +40 -0
  76. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +705 -17
  77. package/dist/_dts/editor-blocks/src/widgets/reference/loaders.d.ts +3 -1
  78. package/dist/_dts/media-core/src/fileDomain.d.ts +4 -0
  79. package/dist/_dts/sdk/src/client/runtimeCachePolicy.d.ts +160 -0
  80. package/dist/_dts/sdk/src/client/types.d.ts +35 -1
  81. package/dist/_dts/sdk/src/config/validation.d.ts +3 -0
  82. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +3 -0
  83. package/dist/_dts/sdk/src/data/prefetchBlockData.d.ts +3 -9
  84. package/dist/_dts/sdk/src/index.d.ts +3 -1
  85. package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +1 -1
  86. package/dist/_dts/sdk/src/manifest/three-pass-converter.d.ts +7 -18
  87. package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -0
  88. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +3 -1
  89. package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +7 -3
  90. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +4 -24
  91. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +45 -0
  92. package/dist/_dts/sdk/src/version.d.ts +1 -1
  93. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  94. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +9 -9
  95. package/dist/_dts/theme-core/src/schema.d.ts +11 -11
  96. package/dist/{chunk-PYDHOMEO.mjs → chunk-7N46MZHI.mjs} +1 -1
  97. package/dist/{chunk-ZR2GQK2A.mjs → chunk-7YUAXONX.mjs} +1880 -588
  98. package/dist/{chunk-4QNLOTES.mjs → chunk-F645A5UV.mjs} +76 -14
  99. package/dist/{chunk-OCGTXHSO.mjs → chunk-HKJQERFR.mjs} +7 -7
  100. package/dist/{chunk-NFWGLRZZ.mjs → chunk-TGBJWKMP.mjs} +37 -3
  101. package/dist/{chunk-WFPYN7KA.mjs → chunk-ZQRBLCW5.mjs} +2 -2
  102. package/dist/cli/index.mjs +1075 -126
  103. package/dist/client/{accordion-2UZPBMYM.mjs → accordion-MUCVNGQ7.mjs} +2 -2
  104. package/dist/client/{bookingForm-36CWQUMV.mjs → bookingForm-PKD6EFIE.mjs} +193 -77
  105. package/dist/client/bookings.mjs +487 -197
  106. package/dist/client/{carousel-QH77HR6X.mjs → carousel-3TKQSNJC.mjs} +4 -3
  107. package/dist/client/cart-6XHSZK23.mjs +19 -0
  108. package/dist/client/checkout-FVSPM6FI.mjs +19 -0
  109. package/dist/client/{chunk-ZE5G642V.mjs → chunk-25W2EQUN.mjs} +75 -1
  110. package/dist/client/chunk-6N7YRNYU.mjs +183 -0
  111. package/dist/client/{chunk-4OXKTA3D.mjs → chunk-7DH35FGA.mjs} +2 -2
  112. package/dist/client/{chunk-3C2VTPWI.mjs → chunk-CQKKFEQD.mjs} +363 -66
  113. package/dist/client/{chunk-7UCLJ5SP.mjs → chunk-EY42X22F.mjs} +4 -7
  114. package/dist/client/{chunk-SYIJ5JO2.mjs → chunk-FHU6PFPM.mjs} +1 -1
  115. package/dist/client/{chunk-ZKUO52W3.mjs → chunk-LQFDYWPJ.mjs} +1 -1
  116. package/dist/client/chunk-RSQWWUAD.mjs +390 -0
  117. package/dist/client/{chunk-UDNSI5PY.mjs → chunk-STJ2NCQM.mjs} +2 -3
  118. package/dist/client/{chunk-VGDBVNOO.mjs → chunk-UQFY4AHX.mjs} +511 -406
  119. package/dist/client/{chunk-F5VRX5Y6.mjs → chunk-VGLXACVK.mjs} +1 -1
  120. package/dist/client/{chunk-DVNUDUVT.mjs → chunk-WBQG7VJA.mjs} +4 -1
  121. package/dist/client/{chunk-52CGCQ7B.mjs → chunk-ZJZZA5EP.mjs} +10 -80
  122. package/dist/client/{chunk-XSV6KW4D.mjs → chunk-ZT5XE7FK.mjs} +1 -1
  123. package/dist/client/client.mjs +5820 -4782
  124. package/dist/client/{courseRegistration-TMKU6ABO.mjs → courseRegistration-ATZSYDHM.mjs} +7 -7
  125. package/dist/client/{eventCalendar-G6TI32X6.mjs → eventCalendar-6T2UGKKP.mjs} +11 -11
  126. package/dist/client/{eventCombined-SCKEMNAR.mjs → eventCombined-Q4VANXVF.mjs} +11 -11
  127. package/dist/client/{eventDetails-XPIFXXPK.mjs → eventDetails-DW37E7VW.mjs} +11 -11
  128. package/dist/client/{eventListing-7QFMEMGT.mjs → eventListing-XURTSAUW.mjs} +11 -11
  129. package/dist/client/{eventRegistration-TOODSZUI.mjs → eventRegistration-MRKEVAXW.mjs} +11 -11
  130. package/dist/client/{form-MTCMVCZT.mjs → form-WZZFFGMU.mjs} +3 -3
  131. package/dist/client/{headerSection-Y5TMR3TW.mjs → headerSection-EQYVQBLM.mjs} +4 -4
  132. package/dist/client/hooks.mjs +1700 -1412
  133. package/dist/client/{locationMap-RH2LG7FZ.mjs → locationMap-MFF5VAZR.mjs} +3 -4
  134. package/dist/client/{newsletterForm-PCAIPFMA.mjs → newsletterForm-JQ77UYIE.mjs} +127 -43
  135. package/dist/client/{productDetail-OIGDR4YE.mjs → productDetail-25LMT3IZ.mjs} +9 -9
  136. package/dist/client/{productList-4MA5S2CX.mjs → productList-5ABEMKUG.mjs} +9 -9
  137. package/dist/client/rendering/client.mjs +3884 -3722
  138. package/dist/client/rendering/islands.mjs +19 -19
  139. package/dist/client/rendering.mjs +6774 -6331
  140. package/dist/client/shop-OMMQZ6YO.mjs +21 -0
  141. package/dist/preview-next/before-render.mjs +76 -14
  142. package/dist/preview-next/client/runtime.mjs +5 -5
  143. package/dist/preview-next/editor-chrome.css +56 -9
  144. package/dist/preview-next/middleware.mjs +76 -14
  145. package/dist/{sdk-runtime-QLOCYKVU.mjs → sdk-runtime-WNLBZ3ZH.mjs} +6 -6
  146. package/dist/server/components.mjs +2579 -2548
  147. package/dist/server/config-validation.mjs +1737 -1461
  148. package/dist/server/config.mjs +1737 -1461
  149. package/dist/server/data.mjs +1701 -1413
  150. package/dist/server/index.mjs +1048 -400
  151. package/dist/server/next.mjs +3602 -2858
  152. package/dist/server/page-converter.mjs +2193 -1169
  153. package/dist/server/prebuild.mjs +1 -1
  154. package/dist/server/rendering/server.mjs +2770 -2742
  155. package/dist/server/rendering.mjs +2961 -2886
  156. package/dist/server/routing.mjs +2186 -1508
  157. package/dist/server/server.mjs +2237 -1287
  158. package/dist/server/theme-bridge.mjs +260 -0
  159. package/dist/styles/index.css +258 -0
  160. package/package.json +2 -1
  161. package/dist/SdkPreviewModeRuntime-4FGSVUYI.mjs +0 -8
  162. package/dist/client/cart-X4YK4FTW.mjs +0 -19
  163. package/dist/client/checkout-OM2BEPWD.mjs +0 -19
  164. package/dist/client/chunk-3DTWLTXM.mjs +0 -204
  165. package/dist/client/chunk-I2MMZO53.mjs +0 -6
  166. package/dist/client/shop-WXSYV5QO.mjs +0 -21
@@ -1121,9 +1121,11 @@ export declare const runtimeBackedBlockClientEntries: {
1121
1121
  definition: import("../..").SystemBlockDefinition<unknown, Readonly<{
1122
1122
  kind: "progressive";
1123
1123
  buildRender: (source: Readonly<{
1124
+ blockId?: string | null;
1124
1125
  siteId?: string;
1125
1126
  apiBaseUrl?: string;
1126
1127
  listId?: string | null;
1128
+ destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
1127
1129
  preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
1128
1130
  includePhone?: boolean;
1129
1131
  buttonLabel?: string | null;
@@ -1142,6 +1144,7 @@ export declare const runtimeBackedBlockClientEntries: {
1142
1144
  fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
1143
1145
  }>;
1144
1146
  hydration: Readonly<{
1147
+ destinationRef?: import("../..").NewsletterSignupPublicDestinationRef | null;
1145
1148
  listId?: string | null;
1146
1149
  preset: import("../nodes/newsletter-form.types").NewsletterPreset;
1147
1150
  includePhone: boolean;
@@ -1152,9 +1155,11 @@ export declare const runtimeBackedBlockClientEntries: {
1152
1155
  contracts: Readonly<{
1153
1156
  source: Readonly<{
1154
1157
  encode: (value: Readonly<{
1158
+ blockId?: string | null;
1155
1159
  siteId?: string;
1156
1160
  apiBaseUrl?: string;
1157
1161
  listId?: string | null;
1162
+ destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
1158
1163
  preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
1159
1164
  includePhone?: boolean;
1160
1165
  buttonLabel?: string | null;
@@ -1165,9 +1170,11 @@ export declare const runtimeBackedBlockClientEntries: {
1165
1170
  className?: string | null;
1166
1171
  }>) => unknown;
1167
1172
  decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
1173
+ blockId?: string | null;
1168
1174
  siteId?: string;
1169
1175
  apiBaseUrl?: string;
1170
1176
  listId?: string | null;
1177
+ destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
1171
1178
  preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
1172
1179
  includePhone?: boolean;
1173
1180
  buttonLabel?: string | null;
@@ -1189,6 +1196,7 @@ export declare const runtimeBackedBlockClientEntries: {
1189
1196
  fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
1190
1197
  }>;
1191
1198
  hydration: Readonly<{
1199
+ destinationRef?: import("../..").NewsletterSignupPublicDestinationRef | null;
1192
1200
  listId?: string | null;
1193
1201
  preset: import("../nodes/newsletter-form.types").NewsletterPreset;
1194
1202
  includePhone: boolean;
@@ -1206,6 +1214,7 @@ export declare const runtimeBackedBlockClientEntries: {
1206
1214
  fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
1207
1215
  }>;
1208
1216
  hydration: Readonly<{
1217
+ destinationRef?: import("../..").NewsletterSignupPublicDestinationRef | null;
1209
1218
  listId?: string | null;
1210
1219
  preset: import("../nodes/newsletter-form.types").NewsletterPreset;
1211
1220
  includePhone: boolean;
@@ -1222,9 +1231,11 @@ export declare const runtimeBackedBlockClientEntries: {
1222
1231
  runtime: Readonly<{
1223
1232
  kind: "progressive";
1224
1233
  buildRender: (source: Readonly<{
1234
+ blockId?: string | null;
1225
1235
  siteId?: string;
1226
1236
  apiBaseUrl?: string;
1227
1237
  listId?: string | null;
1238
+ destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
1228
1239
  preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
1229
1240
  includePhone?: boolean;
1230
1241
  buttonLabel?: string | null;
@@ -1243,6 +1254,7 @@ export declare const runtimeBackedBlockClientEntries: {
1243
1254
  fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
1244
1255
  }>;
1245
1256
  hydration: Readonly<{
1257
+ destinationRef?: import("../..").NewsletterSignupPublicDestinationRef | null;
1246
1258
  listId?: string | null;
1247
1259
  preset: import("../nodes/newsletter-form.types").NewsletterPreset;
1248
1260
  includePhone: boolean;
@@ -1253,9 +1265,11 @@ export declare const runtimeBackedBlockClientEntries: {
1253
1265
  contracts: Readonly<{
1254
1266
  source: Readonly<{
1255
1267
  encode: (value: Readonly<{
1268
+ blockId?: string | null;
1256
1269
  siteId?: string;
1257
1270
  apiBaseUrl?: string;
1258
1271
  listId?: string | null;
1272
+ destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
1259
1273
  preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
1260
1274
  includePhone?: boolean;
1261
1275
  buttonLabel?: string | null;
@@ -1266,9 +1280,11 @@ export declare const runtimeBackedBlockClientEntries: {
1266
1280
  className?: string | null;
1267
1281
  }>) => unknown;
1268
1282
  decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
1283
+ blockId?: string | null;
1269
1284
  siteId?: string;
1270
1285
  apiBaseUrl?: string;
1271
1286
  listId?: string | null;
1287
+ destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
1272
1288
  preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
1273
1289
  includePhone?: boolean;
1274
1290
  buttonLabel?: string | null;
@@ -1290,6 +1306,7 @@ export declare const runtimeBackedBlockClientEntries: {
1290
1306
  fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
1291
1307
  }>;
1292
1308
  hydration: Readonly<{
1309
+ destinationRef?: import("../..").NewsletterSignupPublicDestinationRef | null;
1293
1310
  listId?: string | null;
1294
1311
  preset: import("../nodes/newsletter-form.types").NewsletterPreset;
1295
1312
  includePhone: boolean;
@@ -1307,6 +1324,7 @@ export declare const runtimeBackedBlockClientEntries: {
1307
1324
  fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
1308
1325
  }>;
1309
1326
  hydration: Readonly<{
1327
+ destinationRef?: import("../..").NewsletterSignupPublicDestinationRef | null;
1310
1328
  listId?: string | null;
1311
1329
  preset: import("../nodes/newsletter-form.types").NewsletterPreset;
1312
1330
  includePhone: boolean;
@@ -2335,6 +2353,7 @@ export declare const runtimeBackedBlockClientEntries: {
2335
2353
  successMessage?: string;
2336
2354
  waitlistMessage?: string;
2337
2355
  buttonVariant?: "primary" | "secondary" | "outline";
2356
+ overlayEnabled?: boolean;
2338
2357
  spamProtectionEnabled?: boolean;
2339
2358
  stage?: "preview" | "published";
2340
2359
  supportEmail?: string;
@@ -2372,6 +2391,7 @@ export declare const runtimeBackedBlockClientEntries: {
2372
2391
  successMessage?: string;
2373
2392
  waitlistMessage?: string;
2374
2393
  buttonVariant?: "primary" | "secondary" | "outline";
2394
+ overlayEnabled?: boolean;
2375
2395
  spamProtectionEnabled?: boolean;
2376
2396
  stage?: "preview" | "published";
2377
2397
  supportEmail?: string;
@@ -2396,6 +2416,7 @@ export declare const runtimeBackedBlockClientEntries: {
2396
2416
  successMessage?: string;
2397
2417
  waitlistMessage?: string;
2398
2418
  buttonVariant?: "primary" | "secondary" | "outline";
2419
+ overlayEnabled?: boolean;
2399
2420
  spamProtectionEnabled?: boolean;
2400
2421
  stage?: "preview" | "published";
2401
2422
  supportEmail?: string;
@@ -2454,6 +2475,7 @@ export declare const runtimeBackedBlockClientEntries: {
2454
2475
  successMessage?: string;
2455
2476
  waitlistMessage?: string;
2456
2477
  buttonVariant?: "primary" | "secondary" | "outline";
2478
+ overlayEnabled?: boolean;
2457
2479
  spamProtectionEnabled?: boolean;
2458
2480
  stage?: "preview" | "published";
2459
2481
  supportEmail?: string;
@@ -2491,6 +2513,7 @@ export declare const runtimeBackedBlockClientEntries: {
2491
2513
  successMessage?: string;
2492
2514
  waitlistMessage?: string;
2493
2515
  buttonVariant?: "primary" | "secondary" | "outline";
2516
+ overlayEnabled?: boolean;
2494
2517
  spamProtectionEnabled?: boolean;
2495
2518
  stage?: "preview" | "published";
2496
2519
  supportEmail?: string;
@@ -2515,6 +2538,7 @@ export declare const runtimeBackedBlockClientEntries: {
2515
2538
  successMessage?: string;
2516
2539
  waitlistMessage?: string;
2517
2540
  buttonVariant?: "primary" | "secondary" | "outline";
2541
+ overlayEnabled?: boolean;
2518
2542
  spamProtectionEnabled?: boolean;
2519
2543
  stage?: "preview" | "published";
2520
2544
  supportEmail?: string;
@@ -565,9 +565,11 @@ export declare const runtimeBackedBlockServerEntries: {
565
565
  definition: RuntimeBackedBlockDefinition<Readonly<{
566
566
  kind: "progressive";
567
567
  buildRender: (source: Readonly<{
568
+ blockId?: string | null;
568
569
  siteId?: string;
569
570
  apiBaseUrl?: string;
570
571
  listId?: string | null;
572
+ destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
571
573
  preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
572
574
  includePhone?: boolean;
573
575
  buttonLabel?: string | null;
@@ -586,6 +588,7 @@ export declare const runtimeBackedBlockServerEntries: {
586
588
  fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
587
589
  }>;
588
590
  hydration: Readonly<{
591
+ destinationRef?: import("../..").NewsletterSignupPublicDestinationRef | null;
589
592
  listId?: string | null;
590
593
  preset: import("../nodes/newsletter-form.types").NewsletterPreset;
591
594
  includePhone: boolean;
@@ -596,9 +599,11 @@ export declare const runtimeBackedBlockServerEntries: {
596
599
  contracts: Readonly<{
597
600
  source: Readonly<{
598
601
  encode: (value: Readonly<{
602
+ blockId?: string | null;
599
603
  siteId?: string;
600
604
  apiBaseUrl?: string;
601
605
  listId?: string | null;
606
+ destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
602
607
  preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
603
608
  includePhone?: boolean;
604
609
  buttonLabel?: string | null;
@@ -609,9 +614,11 @@ export declare const runtimeBackedBlockServerEntries: {
609
614
  className?: string | null;
610
615
  }>) => unknown;
611
616
  decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
617
+ blockId?: string | null;
612
618
  siteId?: string;
613
619
  apiBaseUrl?: string;
614
620
  listId?: string | null;
621
+ destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
615
622
  preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
616
623
  includePhone?: boolean;
617
624
  buttonLabel?: string | null;
@@ -633,6 +640,7 @@ export declare const runtimeBackedBlockServerEntries: {
633
640
  fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
634
641
  }>;
635
642
  hydration: Readonly<{
643
+ destinationRef?: import("../..").NewsletterSignupPublicDestinationRef | null;
636
644
  listId?: string | null;
637
645
  preset: import("../nodes/newsletter-form.types").NewsletterPreset;
638
646
  includePhone: boolean;
@@ -650,6 +658,7 @@ export declare const runtimeBackedBlockServerEntries: {
650
658
  fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
651
659
  }>;
652
660
  hydration: Readonly<{
661
+ destinationRef?: import("../..").NewsletterSignupPublicDestinationRef | null;
653
662
  listId?: string | null;
654
663
  preset: import("../nodes/newsletter-form.types").NewsletterPreset;
655
664
  includePhone: boolean;
@@ -1178,6 +1187,7 @@ export declare const runtimeBackedBlockServerEntries: {
1178
1187
  successMessage?: string;
1179
1188
  waitlistMessage?: string;
1180
1189
  buttonVariant?: "primary" | "secondary" | "outline";
1190
+ overlayEnabled?: boolean;
1181
1191
  spamProtectionEnabled?: boolean;
1182
1192
  stage?: "preview" | "published";
1183
1193
  supportEmail?: string;
@@ -1215,6 +1225,7 @@ export declare const runtimeBackedBlockServerEntries: {
1215
1225
  successMessage?: string;
1216
1226
  waitlistMessage?: string;
1217
1227
  buttonVariant?: "primary" | "secondary" | "outline";
1228
+ overlayEnabled?: boolean;
1218
1229
  spamProtectionEnabled?: boolean;
1219
1230
  stage?: "preview" | "published";
1220
1231
  supportEmail?: string;
@@ -1239,6 +1250,7 @@ export declare const runtimeBackedBlockServerEntries: {
1239
1250
  successMessage?: string;
1240
1251
  waitlistMessage?: string;
1241
1252
  buttonVariant?: "primary" | "secondary" | "outline";
1253
+ overlayEnabled?: boolean;
1242
1254
  spamProtectionEnabled?: boolean;
1243
1255
  stage?: "preview" | "published";
1244
1256
  supportEmail?: string;
@@ -0,0 +1 @@
1
+ export declare function toError(error: unknown, fallbackMessage: string): Error;
@@ -15,7 +15,7 @@ export type UseAvailableDatesOptions = {
15
15
  initialDays?: number;
16
16
  };
17
17
  export type UseAvailableDatesResult = {
18
- availableDates: Set<string>;
18
+ availableDates: ReadonlySet<string>;
19
19
  isLoading: boolean;
20
20
  isRefreshing: boolean;
21
21
  error: string | null;
@@ -0,0 +1,55 @@
1
+ export type AvailableDatesLoadedRange = {
2
+ start: string;
3
+ end: string;
4
+ };
5
+ export type AvailableDatesData = {
6
+ availableDates: ReadonlySet<string>;
7
+ hasMore: boolean;
8
+ loadedRange: AvailableDatesLoadedRange | null;
9
+ nextStartDate: string | null;
10
+ };
11
+ export type AvailableDatesState = {
12
+ tag: "idle";
13
+ data: AvailableDatesData;
14
+ } | {
15
+ tag: "loading";
16
+ data: AvailableDatesData;
17
+ } | {
18
+ tag: "loaded";
19
+ data: AvailableDatesData;
20
+ } | {
21
+ tag: "refreshing";
22
+ data: AvailableDatesData;
23
+ } | {
24
+ tag: "error";
25
+ data: AvailableDatesData;
26
+ message: string;
27
+ };
28
+ export type AvailableDatesAction = {
29
+ type: "query-cleared";
30
+ } | {
31
+ type: "load-started";
32
+ } | {
33
+ type: "refresh-started";
34
+ } | {
35
+ type: "load-succeeded";
36
+ dates: readonly string[];
37
+ hasMore: boolean;
38
+ nextStartDate: string | null;
39
+ startDate: string;
40
+ endDate: string;
41
+ append: boolean;
42
+ } | {
43
+ type: "load-failed";
44
+ message: string;
45
+ };
46
+ export declare function createInitialAvailableDatesState(): AvailableDatesState;
47
+ export declare const initialAvailableDatesState: AvailableDatesState;
48
+ export declare function getAvailableDates(state: AvailableDatesState): ReadonlySet<string>;
49
+ export declare function getAvailableDatesLoadedRange(state: AvailableDatesState): AvailableDatesLoadedRange | null;
50
+ export declare function getAvailableDatesNextStartDate(state: AvailableDatesState): string | null;
51
+ export declare function hasMoreAvailableDates(state: AvailableDatesState): boolean;
52
+ export declare function isLoadingAvailableDates(state: AvailableDatesState): boolean;
53
+ export declare function isRefreshingAvailableDates(state: AvailableDatesState): boolean;
54
+ export declare function getAvailableDatesError(state: AvailableDatesState): string | null;
55
+ export declare function availableDatesReducer(state: AvailableDatesState, action: AvailableDatesAction): AvailableDatesState;
@@ -0,0 +1,39 @@
1
+ import type { TimeSlot } from "../api";
2
+ export type AvailableSlotsState = {
3
+ tag: "idle";
4
+ } | {
5
+ tag: "loading";
6
+ hasLoaded: boolean;
7
+ } | {
8
+ tag: "loaded";
9
+ slots: TimeSlot[];
10
+ } | {
11
+ tag: "refreshing";
12
+ slots: TimeSlot[];
13
+ hasLoaded: boolean;
14
+ } | {
15
+ tag: "error";
16
+ slots: TimeSlot[];
17
+ hasLoaded: boolean;
18
+ message: string;
19
+ };
20
+ export type AvailableSlotsAction = {
21
+ type: "query-cleared";
22
+ } | {
23
+ type: "load-started";
24
+ } | {
25
+ type: "refresh-started";
26
+ } | {
27
+ type: "load-succeeded";
28
+ slots: TimeSlot[];
29
+ } | {
30
+ type: "load-failed";
31
+ message: string;
32
+ };
33
+ export declare const initialAvailableSlotsState: AvailableSlotsState;
34
+ export declare function getAvailableSlots(state: AvailableSlotsState): TimeSlot[];
35
+ export declare function hasLoadedAvailableSlots(state: AvailableSlotsState): boolean;
36
+ export declare function isLoadingAvailableSlots(state: AvailableSlotsState): boolean;
37
+ export declare function isRefreshingAvailableSlots(state: AvailableSlotsState): boolean;
38
+ export declare function getAvailableSlotsError(state: AvailableSlotsState): string | null;
39
+ export declare function availableSlotsReducer(state: AvailableSlotsState, action: AvailableSlotsAction): AvailableSlotsState;
@@ -4,34 +4,12 @@
4
4
  * Uses the Block API Client for type-safe API calls.
5
5
  * Must be used within a BlockApiProvider.
6
6
  */
7
- import type { FormField } from '../components/multi-step/DynamicFormFields';
8
- export interface Service {
9
- id: string;
10
- title: string;
11
- description?: string;
12
- durationMinutes?: number;
13
- paymentTerms?: import("../../blocks/shared/bookingPaymentTerms").BlockBookingPaymentTerms;
14
- }
15
- export interface BookingFormConfig {
16
- id: string;
17
- name: string;
18
- slug: string;
19
- settings?: {
20
- type: 'booking';
21
- serviceId?: string;
22
- serviceIds?: string[];
23
- resourceId?: string;
24
- requiresApproval?: boolean;
25
- successMessage?: string;
26
- };
27
- schema?: {
28
- version: string;
29
- fields: FormField[];
30
- };
31
- }
7
+ import { type BookingFormConfig, type BookingFormService } from '../nodes/booking-form.state';
8
+ export type Service = BookingFormService;
9
+ export type { BookingFormConfig };
32
10
  interface UseBookingFormConfigResult {
33
11
  formConfig: BookingFormConfig | null;
34
- services: Service[];
12
+ services: readonly Service[];
35
13
  isLoading: boolean;
36
14
  error: string | null;
37
15
  }
@@ -58,4 +36,3 @@ interface UseBookingFormConfigResult {
58
36
  * ```
59
37
  */
60
38
  export declare function useBookingFormConfig(siteId: string, formId: string): UseBookingFormConfigResult;
61
- export {};
@@ -0,0 +1,40 @@
1
+ import type { BookingFormConfig, BookingFormService as Service } from '../nodes/booking-form.state';
2
+ type BookingFormConfigSnapshot = Readonly<{
3
+ formConfig: BookingFormConfig | null;
4
+ services: readonly Service[];
5
+ }>;
6
+ export type BookingFormConfigState = Readonly<{
7
+ tag: 'loading';
8
+ previous: BookingFormConfigSnapshot;
9
+ }> | Readonly<{
10
+ tag: 'loaded';
11
+ formConfig: BookingFormConfig;
12
+ services: readonly Service[];
13
+ }> | Readonly<{
14
+ tag: 'error';
15
+ message: string;
16
+ previous: BookingFormConfigSnapshot;
17
+ }>;
18
+ export type BookingFormConfigAction = Readonly<{
19
+ type: 'load-started';
20
+ }> | Readonly<{
21
+ type: 'form-loaded';
22
+ formConfig: BookingFormConfig;
23
+ }> | Readonly<{
24
+ type: 'load-succeeded';
25
+ formConfig: BookingFormConfig;
26
+ services: readonly Service[];
27
+ }> | Readonly<{
28
+ type: 'services-load-failed';
29
+ message: string;
30
+ }> | Readonly<{
31
+ type: 'load-failed';
32
+ message: string;
33
+ }>;
34
+ export declare function createInitialBookingFormConfigState(): BookingFormConfigState;
35
+ export declare function bookingFormConfigReducer(state: BookingFormConfigState, action: BookingFormConfigAction): BookingFormConfigState;
36
+ export declare function selectBookingFormConfig(state: BookingFormConfigState): BookingFormConfig | null;
37
+ export declare function selectBookingFormServices(state: BookingFormConfigState): readonly Service[];
38
+ export declare function selectBookingFormConfigIsLoading(state: BookingFormConfigState): boolean;
39
+ export declare function selectBookingFormConfigError(state: BookingFormConfigState): string | null;
40
+ export {};
@@ -0,0 +1,20 @@
1
+ export type CalendarEventCacheLoadState = Readonly<{
2
+ kind: 'idle';
3
+ }> | Readonly<{
4
+ kind: 'loading';
5
+ }> | Readonly<{
6
+ kind: 'error';
7
+ error: Error;
8
+ }>;
9
+ export type CalendarEventCacheLoadAction = Readonly<{
10
+ type: 'started';
11
+ }> | Readonly<{
12
+ type: 'succeeded';
13
+ }> | Readonly<{
14
+ type: 'failed';
15
+ error: Error;
16
+ }>;
17
+ export declare function calendarEventCacheLoadReducer(_state: CalendarEventCacheLoadState, action: CalendarEventCacheLoadAction): CalendarEventCacheLoadState;
18
+ export declare function toCalendarEventCacheLoadError(error: unknown): Error;
19
+ export declare function isCalendarEventCacheLoading(state: CalendarEventCacheLoadState): boolean;
20
+ export declare function getCalendarEventCacheError(state: CalendarEventCacheLoadState): Error | null;
@@ -0,0 +1,31 @@
1
+ import type { EventFiltersResponse } from '../api/types';
2
+ export declare const EMPTY_EVENT_FILTERS: EventFiltersResponse;
3
+ export type EventFiltersLoadState = Readonly<{
4
+ kind: 'idle';
5
+ filters: EventFiltersResponse;
6
+ }> | Readonly<{
7
+ kind: 'loading';
8
+ filters: EventFiltersResponse;
9
+ }> | Readonly<{
10
+ kind: 'loaded';
11
+ filters: EventFiltersResponse;
12
+ }> | Readonly<{
13
+ kind: 'error';
14
+ filters: EventFiltersResponse;
15
+ error: Error;
16
+ }>;
17
+ export type EventFiltersLoadAction = Readonly<{
18
+ type: 'started';
19
+ }> | Readonly<{
20
+ type: 'succeeded';
21
+ filters: EventFiltersResponse;
22
+ }> | Readonly<{
23
+ type: 'failed';
24
+ error: Error;
25
+ }>;
26
+ export declare function createInitialEventFiltersLoadState(): EventFiltersLoadState;
27
+ export declare function eventFiltersLoadReducer(state: EventFiltersLoadState, action: EventFiltersLoadAction): EventFiltersLoadState;
28
+ export declare function toEventFiltersLoadError(error: unknown): Error;
29
+ export declare function getEventFiltersData(state: EventFiltersLoadState): EventFiltersResponse;
30
+ export declare function isEventFiltersLoading(state: EventFiltersLoadState): boolean;
31
+ export declare function getEventFiltersError(state: EventFiltersLoadState): Error | null;
@@ -21,9 +21,9 @@ type UseEventPaginationOptions = {
21
21
  /** Fetch stage (preview vs published) */
22
22
  stage?: 'preview' | 'published';
23
23
  };
24
- type EventPaginationState = {
24
+ type EventPaginationResult = {
25
25
  /** All loaded events */
26
- events: PublicEvent[];
26
+ events: readonly PublicEvent[];
27
27
  /** Whether a load operation is in progress */
28
28
  loading: boolean;
29
29
  /** Error from last load attempt */
@@ -49,5 +49,5 @@ type EventPaginationState = {
49
49
  * ```
50
50
  */
51
51
  export declare function useEventPagination({ siteId: _siteId, // Deprecated: siteId now comes from BlockApiProvider context
52
- initialEvents, fetchInitialOnMount, initialFilters, filters, pageSize, stage, }: UseEventPaginationOptions): EventPaginationState;
52
+ initialEvents, fetchInitialOnMount, initialFilters, filters, pageSize, stage, }: UseEventPaginationOptions): EventPaginationResult;
53
53
  export default useEventPagination;
@@ -0,0 +1,39 @@
1
+ import type { PublicEvent } from '../../blocks/events/shared/types';
2
+ export type EventPaginationLoadState = Readonly<{
3
+ kind: 'ready';
4
+ events: readonly PublicEvent[];
5
+ hasMore: boolean;
6
+ }> | Readonly<{
7
+ kind: 'loading';
8
+ events: readonly PublicEvent[];
9
+ hasMore: boolean;
10
+ }> | Readonly<{
11
+ kind: 'error';
12
+ events: readonly PublicEvent[];
13
+ hasMore: boolean;
14
+ error: Error;
15
+ }>;
16
+ export type EventPaginationLoadAction = Readonly<{
17
+ type: 'started';
18
+ reset: boolean;
19
+ }> | Readonly<{
20
+ type: 'succeeded';
21
+ events: readonly PublicEvent[];
22
+ hasMore: boolean;
23
+ }> | Readonly<{
24
+ type: 'failed';
25
+ error: Error;
26
+ }> | Readonly<{
27
+ type: 'synced';
28
+ events: readonly PublicEvent[];
29
+ pageSize: number;
30
+ }>;
31
+ export declare function createInitialEventPaginationLoadState(events: readonly PublicEvent[], pageSize: number): EventPaginationLoadState;
32
+ export declare function eventPaginationLoadReducer(state: EventPaginationLoadState, action: EventPaginationLoadAction): EventPaginationLoadState;
33
+ export declare function getEventIdentity(event: PublicEvent): string;
34
+ export declare function mergeEventPaginationEvents(existingEvents: readonly PublicEvent[], newEvents: readonly PublicEvent[]): readonly PublicEvent[];
35
+ export declare function toEventPaginationLoadError(error: unknown): Error;
36
+ export declare function getEventPaginationEvents(state: EventPaginationLoadState): readonly PublicEvent[];
37
+ export declare function isEventPaginationLoading(state: EventPaginationLoadState): boolean;
38
+ export declare function getEventPaginationError(state: EventPaginationLoadState): Error | null;
39
+ export declare function hasMoreEventPages(events: readonly PublicEvent[], pageSize: number): boolean;
@@ -147,6 +147,7 @@ export type EventRegistrationClientProps = {
147
147
  waitlistMessage?: string;
148
148
  buttonText?: string;
149
149
  buttonVariant?: 'primary' | 'secondary' | 'outline';
150
+ overlayEnabled?: boolean;
150
151
  className?: string;
151
152
  /**
152
153
  * @deprecated Custom endpoints no longer supported - API client handles routing
@@ -27,6 +27,7 @@ export type EventRegistrationSourceProps = Readonly<{
27
27
  successMessage?: string;
28
28
  waitlistMessage?: string;
29
29
  buttonVariant?: 'primary' | 'secondary' | 'outline';
30
+ overlayEnabled?: boolean;
30
31
  spamProtectionEnabled?: boolean;
31
32
  stage?: 'preview' | 'published';
32
33
  supportEmail?: string;
@@ -72,6 +73,7 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
72
73
  successMessage?: string;
73
74
  waitlistMessage?: string;
74
75
  buttonVariant?: "primary" | "secondary" | "outline";
76
+ overlayEnabled?: boolean;
75
77
  spamProtectionEnabled?: boolean;
76
78
  stage?: "preview" | "published";
77
79
  supportEmail?: string;
@@ -109,6 +111,7 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
109
111
  successMessage?: string;
110
112
  waitlistMessage?: string;
111
113
  buttonVariant?: "primary" | "secondary" | "outline";
114
+ overlayEnabled?: boolean;
112
115
  spamProtectionEnabled?: boolean;
113
116
  stage?: "preview" | "published";
114
117
  supportEmail?: string;
@@ -133,6 +136,7 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
133
136
  successMessage?: string;
134
137
  waitlistMessage?: string;
135
138
  buttonVariant?: "primary" | "secondary" | "outline";
139
+ overlayEnabled?: boolean;
136
140
  spamProtectionEnabled?: boolean;
137
141
  stage?: "preview" | "published";
138
142
  supportEmail?: string;
@@ -8,5 +8,5 @@ type EventRegistrationProps = EventRegistrationSourceProps & Readonly<{
8
8
  * Server-safe placeholder for event registration.
9
9
  * Provides a static container for island hydration without importing client hooks.
10
10
  */
11
- export declare function EventRegistrationSSR({ blockId, siteId, apiBaseUrl, portalToken, previewToken, occurrenceContext, contentEntry, events, className, buttonText, maxTickets, showVenue, showCapacity, successMessage, waitlistMessage, buttonVariant, spamProtectionEnabled, stage, supportEmail, children, }: EventRegistrationProps): React.JSX.Element;
11
+ export declare function EventRegistrationSSR({ blockId, siteId, apiBaseUrl, portalToken, previewToken, occurrenceContext, contentEntry, events, className, buttonText, maxTickets, showVenue, showCapacity, successMessage, waitlistMessage, buttonVariant, overlayEnabled, spamProtectionEnabled, stage, supportEmail, children, }: EventRegistrationProps): React.JSX.Element;
12
12
  export default EventRegistrationSSR;
@@ -5,7 +5,7 @@ import type { EventListPaginationAction } from './listOptions';
5
5
  type EventPaginatedListViewProps = {
6
6
  filters?: React.ReactNode;
7
7
  display: EventListingDisplay;
8
- events: PublicEvent[];
8
+ events: readonly PublicEvent[];
9
9
  loading: boolean;
10
10
  error: Error | null;
11
11
  hasMore: boolean;
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * Shared utility functions for event blocks
3
3
  */
4
+ import { type PublicEventPricing } from '../../../../../../../core/src/index';
4
5
  import type { CardOrientation, EventLayout, PublicEvent } from '../../../../blocks/events/shared/types';
5
6
  /** Day names starting from Sunday — kept for back-compat re-export. */
6
7
  export { DAY_NAMES, MONTH_NAMES } from '../../../../../../../calendar/src/index';
@@ -63,9 +64,18 @@ export type { CalendarViewport, CalendarViewportKind, MonthCalendarViewport, Wee
63
64
  export declare function groupEventsByDate(events: PublicEvent[]): Map<string, PublicEvent[]>;
64
65
  /**
65
66
  * Format event price for display.
66
- * @returns "Free", "$25", "Pass Only", "Members Only", "Course ($50)", etc.
67
+ * @returns "Free", "£25", "£12 - £25", "Free / £12 - £25", "Course (From £40)", etc.
68
+ *
69
+ * Events render compact amounts (no trailing ".00"); the actual ADT→string
70
+ * mapping lives in `formatBookingPriceDisplay` in @riverbankcms/core so all
71
+ * surfaces stay consistent.
67
72
  */
68
73
  export declare function formatEventPrice(event: PublicEvent): string;
74
+ /**
75
+ * Format an event's price directly from its pricing value (without the full
76
+ * event). Same output as {@link formatEventPrice}.
77
+ */
78
+ export declare function formatEventPriceDisplay(pricing: PublicEventPricing<unknown>): string;
69
79
  export type ResolvedEventCta = {
70
80
  label: string;
71
81
  href: string;