@everfur/sdk 0.15.1 → 0.16.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 (194) hide show
  1. package/CHANGELOG.md +138 -0
  2. package/README.md +3 -1
  3. package/chat/lite/package.json +8 -0
  4. package/dist/Chat.d-CzI2228d.d.ts +11 -0
  5. package/dist/Chat.d-D3ScVQ22.d.cts +11 -0
  6. package/dist/{DepthViews.d-PuBGdAYk.d.cts → DepthViews.d-6U4QqaW3.d.cts} +1 -1
  7. package/dist/{DepthViews.d--1daZblh.d.cts → DepthViews.d-BLx_ZTwa.d.cts} +1 -1
  8. package/dist/{DepthViews.d-CKTnEeUo.d.ts → DepthViews.d-Cwbel5o4.d.ts} +1 -1
  9. package/dist/{DepthViews.d-BuEWI6Ln.d.ts → DepthViews.d-DVIydPLt.d.ts} +1 -1
  10. package/dist/{RecordsPage.d-CBB8sfoY.d.ts → RecordsPage.d-Bwalb0wU.d.ts} +1 -1
  11. package/dist/{RecordsPage.d-Dq5gpQG0.d.cts → RecordsPage.d-Do7T8Fns.d.cts} +1 -1
  12. package/dist/animations/index.d.cts +5 -5
  13. package/dist/animations/index.d.ts +5 -5
  14. package/dist/{Chat.d-BlsnQwCQ.d.ts → appStateLifecycle.d-Bd-rNy6K.d.ts} +62 -144
  15. package/dist/{Chat.d-BO5iJsR2.d.cts → appStateLifecycle.d-_mh4CEAq.d.cts} +62 -144
  16. package/dist/attachmentTransport.d-Syrvv5zH.d.ts +41 -0
  17. package/dist/attachmentTransport.d-r1XCCdUB.d.cts +41 -0
  18. package/dist/{attachments.d-DFP9yvz9.d.ts → attachments.d-BiBGBE4o.d.ts} +24 -6
  19. package/dist/{attachments.d-C2nkIyDB.d.ts → attachments.d-CyB8hzDo.d.ts} +2 -2
  20. package/dist/{attachments.d-DRHsJkni.d.cts → attachments.d-GlO5UP7H.d.cts} +24 -6
  21. package/dist/{attachments.d-DRUC35Ti.d.cts → attachments.d-Y-qvSHVU.d.cts} +2 -2
  22. package/dist/{bookingCopy.d-bF_QknDC.d.cts → bookingCopy.d-BIaCiRuW.d.cts} +2 -2
  23. package/dist/{bookingCopy.d-CFL-1Be2.d.ts → bookingCopy.d-DgWvNKD5.d.ts} +2 -2
  24. package/dist/{casesRepository.d-C__BnffJ.d.ts → casesRepository.d-BW8DTYeN.d.ts} +1 -1
  25. package/dist/{casesRepository.d-BMOnT1fg.d.cts → casesRepository.d-_0AO2YrL.d.cts} +1 -1
  26. package/dist/chat/index.cjs +246 -231
  27. package/dist/chat/index.d.cts +16 -49
  28. package/dist/chat/index.d.ts +16 -49
  29. package/dist/chat/index.js +246 -231
  30. package/dist/chat/lite/index.cjs +430 -0
  31. package/dist/chat/lite/index.d.cts +35 -0
  32. package/dist/chat/lite/index.d.ts +35 -0
  33. package/dist/chat/lite/index.js +430 -0
  34. package/dist/client/index.cjs +4 -4
  35. package/dist/client/index.d.cts +6 -6
  36. package/dist/client/index.d.ts +6 -6
  37. package/dist/client/index.js +4 -4
  38. package/dist/{clinicBatch.d-D68RYvc3.d.ts → clinicBatch.d-BXwATY3-.d.ts} +2 -2
  39. package/dist/{clinicBatch.d-C5deJ4xY.d.cts → clinicBatch.d-BcuSaOkv.d.cts} +2 -2
  40. package/dist/{config.d-BQgrIDdu.d.cts → config.d-D1xcxALX.d.cts} +1 -1
  41. package/dist/{config.d-XSMThgVj.d.ts → config.d-jTVsAeky.d.ts} +1 -1
  42. package/dist/consent/index.d.cts +5 -5
  43. package/dist/consent/index.d.ts +5 -5
  44. package/dist/{context.d-Ba8YyJpk.d.cts → context.d-C3x-z665.d.cts} +5 -5
  45. package/dist/{context.d-xoh5vmxS.d.ts → context.d-goZeZO2I.d.ts} +5 -5
  46. package/dist/{copy.d-Cq-s-UUv.d.cts → copy.d-DPwFY4r5.d.cts} +2 -2
  47. package/dist/{copy.d-HV9fU5kh.d.ts → copy.d-yfJv7fl6.d.ts} +2 -2
  48. package/dist/core/index.cjs +10 -10
  49. package/dist/core/index.d.cts +13 -13
  50. package/dist/core/index.d.ts +13 -13
  51. package/dist/core/index.js +10 -10
  52. package/dist/{depth.d-D7kKiYl7.d.ts → depth.d-SJzknw_P.d.ts} +2 -2
  53. package/dist/{depth.d-DYnkz8Re.d.cts → depth.d-e_8_icip.d.cts} +2 -2
  54. package/dist/{entitlementRepository.d-DmnUZLl_.d.ts → entitlementRepository.d-BNgZhwoE.d.ts} +2 -2
  55. package/dist/{entitlementRepository.d-B_kEPLhz.d.cts → entitlementRepository.d-C_LdzINM.d.cts} +2 -2
  56. package/dist/{focus.d-BHm_QtQ9.d.cts → focus.d-CXpIkIuU.d.cts} +3 -3
  57. package/dist/{focus.d-CjL6Cj0m.d.ts → focus.d-DzIgOqNB.d.ts} +3 -3
  58. package/dist/health-plan/index.cjs +136 -133
  59. package/dist/health-plan/index.d.cts +77 -24
  60. package/dist/health-plan/index.d.ts +77 -24
  61. package/dist/health-plan/index.js +136 -133
  62. package/dist/{idempotency.d-BSRK8od4.d.cts → idempotency.d-0biUa_Vw.d.cts} +1 -1
  63. package/dist/{idempotency.d-CFc4CCc9.d.ts → idempotency.d-DcqIqmf9.d.ts} +1 -1
  64. package/dist/{identity.d-Be2Es9Td.d.ts → identity.d-BEJcHY-5.d.ts} +1 -1
  65. package/dist/{identity.d-HbwYQ4-z.d.cts → identity.d-COcNGuCJ.d.cts} +1 -1
  66. package/dist/index.cjs +245 -230
  67. package/dist/index.d.cts +15 -12
  68. package/dist/index.d.ts +15 -12
  69. package/dist/index.js +246 -231
  70. package/dist/{introEvents.d-Dr34KIaD.d.cts → introEvents.d-D8N9bbGO.d.cts} +1 -1
  71. package/dist/{introEvents.d-DflJ6J9H.d.ts → introEvents.d-GCdyQyUG.d.ts} +1 -1
  72. package/dist/notifications/index.d.cts +4 -4
  73. package/dist/notifications/index.d.ts +4 -4
  74. package/dist/{optInView.d-3mbj1mR6.d.ts → optInView.d-CY2IueSZ.d.ts} +2 -2
  75. package/dist/{optInView.d-D23o1gtT.d.cts → optInView.d-DVuuWDRw.d.cts} +2 -2
  76. package/dist/{parse.d-BERabxHw.d.ts → parse.d--ztmWIIP.d.ts} +1 -1
  77. package/dist/{parse.d-4lUXdmvY.d.cts → parse.d-B-WrkW2C.d.cts} +1 -1
  78. package/dist/{pets.d-CHU0UbXt.d.cts → pets.d-BSW0oEYx.d.cts} +1 -1
  79. package/dist/{pets.d-D_ayuqjp.d.ts → pets.d-DwsImaHU.d.ts} +1 -1
  80. package/dist/{petsRepository.d-Bwfe8yuR.d.cts → petsRepository.d-BQfWC3d4.d.cts} +1 -1
  81. package/dist/{petsRepository.d-DUaAWoTv.d.ts → petsRepository.d-BudLFHVe.d.ts} +1 -1
  82. package/dist/photo/index.cjs +2 -2
  83. package/dist/photo/index.js +2 -2
  84. package/dist/{ports.d-DzEJMVRs.d.ts → ports.d-B6kDPKF7.d.ts} +4 -4
  85. package/dist/{ports.d-ClbPRUtx.d.cts → ports.d-DzPbmiDT.d.cts} +4 -4
  86. package/dist/records/depth/index.cjs +10 -10
  87. package/dist/records/depth/index.d.cts +9 -9
  88. package/dist/records/depth/index.d.ts +9 -9
  89. package/dist/records/depth/index.js +10 -10
  90. package/dist/records/index.cjs +253 -211
  91. package/dist/records/index.d.cts +169 -73
  92. package/dist/records/index.d.ts +169 -73
  93. package/dist/records/index.js +254 -212
  94. package/dist/{requestFunnel.d-YabU6G-Z.d.ts → requestFunnel.d-BPsCHJWf.d.ts} +2 -2
  95. package/dist/{requestFunnel.d-JoqddYSx.d.cts → requestFunnel.d-BdpL7gwg.d.cts} +2 -2
  96. package/dist/{runtimeTypes.d-DQTBJAbk.d.ts → runtimeTypes.d-C_Pcxn-n.d.ts} +4 -4
  97. package/dist/{runtimeTypes.d-Cv38YuzP.d.cts → runtimeTypes.d-Cfq3IrZG.d.cts} +4 -4
  98. package/dist/{screenProps.d-C-AuHoyF.d.cts → screenProps.d-BJMn1kTR.d.cts} +2 -2
  99. package/dist/{screenProps.d-BuJLzFkN.d.ts → screenProps.d-DGrfO17l.d.ts} +2 -2
  100. package/dist/server/events/index.cjs +3 -3
  101. package/dist/server/events/index.d.cts +48 -6
  102. package/dist/server/events/index.d.ts +48 -6
  103. package/dist/server/events/index.js +3 -3
  104. package/dist/server/index.cjs +2 -2
  105. package/dist/server/index.d.cts +3 -3
  106. package/dist/server/index.d.ts +3 -3
  107. package/dist/server/index.js +2 -2
  108. package/dist/shop/index.cjs +16 -16
  109. package/dist/shop/index.d.cts +12 -3
  110. package/dist/shop/index.d.ts +12 -3
  111. package/dist/shop/index.js +16 -16
  112. package/dist/tabs/index.cjs +4 -4
  113. package/dist/tabs/index.d.cts +34 -15
  114. package/dist/tabs/index.d.ts +34 -15
  115. package/dist/tabs/index.js +5 -5
  116. package/dist/{tabsModel.d-BfIQg6yS.d.ts → tabsModel.d-B7QMug1u.d.cts} +1 -17
  117. package/dist/{tabsModel.d-BfIQg6yS.d.cts → tabsModel.d-B7QMug1u.d.ts} +1 -17
  118. package/dist/televet/booking/index.cjs +2 -2
  119. package/dist/televet/booking/index.d.cts +6 -6
  120. package/dist/televet/booking/index.d.ts +6 -6
  121. package/dist/televet/booking/index.js +2 -2
  122. package/dist/televet/call/index.cjs +1 -1
  123. package/dist/televet/call/index.js +1 -1
  124. package/dist/televet/index.cjs +4 -3
  125. package/dist/televet/index.d.cts +1 -0
  126. package/dist/televet/index.d.ts +1 -0
  127. package/dist/televet/index.js +5 -4
  128. package/dist/testing/index.d.cts +1 -1
  129. package/dist/testing/index.d.ts +1 -1
  130. package/dist/testing/rn/index.cjs +1 -1
  131. package/dist/testing/rn/index.d.cts +7 -7
  132. package/dist/testing/rn/index.d.ts +7 -7
  133. package/dist/testing/rn/index.js +1 -1
  134. package/dist/testing/web/index.d.cts +7 -7
  135. package/dist/testing/web/index.d.ts +7 -7
  136. package/dist/texting/index.cjs +21 -16
  137. package/dist/texting/index.d.cts +5 -5
  138. package/dist/texting/index.d.ts +5 -5
  139. package/dist/texting/index.js +22 -17
  140. package/dist/threadOptions.d-B0folrKm.d.cts +147 -0
  141. package/dist/{threadOptions.d-DBrmOwmb.d.cts → threadOptions.d-B8HTJa9A.d.cts} +6 -40
  142. package/dist/{threadOptions.d-8x_1evAr.d.ts → threadOptions.d-BnhE7T8Y.d.ts} +6 -40
  143. package/dist/threadOptions.d-DTsJFkL-.d.ts +147 -0
  144. package/dist/threadOptions.d-GPJPprkn.d.cts +55 -0
  145. package/dist/threadOptions.d-GPJPprkn.d.ts +55 -0
  146. package/dist/{timelineRows.d-B6lLC8Ud.d.cts → timelineRows.d-BTcUdNeI.d.cts} +1 -1
  147. package/dist/{timelineRows.d-Brlkti-G.d.ts → timelineRows.d-kmBms1W5.d.ts} +1 -1
  148. package/dist/{planSignals.d-Dha2CMDF.d.cts → useHealthPlanSubscription.d-B_cth_iF.d.cts} +81 -3
  149. package/dist/{planSignals.d-CON9gTvJ.d.ts → useHealthPlanSubscription.d-BzNaVl89.d.ts} +81 -3
  150. package/dist/{usePresentation.d-Bne14SlX.d.ts → usePresentation.d-B7Uf44Ax.d.ts} +40 -40
  151. package/dist/{usePresentation.d-BcdCIuEU.d.cts → usePresentation.d-BkAMOfb5.d.cts} +40 -40
  152. package/dist/{useRecordsDepth.d-Cd6J03o5.d.ts → useRecordsDepth.d-BHkZi0tM.d.ts} +1 -1
  153. package/dist/{useRecordsDepth.d-DAa169VY.d.cts → useRecordsDepth.d-BxHpKipf.d.cts} +1 -1
  154. package/dist/video/index.cjs +2 -2
  155. package/dist/video/index.js +2 -2
  156. package/dist/{view.d-DkGM8GNA.d.ts → view.d-2BYMRnWj.d.ts} +3 -3
  157. package/dist/{view.d-3d5_O7Xk.d.cts → view.d-CoDbnv0f.d.cts} +3 -3
  158. package/dist/web/consent/index.d.cts +5 -5
  159. package/dist/web/consent/index.d.ts +5 -5
  160. package/dist/web/health-plan/index.cjs +5 -5
  161. package/dist/web/health-plan/index.d.cts +15 -69
  162. package/dist/web/health-plan/index.d.ts +15 -69
  163. package/dist/web/health-plan/index.js +5 -5
  164. package/dist/web/index.cjs +8 -8
  165. package/dist/web/index.d.cts +26 -43
  166. package/dist/web/index.d.ts +26 -43
  167. package/dist/web/index.js +8 -8
  168. package/dist/web/intro/index.d.cts +6 -6
  169. package/dist/web/intro/index.d.ts +6 -6
  170. package/dist/web/notifications/index.d.cts +3 -3
  171. package/dist/web/notifications/index.d.ts +3 -3
  172. package/dist/web/records/depth/index.cjs +9 -9
  173. package/dist/web/records/depth/index.d.cts +9 -9
  174. package/dist/web/records/depth/index.d.ts +9 -9
  175. package/dist/web/records/depth/index.js +9 -9
  176. package/dist/web/records/index.cjs +12 -12
  177. package/dist/web/records/index.d.cts +11 -11
  178. package/dist/web/records/index.d.ts +11 -11
  179. package/dist/web/records/index.js +12 -12
  180. package/dist/web/records-sheet/index.cjs +17 -17
  181. package/dist/web/records-sheet/index.js +17 -17
  182. package/dist/web/shop/index.cjs +12 -12
  183. package/dist/web/shop/index.d.cts +3 -3
  184. package/dist/web/shop/index.d.ts +3 -3
  185. package/dist/web/shop/index.js +12 -12
  186. package/dist/web/televet/booking/index.cjs +2 -2
  187. package/dist/web/televet/booking/index.d.cts +6 -6
  188. package/dist/web/televet/booking/index.d.ts +6 -6
  189. package/dist/web/televet/booking/index.js +2 -2
  190. package/dist/web/televet/call/index.cjs +1 -1
  191. package/dist/web/televet/call/index.js +1 -1
  192. package/dist/web/texting/index.d.cts +5 -5
  193. package/dist/web/texting/index.d.ts +5 -5
  194. package/package.json +22 -27
@@ -1,9 +1,9 @@
1
1
  /*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
2
2
  import { ReactNode } from 'react';
3
3
  import { ImageSourcePropType } from 'react-native';
4
- import { O as OmsClient, S as ShopPet, b as ShopPackageSource, c as ShopCopy, d as ShopV3Copy, e as ShopRoute, f as ShopCardHandoff, a as ShopPaymentsPort, h as ShopProfileName } from '../idempotency.d-BSRK8od4.cjs';
5
- export { I as OmsCardActionLink, J as OmsCardSetupLink, i as OmsCartLine, j as OmsClientConfig, k as OmsConsumerAuth, l as OmsError, m as OmsGetToken, n as OmsPlanOperation, o as OmsResult, p as SHOP_COPY, q as SHOP_COPY_PLACEHOLDERS, r as SHOP_V3_COPY, s as SHOP_V3_COPY_PLACEHOLDERS, t as ShopPackage, u as ShopPackageLine, K as ShopPayerActionContext, v as ShopPaymentStepResult, w as ShopTabName, U as UNAVAILABLE_PACKAGE_SOURCE, z as createOmsClient, A as createOmsPackageSource, C as isOmsRefusal, D as isOmsRetryable, E as isOmsUnavailable, F as newIdempotencyKey, G as shopCopy, H as shopV3Copy } from '../idempotency.d-BSRK8od4.cjs';
6
- import '../config.d-BQgrIDdu.cjs';
4
+ import { O as OmsClient, S as ShopPet, b as ShopPackageSource, c as ShopCopy, d as ShopV3Copy, e as ShopRoute, f as ShopCardHandoff, a as ShopPaymentsPort, h as ShopProfileName } from '../idempotency.d-0biUa_Vw.cjs';
5
+ export { I as OmsCardActionLink, J as OmsCardSetupLink, i as OmsCartLine, j as OmsClientConfig, k as OmsConsumerAuth, l as OmsError, m as OmsGetToken, n as OmsPlanOperation, o as OmsResult, p as SHOP_COPY, q as SHOP_COPY_PLACEHOLDERS, r as SHOP_V3_COPY, s as SHOP_V3_COPY_PLACEHOLDERS, t as ShopPackage, u as ShopPackageLine, K as ShopPayerActionContext, v as ShopPaymentStepResult, w as ShopTabName, U as UNAVAILABLE_PACKAGE_SOURCE, z as createOmsClient, A as createOmsPackageSource, C as isOmsRefusal, D as isOmsRetryable, E as isOmsUnavailable, F as newIdempotencyKey, G as shopCopy, H as shopV3Copy } from '../idempotency.d-0biUa_Vw.cjs';
6
+ import '../config.d-D1xcxALX.cjs';
7
7
  import '../EverfurError.d-8NHtlgzA.cjs';
8
8
  import '../EverfurResult.d-BFH-3s6E.cjs';
9
9
 
@@ -144,6 +144,15 @@ interface EverfurShopProps {
144
144
  readonly saveProfileName?: (name: ShopProfileName) => Promise<boolean>;
145
145
  /** Without `saveProfileName`: opens the host's own name editor from that same refusal. */
146
146
  readonly onProfileNameRequired?: () => void;
147
+ /**
148
+ * Keeps the cart under a key of yours (the member's id, say) in the SDK's storage port (the `EverfurProvider`'s
149
+ * storage: your AsyncStorage or MMKV), so it outlives the app being closed during a card step, as the web keeps it
150
+ * for the tab. Without it, or outside an `EverfurProvider`, the cart lives only while the app does. A new key (another
151
+ * member) moves to that key's cart; lines added before the stored cart is read are kept beside it. The stored cart
152
+ * stays under `everfur.shop.cart.{key}` after sign-out, as the web's stays for the tab: on a shared device, remove
153
+ * that key from your storage when the member signs out.
154
+ */
155
+ readonly cartStorageKey?: string | null;
147
156
  }
148
157
  /** Where the host's back button goes from a screen; null on the four Care tabs (they are the root). */
149
158
  declare function shopBackRoute(route: ShopRoute): ShopRoute | null;
@@ -1,9 +1,9 @@
1
1
  /*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
2
2
  import { ReactNode } from 'react';
3
3
  import { ImageSourcePropType } from 'react-native';
4
- import { O as OmsClient, S as ShopPet, b as ShopPackageSource, c as ShopCopy, d as ShopV3Copy, e as ShopRoute, f as ShopCardHandoff, a as ShopPaymentsPort, h as ShopProfileName } from '../idempotency.d-CFc4CCc9.js';
5
- export { I as OmsCardActionLink, J as OmsCardSetupLink, i as OmsCartLine, j as OmsClientConfig, k as OmsConsumerAuth, l as OmsError, m as OmsGetToken, n as OmsPlanOperation, o as OmsResult, p as SHOP_COPY, q as SHOP_COPY_PLACEHOLDERS, r as SHOP_V3_COPY, s as SHOP_V3_COPY_PLACEHOLDERS, t as ShopPackage, u as ShopPackageLine, K as ShopPayerActionContext, v as ShopPaymentStepResult, w as ShopTabName, U as UNAVAILABLE_PACKAGE_SOURCE, z as createOmsClient, A as createOmsPackageSource, C as isOmsRefusal, D as isOmsRetryable, E as isOmsUnavailable, F as newIdempotencyKey, G as shopCopy, H as shopV3Copy } from '../idempotency.d-CFc4CCc9.js';
6
- import '../config.d-XSMThgVj.js';
4
+ import { O as OmsClient, S as ShopPet, b as ShopPackageSource, c as ShopCopy, d as ShopV3Copy, e as ShopRoute, f as ShopCardHandoff, a as ShopPaymentsPort, h as ShopProfileName } from '../idempotency.d-DcqIqmf9.js';
5
+ export { I as OmsCardActionLink, J as OmsCardSetupLink, i as OmsCartLine, j as OmsClientConfig, k as OmsConsumerAuth, l as OmsError, m as OmsGetToken, n as OmsPlanOperation, o as OmsResult, p as SHOP_COPY, q as SHOP_COPY_PLACEHOLDERS, r as SHOP_V3_COPY, s as SHOP_V3_COPY_PLACEHOLDERS, t as ShopPackage, u as ShopPackageLine, K as ShopPayerActionContext, v as ShopPaymentStepResult, w as ShopTabName, U as UNAVAILABLE_PACKAGE_SOURCE, z as createOmsClient, A as createOmsPackageSource, C as isOmsRefusal, D as isOmsRetryable, E as isOmsUnavailable, F as newIdempotencyKey, G as shopCopy, H as shopV3Copy } from '../idempotency.d-DcqIqmf9.js';
6
+ import '../config.d-jTVsAeky.js';
7
7
  import '../EverfurError.d-8NHtlgzA.js';
8
8
  import '../EverfurResult.d-D_-254ZY.js';
9
9
 
@@ -144,6 +144,15 @@ interface EverfurShopProps {
144
144
  readonly saveProfileName?: (name: ShopProfileName) => Promise<boolean>;
145
145
  /** Without `saveProfileName`: opens the host's own name editor from that same refusal. */
146
146
  readonly onProfileNameRequired?: () => void;
147
+ /**
148
+ * Keeps the cart under a key of yours (the member's id, say) in the SDK's storage port (the `EverfurProvider`'s
149
+ * storage: your AsyncStorage or MMKV), so it outlives the app being closed during a card step, as the web keeps it
150
+ * for the tab. Without it, or outside an `EverfurProvider`, the cart lives only while the app does. A new key (another
151
+ * member) moves to that key's cart; lines added before the stored cart is read are kept beside it. The stored cart
152
+ * stays under `everfur.shop.cart.{key}` after sign-out, as the web's stays for the tab: on a shared device, remove
153
+ * that key from your storage when the member signs out.
154
+ */
155
+ readonly cartStorageKey?: string | null;
147
156
  }
148
157
  /** Where the host's back button goes from a screen; null on the four Care tabs (they are the root). */
149
158
  declare function shopBackRoute(route: ShopRoute): ShopRoute | null;