@ogygia/core 0.12.3 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/dist/LateIsland.svelte +3 -2
  2. package/dist/LateIslandAwait.svelte +6 -2
  3. package/dist/Region.svelte +22 -33
  4. package/dist/boundary.d.ts +0 -2
  5. package/dist/boundary.js +8 -6
  6. package/dist/compiler/debarrel/barrel.d.ts +15 -8
  7. package/dist/compiler/debarrel/barrel.js +92 -45
  8. package/dist/compiler/debarrel/plugin.js +41 -17
  9. package/dist/compiler/dev/dev-hmr.d.ts +3 -0
  10. package/dist/compiler/dev/dev-hmr.js +3 -0
  11. package/dist/compiler/driver.js +11 -4
  12. package/dist/compiler/flags.js +21 -7
  13. package/dist/compiler/fouc-css.js +5 -1
  14. package/dist/compiler/kit.js +5 -1
  15. package/dist/compiler/link/build-output.js +12 -3
  16. package/dist/compiler/macros/bake.js +18 -4
  17. package/dist/compiler/macros/dollar.js +6 -1
  18. package/dist/compiler/macros/source.js +6 -1
  19. package/dist/compiler/macros/store.js +10 -2
  20. package/dist/compiler/macros/wire.js +6 -1
  21. package/dist/compiler/parse/scan.js +10 -3
  22. package/dist/compiler/region/transform.js +188 -74
  23. package/dist/context-bridge.js +13 -5
  24. package/dist/context.d.ts +9 -0
  25. package/dist/context.js +30 -1
  26. package/dist/document.d.ts +1 -1
  27. package/dist/document.js +7 -1
  28. package/dist/early-holes-head.d.ts +5 -0
  29. package/dist/early-holes-head.js +20 -0
  30. package/dist/early-holes.d.ts +34 -0
  31. package/dist/early-holes.js +51 -0
  32. package/dist/entry-hydrate.js +9 -12
  33. package/dist/events/bus.js +7 -2
  34. package/dist/events/schema.d.ts +2 -2
  35. package/dist/fn-transport.js +4 -3
  36. package/dist/hooks.js +94 -163
  37. package/dist/insights/page-assets.js +11 -3
  38. package/dist/insights/page-insights.d.ts +0 -2
  39. package/dist/insights/page-insights.js +14 -10
  40. package/dist/insights/session-insights.js +2 -2
  41. package/dist/internal-instruments.d.ts +3 -1
  42. package/dist/internal-instruments.js +3 -1
  43. package/dist/internal-server.d.ts +3 -2
  44. package/dist/internal-server.js +3 -2
  45. package/dist/internal.d.ts +1 -2
  46. package/dist/internal.js +1 -2
  47. package/dist/keep-fallback.d.ts +0 -2
  48. package/dist/keep-fallback.js +4 -5
  49. package/dist/live-transport.js +3 -2
  50. package/dist/messages/build.d.ts +585 -0
  51. package/dist/messages/build.js +800 -0
  52. package/dist/messages/core.d.ts +464 -0
  53. package/dist/messages/core.js +843 -0
  54. package/dist/messages/define.d.ts +62 -0
  55. package/dist/messages/define.js +49 -0
  56. package/dist/messages/index.d.ts +6 -0
  57. package/dist/messages/index.js +6 -0
  58. package/dist/messages/island.d.ts +4 -0
  59. package/dist/messages/island.js +34 -0
  60. package/dist/messages/lazy.d.ts +3 -0
  61. package/dist/messages/lazy.js +22 -0
  62. package/dist/messages/prose.d.ts +15 -0
  63. package/dist/messages/prose.js +43 -0
  64. package/dist/messages/server.d.ts +142 -0
  65. package/dist/messages/server.js +246 -0
  66. package/dist/nested.d.ts +3 -0
  67. package/dist/nested.js +8 -1
  68. package/dist/plugin/css.js +14 -13
  69. package/dist/plugin/facts.d.ts +2 -0
  70. package/dist/plugin/facts.js +10 -6
  71. package/dist/plugin/hooks.d.ts +7 -17
  72. package/dist/plugin/hooks.js +32 -4
  73. package/dist/plugin/index.d.ts +9 -2
  74. package/dist/plugin/request-scope.d.ts +20 -0
  75. package/dist/plugin/request-scope.js +149 -0
  76. package/dist/plugin/server.d.ts +20 -2
  77. package/dist/plugin/server.js +98 -28
  78. package/dist/plugin/testing.d.ts +6 -0
  79. package/dist/plugin/testing.js +14 -2
  80. package/dist/policies.d.ts +21 -0
  81. package/dist/policies.js +66 -0
  82. package/dist/preference.js +6 -1
  83. package/dist/preload.js +6 -9
  84. package/dist/ref-watch.d.ts +0 -10
  85. package/dist/ref-watch.js +14 -1
  86. package/dist/ref.js +17 -5
  87. package/dist/region-snippet.js +9 -3
  88. package/dist/region.js +2 -1
  89. package/dist/report-thrown.d.ts +9 -0
  90. package/dist/report-thrown.js +15 -0
  91. package/dist/rules.d.ts +17 -0
  92. package/dist/rules.js +57 -0
  93. package/dist/runtime/beacon.d.ts +0 -4
  94. package/dist/runtime/beacon.js +58 -43
  95. package/dist/runtime/boot-link.js +19 -2
  96. package/dist/runtime/client-hooks.js +2 -1
  97. package/dist/runtime/concurrency.d.ts +16 -5
  98. package/dist/runtime/concurrency.js +123 -7
  99. package/dist/runtime/core.d.ts +3 -1
  100. package/dist/runtime/core.js +718 -384
  101. package/dist/runtime/devalue-lane.d.ts +13 -0
  102. package/dist/runtime/devalue-lane.js +49 -0
  103. package/dist/runtime/disclose-version.d.ts +1 -0
  104. package/dist/runtime/disclose-version.js +14 -0
  105. package/dist/runtime/early-holes.d.ts +4 -0
  106. package/dist/runtime/early-holes.js +40 -0
  107. package/dist/runtime/entry-locations.js +40 -49
  108. package/dist/runtime/foreign-props.d.ts +0 -7
  109. package/dist/runtime/foreign-props.js +2 -1
  110. package/dist/runtime/form-continuity.d.ts +2 -2
  111. package/dist/runtime/form-continuity.js +30 -8
  112. package/dist/runtime/frame-nav.d.ts +7 -1
  113. package/dist/runtime/frame-nav.js +84 -18
  114. package/dist/runtime/frame-store.d.ts +25 -16
  115. package/dist/runtime/frame-store.js +124 -98
  116. package/dist/runtime/frames.js +8 -4
  117. package/dist/runtime/hole-facts.js +6 -7
  118. package/dist/runtime/hole-fetch.d.ts +17 -0
  119. package/dist/runtime/hole-fetch.js +47 -0
  120. package/dist/runtime/hydrate-core.d.ts +4 -4
  121. package/dist/runtime/hydrate-core.js +80 -64
  122. package/dist/runtime/import-again.d.ts +33 -0
  123. package/dist/runtime/import-again.js +217 -0
  124. package/dist/runtime/interaction-replay.d.ts +5 -3
  125. package/dist/runtime/interaction-replay.js +6 -6
  126. package/dist/runtime/interaction.d.ts +14 -3
  127. package/dist/runtime/interaction.js +46 -23
  128. package/dist/runtime/kit-page-thread.svelte.d.ts +2 -1
  129. package/dist/runtime/kit-page-thread.svelte.js +44 -20
  130. package/dist/runtime/lakes.d.ts +1 -1
  131. package/dist/runtime/lakes.js +18 -5
  132. package/dist/runtime/live.d.ts +1 -2
  133. package/dist/runtime/live.js +6 -8
  134. package/dist/runtime/load-scheduler.d.ts +29 -18
  135. package/dist/runtime/load-scheduler.js +236 -136
  136. package/dist/runtime/nav-handle.js +25 -6
  137. package/dist/runtime/navigation.d.ts +24 -0
  138. package/dist/runtime/navigation.js +24 -0
  139. package/dist/runtime/ownership.d.ts +1 -1
  140. package/dist/runtime/page-defer.js +3 -3
  141. package/dist/runtime/parse-html.d.ts +15 -4
  142. package/dist/runtime/parse-html.js +24 -5
  143. package/dist/runtime/pushable-props.svelte.d.ts +21 -0
  144. package/dist/runtime/pushable-props.svelte.js +37 -0
  145. package/dist/runtime/region-endpoint-url.js +4 -6
  146. package/dist/runtime/region-machines.d.ts +111 -0
  147. package/dist/runtime/region-machines.js +97 -0
  148. package/dist/runtime/region-sheets.d.ts +31 -0
  149. package/dist/runtime/region-sheets.js +49 -0
  150. package/dist/runtime/restore-report.d.ts +1 -0
  151. package/dist/runtime/restore-report.js +36 -0
  152. package/dist/runtime/restore.d.ts +5 -2
  153. package/dist/runtime/restore.js +33 -14
  154. package/dist/runtime/router-nav.d.ts +32 -12
  155. package/dist/runtime/router-nav.js +320 -228
  156. package/dist/runtime/router.d.ts +83 -19
  157. package/dist/runtime/router.js +297 -129
  158. package/dist/runtime/rules.d.ts +35 -0
  159. package/dist/runtime/rules.js +137 -0
  160. package/dist/runtime/schedule.d.ts +6 -3
  161. package/dist/runtime/schedule.js +172 -57
  162. package/dist/runtime/seeds.d.ts +5 -1
  163. package/dist/runtime/seeds.js +11 -5
  164. package/dist/runtime/session.d.ts +46 -7
  165. package/dist/runtime/session.js +78 -10
  166. package/dist/runtime/slots.d.ts +53 -20
  167. package/dist/runtime/slots.js +2 -3
  168. package/dist/runtime/soft-refresh.d.ts +16 -0
  169. package/dist/runtime/soft-refresh.js +14 -0
  170. package/dist/runtime/svelte-warnings.d.ts +4 -10
  171. package/dist/runtime/svelte-warnings.js +7 -4
  172. package/dist/runtime/wire-classes.js +21 -8
  173. package/dist/runtime/wire-format.js +6 -3
  174. package/dist/script.js +8 -7
  175. package/dist/seed-ref-reviver.d.ts +0 -9
  176. package/dist/seed-ref-reviver.js +2 -1
  177. package/dist/seed-refs.d.ts +46 -36
  178. package/dist/seed-refs.js +131 -92
  179. package/dist/server/document-tail.d.ts +6 -0
  180. package/dist/server/document-tail.js +7 -1
  181. package/dist/server/early-holes-csp.d.ts +14 -0
  182. package/dist/server/early-holes-csp.js +73 -0
  183. package/dist/server/page-facts.d.ts +4 -1
  184. package/dist/server/page-facts.js +4 -1
  185. package/dist/server/page-seed.d.ts +2 -2
  186. package/dist/server/page-seed.js +104 -11
  187. package/dist/server/page-stream.d.ts +14 -1
  188. package/dist/server/page-stream.js +119 -2
  189. package/dist/server/personal-response.d.ts +0 -5
  190. package/dist/server/personal-response.js +6 -2
  191. package/dist/server/props-wire.js +5 -1
  192. package/dist/server/region-endpoint.js +10 -2
  193. package/dist/server/render-cache.d.ts +24 -20
  194. package/dist/server/render-cache.js +99 -40
  195. package/dist/server/render-page.js +46 -15
  196. package/dist/server/request-stats.d.ts +10 -8
  197. package/dist/server/request-stats.js +20 -12
  198. package/dist/server/rules.d.ts +11 -0
  199. package/dist/server/rules.js +64 -0
  200. package/dist/server/signing-key.js +31 -18
  201. package/dist/server/stream-regions.d.ts +14 -1
  202. package/dist/server/stream-regions.js +38 -2
  203. package/dist/shared-state.js +5 -1
  204. package/dist/shims/app-navigation.js +3 -2
  205. package/dist/shims/page-store.svelte.js +16 -2
  206. package/dist/source.js +7 -2
  207. package/dist/store-transport.js +12 -5
  208. package/dist/transport.js +3 -2
  209. package/dist/vite/index.js +17 -10
  210. package/dist/vite/kit-dirs.js +7 -1
  211. package/dist/vite/options.d.ts +2 -1
  212. package/dist/vite/options.js +11 -20
  213. package/dist/vite/package-files.js +13 -3
  214. package/dist/vite/paths.d.ts +2 -0
  215. package/dist/vite/paths.js +4 -4
  216. package/dist/vite/plugin-api.js +42 -14
  217. package/dist/vite/style-preprocess.js +10 -3
  218. package/package.json +8 -1
  219. package/dist/KeepHost.svelte +0 -19
  220. package/dist/KeepHost.svelte.d.ts +0 -10
  221. package/dist/LiveHost.svelte +0 -19
  222. package/dist/LiveHost.svelte.d.ts +0 -10
  223. package/dist/NestedProvider.svelte +0 -13
  224. package/dist/NestedProvider.svelte.d.ts +0 -8
  225. package/dist/runtime/page-cache.d.ts +0 -23
  226. package/dist/runtime/page-cache.js +0 -74
@@ -0,0 +1,464 @@
1
+ import { MessagesOf } from "./define.js";
2
+ /** Each message's arguments are its `text`'s: the one place they are written. */
3
+ /** The errors: `throw new OgygiaError(code, args)`, or `console.error(new OgygiaError(…), err)` for a
4
+ * failure that is caught. */
5
+ export declare const ERRORS: {
6
+ goto_not_http: {
7
+ text: () => string;
8
+ details: () => string;
9
+ };
10
+ goto_cross_origin: {
11
+ text: () => string;
12
+ details: () => string;
13
+ };
14
+ island_load_failed: {
15
+ text: (a: {
16
+ entry: string | null;
17
+ }) => string;
18
+ details: () => string;
19
+ };
20
+ chunk_reload_needed: {
21
+ text: (a: {
22
+ url: string;
23
+ }) => string;
24
+ details: () => string;
25
+ };
26
+ runtime_load_failed: {
27
+ text: () => string;
28
+ details: () => string;
29
+ };
30
+ island_load_failed_stale_deps: {
31
+ text: (a: {
32
+ entry: string | null;
33
+ }) => string;
34
+ details: () => string;
35
+ };
36
+ island_hydrate_failed: {
37
+ text: (a: {
38
+ entry: string | null;
39
+ }) => string;
40
+ details: () => string;
41
+ };
42
+ interaction_hydrate_failed: {
43
+ text: () => string;
44
+ details: () => string;
45
+ };
46
+ restore_markup_broken: {
47
+ text: (a: {
48
+ diff: string;
49
+ }) => string;
50
+ details: () => string;
51
+ };
52
+ client_hooks_init_failed: {
53
+ text: () => string;
54
+ details: () => string;
55
+ };
56
+ wired_class_foreign: {
57
+ text: () => string;
58
+ details: () => string;
59
+ };
60
+ devalue_not_loaded: {
61
+ text: () => string;
62
+ details: () => string;
63
+ };
64
+ slot_not_linked: {
65
+ text: (a: {
66
+ name: string;
67
+ }) => string;
68
+ details: () => string;
69
+ };
70
+ boundary_refused: {
71
+ text: (a: {
72
+ site: string;
73
+ path?: string;
74
+ detail: string;
75
+ more?: number;
76
+ }) => string;
77
+ details: () => string;
78
+ };
79
+ function_prop_cannot_cross: {
80
+ text: (a: {
81
+ where: string;
82
+ reason: string;
83
+ }) => string;
84
+ details: () => string;
85
+ };
86
+ region_snippet_on_client: {
87
+ text: () => string;
88
+ details: () => string;
89
+ };
90
+ raw_region_on_client: {
91
+ text: () => string;
92
+ details: () => string;
93
+ };
94
+ held_region_plain_import: {
95
+ text: () => string;
96
+ details: () => string;
97
+ };
98
+ region_kind_mismatch: {
99
+ text: () => string;
100
+ details: () => string;
101
+ };
102
+ keep_fallback_inline: {
103
+ text: () => string;
104
+ details: () => string;
105
+ };
106
+ keep_fallback_signal: {
107
+ text: () => string;
108
+ details: () => string;
109
+ };
110
+ preference_default_invalid: {
111
+ text: (a: {
112
+ name: string;
113
+ fallback: string;
114
+ values: string;
115
+ }) => string;
116
+ details: () => string;
117
+ };
118
+ fn_factory_missing: {
119
+ text: (a: {
120
+ tag: string;
121
+ }) => string;
122
+ details: () => string;
123
+ };
124
+ fn_factory_not_function: {
125
+ text: (a: {
126
+ tag: string;
127
+ }) => string;
128
+ details: () => string;
129
+ };
130
+ fn_revive_missing: {
131
+ text: (a: {
132
+ tag: string;
133
+ }) => string;
134
+ details: () => string;
135
+ };
136
+ transportable_class_missing: {
137
+ text: (a: {
138
+ tag: string;
139
+ }) => string;
140
+ details: () => string;
141
+ };
142
+ transportable_unregistered: {
143
+ text: (a: {
144
+ name: string;
145
+ }) => string;
146
+ details: () => string;
147
+ };
148
+ ref_kind_missing: {
149
+ text: (a: {
150
+ kind: string;
151
+ }) => string;
152
+ details: () => string;
153
+ };
154
+ continuity_id_collision: {
155
+ text: (a: {
156
+ name: string;
157
+ owner: string;
158
+ tag: string;
159
+ }) => string;
160
+ details: () => string;
161
+ };
162
+ shared_state_not_plain: {
163
+ text: (a: {
164
+ name: string;
165
+ reason: string;
166
+ }) => string;
167
+ details: () => string;
168
+ };
169
+ og_derived_formula_missing: {
170
+ text: () => string;
171
+ details: () => string;
172
+ };
173
+ script_run_not_function: {
174
+ text: () => string;
175
+ details: () => string;
176
+ };
177
+ script_imports_need_module: {
178
+ text: () => string;
179
+ details: () => string;
180
+ };
181
+ script_import_not_url: {
182
+ text: (a: {
183
+ name: string;
184
+ }) => string;
185
+ details: () => string;
186
+ };
187
+ script_run_rewritten: {
188
+ text: () => string;
189
+ details: () => string;
190
+ };
191
+ script_not_json: {
192
+ text: (a: {
193
+ key: string;
194
+ }) => string;
195
+ details: () => string;
196
+ };
197
+ script_one_kind: {
198
+ text: (a: {
199
+ count: number;
200
+ }) => string;
201
+ details: () => string;
202
+ };
203
+ script_bad_attribute: {
204
+ text: (a: {
205
+ key: string;
206
+ }) => string;
207
+ details: () => string;
208
+ };
209
+ };
210
+ /** The warnings: `warn(code, args, ...rest)`. */
211
+ export declare const WARNINGS: {
212
+ shallow_routing_unsupported: {
213
+ text: (a: {
214
+ method: string;
215
+ }) => string;
216
+ details: () => string;
217
+ };
218
+ scroll_handling_noop: {
219
+ text: () => string;
220
+ details: () => string;
221
+ };
222
+ hole_without_address: {
223
+ text: (a: {
224
+ region: string;
225
+ }) => string;
226
+ details: () => string;
227
+ };
228
+ nested_region_rides_parent: {
229
+ text: (a: {
230
+ entry: string;
231
+ wake: string;
232
+ }) => string;
233
+ details: () => string;
234
+ };
235
+ region_endpoint_foreign: {
236
+ text: (a: {
237
+ endpoint: string;
238
+ }) => string;
239
+ details: () => string;
240
+ };
241
+ region_answer_denied: {
242
+ text: (a: {
243
+ endpoint: string;
244
+ deny: string;
245
+ }) => string;
246
+ details: () => string;
247
+ };
248
+ region_answer_redirected: {
249
+ text: (a: {
250
+ endpoint: string;
251
+ how: string;
252
+ final_url: string;
253
+ }) => string;
254
+ details: () => string;
255
+ };
256
+ region_fetch_failed: {
257
+ text: (a: {
258
+ endpoint: string;
259
+ }) => string;
260
+ details: () => string;
261
+ };
262
+ island_healed: {
263
+ text: (a: {
264
+ entry: string;
265
+ drift?: string | null;
266
+ }) => string;
267
+ details: () => string;
268
+ };
269
+ ownership_conflict: {
270
+ text: (a: {
271
+ element: string;
272
+ }) => string;
273
+ details: () => string;
274
+ };
275
+ hydration_discarded: {
276
+ text: (a: {
277
+ entry: string;
278
+ drift?: string | null;
279
+ strict?: string | null;
280
+ }) => string;
281
+ details: () => string;
282
+ };
283
+ prop_mutation: {
284
+ text: (a: {
285
+ prop: string;
286
+ entry: string;
287
+ }) => string;
288
+ details: () => string;
289
+ };
290
+ island_on_kit_page: {
291
+ text: (a: {
292
+ entry: string;
293
+ }) => string;
294
+ details: () => string;
295
+ };
296
+ island_block_in_inline: {
297
+ text: (a: {
298
+ entry: string;
299
+ }) => string;
300
+ details: () => string;
301
+ };
302
+ keep_without_router: {
303
+ text: (a: {
304
+ entry: string;
305
+ key: string;
306
+ }) => string;
307
+ details: () => string;
308
+ };
309
+ live_feature_missing: {
310
+ text: () => string;
311
+ details: () => string;
312
+ };
313
+ live_region_no_host: {
314
+ text: (a: {
315
+ id: string;
316
+ }) => string;
317
+ details: () => string;
318
+ };
319
+ live_region_no_endpoint: {
320
+ text: (a: {
321
+ id: string;
322
+ }) => string;
323
+ details: () => string;
324
+ };
325
+ region_newer_page_data: {
326
+ text: (a: {
327
+ keys: string;
328
+ }) => string;
329
+ details: () => string;
330
+ };
331
+ kit_page_waiting: {
332
+ text: (a: {
333
+ seconds: number;
334
+ booted: boolean;
335
+ }) => string;
336
+ details: () => string;
337
+ };
338
+ foreign_page_read: {
339
+ text: (a: {
340
+ expr: string;
341
+ entry: string;
342
+ origin: string;
343
+ }) => string;
344
+ details: () => string;
345
+ };
346
+ context_marker_large: {
347
+ text: (a: {
348
+ size: string;
349
+ top: string;
350
+ }) => string;
351
+ details: () => string;
352
+ };
353
+ context_dropped: {
354
+ text: (a: {
355
+ key: string;
356
+ }) => string;
357
+ details: () => string;
358
+ };
359
+ context_unserializable: {
360
+ text: (a: {
361
+ key: string;
362
+ path?: string;
363
+ detail: string;
364
+ }) => string;
365
+ details: () => string;
366
+ };
367
+ page_seed_ref_missing: {
368
+ text: (a: {
369
+ path: string;
370
+ }) => string;
371
+ details: () => string;
372
+ };
373
+ store_not_extensible: {
374
+ text: (a: {
375
+ tag: string;
376
+ }) => string;
377
+ details: () => string;
378
+ };
379
+ store_factory_missing: {
380
+ text: (a: {
381
+ tag: string;
382
+ }) => string;
383
+ details: () => string;
384
+ };
385
+ store_factory_bad_rebuild: {
386
+ text: (a: {
387
+ tag: string;
388
+ got: string;
389
+ }) => string;
390
+ details: () => string;
391
+ };
392
+ store_factory_unbranded: {
393
+ text: (a: {
394
+ tag: string;
395
+ got: string;
396
+ }) => string;
397
+ details: () => string;
398
+ };
399
+ region_promise_no_placeholder: {
400
+ text: () => string;
401
+ details: () => string;
402
+ };
403
+ nested_server_island_inline: {
404
+ text: (a: {
405
+ entry: string;
406
+ }) => string;
407
+ details: () => string;
408
+ };
409
+ nested_island_with_parent: {
410
+ text: (a: {
411
+ entry: string;
412
+ }) => string;
413
+ details: () => string;
414
+ };
415
+ lake_mounted_without_html: {
416
+ text: (a: {
417
+ entry: string;
418
+ }) => string;
419
+ details: () => string;
420
+ };
421
+ rule_region_mounted_twice: {
422
+ text: (a: {
423
+ detail: string;
424
+ }) => string;
425
+ details: () => string;
426
+ };
427
+ rule_address_bar_drift: {
428
+ text: (a: {
429
+ detail: string;
430
+ }) => string;
431
+ details: () => string;
432
+ };
433
+ rule_old_page_open: {
434
+ text: (a: {
435
+ detail: string;
436
+ }) => string;
437
+ details: () => string;
438
+ };
439
+ rule_failure_uncoded: {
440
+ text: (a: {
441
+ detail: string;
442
+ }) => string;
443
+ details: () => string;
444
+ };
445
+ rule_parse_upgraded: {
446
+ text: (a: {
447
+ detail: string;
448
+ }) => string;
449
+ details: () => string;
450
+ };
451
+ restore_late: {
452
+ text: (a: {
453
+ host: string;
454
+ }) => string;
455
+ details: () => string;
456
+ };
457
+ };
458
+ type Core = MessagesOf<typeof ERRORS, typeof WARNINGS>;
459
+ /** `throw new OgygiaError(code, args)`; `warn(code, args, ...rest)` logs. Wording and link in dev,
460
+ * the link alone in a production build. */
461
+ export declare const OgygiaError: Core["OgygiaError"];
462
+ export declare const warn: Core["warn"];
463
+ export declare const line: Core["line"];
464
+ export {};