@fedify/fedify 1.9.0-pr.442.1663 → 1.9.0-pr.443.1682

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 (135) hide show
  1. package/dist/{actor-CSuHfouB.js → actor-BfM4acO7.js} +2323 -723
  2. package/dist/{actor-sTzLSD6_.cjs → actor-C84MVjvg.cjs} +2323 -723
  3. package/dist/{actor-CHOM_AN3.d.cts → actor-D8GmZX63.d.cts} +1 -1
  4. package/dist/{actor-D1V4EvER.js → actor-DNoKtm0e.js} +1 -1
  5. package/dist/{actor-Ch5yFYFG.d.ts → actor-sT_gcgkl.d.ts} +1 -1
  6. package/dist/{authdocloader-B7tfLvRi.js → authdocloader-BMUj-LDP.js} +3 -3
  7. package/dist/{authdocloader-CernQeD-.cjs → authdocloader-BZ3wxRbU.cjs} +3 -3
  8. package/dist/{authdocloader-BMzf3Nu0.js → authdocloader-CSF0HpUd.js} +3 -3
  9. package/dist/{builder-h9cCZZnb.js → builder-DbzYJjYW.js} +4 -4
  10. package/dist/{client-CgECPZj2.js → client-BXo-ifnJ.js} +1 -1
  11. package/dist/compat/mod.d.cts +7 -7
  12. package/dist/compat/mod.d.ts +7 -7
  13. package/dist/compat/transformers.test.js +16 -16
  14. package/dist/{context-KXVF2AhH.d.cts → context-BkqGJwLI.d.cts} +5 -5
  15. package/dist/{context-DFruNLny.d.ts → context-Cp-kboln.d.ts} +5 -5
  16. package/dist/{docloader-BlQjguzp.cjs → docloader-C8VNT_Xq.cjs} +1 -1
  17. package/dist/{docloader-DuzsXunk.js → docloader-vwID5KeD.js} +1 -1
  18. package/dist/{esm-B2cC333k.js → esm-BrKG8Ydq.js} +1 -1
  19. package/dist/federation/builder.test.js +5 -5
  20. package/dist/federation/collection.test.js +3 -3
  21. package/dist/federation/handler.test.js +17 -17
  22. package/dist/federation/inbox.test.js +4 -4
  23. package/dist/federation/keycache.test.js +4 -4
  24. package/dist/federation/kv.test.js +3 -3
  25. package/dist/federation/middleware.test.js +18 -18
  26. package/dist/federation/mod.cjs +10 -10
  27. package/dist/federation/mod.d.cts +6 -6
  28. package/dist/federation/mod.d.ts +6 -6
  29. package/dist/federation/mod.js +10 -10
  30. package/dist/federation/mq.test.js +3 -3
  31. package/dist/federation/retry.test.js +3 -3
  32. package/dist/federation/router.test.js +3 -3
  33. package/dist/federation/send.test.js +10 -10
  34. package/dist/{http-BUz11H7p.js → http-1S7OolRE.js} +3 -3
  35. package/dist/{http-B_zBcsai.d.cts → http-B9UPBFJz.d.cts} +1 -1
  36. package/dist/{http-D8Q4xH0d.d.ts → http-BGqh2jzk.d.ts} +1 -1
  37. package/dist/{http-VTTwzwT2.cjs → http-D21OQwhJ.cjs} +3 -3
  38. package/dist/{http-BR6G0abP.js → http-PJ3EklL0.js} +2 -2
  39. package/dist/{inbox-CD3UJE2C.js → inbox-4wLOWRkP.js} +1 -1
  40. package/dist/{key-Dz2A0fLj.js → key-7YeppNTi.js} +2 -2
  41. package/dist/{key-CN0L-_bC.cjs → key-Bt6aeupK.cjs} +2 -2
  42. package/dist/key-C-eEPc5P.cjs +10 -0
  43. package/dist/{key-BCsZfpbx.js → key-CH7qaiOX.js} +2 -2
  44. package/dist/{key-C8JfrKGO.js → key-DTUnLJZM.js} +3 -3
  45. package/dist/{key-MBMmxvRi.js → key-DbudJOUz.js} +4 -4
  46. package/dist/{keycache-C29-5JKK.js → keycache-OXZYOWra.js} +1 -1
  47. package/dist/{keys-Cy9jU2vY.js → keys-DMbcSHvH.js} +1 -1
  48. package/dist/{ld-CEjnmhZE.js → ld-BLx5h_2L.js} +2 -2
  49. package/dist/{lookup-VRenDYFa.js → lookup-B8X3pPjF.js} +1 -1
  50. package/dist/{lookup-Zm-04Dn8.cjs → lookup-BQHLqqvB.cjs} +1 -1
  51. package/dist/{lookup-CqgvO3X3.js → lookup-tJvVI01W.js} +1 -1
  52. package/dist/middleware-BKKzirBh.cjs +17 -0
  53. package/dist/{middleware-YcBzGojf.cjs → middleware-BN1ZyxrJ.cjs} +10 -10
  54. package/dist/{middleware-COzPJ0vD.js → middleware-CPgUeSYU.js} +13 -13
  55. package/dist/middleware-D9dqPUdF.js +17 -0
  56. package/dist/{middleware-LmafMpFE.js → middleware-DpNXnRa6.js} +10 -10
  57. package/dist/middleware-ofHkiPKA.js +26 -0
  58. package/dist/{mod-COw_caPC.d.cts → mod-BihGJmMM.d.cts} +2 -2
  59. package/dist/{mod-Cy6pkZSn.d.ts → mod-CnEwcmyF.d.ts} +1 -1
  60. package/dist/{mod-B7Pc0I7F.d.ts → mod-Cuem8g-I.d.ts} +2 -2
  61. package/dist/{mod-YfAcrVbP.d.cts → mod-Ds5wiXHw.d.cts} +2 -2
  62. package/dist/{mod-NKH_G-IY.d.cts → mod-DxjZ8kbs.d.cts} +1 -1
  63. package/dist/{mod-CiXjux2r.d.ts → mod-OfRtcQo1.d.ts} +2 -2
  64. package/dist/{mod-BAuhKa9d.d.ts → mod-TsyIDkKn.d.ts} +1 -1
  65. package/dist/{mod-C3CGxYoF.d.cts → mod-bscaBAIo.d.cts} +1 -1
  66. package/dist/mod.cjs +10 -10
  67. package/dist/mod.d.cts +9 -9
  68. package/dist/mod.d.ts +9 -9
  69. package/dist/mod.js +10 -10
  70. package/dist/nodeinfo/client.test.js +5 -5
  71. package/dist/nodeinfo/handler.test.js +16 -16
  72. package/dist/nodeinfo/mod.cjs +2 -2
  73. package/dist/nodeinfo/mod.js +2 -2
  74. package/dist/nodeinfo/semver.test.js +3 -3
  75. package/dist/nodeinfo/types.test.js +3 -3
  76. package/dist/{owner-C9Ry0TOI.d.cts → owner-BYxDl2qi.d.cts} +2 -2
  77. package/dist/{owner-D38zBIMc.d.ts → owner-DOUl7e-t.d.ts} +2 -2
  78. package/dist/{owner-Duuk0fa8.js → owner-DeXz0uXj.js} +2 -2
  79. package/dist/{proof-DDCCLcvw.cjs → proof-1YMXAyHu.cjs} +3 -3
  80. package/dist/{proof-e1QIQdeb.js → proof-C5AaUlDb.js} +3 -3
  81. package/dist/{proof-uSmUZPoi.js → proof-DEbHE-Rp.js} +2 -2
  82. package/dist/runtime/authdocloader.test.js +9 -9
  83. package/dist/runtime/docloader.test.js +4 -4
  84. package/dist/runtime/key.test.js +5 -5
  85. package/dist/runtime/langstr.test.js +3 -3
  86. package/dist/runtime/link.test.js +3 -3
  87. package/dist/runtime/mod.cjs +6 -6
  88. package/dist/runtime/mod.d.cts +3 -3
  89. package/dist/runtime/mod.d.ts +3 -3
  90. package/dist/runtime/mod.js +6 -6
  91. package/dist/runtime/multibase/multibase.test.js +3 -3
  92. package/dist/runtime/url.test.js +3 -3
  93. package/dist/{send-B0HAztwF.js → send-ZLr2Fq_j.js} +2 -2
  94. package/dist/sig/http.test.js +8 -8
  95. package/dist/sig/key.test.js +6 -6
  96. package/dist/sig/ld.test.js +7 -7
  97. package/dist/sig/mod.cjs +6 -6
  98. package/dist/sig/mod.d.cts +5 -5
  99. package/dist/sig/mod.d.ts +5 -5
  100. package/dist/sig/mod.js +6 -6
  101. package/dist/sig/owner.test.js +7 -7
  102. package/dist/sig/proof.test.js +7 -7
  103. package/dist/testing/docloader.test.js +3 -3
  104. package/dist/testing/mod.d.ts +313 -0
  105. package/dist/testing/mod.js +3 -3
  106. package/dist/{testing-C8lrTfcp.js → testing-CyBcyXDK.js} +2 -2
  107. package/dist/{type-DlklUmbH.js → type-C9v8GMO6.js} +2322 -722
  108. package/dist/{types-BLPEWgGj.cjs → types-B2Gwh9uw.cjs} +1 -1
  109. package/dist/{types-BIWL-kwo.js → types-KhFFD-xZ.js} +1 -1
  110. package/dist/vocab/actor.test.js +5 -5
  111. package/dist/vocab/lookup.test.js +4 -4
  112. package/dist/vocab/mod.cjs +4 -4
  113. package/dist/vocab/mod.d.cts +3 -3
  114. package/dist/vocab/mod.d.ts +3 -3
  115. package/dist/vocab/mod.js +4 -4
  116. package/dist/vocab/type.test.js +3 -3
  117. package/dist/vocab/vocab.test.js +24 -6
  118. package/dist/{vocab-B4N3JGLN.cjs → vocab-95nbu41B.cjs} +3 -3
  119. package/dist/{vocab-BEEm2I6u.d.ts → vocab-BW6SWH9P.d.ts} +629 -0
  120. package/dist/{vocab-Cz092hcd.js → vocab-DUIA4PK3.js} +3 -3
  121. package/dist/{vocab-BzGg7ltX.d.cts → vocab-qpRpljdS.d.cts} +629 -0
  122. package/dist/webfinger/handler.test.js +16 -16
  123. package/dist/webfinger/lookup.test.js +4 -4
  124. package/dist/webfinger/mod.cjs +2 -2
  125. package/dist/webfinger/mod.js +2 -2
  126. package/dist/x/cfworkers.test.js +3 -3
  127. package/dist/x/hono.d.cts +6 -6
  128. package/dist/x/hono.d.ts +6 -6
  129. package/dist/x/sveltekit.d.cts +6 -6
  130. package/dist/x/sveltekit.d.ts +6 -6
  131. package/package.json +1 -1
  132. package/dist/key-NB64FoGg.cjs +0 -10
  133. package/dist/middleware-Bjm9hs6l.js +0 -17
  134. package/dist/middleware-CcGJFIwI.js +0 -26
  135. package/dist/middleware-jty-RQ5I.cjs +0 -17
@@ -26,6 +26,7 @@ declare class LanguageString extends String {
26
26
  */
27
27
  declare class Object$1 {
28
28
  #private;
29
+ protected readonly _baseUrl?: URL;
29
30
  readonly id: URL | null;
30
31
  protected get _documentLoader(): DocumentLoader | undefined;
31
32
  protected get _contextLoader(): DocumentLoader | undefined;
@@ -41,6 +42,10 @@ declare class Object$1 {
41
42
  * The type URI of {@link Object}: `https://www.w3.org/ns/activitystreams#Object`.
42
43
  */
43
44
  static get typeId(): URL;
45
+ /**
46
+ * The base URL used for resolving relative URLs in this object.
47
+ */
48
+ get baseUrl(): URL | undefined;
44
49
  /**
45
50
  * Constructs a new instance of Object with the given values.
46
51
  * @param values The values to initialize the instance with.
@@ -100,6 +105,7 @@ declare class Object$1 {
100
105
  documentLoader?: DocumentLoader;
101
106
  contextLoader?: DocumentLoader;
102
107
  tracerProvider?: TracerProvider;
108
+ baseUrl?: URL;
103
109
  });
104
110
  /**
105
111
  * Clones this instance, optionally updating it with the given values.
@@ -176,6 +182,7 @@ declare class Object$1 {
176
182
  contextLoader?: DocumentLoader;
177
183
  suppressError?: boolean;
178
184
  tracerProvider?: TracerProvider;
185
+ baseUrl?: URL;
179
186
  }): AsyncIterable<Object$1 | Link | PropertyValue>;
180
187
  /**
181
188
  * Similar to
@@ -192,6 +199,7 @@ declare class Object$1 {
192
199
  contextLoader?: DocumentLoader;
193
200
  suppressError?: boolean;
194
201
  tracerProvider?: TracerProvider;
202
+ baseUrl?: URL;
195
203
  }): Promise<Application | Group | Organization | Person | Service | null>;
196
204
  /**
197
205
  * Similar to
@@ -208,6 +216,7 @@ declare class Object$1 {
208
216
  contextLoader?: DocumentLoader;
209
217
  suppressError?: boolean;
210
218
  tracerProvider?: TracerProvider;
219
+ baseUrl?: URL;
211
220
  }): AsyncIterable<Application | Group | Organization | Person | Service>;
212
221
  /**
213
222
  * Similar to
@@ -223,6 +232,7 @@ declare class Object$1 {
223
232
  contextLoader?: DocumentLoader;
224
233
  suppressError?: boolean;
225
234
  tracerProvider?: TracerProvider;
235
+ baseUrl?: URL;
226
236
  }): Promise<Object$1 | null>;
227
237
  /**
228
238
  * Similar to
@@ -238,6 +248,7 @@ declare class Object$1 {
238
248
  contextLoader?: DocumentLoader;
239
249
  suppressError?: boolean;
240
250
  tracerProvider?: TracerProvider;
251
+ baseUrl?: URL;
241
252
  }): AsyncIterable<Object$1>;
242
253
  /** The content or textual representation of the Object encoded as a JSON
243
254
  * string. By default, the value of `content` is HTML. The `mediaType`
@@ -272,6 +283,7 @@ declare class Object$1 {
272
283
  contextLoader?: DocumentLoader;
273
284
  suppressError?: boolean;
274
285
  tracerProvider?: TracerProvider;
286
+ baseUrl?: URL;
275
287
  }): AsyncIterable<Object$1 | Link>;
276
288
  /** A simple, human-readable, plain-text name for the object. HTML markup MUST
277
289
  * NOT be included. The name MAY be expressed using multiple language-tagged
@@ -302,6 +314,7 @@ declare class Object$1 {
302
314
  contextLoader?: DocumentLoader;
303
315
  suppressError?: boolean;
304
316
  tracerProvider?: TracerProvider;
317
+ baseUrl?: URL;
305
318
  }): AsyncIterable<Object$1 | Link>;
306
319
  /**
307
320
  * Similar to
@@ -318,6 +331,7 @@ declare class Object$1 {
318
331
  contextLoader?: DocumentLoader;
319
332
  suppressError?: boolean;
320
333
  tracerProvider?: TracerProvider;
334
+ baseUrl?: URL;
321
335
  }): Promise<Image | null>;
322
336
  /**
323
337
  * Similar to
@@ -334,6 +348,7 @@ declare class Object$1 {
334
348
  contextLoader?: DocumentLoader;
335
349
  suppressError?: boolean;
336
350
  tracerProvider?: TracerProvider;
351
+ baseUrl?: URL;
337
352
  }): AsyncIterable<Image>;
338
353
  /**
339
354
  * Similar to
@@ -350,6 +365,7 @@ declare class Object$1 {
350
365
  contextLoader?: DocumentLoader;
351
366
  suppressError?: boolean;
352
367
  tracerProvider?: TracerProvider;
368
+ baseUrl?: URL;
353
369
  }): Promise<Image | null>;
354
370
  /**
355
371
  * Similar to
@@ -366,6 +382,7 @@ declare class Object$1 {
366
382
  contextLoader?: DocumentLoader;
367
383
  suppressError?: boolean;
368
384
  tracerProvider?: TracerProvider;
385
+ baseUrl?: URL;
369
386
  }): AsyncIterable<Image>;
370
387
  /**
371
388
  * Similar to
@@ -381,6 +398,7 @@ declare class Object$1 {
381
398
  contextLoader?: DocumentLoader;
382
399
  suppressError?: boolean;
383
400
  tracerProvider?: TracerProvider;
401
+ baseUrl?: URL;
384
402
  }): Promise<Object$1 | Link | null>;
385
403
  /**
386
404
  * Similar to
@@ -396,6 +414,7 @@ declare class Object$1 {
396
414
  contextLoader?: DocumentLoader;
397
415
  suppressError?: boolean;
398
416
  tracerProvider?: TracerProvider;
417
+ baseUrl?: URL;
399
418
  }): AsyncIterable<Object$1 | Link>;
400
419
  /**
401
420
  * Similar to
@@ -411,6 +430,7 @@ declare class Object$1 {
411
430
  contextLoader?: DocumentLoader;
412
431
  suppressError?: boolean;
413
432
  tracerProvider?: TracerProvider;
433
+ baseUrl?: URL;
414
434
  }): Promise<Object$1 | Link | null>;
415
435
  /**
416
436
  * Similar to
@@ -426,6 +446,7 @@ declare class Object$1 {
426
446
  contextLoader?: DocumentLoader;
427
447
  suppressError?: boolean;
428
448
  tracerProvider?: TracerProvider;
449
+ baseUrl?: URL;
429
450
  }): AsyncIterable<Object$1 | Link>;
430
451
  /**
431
452
  * Similar to
@@ -440,6 +461,7 @@ declare class Object$1 {
440
461
  contextLoader?: DocumentLoader;
441
462
  suppressError?: boolean;
442
463
  tracerProvider?: TracerProvider;
464
+ baseUrl?: URL;
443
465
  }): Promise<Link | Object$1 | null>;
444
466
  /**
445
467
  * Similar to
@@ -454,6 +476,7 @@ declare class Object$1 {
454
476
  contextLoader?: DocumentLoader;
455
477
  suppressError?: boolean;
456
478
  tracerProvider?: TracerProvider;
479
+ baseUrl?: URL;
457
480
  }): AsyncIterable<Link | Object$1>;
458
481
  /** The date and time at which the object was published.
459
482
  */
@@ -472,6 +495,7 @@ declare class Object$1 {
472
495
  contextLoader?: DocumentLoader;
473
496
  suppressError?: boolean;
474
497
  tracerProvider?: TracerProvider;
498
+ baseUrl?: URL;
475
499
  }): Promise<Collection | null>;
476
500
  /**
477
501
  * Similar to
@@ -493,6 +517,7 @@ declare class Object$1 {
493
517
  contextLoader?: DocumentLoader;
494
518
  suppressError?: boolean;
495
519
  tracerProvider?: TracerProvider;
520
+ baseUrl?: URL;
496
521
  }): Promise<Collection | null>;
497
522
  /**
498
523
  * Similar to
@@ -514,6 +539,7 @@ declare class Object$1 {
514
539
  contextLoader?: DocumentLoader;
515
540
  suppressError?: boolean;
516
541
  tracerProvider?: TracerProvider;
542
+ baseUrl?: URL;
517
543
  }): Promise<Collection | null>;
518
544
  /**
519
545
  * Similar to
@@ -529,6 +555,7 @@ declare class Object$1 {
529
555
  contextLoader?: DocumentLoader;
530
556
  suppressError?: boolean;
531
557
  tracerProvider?: TracerProvider;
558
+ baseUrl?: URL;
532
559
  }): Promise<Collection | null>;
533
560
  /** The date and time describing the actual or expected starting time of
534
561
  * the object. When used with an {@link Activity} object, for instance,
@@ -560,6 +587,7 @@ declare class Object$1 {
560
587
  contextLoader?: DocumentLoader;
561
588
  suppressError?: boolean;
562
589
  tracerProvider?: TracerProvider;
590
+ baseUrl?: URL;
563
591
  }): AsyncIterable<Object$1 | Link>;
564
592
  /** The date and time at which the object was updated.
565
593
  */
@@ -584,6 +612,7 @@ declare class Object$1 {
584
612
  contextLoader?: DocumentLoader;
585
613
  suppressError?: boolean;
586
614
  tracerProvider?: TracerProvider;
615
+ baseUrl?: URL;
587
616
  }): Promise<Object$1 | null>;
588
617
  /**
589
618
  * Similar to
@@ -599,6 +628,7 @@ declare class Object$1 {
599
628
  contextLoader?: DocumentLoader;
600
629
  suppressError?: boolean;
601
630
  tracerProvider?: TracerProvider;
631
+ baseUrl?: URL;
602
632
  }): AsyncIterable<Object$1>;
603
633
  /**
604
634
  * Similar to
@@ -614,6 +644,7 @@ declare class Object$1 {
614
644
  contextLoader?: DocumentLoader;
615
645
  suppressError?: boolean;
616
646
  tracerProvider?: TracerProvider;
647
+ baseUrl?: URL;
617
648
  }): Promise<Object$1 | null>;
618
649
  /**
619
650
  * Similar to
@@ -629,6 +660,7 @@ declare class Object$1 {
629
660
  contextLoader?: DocumentLoader;
630
661
  suppressError?: boolean;
631
662
  tracerProvider?: TracerProvider;
663
+ baseUrl?: URL;
632
664
  }): AsyncIterable<Object$1>;
633
665
  /**
634
666
  * Similar to
@@ -644,6 +676,7 @@ declare class Object$1 {
644
676
  contextLoader?: DocumentLoader;
645
677
  suppressError?: boolean;
646
678
  tracerProvider?: TracerProvider;
679
+ baseUrl?: URL;
647
680
  }): Promise<Object$1 | null>;
648
681
  /**
649
682
  * Similar to
@@ -659,6 +692,7 @@ declare class Object$1 {
659
692
  contextLoader?: DocumentLoader;
660
693
  suppressError?: boolean;
661
694
  tracerProvider?: TracerProvider;
695
+ baseUrl?: URL;
662
696
  }): AsyncIterable<Object$1>;
663
697
  /**
664
698
  * Similar to
@@ -674,6 +708,7 @@ declare class Object$1 {
674
708
  contextLoader?: DocumentLoader;
675
709
  suppressError?: boolean;
676
710
  tracerProvider?: TracerProvider;
711
+ baseUrl?: URL;
677
712
  }): Promise<Object$1 | null>;
678
713
  /**
679
714
  * Similar to
@@ -689,6 +724,7 @@ declare class Object$1 {
689
724
  contextLoader?: DocumentLoader;
690
725
  suppressError?: boolean;
691
726
  tracerProvider?: TracerProvider;
727
+ baseUrl?: URL;
692
728
  }): AsyncIterable<Object$1>;
693
729
  /** When used on an {@link Object}, identifies the MIME media type of the value
694
730
  * of the `content` property. If not specified, the `content` property is
@@ -724,6 +760,7 @@ declare class Object$1 {
724
760
  contextLoader?: DocumentLoader;
725
761
  suppressError?: boolean;
726
762
  tracerProvider?: TracerProvider;
763
+ baseUrl?: URL;
727
764
  }): Promise<DataIntegrityProof | null>;
728
765
  /**
729
766
  * Similar to
@@ -738,6 +775,7 @@ declare class Object$1 {
738
775
  contextLoader?: DocumentLoader;
739
776
  suppressError?: boolean;
740
777
  tracerProvider?: TracerProvider;
778
+ baseUrl?: URL;
741
779
  }): AsyncIterable<DataIntegrityProof>;
742
780
  /**
743
781
  * Converts this object to a JSON-LD structure.
@@ -770,11 +808,13 @@ declare class Object$1 {
770
808
  documentLoader?: DocumentLoader;
771
809
  contextLoader?: DocumentLoader;
772
810
  tracerProvider?: TracerProvider;
811
+ baseUrl?: URL;
773
812
  }): Promise<Object$1>;
774
813
  protected static __fromJsonLd__Object__(json: unknown, span: Span, options?: {
775
814
  documentLoader?: DocumentLoader;
776
815
  contextLoader?: DocumentLoader;
777
816
  tracerProvider?: TracerProvider;
817
+ baseUrl?: URL;
778
818
  }): Promise<Object$1>;
779
819
  protected _getCustomInspectProxy(): Record<string, unknown>;
780
820
  }
@@ -785,6 +825,10 @@ declare class Emoji extends Object$1 {
785
825
  * The type URI of {@link Emoji}: `http://joinmastodon.org/ns#Emoji`.
786
826
  */
787
827
  static get typeId(): URL;
828
+ /**
829
+ * The base URL used for resolving relative URLs in this object.
830
+ */
831
+ get baseUrl(): URL | undefined;
788
832
  /**
789
833
  * Constructs a new instance of Emoji with the given values.
790
834
  * @param values The values to initialize the instance with.
@@ -844,6 +888,7 @@ declare class Emoji extends Object$1 {
844
888
  documentLoader?: DocumentLoader;
845
889
  contextLoader?: DocumentLoader;
846
890
  tracerProvider?: TracerProvider;
891
+ baseUrl?: URL;
847
892
  });
848
893
  /**
849
894
  * Clones this instance, optionally updating it with the given values.
@@ -936,11 +981,13 @@ declare class Emoji extends Object$1 {
936
981
  documentLoader?: DocumentLoader;
937
982
  contextLoader?: DocumentLoader;
938
983
  tracerProvider?: TracerProvider;
984
+ baseUrl?: URL;
939
985
  }): Promise<Emoji>;
940
986
  protected static __fromJsonLd__Emoji__(json: unknown, span: Span, options?: {
941
987
  documentLoader?: DocumentLoader;
942
988
  contextLoader?: DocumentLoader;
943
989
  tracerProvider?: TracerProvider;
990
+ baseUrl?: URL;
944
991
  }): Promise<Emoji>;
945
992
  protected _getCustomInspectProxy(): Record<string, unknown>;
946
993
  }
@@ -956,6 +1003,10 @@ declare class ChatMessage extends Object$1 {
956
1003
  * The type URI of {@link ChatMessage}: `http://litepub.social/ns#ChatMessage`.
957
1004
  */
958
1005
  static get typeId(): URL;
1006
+ /**
1007
+ * The base URL used for resolving relative URLs in this object.
1008
+ */
1009
+ get baseUrl(): URL | undefined;
959
1010
  /**
960
1011
  * Constructs a new instance of ChatMessage with the given values.
961
1012
  * @param values The values to initialize the instance with.
@@ -1016,6 +1067,7 @@ declare class ChatMessage extends Object$1 {
1016
1067
  documentLoader?: DocumentLoader;
1017
1068
  contextLoader?: DocumentLoader;
1018
1069
  tracerProvider?: TracerProvider;
1070
+ baseUrl?: URL;
1019
1071
  });
1020
1072
  /**
1021
1073
  * Clones this instance, optionally updating it with the given values.
@@ -1121,11 +1173,13 @@ declare class ChatMessage extends Object$1 {
1121
1173
  documentLoader?: DocumentLoader;
1122
1174
  contextLoader?: DocumentLoader;
1123
1175
  tracerProvider?: TracerProvider;
1176
+ baseUrl?: URL;
1124
1177
  }): Promise<ChatMessage>;
1125
1178
  protected static __fromJsonLd__ChatMessage__(json: unknown, span: Span, options?: {
1126
1179
  documentLoader?: DocumentLoader;
1127
1180
  contextLoader?: DocumentLoader;
1128
1181
  tracerProvider?: TracerProvider;
1182
+ baseUrl?: URL;
1129
1183
  }): Promise<ChatMessage>;
1130
1184
  protected _getCustomInspectProxy(): Record<string, unknown>;
1131
1185
  }
@@ -1141,6 +1195,10 @@ declare class Activity extends Object$1 {
1141
1195
  * The type URI of {@link Activity}: `https://www.w3.org/ns/activitystreams#Activity`.
1142
1196
  */
1143
1197
  static get typeId(): URL;
1198
+ /**
1199
+ * The base URL used for resolving relative URLs in this object.
1200
+ */
1201
+ get baseUrl(): URL | undefined;
1144
1202
  /**
1145
1203
  * Constructs a new instance of Activity with the given values.
1146
1204
  * @param values The values to initialize the instance with.
@@ -1212,6 +1270,7 @@ declare class Activity extends Object$1 {
1212
1270
  documentLoader?: DocumentLoader;
1213
1271
  contextLoader?: DocumentLoader;
1214
1272
  tracerProvider?: TracerProvider;
1273
+ baseUrl?: URL;
1215
1274
  });
1216
1275
  /**
1217
1276
  * Clones this instance, optionally updating it with the given values.
@@ -1300,6 +1359,7 @@ declare class Activity extends Object$1 {
1300
1359
  contextLoader?: DocumentLoader;
1301
1360
  suppressError?: boolean;
1302
1361
  tracerProvider?: TracerProvider;
1362
+ baseUrl?: URL;
1303
1363
  }): Promise<Application | Group | Organization | Person | Service | null>;
1304
1364
  /**
1305
1365
  * Similar to
@@ -1316,6 +1376,7 @@ declare class Activity extends Object$1 {
1316
1376
  contextLoader?: DocumentLoader;
1317
1377
  suppressError?: boolean;
1318
1378
  tracerProvider?: TracerProvider;
1379
+ baseUrl?: URL;
1319
1380
  }): AsyncIterable<Application | Group | Organization | Person | Service>;
1320
1381
  /**
1321
1382
  * Similar to
@@ -1332,6 +1393,7 @@ declare class Activity extends Object$1 {
1332
1393
  contextLoader?: DocumentLoader;
1333
1394
  suppressError?: boolean;
1334
1395
  tracerProvider?: TracerProvider;
1396
+ baseUrl?: URL;
1335
1397
  }): Promise<Object$1 | null>;
1336
1398
  /**
1337
1399
  * Similar to
@@ -1348,6 +1410,7 @@ declare class Activity extends Object$1 {
1348
1410
  contextLoader?: DocumentLoader;
1349
1411
  suppressError?: boolean;
1350
1412
  tracerProvider?: TracerProvider;
1413
+ baseUrl?: URL;
1351
1414
  }): AsyncIterable<Object$1>;
1352
1415
  /**
1353
1416
  * Similar to
@@ -1367,6 +1430,7 @@ declare class Activity extends Object$1 {
1367
1430
  contextLoader?: DocumentLoader;
1368
1431
  suppressError?: boolean;
1369
1432
  tracerProvider?: TracerProvider;
1433
+ baseUrl?: URL;
1370
1434
  }): Promise<Object$1 | null>;
1371
1435
  /**
1372
1436
  * Similar to
@@ -1386,6 +1450,7 @@ declare class Activity extends Object$1 {
1386
1450
  contextLoader?: DocumentLoader;
1387
1451
  suppressError?: boolean;
1388
1452
  tracerProvider?: TracerProvider;
1453
+ baseUrl?: URL;
1389
1454
  }): AsyncIterable<Object$1>;
1390
1455
  /**
1391
1456
  * Similar to
@@ -1402,6 +1467,7 @@ declare class Activity extends Object$1 {
1402
1467
  contextLoader?: DocumentLoader;
1403
1468
  suppressError?: boolean;
1404
1469
  tracerProvider?: TracerProvider;
1470
+ baseUrl?: URL;
1405
1471
  }): Promise<Object$1 | null>;
1406
1472
  /**
1407
1473
  * Similar to
@@ -1418,6 +1484,7 @@ declare class Activity extends Object$1 {
1418
1484
  contextLoader?: DocumentLoader;
1419
1485
  suppressError?: boolean;
1420
1486
  tracerProvider?: TracerProvider;
1487
+ baseUrl?: URL;
1421
1488
  }): AsyncIterable<Object$1>;
1422
1489
  /**
1423
1490
  * Similar to
@@ -1435,6 +1502,7 @@ declare class Activity extends Object$1 {
1435
1502
  contextLoader?: DocumentLoader;
1436
1503
  suppressError?: boolean;
1437
1504
  tracerProvider?: TracerProvider;
1505
+ baseUrl?: URL;
1438
1506
  }): Promise<Object$1 | null>;
1439
1507
  /**
1440
1508
  * Similar to
@@ -1452,6 +1520,7 @@ declare class Activity extends Object$1 {
1452
1520
  contextLoader?: DocumentLoader;
1453
1521
  suppressError?: boolean;
1454
1522
  tracerProvider?: TracerProvider;
1523
+ baseUrl?: URL;
1455
1524
  }): AsyncIterable<Object$1>;
1456
1525
  /**
1457
1526
  * Similar to
@@ -1467,6 +1536,7 @@ declare class Activity extends Object$1 {
1467
1536
  contextLoader?: DocumentLoader;
1468
1537
  suppressError?: boolean;
1469
1538
  tracerProvider?: TracerProvider;
1539
+ baseUrl?: URL;
1470
1540
  }): Promise<Object$1 | null>;
1471
1541
  /**
1472
1542
  * Similar to
@@ -1482,6 +1552,7 @@ declare class Activity extends Object$1 {
1482
1552
  contextLoader?: DocumentLoader;
1483
1553
  suppressError?: boolean;
1484
1554
  tracerProvider?: TracerProvider;
1555
+ baseUrl?: URL;
1485
1556
  }): AsyncIterable<Object$1>;
1486
1557
  /**
1487
1558
  * Converts this object to a JSON-LD structure.
@@ -1514,11 +1585,13 @@ declare class Activity extends Object$1 {
1514
1585
  documentLoader?: DocumentLoader;
1515
1586
  contextLoader?: DocumentLoader;
1516
1587
  tracerProvider?: TracerProvider;
1588
+ baseUrl?: URL;
1517
1589
  }): Promise<Activity>;
1518
1590
  protected static __fromJsonLd__Activity__(json: unknown, span: Span, options?: {
1519
1591
  documentLoader?: DocumentLoader;
1520
1592
  contextLoader?: DocumentLoader;
1521
1593
  tracerProvider?: TracerProvider;
1594
+ baseUrl?: URL;
1522
1595
  }): Promise<Activity>;
1523
1596
  protected _getCustomInspectProxy(): Record<string, unknown>;
1524
1597
  }
@@ -1529,6 +1602,10 @@ declare class EmojiReact extends Activity {
1529
1602
  * The type URI of {@link EmojiReact}: `http://litepub.social/ns#EmojiReact`.
1530
1603
  */
1531
1604
  static get typeId(): URL;
1605
+ /**
1606
+ * The base URL used for resolving relative URLs in this object.
1607
+ */
1608
+ get baseUrl(): URL | undefined;
1532
1609
  /**
1533
1610
  * Constructs a new instance of EmojiReact with the given values.
1534
1611
  * @param values The values to initialize the instance with.
@@ -1600,6 +1677,7 @@ declare class EmojiReact extends Activity {
1600
1677
  documentLoader?: DocumentLoader;
1601
1678
  contextLoader?: DocumentLoader;
1602
1679
  tracerProvider?: TracerProvider;
1680
+ baseUrl?: URL;
1603
1681
  });
1604
1682
  /**
1605
1683
  * Clones this instance, optionally updating it with the given values.
@@ -1704,11 +1782,13 @@ declare class EmojiReact extends Activity {
1704
1782
  documentLoader?: DocumentLoader;
1705
1783
  contextLoader?: DocumentLoader;
1706
1784
  tracerProvider?: TracerProvider;
1785
+ baseUrl?: URL;
1707
1786
  }): Promise<EmojiReact>;
1708
1787
  protected static __fromJsonLd__EmojiReact__(json: unknown, span: Span, options?: {
1709
1788
  documentLoader?: DocumentLoader;
1710
1789
  contextLoader?: DocumentLoader;
1711
1790
  tracerProvider?: TracerProvider;
1791
+ baseUrl?: URL;
1712
1792
  }): Promise<EmojiReact>;
1713
1793
  protected _getCustomInspectProxy(): Record<string, unknown>;
1714
1794
  }
@@ -1716,6 +1796,7 @@ declare class EmojiReact extends Activity {
1716
1796
  */
1717
1797
  declare class PropertyValue {
1718
1798
  #private;
1799
+ protected readonly _baseUrl?: URL;
1719
1800
  readonly id: URL | null;
1720
1801
  protected get _documentLoader(): DocumentLoader | undefined;
1721
1802
  protected get _contextLoader(): DocumentLoader | undefined;
@@ -1731,6 +1812,10 @@ declare class PropertyValue {
1731
1812
  * The type URI of {@link PropertyValue}: `http://schema.org#PropertyValue`.
1732
1813
  */
1733
1814
  static get typeId(): URL;
1815
+ /**
1816
+ * The base URL used for resolving relative URLs in this object.
1817
+ */
1818
+ get baseUrl(): URL | undefined;
1734
1819
  /**
1735
1820
  * Constructs a new instance of PropertyValue with the given values.
1736
1821
  * @param values The values to initialize the instance with.
@@ -1744,6 +1829,7 @@ declare class PropertyValue {
1744
1829
  documentLoader?: DocumentLoader;
1745
1830
  contextLoader?: DocumentLoader;
1746
1831
  tracerProvider?: TracerProvider;
1832
+ baseUrl?: URL;
1747
1833
  });
1748
1834
  /**
1749
1835
  * Clones this instance, optionally updating it with the given values.
@@ -1796,11 +1882,13 @@ declare class PropertyValue {
1796
1882
  documentLoader?: DocumentLoader;
1797
1883
  contextLoader?: DocumentLoader;
1798
1884
  tracerProvider?: TracerProvider;
1885
+ baseUrl?: URL;
1799
1886
  }): Promise<PropertyValue>;
1800
1887
  protected static __fromJsonLd__PropertyValue__(json: unknown, span: Span, options?: {
1801
1888
  documentLoader?: DocumentLoader;
1802
1889
  contextLoader?: DocumentLoader;
1803
1890
  tracerProvider?: TracerProvider;
1891
+ baseUrl?: URL;
1804
1892
  }): Promise<PropertyValue>;
1805
1893
  protected _getCustomInspectProxy(): Record<string, unknown>;
1806
1894
  }
@@ -1811,6 +1899,7 @@ declare class PropertyValue {
1811
1899
  */
1812
1900
  declare class DidService {
1813
1901
  #private;
1902
+ protected readonly _baseUrl?: URL;
1814
1903
  readonly id: URL | null;
1815
1904
  protected get _documentLoader(): DocumentLoader | undefined;
1816
1905
  protected get _contextLoader(): DocumentLoader | undefined;
@@ -1826,6 +1915,10 @@ declare class DidService {
1826
1915
  * The type URI of {@link DidService}: `https://www.w3.org/ns/did#Service`.
1827
1916
  */
1828
1917
  static get typeId(): URL;
1918
+ /**
1919
+ * The base URL used for resolving relative URLs in this object.
1920
+ */
1921
+ get baseUrl(): URL | undefined;
1829
1922
  /**
1830
1923
  * Constructs a new instance of DidService with the given values.
1831
1924
  * @param values The values to initialize the instance with.
@@ -1839,6 +1932,7 @@ declare class DidService {
1839
1932
  documentLoader?: DocumentLoader;
1840
1933
  contextLoader?: DocumentLoader;
1841
1934
  tracerProvider?: TracerProvider;
1935
+ baseUrl?: URL;
1842
1936
  });
1843
1937
  /**
1844
1938
  * Clones this instance, optionally updating it with the given values.
@@ -1893,11 +1987,13 @@ declare class DidService {
1893
1987
  documentLoader?: DocumentLoader;
1894
1988
  contextLoader?: DocumentLoader;
1895
1989
  tracerProvider?: TracerProvider;
1990
+ baseUrl?: URL;
1896
1991
  }): Promise<DidService>;
1897
1992
  protected static __fromJsonLd__DidService__(json: unknown, span: Span, options?: {
1898
1993
  documentLoader?: DocumentLoader;
1899
1994
  contextLoader?: DocumentLoader;
1900
1995
  tracerProvider?: TracerProvider;
1996
+ baseUrl?: URL;
1901
1997
  }): Promise<DidService>;
1902
1998
  protected _getCustomInspectProxy(): Record<string, unknown>;
1903
1999
  }
@@ -1908,6 +2004,10 @@ declare class Export extends DidService {
1908
2004
  * The type URI of {@link Export}: `https://w3id.org/fep/9091#Export`.
1909
2005
  */
1910
2006
  static get typeId(): URL;
2007
+ /**
2008
+ * The base URL used for resolving relative URLs in this object.
2009
+ */
2010
+ get baseUrl(): URL | undefined;
1911
2011
  /**
1912
2012
  * Constructs a new instance of Export with the given values.
1913
2013
  * @param values The values to initialize the instance with.
@@ -1921,6 +2021,7 @@ declare class Export extends DidService {
1921
2021
  documentLoader?: DocumentLoader;
1922
2022
  contextLoader?: DocumentLoader;
1923
2023
  tracerProvider?: TracerProvider;
2024
+ baseUrl?: URL;
1924
2025
  });
1925
2026
  /**
1926
2027
  * Clones this instance, optionally updating it with the given values.
@@ -1967,11 +2068,13 @@ declare class Export extends DidService {
1967
2068
  documentLoader?: DocumentLoader;
1968
2069
  contextLoader?: DocumentLoader;
1969
2070
  tracerProvider?: TracerProvider;
2071
+ baseUrl?: URL;
1970
2072
  }): Promise<Export>;
1971
2073
  protected static __fromJsonLd__Export__(json: unknown, span: Span, options?: {
1972
2074
  documentLoader?: DocumentLoader;
1973
2075
  contextLoader?: DocumentLoader;
1974
2076
  tracerProvider?: TracerProvider;
2077
+ baseUrl?: URL;
1975
2078
  }): Promise<Export>;
1976
2079
  protected _getCustomInspectProxy(): Record<string, unknown>;
1977
2080
  }
@@ -1980,6 +2083,7 @@ declare class Export extends DidService {
1980
2083
  */
1981
2084
  declare class DataIntegrityProof {
1982
2085
  #private;
2086
+ protected readonly _baseUrl?: URL;
1983
2087
  readonly id: URL | null;
1984
2088
  protected get _documentLoader(): DocumentLoader | undefined;
1985
2089
  protected get _contextLoader(): DocumentLoader | undefined;
@@ -1995,6 +2099,10 @@ declare class DataIntegrityProof {
1995
2099
  * The type URI of {@link DataIntegrityProof}: `https://w3id.org/security#DataIntegrityProof`.
1996
2100
  */
1997
2101
  static get typeId(): URL;
2102
+ /**
2103
+ * The base URL used for resolving relative URLs in this object.
2104
+ */
2105
+ get baseUrl(): URL | undefined;
1998
2106
  /**
1999
2107
  * Constructs a new instance of DataIntegrityProof with the given values.
2000
2108
  * @param values The values to initialize the instance with.
@@ -2011,6 +2119,7 @@ declare class DataIntegrityProof {
2011
2119
  documentLoader?: DocumentLoader;
2012
2120
  contextLoader?: DocumentLoader;
2013
2121
  tracerProvider?: TracerProvider;
2122
+ baseUrl?: URL;
2014
2123
  });
2015
2124
  /**
2016
2125
  * Clones this instance, optionally updating it with the given values.
@@ -2048,6 +2157,7 @@ declare class DataIntegrityProof {
2048
2157
  contextLoader?: DocumentLoader;
2049
2158
  suppressError?: boolean;
2050
2159
  tracerProvider?: TracerProvider;
2160
+ baseUrl?: URL;
2051
2161
  }): Promise<Multikey | null>;
2052
2162
  /** The reason the proof was created.
2053
2163
  *
@@ -2095,11 +2205,13 @@ declare class DataIntegrityProof {
2095
2205
  documentLoader?: DocumentLoader;
2096
2206
  contextLoader?: DocumentLoader;
2097
2207
  tracerProvider?: TracerProvider;
2208
+ baseUrl?: URL;
2098
2209
  }): Promise<DataIntegrityProof>;
2099
2210
  protected static __fromJsonLd__DataIntegrityProof__(json: unknown, span: Span, options?: {
2100
2211
  documentLoader?: DocumentLoader;
2101
2212
  contextLoader?: DocumentLoader;
2102
2213
  tracerProvider?: TracerProvider;
2214
+ baseUrl?: URL;
2103
2215
  }): Promise<DataIntegrityProof>;
2104
2216
  protected _getCustomInspectProxy(): Record<string, unknown>;
2105
2217
  }
@@ -2107,6 +2219,7 @@ declare class DataIntegrityProof {
2107
2219
  */
2108
2220
  declare class CryptographicKey {
2109
2221
  #private;
2222
+ protected readonly _baseUrl?: URL;
2110
2223
  readonly id: URL | null;
2111
2224
  protected get _documentLoader(): DocumentLoader | undefined;
2112
2225
  protected get _contextLoader(): DocumentLoader | undefined;
@@ -2122,6 +2235,10 @@ declare class CryptographicKey {
2122
2235
  * The type URI of {@link CryptographicKey}: `https://w3id.org/security#Key`.
2123
2236
  */
2124
2237
  static get typeId(): URL;
2238
+ /**
2239
+ * The base URL used for resolving relative URLs in this object.
2240
+ */
2241
+ get baseUrl(): URL | undefined;
2125
2242
  /**
2126
2243
  * Constructs a new instance of CryptographicKey with the given values.
2127
2244
  * @param values The values to initialize the instance with.
@@ -2135,6 +2252,7 @@ declare class CryptographicKey {
2135
2252
  documentLoader?: DocumentLoader;
2136
2253
  contextLoader?: DocumentLoader;
2137
2254
  tracerProvider?: TracerProvider;
2255
+ baseUrl?: URL;
2138
2256
  });
2139
2257
  /**
2140
2258
  * Clones this instance, optionally updating it with the given values.
@@ -2163,6 +2281,7 @@ declare class CryptographicKey {
2163
2281
  contextLoader?: DocumentLoader;
2164
2282
  suppressError?: boolean;
2165
2283
  tracerProvider?: TracerProvider;
2284
+ baseUrl?: URL;
2166
2285
  }): Promise<Application | Group | Organization | Person | Service | null>;
2167
2286
  /** A PEM-encoded public key.
2168
2287
  */
@@ -2198,11 +2317,13 @@ declare class CryptographicKey {
2198
2317
  documentLoader?: DocumentLoader;
2199
2318
  contextLoader?: DocumentLoader;
2200
2319
  tracerProvider?: TracerProvider;
2320
+ baseUrl?: URL;
2201
2321
  }): Promise<CryptographicKey>;
2202
2322
  protected static __fromJsonLd__CryptographicKey__(json: unknown, span: Span, options?: {
2203
2323
  documentLoader?: DocumentLoader;
2204
2324
  contextLoader?: DocumentLoader;
2205
2325
  tracerProvider?: TracerProvider;
2326
+ baseUrl?: URL;
2206
2327
  }): Promise<CryptographicKey>;
2207
2328
  protected _getCustomInspectProxy(): Record<string, unknown>;
2208
2329
  }
@@ -2213,6 +2334,7 @@ declare class CryptographicKey {
2213
2334
  */
2214
2335
  declare class Multikey {
2215
2336
  #private;
2337
+ protected readonly _baseUrl?: URL;
2216
2338
  readonly id: URL | null;
2217
2339
  protected get _documentLoader(): DocumentLoader | undefined;
2218
2340
  protected get _contextLoader(): DocumentLoader | undefined;
@@ -2228,6 +2350,10 @@ declare class Multikey {
2228
2350
  * The type URI of {@link Multikey}: `https://w3id.org/security#Multikey`.
2229
2351
  */
2230
2352
  static get typeId(): URL;
2353
+ /**
2354
+ * The base URL used for resolving relative URLs in this object.
2355
+ */
2356
+ get baseUrl(): URL | undefined;
2231
2357
  /**
2232
2358
  * Constructs a new instance of Multikey with the given values.
2233
2359
  * @param values The values to initialize the instance with.
@@ -2241,6 +2367,7 @@ declare class Multikey {
2241
2367
  documentLoader?: DocumentLoader;
2242
2368
  contextLoader?: DocumentLoader;
2243
2369
  tracerProvider?: TracerProvider;
2370
+ baseUrl?: URL;
2244
2371
  });
2245
2372
  /**
2246
2373
  * Clones this instance, optionally updating it with the given values.
@@ -2269,6 +2396,7 @@ declare class Multikey {
2269
2396
  contextLoader?: DocumentLoader;
2270
2397
  suppressError?: boolean;
2271
2398
  tracerProvider?: TracerProvider;
2399
+ baseUrl?: URL;
2272
2400
  }): Promise<Application | Group | Organization | Person | Service | null>;
2273
2401
  /** A [Multibase]-encoded value of a [Multicodec] prefix and the key.
2274
2402
  *
@@ -2307,11 +2435,13 @@ declare class Multikey {
2307
2435
  documentLoader?: DocumentLoader;
2308
2436
  contextLoader?: DocumentLoader;
2309
2437
  tracerProvider?: TracerProvider;
2438
+ baseUrl?: URL;
2310
2439
  }): Promise<Multikey>;
2311
2440
  protected static __fromJsonLd__Multikey__(json: unknown, span: Span, options?: {
2312
2441
  documentLoader?: DocumentLoader;
2313
2442
  contextLoader?: DocumentLoader;
2314
2443
  tracerProvider?: TracerProvider;
2444
+ baseUrl?: URL;
2315
2445
  }): Promise<Multikey>;
2316
2446
  protected _getCustomInspectProxy(): Record<string, unknown>;
2317
2447
  }
@@ -2324,6 +2454,10 @@ declare class Accept extends Activity {
2324
2454
  * The type URI of {@link Accept}: `https://www.w3.org/ns/activitystreams#Accept`.
2325
2455
  */
2326
2456
  static get typeId(): URL;
2457
+ /**
2458
+ * The base URL used for resolving relative URLs in this object.
2459
+ */
2460
+ get baseUrl(): URL | undefined;
2327
2461
  /**
2328
2462
  * Constructs a new instance of Accept with the given values.
2329
2463
  * @param values The values to initialize the instance with.
@@ -2395,6 +2529,7 @@ declare class Accept extends Activity {
2395
2529
  documentLoader?: DocumentLoader;
2396
2530
  contextLoader?: DocumentLoader;
2397
2531
  tracerProvider?: TracerProvider;
2532
+ baseUrl?: URL;
2398
2533
  });
2399
2534
  /**
2400
2535
  * Clones this instance, optionally updating it with the given values.
@@ -2499,11 +2634,13 @@ declare class Accept extends Activity {
2499
2634
  documentLoader?: DocumentLoader;
2500
2635
  contextLoader?: DocumentLoader;
2501
2636
  tracerProvider?: TracerProvider;
2637
+ baseUrl?: URL;
2502
2638
  }): Promise<Accept>;
2503
2639
  protected static __fromJsonLd__Accept__(json: unknown, span: Span, options?: {
2504
2640
  documentLoader?: DocumentLoader;
2505
2641
  contextLoader?: DocumentLoader;
2506
2642
  tracerProvider?: TracerProvider;
2643
+ baseUrl?: URL;
2507
2644
  }): Promise<Accept>;
2508
2645
  protected _getCustomInspectProxy(): Record<string, unknown>;
2509
2646
  }
@@ -2517,6 +2654,10 @@ declare class Add extends Activity {
2517
2654
  * The type URI of {@link Add}: `https://www.w3.org/ns/activitystreams#Add`.
2518
2655
  */
2519
2656
  static get typeId(): URL;
2657
+ /**
2658
+ * The base URL used for resolving relative URLs in this object.
2659
+ */
2660
+ get baseUrl(): URL | undefined;
2520
2661
  /**
2521
2662
  * Constructs a new instance of Add with the given values.
2522
2663
  * @param values The values to initialize the instance with.
@@ -2588,6 +2729,7 @@ declare class Add extends Activity {
2588
2729
  documentLoader?: DocumentLoader;
2589
2730
  contextLoader?: DocumentLoader;
2590
2731
  tracerProvider?: TracerProvider;
2732
+ baseUrl?: URL;
2591
2733
  });
2592
2734
  /**
2593
2735
  * Clones this instance, optionally updating it with the given values.
@@ -2692,11 +2834,13 @@ declare class Add extends Activity {
2692
2834
  documentLoader?: DocumentLoader;
2693
2835
  contextLoader?: DocumentLoader;
2694
2836
  tracerProvider?: TracerProvider;
2837
+ baseUrl?: URL;
2695
2838
  }): Promise<Add>;
2696
2839
  protected static __fromJsonLd__Add__(json: unknown, span: Span, options?: {
2697
2840
  documentLoader?: DocumentLoader;
2698
2841
  contextLoader?: DocumentLoader;
2699
2842
  tracerProvider?: TracerProvider;
2843
+ baseUrl?: URL;
2700
2844
  }): Promise<Add>;
2701
2845
  protected _getCustomInspectProxy(): Record<string, unknown>;
2702
2846
  }
@@ -2709,6 +2853,10 @@ declare class Announce extends Activity {
2709
2853
  * The type URI of {@link Announce}: `https://www.w3.org/ns/activitystreams#Announce`.
2710
2854
  */
2711
2855
  static get typeId(): URL;
2856
+ /**
2857
+ * The base URL used for resolving relative URLs in this object.
2858
+ */
2859
+ get baseUrl(): URL | undefined;
2712
2860
  /**
2713
2861
  * Constructs a new instance of Announce with the given values.
2714
2862
  * @param values The values to initialize the instance with.
@@ -2780,6 +2928,7 @@ declare class Announce extends Activity {
2780
2928
  documentLoader?: DocumentLoader;
2781
2929
  contextLoader?: DocumentLoader;
2782
2930
  tracerProvider?: TracerProvider;
2931
+ baseUrl?: URL;
2783
2932
  });
2784
2933
  /**
2785
2934
  * Clones this instance, optionally updating it with the given values.
@@ -2884,11 +3033,13 @@ declare class Announce extends Activity {
2884
3033
  documentLoader?: DocumentLoader;
2885
3034
  contextLoader?: DocumentLoader;
2886
3035
  tracerProvider?: TracerProvider;
3036
+ baseUrl?: URL;
2887
3037
  }): Promise<Announce>;
2888
3038
  protected static __fromJsonLd__Announce__(json: unknown, span: Span, options?: {
2889
3039
  documentLoader?: DocumentLoader;
2890
3040
  contextLoader?: DocumentLoader;
2891
3041
  tracerProvider?: TracerProvider;
3042
+ baseUrl?: URL;
2892
3043
  }): Promise<Announce>;
2893
3044
  protected _getCustomInspectProxy(): Record<string, unknown>;
2894
3045
  }
@@ -2900,6 +3051,10 @@ declare class Application extends Object$1 {
2900
3051
  * The type URI of {@link Application}: `https://www.w3.org/ns/activitystreams#Application`.
2901
3052
  */
2902
3053
  static get typeId(): URL;
3054
+ /**
3055
+ * The base URL used for resolving relative URLs in this object.
3056
+ */
3057
+ get baseUrl(): URL | undefined;
2903
3058
  /**
2904
3059
  * Constructs a new instance of Application with the given values.
2905
3060
  * @param values The values to initialize the instance with.
@@ -2986,6 +3141,7 @@ declare class Application extends Object$1 {
2986
3141
  documentLoader?: DocumentLoader;
2987
3142
  contextLoader?: DocumentLoader;
2988
3143
  tracerProvider?: TracerProvider;
3144
+ baseUrl?: URL;
2989
3145
  });
2990
3146
  /**
2991
3147
  * Clones this instance, optionally updating it with the given values.
@@ -3095,6 +3251,7 @@ declare class Application extends Object$1 {
3095
3251
  contextLoader?: DocumentLoader;
3096
3252
  suppressError?: boolean;
3097
3253
  tracerProvider?: TracerProvider;
3254
+ baseUrl?: URL;
3098
3255
  }): Promise<CryptographicKey | null>;
3099
3256
  /**
3100
3257
  * Similar to
@@ -3109,6 +3266,7 @@ declare class Application extends Object$1 {
3109
3266
  contextLoader?: DocumentLoader;
3110
3267
  suppressError?: boolean;
3111
3268
  tracerProvider?: TracerProvider;
3269
+ baseUrl?: URL;
3112
3270
  }): AsyncIterable<CryptographicKey>;
3113
3271
  /**
3114
3272
  * Similar to
@@ -3126,6 +3284,7 @@ declare class Application extends Object$1 {
3126
3284
  contextLoader?: DocumentLoader;
3127
3285
  suppressError?: boolean;
3128
3286
  tracerProvider?: TracerProvider;
3287
+ baseUrl?: URL;
3129
3288
  }): Promise<Multikey | null>;
3130
3289
  /**
3131
3290
  * Similar to
@@ -3143,6 +3302,7 @@ declare class Application extends Object$1 {
3143
3302
  contextLoader?: DocumentLoader;
3144
3303
  suppressError?: boolean;
3145
3304
  tracerProvider?: TracerProvider;
3305
+ baseUrl?: URL;
3146
3306
  }): AsyncIterable<Multikey>;
3147
3307
  /** When `true`, conveys that for this actor, follow requests are not usually
3148
3308
  * automatically approved, but instead are examined by a person who may accept
@@ -3177,6 +3337,7 @@ declare class Application extends Object$1 {
3177
3337
  contextLoader?: DocumentLoader;
3178
3338
  suppressError?: boolean;
3179
3339
  tracerProvider?: TracerProvider;
3340
+ baseUrl?: URL;
3180
3341
  }): Promise<OrderedCollection | OrderedCollectionPage | null>;
3181
3342
  /**
3182
3343
  * Similar to
@@ -3200,6 +3361,7 @@ declare class Application extends Object$1 {
3200
3361
  contextLoader?: DocumentLoader;
3201
3362
  suppressError?: boolean;
3202
3363
  tracerProvider?: TracerProvider;
3364
+ baseUrl?: URL;
3203
3365
  }): Promise<OrderedCollection | OrderedCollectionPage | null>;
3204
3366
  /**
3205
3367
  * Similar to
@@ -3218,6 +3380,7 @@ declare class Application extends Object$1 {
3218
3380
  contextLoader?: DocumentLoader;
3219
3381
  suppressError?: boolean;
3220
3382
  tracerProvider?: TracerProvider;
3383
+ baseUrl?: URL;
3221
3384
  }): Promise<Collection | null>;
3222
3385
  /**
3223
3386
  * Similar to
@@ -3239,6 +3402,7 @@ declare class Application extends Object$1 {
3239
3402
  contextLoader?: DocumentLoader;
3240
3403
  suppressError?: boolean;
3241
3404
  tracerProvider?: TracerProvider;
3405
+ baseUrl?: URL;
3242
3406
  }): Promise<Collection | null>;
3243
3407
  /**
3244
3408
  * Similar to
@@ -3258,6 +3422,7 @@ declare class Application extends Object$1 {
3258
3422
  contextLoader?: DocumentLoader;
3259
3423
  suppressError?: boolean;
3260
3424
  tracerProvider?: TracerProvider;
3425
+ baseUrl?: URL;
3261
3426
  }): Promise<Collection | null>;
3262
3427
  /**
3263
3428
  * Similar to
@@ -3275,6 +3440,7 @@ declare class Application extends Object$1 {
3275
3440
  contextLoader?: DocumentLoader;
3276
3441
  suppressError?: boolean;
3277
3442
  tracerProvider?: TracerProvider;
3443
+ baseUrl?: URL;
3278
3444
  }): Promise<Collection | null>;
3279
3445
  /**
3280
3446
  * Similar to
@@ -3292,6 +3458,7 @@ declare class Application extends Object$1 {
3292
3458
  contextLoader?: DocumentLoader;
3293
3459
  suppressError?: boolean;
3294
3460
  tracerProvider?: TracerProvider;
3461
+ baseUrl?: URL;
3295
3462
  }): Promise<Collection | null>;
3296
3463
  /**
3297
3464
  * Similar to
@@ -3306,6 +3473,7 @@ declare class Application extends Object$1 {
3306
3473
  contextLoader?: DocumentLoader;
3307
3474
  suppressError?: boolean;
3308
3475
  tracerProvider?: TracerProvider;
3476
+ baseUrl?: URL;
3309
3477
  }): AsyncIterable<Collection>;
3310
3478
  /** A JSON object which maps additional (typically server/domain-wide) endpoints
3311
3479
  * which may be useful either for this actor or someone referencing this actor.
@@ -3342,6 +3510,7 @@ declare class Application extends Object$1 {
3342
3510
  contextLoader?: DocumentLoader;
3343
3511
  suppressError?: boolean;
3344
3512
  tracerProvider?: TracerProvider;
3513
+ baseUrl?: URL;
3345
3514
  }): Promise<Application | Group | Organization | Person | Service | null>;
3346
3515
  /**
3347
3516
  * Similar to
@@ -3359,6 +3528,7 @@ declare class Application extends Object$1 {
3359
3528
  contextLoader?: DocumentLoader;
3360
3529
  suppressError?: boolean;
3361
3530
  tracerProvider?: TracerProvider;
3531
+ baseUrl?: URL;
3362
3532
  }): Promise<Application | Group | Organization | Person | Service | null>;
3363
3533
  /**
3364
3534
  * Similar to
@@ -3376,6 +3546,7 @@ declare class Application extends Object$1 {
3376
3546
  contextLoader?: DocumentLoader;
3377
3547
  suppressError?: boolean;
3378
3548
  tracerProvider?: TracerProvider;
3549
+ baseUrl?: URL;
3379
3550
  }): AsyncIterable<Application | Group | Organization | Person | Service>;
3380
3551
  /**
3381
3552
  * Similar to
@@ -3393,6 +3564,7 @@ declare class Application extends Object$1 {
3393
3564
  contextLoader?: DocumentLoader;
3394
3565
  suppressError?: boolean;
3395
3566
  tracerProvider?: TracerProvider;
3567
+ baseUrl?: URL;
3396
3568
  }): Promise<DidService | null>;
3397
3569
  /**
3398
3570
  * Similar to
@@ -3410,6 +3582,7 @@ declare class Application extends Object$1 {
3410
3582
  contextLoader?: DocumentLoader;
3411
3583
  suppressError?: boolean;
3412
3584
  tracerProvider?: TracerProvider;
3585
+ baseUrl?: URL;
3413
3586
  }): AsyncIterable<DidService>;
3414
3587
  /** This value is used for `Actor` type objects to show message on followed.
3415
3588
  */
@@ -3451,11 +3624,13 @@ declare class Application extends Object$1 {
3451
3624
  documentLoader?: DocumentLoader;
3452
3625
  contextLoader?: DocumentLoader;
3453
3626
  tracerProvider?: TracerProvider;
3627
+ baseUrl?: URL;
3454
3628
  }): Promise<Application>;
3455
3629
  protected static __fromJsonLd__Application__(json: unknown, span: Span, options?: {
3456
3630
  documentLoader?: DocumentLoader;
3457
3631
  contextLoader?: DocumentLoader;
3458
3632
  tracerProvider?: TracerProvider;
3633
+ baseUrl?: URL;
3459
3634
  }): Promise<Application>;
3460
3635
  protected _getCustomInspectProxy(): Record<string, unknown>;
3461
3636
  }
@@ -3468,6 +3643,10 @@ declare class IntransitiveActivity extends Activity {
3468
3643
  * The type URI of {@link IntransitiveActivity}: `https://www.w3.org/ns/activitystreams#IntransitiveActivity`.
3469
3644
  */
3470
3645
  static get typeId(): URL;
3646
+ /**
3647
+ * The base URL used for resolving relative URLs in this object.
3648
+ */
3649
+ get baseUrl(): URL | undefined;
3471
3650
  /**
3472
3651
  * Constructs a new instance of IntransitiveActivity with the given values.
3473
3652
  * @param values The values to initialize the instance with.
@@ -3539,6 +3718,7 @@ declare class IntransitiveActivity extends Activity {
3539
3718
  documentLoader?: DocumentLoader;
3540
3719
  contextLoader?: DocumentLoader;
3541
3720
  tracerProvider?: TracerProvider;
3721
+ baseUrl?: URL;
3542
3722
  });
3543
3723
  /**
3544
3724
  * Clones this instance, optionally updating it with the given values.
@@ -3643,11 +3823,13 @@ declare class IntransitiveActivity extends Activity {
3643
3823
  documentLoader?: DocumentLoader;
3644
3824
  contextLoader?: DocumentLoader;
3645
3825
  tracerProvider?: TracerProvider;
3826
+ baseUrl?: URL;
3646
3827
  }): Promise<IntransitiveActivity>;
3647
3828
  protected static __fromJsonLd__IntransitiveActivity__(json: unknown, span: Span, options?: {
3648
3829
  documentLoader?: DocumentLoader;
3649
3830
  contextLoader?: DocumentLoader;
3650
3831
  tracerProvider?: TracerProvider;
3832
+ baseUrl?: URL;
3651
3833
  }): Promise<IntransitiveActivity>;
3652
3834
  protected _getCustomInspectProxy(): Record<string, unknown>;
3653
3835
  }
@@ -3660,6 +3842,10 @@ declare class Arrive extends IntransitiveActivity {
3660
3842
  * The type URI of {@link Arrive}: `https://www.w3.org/ns/activitystreams#Arrive`.
3661
3843
  */
3662
3844
  static get typeId(): URL;
3845
+ /**
3846
+ * The base URL used for resolving relative URLs in this object.
3847
+ */
3848
+ get baseUrl(): URL | undefined;
3663
3849
  /**
3664
3850
  * Constructs a new instance of Arrive with the given values.
3665
3851
  * @param values The values to initialize the instance with.
@@ -3731,6 +3917,7 @@ declare class Arrive extends IntransitiveActivity {
3731
3917
  documentLoader?: DocumentLoader;
3732
3918
  contextLoader?: DocumentLoader;
3733
3919
  tracerProvider?: TracerProvider;
3920
+ baseUrl?: URL;
3734
3921
  });
3735
3922
  /**
3736
3923
  * Clones this instance, optionally updating it with the given values.
@@ -3835,11 +4022,13 @@ declare class Arrive extends IntransitiveActivity {
3835
4022
  documentLoader?: DocumentLoader;
3836
4023
  contextLoader?: DocumentLoader;
3837
4024
  tracerProvider?: TracerProvider;
4025
+ baseUrl?: URL;
3838
4026
  }): Promise<Arrive>;
3839
4027
  protected static __fromJsonLd__Arrive__(json: unknown, span: Span, options?: {
3840
4028
  documentLoader?: DocumentLoader;
3841
4029
  contextLoader?: DocumentLoader;
3842
4030
  tracerProvider?: TracerProvider;
4031
+ baseUrl?: URL;
3843
4032
  }): Promise<Arrive>;
3844
4033
  protected _getCustomInspectProxy(): Record<string, unknown>;
3845
4034
  }
@@ -3851,6 +4040,10 @@ declare class Article extends Object$1 {
3851
4040
  * The type URI of {@link Article}: `https://www.w3.org/ns/activitystreams#Article`.
3852
4041
  */
3853
4042
  static get typeId(): URL;
4043
+ /**
4044
+ * The base URL used for resolving relative URLs in this object.
4045
+ */
4046
+ get baseUrl(): URL | undefined;
3854
4047
  /**
3855
4048
  * Constructs a new instance of Article with the given values.
3856
4049
  * @param values The values to initialize the instance with.
@@ -3911,6 +4104,7 @@ declare class Article extends Object$1 {
3911
4104
  documentLoader?: DocumentLoader;
3912
4105
  contextLoader?: DocumentLoader;
3913
4106
  tracerProvider?: TracerProvider;
4107
+ baseUrl?: URL;
3914
4108
  });
3915
4109
  /**
3916
4110
  * Clones this instance, optionally updating it with the given values.
@@ -4016,11 +4210,13 @@ declare class Article extends Object$1 {
4016
4210
  documentLoader?: DocumentLoader;
4017
4211
  contextLoader?: DocumentLoader;
4018
4212
  tracerProvider?: TracerProvider;
4213
+ baseUrl?: URL;
4019
4214
  }): Promise<Article>;
4020
4215
  protected static __fromJsonLd__Article__(json: unknown, span: Span, options?: {
4021
4216
  documentLoader?: DocumentLoader;
4022
4217
  contextLoader?: DocumentLoader;
4023
4218
  tracerProvider?: TracerProvider;
4219
+ baseUrl?: URL;
4024
4220
  }): Promise<Article>;
4025
4221
  protected _getCustomInspectProxy(): Record<string, unknown>;
4026
4222
  }
@@ -4032,6 +4228,10 @@ declare class Document extends Object$1 {
4032
4228
  * The type URI of {@link Document}: `https://www.w3.org/ns/activitystreams#Document`.
4033
4229
  */
4034
4230
  static get typeId(): URL;
4231
+ /**
4232
+ * The base URL used for resolving relative URLs in this object.
4233
+ */
4234
+ get baseUrl(): URL | undefined;
4035
4235
  /**
4036
4236
  * Constructs a new instance of Document with the given values.
4037
4237
  * @param values The values to initialize the instance with.
@@ -4093,6 +4293,7 @@ declare class Document extends Object$1 {
4093
4293
  documentLoader?: DocumentLoader;
4094
4294
  contextLoader?: DocumentLoader;
4095
4295
  tracerProvider?: TracerProvider;
4296
+ baseUrl?: URL;
4096
4297
  });
4097
4298
  /**
4098
4299
  * Clones this instance, optionally updating it with the given values.
@@ -4195,11 +4396,13 @@ declare class Document extends Object$1 {
4195
4396
  documentLoader?: DocumentLoader;
4196
4397
  contextLoader?: DocumentLoader;
4197
4398
  tracerProvider?: TracerProvider;
4399
+ baseUrl?: URL;
4198
4400
  }): Promise<Document>;
4199
4401
  protected static __fromJsonLd__Document__(json: unknown, span: Span, options?: {
4200
4402
  documentLoader?: DocumentLoader;
4201
4403
  contextLoader?: DocumentLoader;
4202
4404
  tracerProvider?: TracerProvider;
4405
+ baseUrl?: URL;
4203
4406
  }): Promise<Document>;
4204
4407
  protected _getCustomInspectProxy(): Record<string, unknown>;
4205
4408
  }
@@ -4210,6 +4413,10 @@ declare class Audio extends Document {
4210
4413
  * The type URI of {@link Audio}: `https://www.w3.org/ns/activitystreams#Audio`.
4211
4414
  */
4212
4415
  static get typeId(): URL;
4416
+ /**
4417
+ * The base URL used for resolving relative URLs in this object.
4418
+ */
4419
+ get baseUrl(): URL | undefined;
4213
4420
  /**
4214
4421
  * Constructs a new instance of Audio with the given values.
4215
4422
  * @param values The values to initialize the instance with.
@@ -4271,6 +4478,7 @@ declare class Audio extends Document {
4271
4478
  documentLoader?: DocumentLoader;
4272
4479
  contextLoader?: DocumentLoader;
4273
4480
  tracerProvider?: TracerProvider;
4481
+ baseUrl?: URL;
4274
4482
  });
4275
4483
  /**
4276
4484
  * Clones this instance, optionally updating it with the given values.
@@ -4365,11 +4573,13 @@ declare class Audio extends Document {
4365
4573
  documentLoader?: DocumentLoader;
4366
4574
  contextLoader?: DocumentLoader;
4367
4575
  tracerProvider?: TracerProvider;
4576
+ baseUrl?: URL;
4368
4577
  }): Promise<Audio>;
4369
4578
  protected static __fromJsonLd__Audio__(json: unknown, span: Span, options?: {
4370
4579
  documentLoader?: DocumentLoader;
4371
4580
  contextLoader?: DocumentLoader;
4372
4581
  tracerProvider?: TracerProvider;
4582
+ baseUrl?: URL;
4373
4583
  }): Promise<Audio>;
4374
4584
  protected _getCustomInspectProxy(): Record<string, unknown>;
4375
4585
  }
@@ -4381,6 +4591,10 @@ declare class Ignore extends Activity {
4381
4591
  * The type URI of {@link Ignore}: `https://www.w3.org/ns/activitystreams#Ignore`.
4382
4592
  */
4383
4593
  static get typeId(): URL;
4594
+ /**
4595
+ * The base URL used for resolving relative URLs in this object.
4596
+ */
4597
+ get baseUrl(): URL | undefined;
4384
4598
  /**
4385
4599
  * Constructs a new instance of Ignore with the given values.
4386
4600
  * @param values The values to initialize the instance with.
@@ -4452,6 +4666,7 @@ declare class Ignore extends Activity {
4452
4666
  documentLoader?: DocumentLoader;
4453
4667
  contextLoader?: DocumentLoader;
4454
4668
  tracerProvider?: TracerProvider;
4669
+ baseUrl?: URL;
4455
4670
  });
4456
4671
  /**
4457
4672
  * Clones this instance, optionally updating it with the given values.
@@ -4556,11 +4771,13 @@ declare class Ignore extends Activity {
4556
4771
  documentLoader?: DocumentLoader;
4557
4772
  contextLoader?: DocumentLoader;
4558
4773
  tracerProvider?: TracerProvider;
4774
+ baseUrl?: URL;
4559
4775
  }): Promise<Ignore>;
4560
4776
  protected static __fromJsonLd__Ignore__(json: unknown, span: Span, options?: {
4561
4777
  documentLoader?: DocumentLoader;
4562
4778
  contextLoader?: DocumentLoader;
4563
4779
  tracerProvider?: TracerProvider;
4780
+ baseUrl?: URL;
4564
4781
  }): Promise<Ignore>;
4565
4782
  protected _getCustomInspectProxy(): Record<string, unknown>;
4566
4783
  }
@@ -4574,6 +4791,10 @@ declare class Block extends Ignore {
4574
4791
  * The type URI of {@link Block}: `https://www.w3.org/ns/activitystreams#Block`.
4575
4792
  */
4576
4793
  static get typeId(): URL;
4794
+ /**
4795
+ * The base URL used for resolving relative URLs in this object.
4796
+ */
4797
+ get baseUrl(): URL | undefined;
4577
4798
  /**
4578
4799
  * Constructs a new instance of Block with the given values.
4579
4800
  * @param values The values to initialize the instance with.
@@ -4645,6 +4866,7 @@ declare class Block extends Ignore {
4645
4866
  documentLoader?: DocumentLoader;
4646
4867
  contextLoader?: DocumentLoader;
4647
4868
  tracerProvider?: TracerProvider;
4869
+ baseUrl?: URL;
4648
4870
  });
4649
4871
  /**
4650
4872
  * Clones this instance, optionally updating it with the given values.
@@ -4749,11 +4971,13 @@ declare class Block extends Ignore {
4749
4971
  documentLoader?: DocumentLoader;
4750
4972
  contextLoader?: DocumentLoader;
4751
4973
  tracerProvider?: TracerProvider;
4974
+ baseUrl?: URL;
4752
4975
  }): Promise<Block>;
4753
4976
  protected static __fromJsonLd__Block__(json: unknown, span: Span, options?: {
4754
4977
  documentLoader?: DocumentLoader;
4755
4978
  contextLoader?: DocumentLoader;
4756
4979
  tracerProvider?: TracerProvider;
4980
+ baseUrl?: URL;
4757
4981
  }): Promise<Block>;
4758
4982
  protected _getCustomInspectProxy(): Record<string, unknown>;
4759
4983
  }
@@ -4769,6 +4993,10 @@ declare class Collection extends Object$1 {
4769
4993
  * The type URI of {@link Collection}: `https://www.w3.org/ns/activitystreams#Collection`.
4770
4994
  */
4771
4995
  static get typeId(): URL;
4996
+ /**
4997
+ * The base URL used for resolving relative URLs in this object.
4998
+ */
4999
+ get baseUrl(): URL | undefined;
4772
5000
  /**
4773
5001
  * Constructs a new instance of Collection with the given values.
4774
5002
  * @param values The values to initialize the instance with.
@@ -4841,6 +5069,7 @@ declare class Collection extends Object$1 {
4841
5069
  documentLoader?: DocumentLoader;
4842
5070
  contextLoader?: DocumentLoader;
4843
5071
  tracerProvider?: TracerProvider;
5072
+ baseUrl?: URL;
4844
5073
  });
4845
5074
  /**
4846
5075
  * Clones this instance, optionally updating it with the given values.
@@ -4934,6 +5163,7 @@ declare class Collection extends Object$1 {
4934
5163
  contextLoader?: DocumentLoader;
4935
5164
  suppressError?: boolean;
4936
5165
  tracerProvider?: TracerProvider;
5166
+ baseUrl?: URL;
4937
5167
  }): Promise<CollectionPage | null>;
4938
5168
  /**
4939
5169
  * Similar to
@@ -4949,6 +5179,7 @@ declare class Collection extends Object$1 {
4949
5179
  contextLoader?: DocumentLoader;
4950
5180
  suppressError?: boolean;
4951
5181
  tracerProvider?: TracerProvider;
5182
+ baseUrl?: URL;
4952
5183
  }): Promise<CollectionPage | null>;
4953
5184
  /**
4954
5185
  * Similar to
@@ -4964,6 +5195,7 @@ declare class Collection extends Object$1 {
4964
5195
  contextLoader?: DocumentLoader;
4965
5196
  suppressError?: boolean;
4966
5197
  tracerProvider?: TracerProvider;
5198
+ baseUrl?: URL;
4967
5199
  }): Promise<CollectionPage | null>;
4968
5200
  /**
4969
5201
  * Similar to
@@ -4979,6 +5211,7 @@ declare class Collection extends Object$1 {
4979
5211
  contextLoader?: DocumentLoader;
4980
5212
  suppressError?: boolean;
4981
5213
  tracerProvider?: TracerProvider;
5214
+ baseUrl?: URL;
4982
5215
  }): AsyncIterable<Object$1 | Link>;
4983
5216
  /**
4984
5217
  * Similar to
@@ -4993,6 +5226,7 @@ declare class Collection extends Object$1 {
4993
5226
  contextLoader?: DocumentLoader;
4994
5227
  suppressError?: boolean;
4995
5228
  tracerProvider?: TracerProvider;
5229
+ baseUrl?: URL;
4996
5230
  }): Promise<Object$1 | null>;
4997
5231
  /**
4998
5232
  * Similar to
@@ -5007,6 +5241,7 @@ declare class Collection extends Object$1 {
5007
5241
  contextLoader?: DocumentLoader;
5008
5242
  suppressError?: boolean;
5009
5243
  tracerProvider?: TracerProvider;
5244
+ baseUrl?: URL;
5010
5245
  }): Promise<Object$1 | null>;
5011
5246
  /**
5012
5247
  * Similar to
@@ -5021,6 +5256,7 @@ declare class Collection extends Object$1 {
5021
5256
  contextLoader?: DocumentLoader;
5022
5257
  suppressError?: boolean;
5023
5258
  tracerProvider?: TracerProvider;
5259
+ baseUrl?: URL;
5024
5260
  }): Promise<Object$1 | null>;
5025
5261
  /**
5026
5262
  * Similar to
@@ -5035,6 +5271,7 @@ declare class Collection extends Object$1 {
5035
5271
  contextLoader?: DocumentLoader;
5036
5272
  suppressError?: boolean;
5037
5273
  tracerProvider?: TracerProvider;
5274
+ baseUrl?: URL;
5038
5275
  }): Promise<Object$1 | null>;
5039
5276
  /**
5040
5277
  * Similar to
@@ -5049,6 +5286,7 @@ declare class Collection extends Object$1 {
5049
5286
  contextLoader?: DocumentLoader;
5050
5287
  suppressError?: boolean;
5051
5288
  tracerProvider?: TracerProvider;
5289
+ baseUrl?: URL;
5052
5290
  }): Promise<Object$1 | null>;
5053
5291
  /**
5054
5292
  * Similar to
@@ -5063,6 +5301,7 @@ declare class Collection extends Object$1 {
5063
5301
  contextLoader?: DocumentLoader;
5064
5302
  suppressError?: boolean;
5065
5303
  tracerProvider?: TracerProvider;
5304
+ baseUrl?: URL;
5066
5305
  }): Promise<Object$1 | null>;
5067
5306
  /**
5068
5307
  * Similar to
@@ -5077,6 +5316,7 @@ declare class Collection extends Object$1 {
5077
5316
  contextLoader?: DocumentLoader;
5078
5317
  suppressError?: boolean;
5079
5318
  tracerProvider?: TracerProvider;
5319
+ baseUrl?: URL;
5080
5320
  }): Promise<Object$1 | null>;
5081
5321
  /**
5082
5322
  * Similar to
@@ -5091,6 +5331,7 @@ declare class Collection extends Object$1 {
5091
5331
  contextLoader?: DocumentLoader;
5092
5332
  suppressError?: boolean;
5093
5333
  tracerProvider?: TracerProvider;
5334
+ baseUrl?: URL;
5094
5335
  }): Promise<Object$1 | null>;
5095
5336
  /**
5096
5337
  * Converts this object to a JSON-LD structure.
@@ -5123,11 +5364,13 @@ declare class Collection extends Object$1 {
5123
5364
  documentLoader?: DocumentLoader;
5124
5365
  contextLoader?: DocumentLoader;
5125
5366
  tracerProvider?: TracerProvider;
5367
+ baseUrl?: URL;
5126
5368
  }): Promise<Collection>;
5127
5369
  protected static __fromJsonLd__Collection__(json: unknown, span: Span, options?: {
5128
5370
  documentLoader?: DocumentLoader;
5129
5371
  contextLoader?: DocumentLoader;
5130
5372
  tracerProvider?: TracerProvider;
5373
+ baseUrl?: URL;
5131
5374
  }): Promise<Collection>;
5132
5375
  protected _getCustomInspectProxy(): Record<string, unknown>;
5133
5376
  }
@@ -5141,6 +5384,10 @@ declare class CollectionPage extends Collection {
5141
5384
  * The type URI of {@link CollectionPage}: `https://www.w3.org/ns/activitystreams#CollectionPage`.
5142
5385
  */
5143
5386
  static get typeId(): URL;
5387
+ /**
5388
+ * The base URL used for resolving relative URLs in this object.
5389
+ */
5390
+ get baseUrl(): URL | undefined;
5144
5391
  /**
5145
5392
  * Constructs a new instance of CollectionPage with the given values.
5146
5393
  * @param values The values to initialize the instance with.
@@ -5216,6 +5463,7 @@ declare class CollectionPage extends Collection {
5216
5463
  documentLoader?: DocumentLoader;
5217
5464
  contextLoader?: DocumentLoader;
5218
5465
  tracerProvider?: TracerProvider;
5466
+ baseUrl?: URL;
5219
5467
  });
5220
5468
  /**
5221
5469
  * Clones this instance, optionally updating it with the given values.
@@ -5307,6 +5555,7 @@ declare class CollectionPage extends Collection {
5307
5555
  contextLoader?: DocumentLoader;
5308
5556
  suppressError?: boolean;
5309
5557
  tracerProvider?: TracerProvider;
5558
+ baseUrl?: URL;
5310
5559
  }): Promise<Collection | null>;
5311
5560
  /**
5312
5561
  * Similar to
@@ -5321,6 +5570,7 @@ declare class CollectionPage extends Collection {
5321
5570
  contextLoader?: DocumentLoader;
5322
5571
  suppressError?: boolean;
5323
5572
  tracerProvider?: TracerProvider;
5573
+ baseUrl?: URL;
5324
5574
  }): Promise<CollectionPage | null>;
5325
5575
  /**
5326
5576
  * Similar to
@@ -5335,6 +5585,7 @@ declare class CollectionPage extends Collection {
5335
5585
  contextLoader?: DocumentLoader;
5336
5586
  suppressError?: boolean;
5337
5587
  tracerProvider?: TracerProvider;
5588
+ baseUrl?: URL;
5338
5589
  }): Promise<CollectionPage | null>;
5339
5590
  /**
5340
5591
  * Converts this object to a JSON-LD structure.
@@ -5367,11 +5618,13 @@ declare class CollectionPage extends Collection {
5367
5618
  documentLoader?: DocumentLoader;
5368
5619
  contextLoader?: DocumentLoader;
5369
5620
  tracerProvider?: TracerProvider;
5621
+ baseUrl?: URL;
5370
5622
  }): Promise<CollectionPage>;
5371
5623
  protected static __fromJsonLd__CollectionPage__(json: unknown, span: Span, options?: {
5372
5624
  documentLoader?: DocumentLoader;
5373
5625
  contextLoader?: DocumentLoader;
5374
5626
  tracerProvider?: TracerProvider;
5627
+ baseUrl?: URL;
5375
5628
  }): Promise<CollectionPage>;
5376
5629
  protected _getCustomInspectProxy(): Record<string, unknown>;
5377
5630
  }
@@ -5382,6 +5635,10 @@ declare class Create extends Activity {
5382
5635
  * The type URI of {@link Create}: `https://www.w3.org/ns/activitystreams#Create`.
5383
5636
  */
5384
5637
  static get typeId(): URL;
5638
+ /**
5639
+ * The base URL used for resolving relative URLs in this object.
5640
+ */
5641
+ get baseUrl(): URL | undefined;
5385
5642
  /**
5386
5643
  * Constructs a new instance of Create with the given values.
5387
5644
  * @param values The values to initialize the instance with.
@@ -5453,6 +5710,7 @@ declare class Create extends Activity {
5453
5710
  documentLoader?: DocumentLoader;
5454
5711
  contextLoader?: DocumentLoader;
5455
5712
  tracerProvider?: TracerProvider;
5713
+ baseUrl?: URL;
5456
5714
  });
5457
5715
  /**
5458
5716
  * Clones this instance, optionally updating it with the given values.
@@ -5557,11 +5815,13 @@ declare class Create extends Activity {
5557
5815
  documentLoader?: DocumentLoader;
5558
5816
  contextLoader?: DocumentLoader;
5559
5817
  tracerProvider?: TracerProvider;
5818
+ baseUrl?: URL;
5560
5819
  }): Promise<Create>;
5561
5820
  protected static __fromJsonLd__Create__(json: unknown, span: Span, options?: {
5562
5821
  documentLoader?: DocumentLoader;
5563
5822
  contextLoader?: DocumentLoader;
5564
5823
  tracerProvider?: TracerProvider;
5824
+ baseUrl?: URL;
5565
5825
  }): Promise<Create>;
5566
5826
  protected _getCustomInspectProxy(): Record<string, unknown>;
5567
5827
  }
@@ -5573,6 +5833,10 @@ declare class Delete extends Activity {
5573
5833
  * The type URI of {@link Delete}: `https://www.w3.org/ns/activitystreams#Delete`.
5574
5834
  */
5575
5835
  static get typeId(): URL;
5836
+ /**
5837
+ * The base URL used for resolving relative URLs in this object.
5838
+ */
5839
+ get baseUrl(): URL | undefined;
5576
5840
  /**
5577
5841
  * Constructs a new instance of Delete with the given values.
5578
5842
  * @param values The values to initialize the instance with.
@@ -5644,6 +5908,7 @@ declare class Delete extends Activity {
5644
5908
  documentLoader?: DocumentLoader;
5645
5909
  contextLoader?: DocumentLoader;
5646
5910
  tracerProvider?: TracerProvider;
5911
+ baseUrl?: URL;
5647
5912
  });
5648
5913
  /**
5649
5914
  * Clones this instance, optionally updating it with the given values.
@@ -5748,11 +6013,13 @@ declare class Delete extends Activity {
5748
6013
  documentLoader?: DocumentLoader;
5749
6014
  contextLoader?: DocumentLoader;
5750
6015
  tracerProvider?: TracerProvider;
6016
+ baseUrl?: URL;
5751
6017
  }): Promise<Delete>;
5752
6018
  protected static __fromJsonLd__Delete__(json: unknown, span: Span, options?: {
5753
6019
  documentLoader?: DocumentLoader;
5754
6020
  contextLoader?: DocumentLoader;
5755
6021
  tracerProvider?: TracerProvider;
6022
+ baseUrl?: URL;
5756
6023
  }): Promise<Delete>;
5757
6024
  protected _getCustomInspectProxy(): Record<string, unknown>;
5758
6025
  }
@@ -5763,6 +6030,10 @@ declare class Dislike extends Activity {
5763
6030
  * The type URI of {@link Dislike}: `https://www.w3.org/ns/activitystreams#Dislike`.
5764
6031
  */
5765
6032
  static get typeId(): URL;
6033
+ /**
6034
+ * The base URL used for resolving relative URLs in this object.
6035
+ */
6036
+ get baseUrl(): URL | undefined;
5766
6037
  /**
5767
6038
  * Constructs a new instance of Dislike with the given values.
5768
6039
  * @param values The values to initialize the instance with.
@@ -5834,6 +6105,7 @@ declare class Dislike extends Activity {
5834
6105
  documentLoader?: DocumentLoader;
5835
6106
  contextLoader?: DocumentLoader;
5836
6107
  tracerProvider?: TracerProvider;
6108
+ baseUrl?: URL;
5837
6109
  });
5838
6110
  /**
5839
6111
  * Clones this instance, optionally updating it with the given values.
@@ -5938,11 +6210,13 @@ declare class Dislike extends Activity {
5938
6210
  documentLoader?: DocumentLoader;
5939
6211
  contextLoader?: DocumentLoader;
5940
6212
  tracerProvider?: TracerProvider;
6213
+ baseUrl?: URL;
5941
6214
  }): Promise<Dislike>;
5942
6215
  protected static __fromJsonLd__Dislike__(json: unknown, span: Span, options?: {
5943
6216
  documentLoader?: DocumentLoader;
5944
6217
  contextLoader?: DocumentLoader;
5945
6218
  tracerProvider?: TracerProvider;
6219
+ baseUrl?: URL;
5946
6220
  }): Promise<Dislike>;
5947
6221
  protected _getCustomInspectProxy(): Record<string, unknown>;
5948
6222
  }
@@ -5950,6 +6224,7 @@ declare class Dislike extends Activity {
5950
6224
  */
5951
6225
  declare class Endpoints {
5952
6226
  #private;
6227
+ protected readonly _baseUrl?: URL;
5953
6228
  readonly id: URL | null;
5954
6229
  protected get _documentLoader(): DocumentLoader | undefined;
5955
6230
  protected get _contextLoader(): DocumentLoader | undefined;
@@ -5965,6 +6240,10 @@ declare class Endpoints {
5965
6240
  * The type URI of {@link Endpoints}: `https://www.w3.org/ns/activitystreams#Endpoints`.
5966
6241
  */
5967
6242
  static get typeId(): URL;
6243
+ /**
6244
+ * The base URL used for resolving relative URLs in this object.
6245
+ */
6246
+ get baseUrl(): URL | undefined;
5968
6247
  /**
5969
6248
  * Constructs a new instance of Endpoints with the given values.
5970
6249
  * @param values The values to initialize the instance with.
@@ -5982,6 +6261,7 @@ declare class Endpoints {
5982
6261
  documentLoader?: DocumentLoader;
5983
6262
  contextLoader?: DocumentLoader;
5984
6263
  tracerProvider?: TracerProvider;
6264
+ baseUrl?: URL;
5985
6265
  });
5986
6266
  /**
5987
6267
  * Clones this instance, optionally updating it with the given values.
@@ -6073,11 +6353,13 @@ declare class Endpoints {
6073
6353
  documentLoader?: DocumentLoader;
6074
6354
  contextLoader?: DocumentLoader;
6075
6355
  tracerProvider?: TracerProvider;
6356
+ baseUrl?: URL;
6076
6357
  }): Promise<Endpoints>;
6077
6358
  protected static __fromJsonLd__Endpoints__(json: unknown, span: Span, options?: {
6078
6359
  documentLoader?: DocumentLoader;
6079
6360
  contextLoader?: DocumentLoader;
6080
6361
  tracerProvider?: TracerProvider;
6362
+ baseUrl?: URL;
6081
6363
  }): Promise<Endpoints>;
6082
6364
  protected _getCustomInspectProxy(): Record<string, unknown>;
6083
6365
  }
@@ -6088,6 +6370,10 @@ declare class Event extends Object$1 {
6088
6370
  * The type URI of {@link Event}: `https://www.w3.org/ns/activitystreams#Event`.
6089
6371
  */
6090
6372
  static get typeId(): URL;
6373
+ /**
6374
+ * The base URL used for resolving relative URLs in this object.
6375
+ */
6376
+ get baseUrl(): URL | undefined;
6091
6377
  /**
6092
6378
  * Constructs a new instance of Event with the given values.
6093
6379
  * @param values The values to initialize the instance with.
@@ -6147,6 +6433,7 @@ declare class Event extends Object$1 {
6147
6433
  documentLoader?: DocumentLoader;
6148
6434
  contextLoader?: DocumentLoader;
6149
6435
  tracerProvider?: TracerProvider;
6436
+ baseUrl?: URL;
6150
6437
  });
6151
6438
  /**
6152
6439
  * Clones this instance, optionally updating it with the given values.
@@ -6239,11 +6526,13 @@ declare class Event extends Object$1 {
6239
6526
  documentLoader?: DocumentLoader;
6240
6527
  contextLoader?: DocumentLoader;
6241
6528
  tracerProvider?: TracerProvider;
6529
+ baseUrl?: URL;
6242
6530
  }): Promise<Event>;
6243
6531
  protected static __fromJsonLd__Event__(json: unknown, span: Span, options?: {
6244
6532
  documentLoader?: DocumentLoader;
6245
6533
  contextLoader?: DocumentLoader;
6246
6534
  tracerProvider?: TracerProvider;
6535
+ baseUrl?: URL;
6247
6536
  }): Promise<Event>;
6248
6537
  protected _getCustomInspectProxy(): Record<string, unknown>;
6249
6538
  }
@@ -6256,6 +6545,10 @@ declare class Flag extends Activity {
6256
6545
  * The type URI of {@link Flag}: `https://www.w3.org/ns/activitystreams#Flag`.
6257
6546
  */
6258
6547
  static get typeId(): URL;
6548
+ /**
6549
+ * The base URL used for resolving relative URLs in this object.
6550
+ */
6551
+ get baseUrl(): URL | undefined;
6259
6552
  /**
6260
6553
  * Constructs a new instance of Flag with the given values.
6261
6554
  * @param values The values to initialize the instance with.
@@ -6327,6 +6620,7 @@ declare class Flag extends Activity {
6327
6620
  documentLoader?: DocumentLoader;
6328
6621
  contextLoader?: DocumentLoader;
6329
6622
  tracerProvider?: TracerProvider;
6623
+ baseUrl?: URL;
6330
6624
  });
6331
6625
  /**
6332
6626
  * Clones this instance, optionally updating it with the given values.
@@ -6431,11 +6725,13 @@ declare class Flag extends Activity {
6431
6725
  documentLoader?: DocumentLoader;
6432
6726
  contextLoader?: DocumentLoader;
6433
6727
  tracerProvider?: TracerProvider;
6728
+ baseUrl?: URL;
6434
6729
  }): Promise<Flag>;
6435
6730
  protected static __fromJsonLd__Flag__(json: unknown, span: Span, options?: {
6436
6731
  documentLoader?: DocumentLoader;
6437
6732
  contextLoader?: DocumentLoader;
6438
6733
  tracerProvider?: TracerProvider;
6734
+ baseUrl?: URL;
6439
6735
  }): Promise<Flag>;
6440
6736
  protected _getCustomInspectProxy(): Record<string, unknown>;
6441
6737
  }
@@ -6449,6 +6745,10 @@ declare class Follow extends Activity {
6449
6745
  * The type URI of {@link Follow}: `https://www.w3.org/ns/activitystreams#Follow`.
6450
6746
  */
6451
6747
  static get typeId(): URL;
6748
+ /**
6749
+ * The base URL used for resolving relative URLs in this object.
6750
+ */
6751
+ get baseUrl(): URL | undefined;
6452
6752
  /**
6453
6753
  * Constructs a new instance of Follow with the given values.
6454
6754
  * @param values The values to initialize the instance with.
@@ -6520,6 +6820,7 @@ declare class Follow extends Activity {
6520
6820
  documentLoader?: DocumentLoader;
6521
6821
  contextLoader?: DocumentLoader;
6522
6822
  tracerProvider?: TracerProvider;
6823
+ baseUrl?: URL;
6523
6824
  });
6524
6825
  /**
6525
6826
  * Clones this instance, optionally updating it with the given values.
@@ -6624,11 +6925,13 @@ declare class Follow extends Activity {
6624
6925
  documentLoader?: DocumentLoader;
6625
6926
  contextLoader?: DocumentLoader;
6626
6927
  tracerProvider?: TracerProvider;
6928
+ baseUrl?: URL;
6627
6929
  }): Promise<Follow>;
6628
6930
  protected static __fromJsonLd__Follow__(json: unknown, span: Span, options?: {
6629
6931
  documentLoader?: DocumentLoader;
6630
6932
  contextLoader?: DocumentLoader;
6631
6933
  tracerProvider?: TracerProvider;
6934
+ baseUrl?: URL;
6632
6935
  }): Promise<Follow>;
6633
6936
  protected _getCustomInspectProxy(): Record<string, unknown>;
6634
6937
  }
@@ -6640,6 +6943,10 @@ declare class Group extends Object$1 {
6640
6943
  * The type URI of {@link Group}: `https://www.w3.org/ns/activitystreams#Group`.
6641
6944
  */
6642
6945
  static get typeId(): URL;
6946
+ /**
6947
+ * The base URL used for resolving relative URLs in this object.
6948
+ */
6949
+ get baseUrl(): URL | undefined;
6643
6950
  /**
6644
6951
  * Constructs a new instance of Group with the given values.
6645
6952
  * @param values The values to initialize the instance with.
@@ -6726,6 +7033,7 @@ declare class Group extends Object$1 {
6726
7033
  documentLoader?: DocumentLoader;
6727
7034
  contextLoader?: DocumentLoader;
6728
7035
  tracerProvider?: TracerProvider;
7036
+ baseUrl?: URL;
6729
7037
  });
6730
7038
  /**
6731
7039
  * Clones this instance, optionally updating it with the given values.
@@ -6835,6 +7143,7 @@ declare class Group extends Object$1 {
6835
7143
  contextLoader?: DocumentLoader;
6836
7144
  suppressError?: boolean;
6837
7145
  tracerProvider?: TracerProvider;
7146
+ baseUrl?: URL;
6838
7147
  }): Promise<CryptographicKey | null>;
6839
7148
  /**
6840
7149
  * Similar to
@@ -6849,6 +7158,7 @@ declare class Group extends Object$1 {
6849
7158
  contextLoader?: DocumentLoader;
6850
7159
  suppressError?: boolean;
6851
7160
  tracerProvider?: TracerProvider;
7161
+ baseUrl?: URL;
6852
7162
  }): AsyncIterable<CryptographicKey>;
6853
7163
  /**
6854
7164
  * Similar to
@@ -6866,6 +7176,7 @@ declare class Group extends Object$1 {
6866
7176
  contextLoader?: DocumentLoader;
6867
7177
  suppressError?: boolean;
6868
7178
  tracerProvider?: TracerProvider;
7179
+ baseUrl?: URL;
6869
7180
  }): Promise<Multikey | null>;
6870
7181
  /**
6871
7182
  * Similar to
@@ -6883,6 +7194,7 @@ declare class Group extends Object$1 {
6883
7194
  contextLoader?: DocumentLoader;
6884
7195
  suppressError?: boolean;
6885
7196
  tracerProvider?: TracerProvider;
7197
+ baseUrl?: URL;
6886
7198
  }): AsyncIterable<Multikey>;
6887
7199
  /** When `true`, conveys that for this actor, follow requests are not usually
6888
7200
  * automatically approved, but instead are examined by a person who may accept
@@ -6917,6 +7229,7 @@ declare class Group extends Object$1 {
6917
7229
  contextLoader?: DocumentLoader;
6918
7230
  suppressError?: boolean;
6919
7231
  tracerProvider?: TracerProvider;
7232
+ baseUrl?: URL;
6920
7233
  }): Promise<OrderedCollection | OrderedCollectionPage | null>;
6921
7234
  /**
6922
7235
  * Similar to
@@ -6940,6 +7253,7 @@ declare class Group extends Object$1 {
6940
7253
  contextLoader?: DocumentLoader;
6941
7254
  suppressError?: boolean;
6942
7255
  tracerProvider?: TracerProvider;
7256
+ baseUrl?: URL;
6943
7257
  }): Promise<OrderedCollection | OrderedCollectionPage | null>;
6944
7258
  /**
6945
7259
  * Similar to
@@ -6958,6 +7272,7 @@ declare class Group extends Object$1 {
6958
7272
  contextLoader?: DocumentLoader;
6959
7273
  suppressError?: boolean;
6960
7274
  tracerProvider?: TracerProvider;
7275
+ baseUrl?: URL;
6961
7276
  }): Promise<Collection | null>;
6962
7277
  /**
6963
7278
  * Similar to
@@ -6979,6 +7294,7 @@ declare class Group extends Object$1 {
6979
7294
  contextLoader?: DocumentLoader;
6980
7295
  suppressError?: boolean;
6981
7296
  tracerProvider?: TracerProvider;
7297
+ baseUrl?: URL;
6982
7298
  }): Promise<Collection | null>;
6983
7299
  /**
6984
7300
  * Similar to
@@ -6998,6 +7314,7 @@ declare class Group extends Object$1 {
6998
7314
  contextLoader?: DocumentLoader;
6999
7315
  suppressError?: boolean;
7000
7316
  tracerProvider?: TracerProvider;
7317
+ baseUrl?: URL;
7001
7318
  }): Promise<Collection | null>;
7002
7319
  /**
7003
7320
  * Similar to
@@ -7015,6 +7332,7 @@ declare class Group extends Object$1 {
7015
7332
  contextLoader?: DocumentLoader;
7016
7333
  suppressError?: boolean;
7017
7334
  tracerProvider?: TracerProvider;
7335
+ baseUrl?: URL;
7018
7336
  }): Promise<Collection | null>;
7019
7337
  /**
7020
7338
  * Similar to
@@ -7032,6 +7350,7 @@ declare class Group extends Object$1 {
7032
7350
  contextLoader?: DocumentLoader;
7033
7351
  suppressError?: boolean;
7034
7352
  tracerProvider?: TracerProvider;
7353
+ baseUrl?: URL;
7035
7354
  }): Promise<Collection | null>;
7036
7355
  /**
7037
7356
  * Similar to
@@ -7046,6 +7365,7 @@ declare class Group extends Object$1 {
7046
7365
  contextLoader?: DocumentLoader;
7047
7366
  suppressError?: boolean;
7048
7367
  tracerProvider?: TracerProvider;
7368
+ baseUrl?: URL;
7049
7369
  }): AsyncIterable<Collection>;
7050
7370
  /** A JSON object which maps additional (typically server/domain-wide) endpoints
7051
7371
  * which may be useful either for this actor or someone referencing this actor.
@@ -7082,6 +7402,7 @@ declare class Group extends Object$1 {
7082
7402
  contextLoader?: DocumentLoader;
7083
7403
  suppressError?: boolean;
7084
7404
  tracerProvider?: TracerProvider;
7405
+ baseUrl?: URL;
7085
7406
  }): Promise<Application | Group | Organization | Person | Service | null>;
7086
7407
  /**
7087
7408
  * Similar to
@@ -7099,6 +7420,7 @@ declare class Group extends Object$1 {
7099
7420
  contextLoader?: DocumentLoader;
7100
7421
  suppressError?: boolean;
7101
7422
  tracerProvider?: TracerProvider;
7423
+ baseUrl?: URL;
7102
7424
  }): Promise<Application | Group | Organization | Person | Service | null>;
7103
7425
  /**
7104
7426
  * Similar to
@@ -7116,6 +7438,7 @@ declare class Group extends Object$1 {
7116
7438
  contextLoader?: DocumentLoader;
7117
7439
  suppressError?: boolean;
7118
7440
  tracerProvider?: TracerProvider;
7441
+ baseUrl?: URL;
7119
7442
  }): AsyncIterable<Application | Group | Organization | Person | Service>;
7120
7443
  /**
7121
7444
  * Similar to
@@ -7133,6 +7456,7 @@ declare class Group extends Object$1 {
7133
7456
  contextLoader?: DocumentLoader;
7134
7457
  suppressError?: boolean;
7135
7458
  tracerProvider?: TracerProvider;
7459
+ baseUrl?: URL;
7136
7460
  }): Promise<DidService | null>;
7137
7461
  /**
7138
7462
  * Similar to
@@ -7150,6 +7474,7 @@ declare class Group extends Object$1 {
7150
7474
  contextLoader?: DocumentLoader;
7151
7475
  suppressError?: boolean;
7152
7476
  tracerProvider?: TracerProvider;
7477
+ baseUrl?: URL;
7153
7478
  }): AsyncIterable<DidService>;
7154
7479
  /** This value is used for `Actor` type objects to show message on followed.
7155
7480
  */
@@ -7191,11 +7516,13 @@ declare class Group extends Object$1 {
7191
7516
  documentLoader?: DocumentLoader;
7192
7517
  contextLoader?: DocumentLoader;
7193
7518
  tracerProvider?: TracerProvider;
7519
+ baseUrl?: URL;
7194
7520
  }): Promise<Group>;
7195
7521
  protected static __fromJsonLd__Group__(json: unknown, span: Span, options?: {
7196
7522
  documentLoader?: DocumentLoader;
7197
7523
  contextLoader?: DocumentLoader;
7198
7524
  tracerProvider?: TracerProvider;
7525
+ baseUrl?: URL;
7199
7526
  }): Promise<Group>;
7200
7527
  protected _getCustomInspectProxy(): Record<string, unknown>;
7201
7528
  }
@@ -7210,6 +7537,7 @@ declare class Group extends Object$1 {
7210
7537
  */
7211
7538
  declare class Link {
7212
7539
  #private;
7540
+ protected readonly _baseUrl?: URL;
7213
7541
  readonly id: URL | null;
7214
7542
  protected get _documentLoader(): DocumentLoader | undefined;
7215
7543
  protected get _contextLoader(): DocumentLoader | undefined;
@@ -7225,6 +7553,10 @@ declare class Link {
7225
7553
  * The type URI of {@link Link}: `https://www.w3.org/ns/activitystreams#Link`.
7226
7554
  */
7227
7555
  static get typeId(): URL;
7556
+ /**
7557
+ * The base URL used for resolving relative URLs in this object.
7558
+ */
7559
+ get baseUrl(): URL | undefined;
7228
7560
  /**
7229
7561
  * Constructs a new instance of Link with the given values.
7230
7562
  * @param values The values to initialize the instance with.
@@ -7246,6 +7578,7 @@ declare class Link {
7246
7578
  documentLoader?: DocumentLoader;
7247
7579
  contextLoader?: DocumentLoader;
7248
7580
  tracerProvider?: TracerProvider;
7581
+ baseUrl?: URL;
7249
7582
  });
7250
7583
  /**
7251
7584
  * Clones this instance, optionally updating it with the given values.
@@ -7327,6 +7660,7 @@ declare class Link {
7327
7660
  contextLoader?: DocumentLoader;
7328
7661
  suppressError?: boolean;
7329
7662
  tracerProvider?: TracerProvider;
7663
+ baseUrl?: URL;
7330
7664
  }): AsyncIterable<Link | Object$1>;
7331
7665
  /**
7332
7666
  * Converts this object to a JSON-LD structure.
@@ -7359,11 +7693,13 @@ declare class Link {
7359
7693
  documentLoader?: DocumentLoader;
7360
7694
  contextLoader?: DocumentLoader;
7361
7695
  tracerProvider?: TracerProvider;
7696
+ baseUrl?: URL;
7362
7697
  }): Promise<Link>;
7363
7698
  protected static __fromJsonLd__Link__(json: unknown, span: Span, options?: {
7364
7699
  documentLoader?: DocumentLoader;
7365
7700
  contextLoader?: DocumentLoader;
7366
7701
  tracerProvider?: TracerProvider;
7702
+ baseUrl?: URL;
7367
7703
  }): Promise<Link>;
7368
7704
  protected _getCustomInspectProxy(): Record<string, unknown>;
7369
7705
  }
@@ -7376,6 +7712,10 @@ declare class Hashtag extends Link {
7376
7712
  * The type URI of {@link Hashtag}: `https://www.w3.org/ns/activitystreams#Hashtag`.
7377
7713
  */
7378
7714
  static get typeId(): URL;
7715
+ /**
7716
+ * The base URL used for resolving relative URLs in this object.
7717
+ */
7718
+ get baseUrl(): URL | undefined;
7379
7719
  /**
7380
7720
  * Constructs a new instance of Hashtag with the given values.
7381
7721
  * @param values The values to initialize the instance with.
@@ -7397,6 +7737,7 @@ declare class Hashtag extends Link {
7397
7737
  documentLoader?: DocumentLoader;
7398
7738
  contextLoader?: DocumentLoader;
7399
7739
  tracerProvider?: TracerProvider;
7740
+ baseUrl?: URL;
7400
7741
  });
7401
7742
  /**
7402
7743
  * Clones this instance, optionally updating it with the given values.
@@ -7451,11 +7792,13 @@ declare class Hashtag extends Link {
7451
7792
  documentLoader?: DocumentLoader;
7452
7793
  contextLoader?: DocumentLoader;
7453
7794
  tracerProvider?: TracerProvider;
7795
+ baseUrl?: URL;
7454
7796
  }): Promise<Hashtag>;
7455
7797
  protected static __fromJsonLd__Hashtag__(json: unknown, span: Span, options?: {
7456
7798
  documentLoader?: DocumentLoader;
7457
7799
  contextLoader?: DocumentLoader;
7458
7800
  tracerProvider?: TracerProvider;
7801
+ baseUrl?: URL;
7459
7802
  }): Promise<Hashtag>;
7460
7803
  protected _getCustomInspectProxy(): Record<string, unknown>;
7461
7804
  }
@@ -7466,6 +7809,10 @@ declare class Image extends Document {
7466
7809
  * The type URI of {@link Image}: `https://www.w3.org/ns/activitystreams#Image`.
7467
7810
  */
7468
7811
  static get typeId(): URL;
7812
+ /**
7813
+ * The base URL used for resolving relative URLs in this object.
7814
+ */
7815
+ get baseUrl(): URL | undefined;
7469
7816
  /**
7470
7817
  * Constructs a new instance of Image with the given values.
7471
7818
  * @param values The values to initialize the instance with.
@@ -7527,6 +7874,7 @@ declare class Image extends Document {
7527
7874
  documentLoader?: DocumentLoader;
7528
7875
  contextLoader?: DocumentLoader;
7529
7876
  tracerProvider?: TracerProvider;
7877
+ baseUrl?: URL;
7530
7878
  });
7531
7879
  /**
7532
7880
  * Clones this instance, optionally updating it with the given values.
@@ -7621,11 +7969,13 @@ declare class Image extends Document {
7621
7969
  documentLoader?: DocumentLoader;
7622
7970
  contextLoader?: DocumentLoader;
7623
7971
  tracerProvider?: TracerProvider;
7972
+ baseUrl?: URL;
7624
7973
  }): Promise<Image>;
7625
7974
  protected static __fromJsonLd__Image__(json: unknown, span: Span, options?: {
7626
7975
  documentLoader?: DocumentLoader;
7627
7976
  contextLoader?: DocumentLoader;
7628
7977
  tracerProvider?: TracerProvider;
7978
+ baseUrl?: URL;
7629
7979
  }): Promise<Image>;
7630
7980
  protected _getCustomInspectProxy(): Record<string, unknown>;
7631
7981
  }
@@ -7638,6 +7988,10 @@ declare class Offer extends Activity {
7638
7988
  * The type URI of {@link Offer}: `https://www.w3.org/ns/activitystreams#Offer`.
7639
7989
  */
7640
7990
  static get typeId(): URL;
7991
+ /**
7992
+ * The base URL used for resolving relative URLs in this object.
7993
+ */
7994
+ get baseUrl(): URL | undefined;
7641
7995
  /**
7642
7996
  * Constructs a new instance of Offer with the given values.
7643
7997
  * @param values The values to initialize the instance with.
@@ -7709,6 +8063,7 @@ declare class Offer extends Activity {
7709
8063
  documentLoader?: DocumentLoader;
7710
8064
  contextLoader?: DocumentLoader;
7711
8065
  tracerProvider?: TracerProvider;
8066
+ baseUrl?: URL;
7712
8067
  });
7713
8068
  /**
7714
8069
  * Clones this instance, optionally updating it with the given values.
@@ -7813,11 +8168,13 @@ declare class Offer extends Activity {
7813
8168
  documentLoader?: DocumentLoader;
7814
8169
  contextLoader?: DocumentLoader;
7815
8170
  tracerProvider?: TracerProvider;
8171
+ baseUrl?: URL;
7816
8172
  }): Promise<Offer>;
7817
8173
  protected static __fromJsonLd__Offer__(json: unknown, span: Span, options?: {
7818
8174
  documentLoader?: DocumentLoader;
7819
8175
  contextLoader?: DocumentLoader;
7820
8176
  tracerProvider?: TracerProvider;
8177
+ baseUrl?: URL;
7821
8178
  }): Promise<Offer>;
7822
8179
  protected _getCustomInspectProxy(): Record<string, unknown>;
7823
8180
  }
@@ -7829,6 +8186,10 @@ declare class Invite extends Offer {
7829
8186
  * The type URI of {@link Invite}: `https://www.w3.org/ns/activitystreams#Invite`.
7830
8187
  */
7831
8188
  static get typeId(): URL;
8189
+ /**
8190
+ * The base URL used for resolving relative URLs in this object.
8191
+ */
8192
+ get baseUrl(): URL | undefined;
7832
8193
  /**
7833
8194
  * Constructs a new instance of Invite with the given values.
7834
8195
  * @param values The values to initialize the instance with.
@@ -7900,6 +8261,7 @@ declare class Invite extends Offer {
7900
8261
  documentLoader?: DocumentLoader;
7901
8262
  contextLoader?: DocumentLoader;
7902
8263
  tracerProvider?: TracerProvider;
8264
+ baseUrl?: URL;
7903
8265
  });
7904
8266
  /**
7905
8267
  * Clones this instance, optionally updating it with the given values.
@@ -8004,11 +8366,13 @@ declare class Invite extends Offer {
8004
8366
  documentLoader?: DocumentLoader;
8005
8367
  contextLoader?: DocumentLoader;
8006
8368
  tracerProvider?: TracerProvider;
8369
+ baseUrl?: URL;
8007
8370
  }): Promise<Invite>;
8008
8371
  protected static __fromJsonLd__Invite__(json: unknown, span: Span, options?: {
8009
8372
  documentLoader?: DocumentLoader;
8010
8373
  contextLoader?: DocumentLoader;
8011
8374
  tracerProvider?: TracerProvider;
8375
+ baseUrl?: URL;
8012
8376
  }): Promise<Invite>;
8013
8377
  protected _getCustomInspectProxy(): Record<string, unknown>;
8014
8378
  }
@@ -8020,6 +8384,10 @@ declare class Join extends Activity {
8020
8384
  * The type URI of {@link Join}: `https://www.w3.org/ns/activitystreams#Join`.
8021
8385
  */
8022
8386
  static get typeId(): URL;
8387
+ /**
8388
+ * The base URL used for resolving relative URLs in this object.
8389
+ */
8390
+ get baseUrl(): URL | undefined;
8023
8391
  /**
8024
8392
  * Constructs a new instance of Join with the given values.
8025
8393
  * @param values The values to initialize the instance with.
@@ -8091,6 +8459,7 @@ declare class Join extends Activity {
8091
8459
  documentLoader?: DocumentLoader;
8092
8460
  contextLoader?: DocumentLoader;
8093
8461
  tracerProvider?: TracerProvider;
8462
+ baseUrl?: URL;
8094
8463
  });
8095
8464
  /**
8096
8465
  * Clones this instance, optionally updating it with the given values.
@@ -8195,11 +8564,13 @@ declare class Join extends Activity {
8195
8564
  documentLoader?: DocumentLoader;
8196
8565
  contextLoader?: DocumentLoader;
8197
8566
  tracerProvider?: TracerProvider;
8567
+ baseUrl?: URL;
8198
8568
  }): Promise<Join>;
8199
8569
  protected static __fromJsonLd__Join__(json: unknown, span: Span, options?: {
8200
8570
  documentLoader?: DocumentLoader;
8201
8571
  contextLoader?: DocumentLoader;
8202
8572
  tracerProvider?: TracerProvider;
8573
+ baseUrl?: URL;
8203
8574
  }): Promise<Join>;
8204
8575
  protected _getCustomInspectProxy(): Record<string, unknown>;
8205
8576
  }
@@ -8211,6 +8582,10 @@ declare class Leave extends Activity {
8211
8582
  * The type URI of {@link Leave}: `https://www.w3.org/ns/activitystreams#Leave`.
8212
8583
  */
8213
8584
  static get typeId(): URL;
8585
+ /**
8586
+ * The base URL used for resolving relative URLs in this object.
8587
+ */
8588
+ get baseUrl(): URL | undefined;
8214
8589
  /**
8215
8590
  * Constructs a new instance of Leave with the given values.
8216
8591
  * @param values The values to initialize the instance with.
@@ -8282,6 +8657,7 @@ declare class Leave extends Activity {
8282
8657
  documentLoader?: DocumentLoader;
8283
8658
  contextLoader?: DocumentLoader;
8284
8659
  tracerProvider?: TracerProvider;
8660
+ baseUrl?: URL;
8285
8661
  });
8286
8662
  /**
8287
8663
  * Clones this instance, optionally updating it with the given values.
@@ -8386,11 +8762,13 @@ declare class Leave extends Activity {
8386
8762
  documentLoader?: DocumentLoader;
8387
8763
  contextLoader?: DocumentLoader;
8388
8764
  tracerProvider?: TracerProvider;
8765
+ baseUrl?: URL;
8389
8766
  }): Promise<Leave>;
8390
8767
  protected static __fromJsonLd__Leave__(json: unknown, span: Span, options?: {
8391
8768
  documentLoader?: DocumentLoader;
8392
8769
  contextLoader?: DocumentLoader;
8393
8770
  tracerProvider?: TracerProvider;
8771
+ baseUrl?: URL;
8394
8772
  }): Promise<Leave>;
8395
8773
  protected _getCustomInspectProxy(): Record<string, unknown>;
8396
8774
  }
@@ -8402,6 +8780,10 @@ declare class Like extends Activity {
8402
8780
  * The type URI of {@link Like}: `https://www.w3.org/ns/activitystreams#Like`.
8403
8781
  */
8404
8782
  static get typeId(): URL;
8783
+ /**
8784
+ * The base URL used for resolving relative URLs in this object.
8785
+ */
8786
+ get baseUrl(): URL | undefined;
8405
8787
  /**
8406
8788
  * Constructs a new instance of Like with the given values.
8407
8789
  * @param values The values to initialize the instance with.
@@ -8473,6 +8855,7 @@ declare class Like extends Activity {
8473
8855
  documentLoader?: DocumentLoader;
8474
8856
  contextLoader?: DocumentLoader;
8475
8857
  tracerProvider?: TracerProvider;
8858
+ baseUrl?: URL;
8476
8859
  });
8477
8860
  /**
8478
8861
  * Clones this instance, optionally updating it with the given values.
@@ -8577,11 +8960,13 @@ declare class Like extends Activity {
8577
8960
  documentLoader?: DocumentLoader;
8578
8961
  contextLoader?: DocumentLoader;
8579
8962
  tracerProvider?: TracerProvider;
8963
+ baseUrl?: URL;
8580
8964
  }): Promise<Like>;
8581
8965
  protected static __fromJsonLd__Like__(json: unknown, span: Span, options?: {
8582
8966
  documentLoader?: DocumentLoader;
8583
8967
  contextLoader?: DocumentLoader;
8584
8968
  tracerProvider?: TracerProvider;
8969
+ baseUrl?: URL;
8585
8970
  }): Promise<Like>;
8586
8971
  protected _getCustomInspectProxy(): Record<string, unknown>;
8587
8972
  }
@@ -8592,6 +8977,10 @@ declare class Listen extends Activity {
8592
8977
  * The type URI of {@link Listen}: `https://www.w3.org/ns/activitystreams#Listen`.
8593
8978
  */
8594
8979
  static get typeId(): URL;
8980
+ /**
8981
+ * The base URL used for resolving relative URLs in this object.
8982
+ */
8983
+ get baseUrl(): URL | undefined;
8595
8984
  /**
8596
8985
  * Constructs a new instance of Listen with the given values.
8597
8986
  * @param values The values to initialize the instance with.
@@ -8663,6 +9052,7 @@ declare class Listen extends Activity {
8663
9052
  documentLoader?: DocumentLoader;
8664
9053
  contextLoader?: DocumentLoader;
8665
9054
  tracerProvider?: TracerProvider;
9055
+ baseUrl?: URL;
8666
9056
  });
8667
9057
  /**
8668
9058
  * Clones this instance, optionally updating it with the given values.
@@ -8767,11 +9157,13 @@ declare class Listen extends Activity {
8767
9157
  documentLoader?: DocumentLoader;
8768
9158
  contextLoader?: DocumentLoader;
8769
9159
  tracerProvider?: TracerProvider;
9160
+ baseUrl?: URL;
8770
9161
  }): Promise<Listen>;
8771
9162
  protected static __fromJsonLd__Listen__(json: unknown, span: Span, options?: {
8772
9163
  documentLoader?: DocumentLoader;
8773
9164
  contextLoader?: DocumentLoader;
8774
9165
  tracerProvider?: TracerProvider;
9166
+ baseUrl?: URL;
8775
9167
  }): Promise<Listen>;
8776
9168
  protected _getCustomInspectProxy(): Record<string, unknown>;
8777
9169
  }
@@ -8782,6 +9174,10 @@ declare class Mention extends Link {
8782
9174
  * The type URI of {@link Mention}: `https://www.w3.org/ns/activitystreams#Mention`.
8783
9175
  */
8784
9176
  static get typeId(): URL;
9177
+ /**
9178
+ * The base URL used for resolving relative URLs in this object.
9179
+ */
9180
+ get baseUrl(): URL | undefined;
8785
9181
  /**
8786
9182
  * Constructs a new instance of Mention with the given values.
8787
9183
  * @param values The values to initialize the instance with.
@@ -8803,6 +9199,7 @@ declare class Mention extends Link {
8803
9199
  documentLoader?: DocumentLoader;
8804
9200
  contextLoader?: DocumentLoader;
8805
9201
  tracerProvider?: TracerProvider;
9202
+ baseUrl?: URL;
8806
9203
  });
8807
9204
  /**
8808
9205
  * Clones this instance, optionally updating it with the given values.
@@ -8857,11 +9254,13 @@ declare class Mention extends Link {
8857
9254
  documentLoader?: DocumentLoader;
8858
9255
  contextLoader?: DocumentLoader;
8859
9256
  tracerProvider?: TracerProvider;
9257
+ baseUrl?: URL;
8860
9258
  }): Promise<Mention>;
8861
9259
  protected static __fromJsonLd__Mention__(json: unknown, span: Span, options?: {
8862
9260
  documentLoader?: DocumentLoader;
8863
9261
  contextLoader?: DocumentLoader;
8864
9262
  tracerProvider?: TracerProvider;
9263
+ baseUrl?: URL;
8865
9264
  }): Promise<Mention>;
8866
9265
  protected _getCustomInspectProxy(): Record<string, unknown>;
8867
9266
  }
@@ -8874,6 +9273,10 @@ declare class Move extends Activity {
8874
9273
  * The type URI of {@link Move}: `https://www.w3.org/ns/activitystreams#Move`.
8875
9274
  */
8876
9275
  static get typeId(): URL;
9276
+ /**
9277
+ * The base URL used for resolving relative URLs in this object.
9278
+ */
9279
+ get baseUrl(): URL | undefined;
8877
9280
  /**
8878
9281
  * Constructs a new instance of Move with the given values.
8879
9282
  * @param values The values to initialize the instance with.
@@ -8945,6 +9348,7 @@ declare class Move extends Activity {
8945
9348
  documentLoader?: DocumentLoader;
8946
9349
  contextLoader?: DocumentLoader;
8947
9350
  tracerProvider?: TracerProvider;
9351
+ baseUrl?: URL;
8948
9352
  });
8949
9353
  /**
8950
9354
  * Clones this instance, optionally updating it with the given values.
@@ -9049,11 +9453,13 @@ declare class Move extends Activity {
9049
9453
  documentLoader?: DocumentLoader;
9050
9454
  contextLoader?: DocumentLoader;
9051
9455
  tracerProvider?: TracerProvider;
9456
+ baseUrl?: URL;
9052
9457
  }): Promise<Move>;
9053
9458
  protected static __fromJsonLd__Move__(json: unknown, span: Span, options?: {
9054
9459
  documentLoader?: DocumentLoader;
9055
9460
  contextLoader?: DocumentLoader;
9056
9461
  tracerProvider?: TracerProvider;
9462
+ baseUrl?: URL;
9057
9463
  }): Promise<Move>;
9058
9464
  protected _getCustomInspectProxy(): Record<string, unknown>;
9059
9465
  }
@@ -9066,6 +9472,10 @@ declare class Note extends Object$1 {
9066
9472
  * The type URI of {@link Note}: `https://www.w3.org/ns/activitystreams#Note`.
9067
9473
  */
9068
9474
  static get typeId(): URL;
9475
+ /**
9476
+ * The base URL used for resolving relative URLs in this object.
9477
+ */
9478
+ get baseUrl(): URL | undefined;
9069
9479
  /**
9070
9480
  * Constructs a new instance of Note with the given values.
9071
9481
  * @param values The values to initialize the instance with.
@@ -9126,6 +9536,7 @@ declare class Note extends Object$1 {
9126
9536
  documentLoader?: DocumentLoader;
9127
9537
  contextLoader?: DocumentLoader;
9128
9538
  tracerProvider?: TracerProvider;
9539
+ baseUrl?: URL;
9129
9540
  });
9130
9541
  /**
9131
9542
  * Clones this instance, optionally updating it with the given values.
@@ -9231,11 +9642,13 @@ declare class Note extends Object$1 {
9231
9642
  documentLoader?: DocumentLoader;
9232
9643
  contextLoader?: DocumentLoader;
9233
9644
  tracerProvider?: TracerProvider;
9645
+ baseUrl?: URL;
9234
9646
  }): Promise<Note>;
9235
9647
  protected static __fromJsonLd__Note__(json: unknown, span: Span, options?: {
9236
9648
  documentLoader?: DocumentLoader;
9237
9649
  contextLoader?: DocumentLoader;
9238
9650
  tracerProvider?: TracerProvider;
9651
+ baseUrl?: URL;
9239
9652
  }): Promise<Note>;
9240
9653
  protected _getCustomInspectProxy(): Record<string, unknown>;
9241
9654
  }
@@ -9248,6 +9661,10 @@ declare class OrderedCollection extends Collection {
9248
9661
  * The type URI of {@link OrderedCollection}: `https://www.w3.org/ns/activitystreams#OrderedCollection`.
9249
9662
  */
9250
9663
  static get typeId(): URL;
9664
+ /**
9665
+ * The base URL used for resolving relative URLs in this object.
9666
+ */
9667
+ get baseUrl(): URL | undefined;
9251
9668
  /**
9252
9669
  * Constructs a new instance of OrderedCollection with the given values.
9253
9670
  * @param values The values to initialize the instance with.
@@ -9320,6 +9737,7 @@ declare class OrderedCollection extends Collection {
9320
9737
  documentLoader?: DocumentLoader;
9321
9738
  contextLoader?: DocumentLoader;
9322
9739
  tracerProvider?: TracerProvider;
9740
+ baseUrl?: URL;
9323
9741
  });
9324
9742
  /**
9325
9743
  * Clones this instance, optionally updating it with the given values.
@@ -9408,6 +9826,7 @@ declare class OrderedCollection extends Collection {
9408
9826
  contextLoader?: DocumentLoader;
9409
9827
  suppressError?: boolean;
9410
9828
  tracerProvider?: TracerProvider;
9829
+ baseUrl?: URL;
9411
9830
  }): AsyncIterable<Object$1 | Link>;
9412
9831
  /**
9413
9832
  * Converts this object to a JSON-LD structure.
@@ -9440,11 +9859,13 @@ declare class OrderedCollection extends Collection {
9440
9859
  documentLoader?: DocumentLoader;
9441
9860
  contextLoader?: DocumentLoader;
9442
9861
  tracerProvider?: TracerProvider;
9862
+ baseUrl?: URL;
9443
9863
  }): Promise<OrderedCollection>;
9444
9864
  protected static __fromJsonLd__OrderedCollection__(json: unknown, span: Span, options?: {
9445
9865
  documentLoader?: DocumentLoader;
9446
9866
  contextLoader?: DocumentLoader;
9447
9867
  tracerProvider?: TracerProvider;
9868
+ baseUrl?: URL;
9448
9869
  }): Promise<OrderedCollection>;
9449
9870
  protected _getCustomInspectProxy(): Record<string, unknown>;
9450
9871
  }
@@ -9458,6 +9879,10 @@ declare class OrderedCollectionPage extends CollectionPage {
9458
9879
  * The type URI of {@link OrderedCollectionPage}: `https://www.w3.org/ns/activitystreams#OrderedCollectionPage`.
9459
9880
  */
9460
9881
  static get typeId(): URL;
9882
+ /**
9883
+ * The base URL used for resolving relative URLs in this object.
9884
+ */
9885
+ get baseUrl(): URL | undefined;
9461
9886
  /**
9462
9887
  * Constructs a new instance of OrderedCollectionPage with the given values.
9463
9888
  * @param values The values to initialize the instance with.
@@ -9534,6 +9959,7 @@ declare class OrderedCollectionPage extends CollectionPage {
9534
9959
  documentLoader?: DocumentLoader;
9535
9960
  contextLoader?: DocumentLoader;
9536
9961
  tracerProvider?: TracerProvider;
9962
+ baseUrl?: URL;
9537
9963
  });
9538
9964
  /**
9539
9965
  * Clones this instance, optionally updating it with the given values.
@@ -9626,6 +10052,7 @@ declare class OrderedCollectionPage extends CollectionPage {
9626
10052
  contextLoader?: DocumentLoader;
9627
10053
  suppressError?: boolean;
9628
10054
  tracerProvider?: TracerProvider;
10055
+ baseUrl?: URL;
9629
10056
  }): AsyncIterable<Object$1 | Link>;
9630
10057
  /** A non-negative integer value identifying the relative position within
9631
10058
  * the logical view of a strictly ordered collection.
@@ -9662,11 +10089,13 @@ declare class OrderedCollectionPage extends CollectionPage {
9662
10089
  documentLoader?: DocumentLoader;
9663
10090
  contextLoader?: DocumentLoader;
9664
10091
  tracerProvider?: TracerProvider;
10092
+ baseUrl?: URL;
9665
10093
  }): Promise<OrderedCollectionPage>;
9666
10094
  protected static __fromJsonLd__OrderedCollectionPage__(json: unknown, span: Span, options?: {
9667
10095
  documentLoader?: DocumentLoader;
9668
10096
  contextLoader?: DocumentLoader;
9669
10097
  tracerProvider?: TracerProvider;
10098
+ baseUrl?: URL;
9670
10099
  }): Promise<OrderedCollectionPage>;
9671
10100
  protected _getCustomInspectProxy(): Record<string, unknown>;
9672
10101
  }
@@ -9678,6 +10107,10 @@ declare class Organization extends Object$1 {
9678
10107
  * The type URI of {@link Organization}: `https://www.w3.org/ns/activitystreams#Organization`.
9679
10108
  */
9680
10109
  static get typeId(): URL;
10110
+ /**
10111
+ * The base URL used for resolving relative URLs in this object.
10112
+ */
10113
+ get baseUrl(): URL | undefined;
9681
10114
  /**
9682
10115
  * Constructs a new instance of Organization with the given values.
9683
10116
  * @param values The values to initialize the instance with.
@@ -9764,6 +10197,7 @@ declare class Organization extends Object$1 {
9764
10197
  documentLoader?: DocumentLoader;
9765
10198
  contextLoader?: DocumentLoader;
9766
10199
  tracerProvider?: TracerProvider;
10200
+ baseUrl?: URL;
9767
10201
  });
9768
10202
  /**
9769
10203
  * Clones this instance, optionally updating it with the given values.
@@ -9873,6 +10307,7 @@ declare class Organization extends Object$1 {
9873
10307
  contextLoader?: DocumentLoader;
9874
10308
  suppressError?: boolean;
9875
10309
  tracerProvider?: TracerProvider;
10310
+ baseUrl?: URL;
9876
10311
  }): Promise<CryptographicKey | null>;
9877
10312
  /**
9878
10313
  * Similar to
@@ -9887,6 +10322,7 @@ declare class Organization extends Object$1 {
9887
10322
  contextLoader?: DocumentLoader;
9888
10323
  suppressError?: boolean;
9889
10324
  tracerProvider?: TracerProvider;
10325
+ baseUrl?: URL;
9890
10326
  }): AsyncIterable<CryptographicKey>;
9891
10327
  /**
9892
10328
  * Similar to
@@ -9904,6 +10340,7 @@ declare class Organization extends Object$1 {
9904
10340
  contextLoader?: DocumentLoader;
9905
10341
  suppressError?: boolean;
9906
10342
  tracerProvider?: TracerProvider;
10343
+ baseUrl?: URL;
9907
10344
  }): Promise<Multikey | null>;
9908
10345
  /**
9909
10346
  * Similar to
@@ -9921,6 +10358,7 @@ declare class Organization extends Object$1 {
9921
10358
  contextLoader?: DocumentLoader;
9922
10359
  suppressError?: boolean;
9923
10360
  tracerProvider?: TracerProvider;
10361
+ baseUrl?: URL;
9924
10362
  }): AsyncIterable<Multikey>;
9925
10363
  /** When `true`, conveys that for this actor, follow requests are not usually
9926
10364
  * automatically approved, but instead are examined by a person who may accept
@@ -9955,6 +10393,7 @@ declare class Organization extends Object$1 {
9955
10393
  contextLoader?: DocumentLoader;
9956
10394
  suppressError?: boolean;
9957
10395
  tracerProvider?: TracerProvider;
10396
+ baseUrl?: URL;
9958
10397
  }): Promise<OrderedCollection | OrderedCollectionPage | null>;
9959
10398
  /**
9960
10399
  * Similar to
@@ -9978,6 +10417,7 @@ declare class Organization extends Object$1 {
9978
10417
  contextLoader?: DocumentLoader;
9979
10418
  suppressError?: boolean;
9980
10419
  tracerProvider?: TracerProvider;
10420
+ baseUrl?: URL;
9981
10421
  }): Promise<OrderedCollection | OrderedCollectionPage | null>;
9982
10422
  /**
9983
10423
  * Similar to
@@ -9996,6 +10436,7 @@ declare class Organization extends Object$1 {
9996
10436
  contextLoader?: DocumentLoader;
9997
10437
  suppressError?: boolean;
9998
10438
  tracerProvider?: TracerProvider;
10439
+ baseUrl?: URL;
9999
10440
  }): Promise<Collection | null>;
10000
10441
  /**
10001
10442
  * Similar to
@@ -10017,6 +10458,7 @@ declare class Organization extends Object$1 {
10017
10458
  contextLoader?: DocumentLoader;
10018
10459
  suppressError?: boolean;
10019
10460
  tracerProvider?: TracerProvider;
10461
+ baseUrl?: URL;
10020
10462
  }): Promise<Collection | null>;
10021
10463
  /**
10022
10464
  * Similar to
@@ -10036,6 +10478,7 @@ declare class Organization extends Object$1 {
10036
10478
  contextLoader?: DocumentLoader;
10037
10479
  suppressError?: boolean;
10038
10480
  tracerProvider?: TracerProvider;
10481
+ baseUrl?: URL;
10039
10482
  }): Promise<Collection | null>;
10040
10483
  /**
10041
10484
  * Similar to
@@ -10053,6 +10496,7 @@ declare class Organization extends Object$1 {
10053
10496
  contextLoader?: DocumentLoader;
10054
10497
  suppressError?: boolean;
10055
10498
  tracerProvider?: TracerProvider;
10499
+ baseUrl?: URL;
10056
10500
  }): Promise<Collection | null>;
10057
10501
  /**
10058
10502
  * Similar to
@@ -10070,6 +10514,7 @@ declare class Organization extends Object$1 {
10070
10514
  contextLoader?: DocumentLoader;
10071
10515
  suppressError?: boolean;
10072
10516
  tracerProvider?: TracerProvider;
10517
+ baseUrl?: URL;
10073
10518
  }): Promise<Collection | null>;
10074
10519
  /**
10075
10520
  * Similar to
@@ -10084,6 +10529,7 @@ declare class Organization extends Object$1 {
10084
10529
  contextLoader?: DocumentLoader;
10085
10530
  suppressError?: boolean;
10086
10531
  tracerProvider?: TracerProvider;
10532
+ baseUrl?: URL;
10087
10533
  }): AsyncIterable<Collection>;
10088
10534
  /** A JSON object which maps additional (typically server/domain-wide) endpoints
10089
10535
  * which may be useful either for this actor or someone referencing this actor.
@@ -10120,6 +10566,7 @@ declare class Organization extends Object$1 {
10120
10566
  contextLoader?: DocumentLoader;
10121
10567
  suppressError?: boolean;
10122
10568
  tracerProvider?: TracerProvider;
10569
+ baseUrl?: URL;
10123
10570
  }): Promise<Application | Group | Organization | Person | Service | null>;
10124
10571
  /**
10125
10572
  * Similar to
@@ -10137,6 +10584,7 @@ declare class Organization extends Object$1 {
10137
10584
  contextLoader?: DocumentLoader;
10138
10585
  suppressError?: boolean;
10139
10586
  tracerProvider?: TracerProvider;
10587
+ baseUrl?: URL;
10140
10588
  }): Promise<Application | Group | Organization | Person | Service | null>;
10141
10589
  /**
10142
10590
  * Similar to
@@ -10154,6 +10602,7 @@ declare class Organization extends Object$1 {
10154
10602
  contextLoader?: DocumentLoader;
10155
10603
  suppressError?: boolean;
10156
10604
  tracerProvider?: TracerProvider;
10605
+ baseUrl?: URL;
10157
10606
  }): AsyncIterable<Application | Group | Organization | Person | Service>;
10158
10607
  /**
10159
10608
  * Similar to
@@ -10171,6 +10620,7 @@ declare class Organization extends Object$1 {
10171
10620
  contextLoader?: DocumentLoader;
10172
10621
  suppressError?: boolean;
10173
10622
  tracerProvider?: TracerProvider;
10623
+ baseUrl?: URL;
10174
10624
  }): Promise<DidService | null>;
10175
10625
  /**
10176
10626
  * Similar to
@@ -10188,6 +10638,7 @@ declare class Organization extends Object$1 {
10188
10638
  contextLoader?: DocumentLoader;
10189
10639
  suppressError?: boolean;
10190
10640
  tracerProvider?: TracerProvider;
10641
+ baseUrl?: URL;
10191
10642
  }): AsyncIterable<DidService>;
10192
10643
  /** This value is used for `Actor` type objects to show message on followed.
10193
10644
  */
@@ -10229,11 +10680,13 @@ declare class Organization extends Object$1 {
10229
10680
  documentLoader?: DocumentLoader;
10230
10681
  contextLoader?: DocumentLoader;
10231
10682
  tracerProvider?: TracerProvider;
10683
+ baseUrl?: URL;
10232
10684
  }): Promise<Organization>;
10233
10685
  protected static __fromJsonLd__Organization__(json: unknown, span: Span, options?: {
10234
10686
  documentLoader?: DocumentLoader;
10235
10687
  contextLoader?: DocumentLoader;
10236
10688
  tracerProvider?: TracerProvider;
10689
+ baseUrl?: URL;
10237
10690
  }): Promise<Organization>;
10238
10691
  protected _getCustomInspectProxy(): Record<string, unknown>;
10239
10692
  }
@@ -10244,6 +10697,10 @@ declare class Page extends Document {
10244
10697
  * The type URI of {@link Page}: `https://www.w3.org/ns/activitystreams#Page`.
10245
10698
  */
10246
10699
  static get typeId(): URL;
10700
+ /**
10701
+ * The base URL used for resolving relative URLs in this object.
10702
+ */
10703
+ get baseUrl(): URL | undefined;
10247
10704
  /**
10248
10705
  * Constructs a new instance of Page with the given values.
10249
10706
  * @param values The values to initialize the instance with.
@@ -10305,6 +10762,7 @@ declare class Page extends Document {
10305
10762
  documentLoader?: DocumentLoader;
10306
10763
  contextLoader?: DocumentLoader;
10307
10764
  tracerProvider?: TracerProvider;
10765
+ baseUrl?: URL;
10308
10766
  });
10309
10767
  /**
10310
10768
  * Clones this instance, optionally updating it with the given values.
@@ -10399,11 +10857,13 @@ declare class Page extends Document {
10399
10857
  documentLoader?: DocumentLoader;
10400
10858
  contextLoader?: DocumentLoader;
10401
10859
  tracerProvider?: TracerProvider;
10860
+ baseUrl?: URL;
10402
10861
  }): Promise<Page>;
10403
10862
  protected static __fromJsonLd__Page__(json: unknown, span: Span, options?: {
10404
10863
  documentLoader?: DocumentLoader;
10405
10864
  contextLoader?: DocumentLoader;
10406
10865
  tracerProvider?: TracerProvider;
10866
+ baseUrl?: URL;
10407
10867
  }): Promise<Page>;
10408
10868
  protected _getCustomInspectProxy(): Record<string, unknown>;
10409
10869
  }
@@ -10415,6 +10875,10 @@ declare class Person extends Object$1 {
10415
10875
  * The type URI of {@link Person}: `https://www.w3.org/ns/activitystreams#Person`.
10416
10876
  */
10417
10877
  static get typeId(): URL;
10878
+ /**
10879
+ * The base URL used for resolving relative URLs in this object.
10880
+ */
10881
+ get baseUrl(): URL | undefined;
10418
10882
  /**
10419
10883
  * Constructs a new instance of Person with the given values.
10420
10884
  * @param values The values to initialize the instance with.
@@ -10501,6 +10965,7 @@ declare class Person extends Object$1 {
10501
10965
  documentLoader?: DocumentLoader;
10502
10966
  contextLoader?: DocumentLoader;
10503
10967
  tracerProvider?: TracerProvider;
10968
+ baseUrl?: URL;
10504
10969
  });
10505
10970
  /**
10506
10971
  * Clones this instance, optionally updating it with the given values.
@@ -10610,6 +11075,7 @@ declare class Person extends Object$1 {
10610
11075
  contextLoader?: DocumentLoader;
10611
11076
  suppressError?: boolean;
10612
11077
  tracerProvider?: TracerProvider;
11078
+ baseUrl?: URL;
10613
11079
  }): Promise<CryptographicKey | null>;
10614
11080
  /**
10615
11081
  * Similar to
@@ -10624,6 +11090,7 @@ declare class Person extends Object$1 {
10624
11090
  contextLoader?: DocumentLoader;
10625
11091
  suppressError?: boolean;
10626
11092
  tracerProvider?: TracerProvider;
11093
+ baseUrl?: URL;
10627
11094
  }): AsyncIterable<CryptographicKey>;
10628
11095
  /**
10629
11096
  * Similar to
@@ -10641,6 +11108,7 @@ declare class Person extends Object$1 {
10641
11108
  contextLoader?: DocumentLoader;
10642
11109
  suppressError?: boolean;
10643
11110
  tracerProvider?: TracerProvider;
11111
+ baseUrl?: URL;
10644
11112
  }): Promise<Multikey | null>;
10645
11113
  /**
10646
11114
  * Similar to
@@ -10658,6 +11126,7 @@ declare class Person extends Object$1 {
10658
11126
  contextLoader?: DocumentLoader;
10659
11127
  suppressError?: boolean;
10660
11128
  tracerProvider?: TracerProvider;
11129
+ baseUrl?: URL;
10661
11130
  }): AsyncIterable<Multikey>;
10662
11131
  /** When `true`, conveys that for this actor, follow requests are not usually
10663
11132
  * automatically approved, but instead are examined by a person who may accept
@@ -10692,6 +11161,7 @@ declare class Person extends Object$1 {
10692
11161
  contextLoader?: DocumentLoader;
10693
11162
  suppressError?: boolean;
10694
11163
  tracerProvider?: TracerProvider;
11164
+ baseUrl?: URL;
10695
11165
  }): Promise<OrderedCollection | OrderedCollectionPage | null>;
10696
11166
  /**
10697
11167
  * Similar to
@@ -10715,6 +11185,7 @@ declare class Person extends Object$1 {
10715
11185
  contextLoader?: DocumentLoader;
10716
11186
  suppressError?: boolean;
10717
11187
  tracerProvider?: TracerProvider;
11188
+ baseUrl?: URL;
10718
11189
  }): Promise<OrderedCollection | OrderedCollectionPage | null>;
10719
11190
  /**
10720
11191
  * Similar to
@@ -10733,6 +11204,7 @@ declare class Person extends Object$1 {
10733
11204
  contextLoader?: DocumentLoader;
10734
11205
  suppressError?: boolean;
10735
11206
  tracerProvider?: TracerProvider;
11207
+ baseUrl?: URL;
10736
11208
  }): Promise<Collection | null>;
10737
11209
  /**
10738
11210
  * Similar to
@@ -10754,6 +11226,7 @@ declare class Person extends Object$1 {
10754
11226
  contextLoader?: DocumentLoader;
10755
11227
  suppressError?: boolean;
10756
11228
  tracerProvider?: TracerProvider;
11229
+ baseUrl?: URL;
10757
11230
  }): Promise<Collection | null>;
10758
11231
  /**
10759
11232
  * Similar to
@@ -10773,6 +11246,7 @@ declare class Person extends Object$1 {
10773
11246
  contextLoader?: DocumentLoader;
10774
11247
  suppressError?: boolean;
10775
11248
  tracerProvider?: TracerProvider;
11249
+ baseUrl?: URL;
10776
11250
  }): Promise<Collection | null>;
10777
11251
  /**
10778
11252
  * Similar to
@@ -10790,6 +11264,7 @@ declare class Person extends Object$1 {
10790
11264
  contextLoader?: DocumentLoader;
10791
11265
  suppressError?: boolean;
10792
11266
  tracerProvider?: TracerProvider;
11267
+ baseUrl?: URL;
10793
11268
  }): Promise<Collection | null>;
10794
11269
  /**
10795
11270
  * Similar to
@@ -10807,6 +11282,7 @@ declare class Person extends Object$1 {
10807
11282
  contextLoader?: DocumentLoader;
10808
11283
  suppressError?: boolean;
10809
11284
  tracerProvider?: TracerProvider;
11285
+ baseUrl?: URL;
10810
11286
  }): Promise<Collection | null>;
10811
11287
  /**
10812
11288
  * Similar to
@@ -10821,6 +11297,7 @@ declare class Person extends Object$1 {
10821
11297
  contextLoader?: DocumentLoader;
10822
11298
  suppressError?: boolean;
10823
11299
  tracerProvider?: TracerProvider;
11300
+ baseUrl?: URL;
10824
11301
  }): AsyncIterable<Collection>;
10825
11302
  /** A JSON object which maps additional (typically server/domain-wide) endpoints
10826
11303
  * which may be useful either for this actor or someone referencing this actor.
@@ -10857,6 +11334,7 @@ declare class Person extends Object$1 {
10857
11334
  contextLoader?: DocumentLoader;
10858
11335
  suppressError?: boolean;
10859
11336
  tracerProvider?: TracerProvider;
11337
+ baseUrl?: URL;
10860
11338
  }): Promise<Application | Group | Organization | Person | Service | null>;
10861
11339
  /**
10862
11340
  * Similar to
@@ -10874,6 +11352,7 @@ declare class Person extends Object$1 {
10874
11352
  contextLoader?: DocumentLoader;
10875
11353
  suppressError?: boolean;
10876
11354
  tracerProvider?: TracerProvider;
11355
+ baseUrl?: URL;
10877
11356
  }): Promise<Application | Group | Organization | Person | Service | null>;
10878
11357
  /**
10879
11358
  * Similar to
@@ -10891,6 +11370,7 @@ declare class Person extends Object$1 {
10891
11370
  contextLoader?: DocumentLoader;
10892
11371
  suppressError?: boolean;
10893
11372
  tracerProvider?: TracerProvider;
11373
+ baseUrl?: URL;
10894
11374
  }): AsyncIterable<Application | Group | Organization | Person | Service>;
10895
11375
  /**
10896
11376
  * Similar to
@@ -10908,6 +11388,7 @@ declare class Person extends Object$1 {
10908
11388
  contextLoader?: DocumentLoader;
10909
11389
  suppressError?: boolean;
10910
11390
  tracerProvider?: TracerProvider;
11391
+ baseUrl?: URL;
10911
11392
  }): Promise<DidService | null>;
10912
11393
  /**
10913
11394
  * Similar to
@@ -10925,6 +11406,7 @@ declare class Person extends Object$1 {
10925
11406
  contextLoader?: DocumentLoader;
10926
11407
  suppressError?: boolean;
10927
11408
  tracerProvider?: TracerProvider;
11409
+ baseUrl?: URL;
10928
11410
  }): AsyncIterable<DidService>;
10929
11411
  /** This value is used for `Actor` type objects to show message on followed.
10930
11412
  */
@@ -10966,11 +11448,13 @@ declare class Person extends Object$1 {
10966
11448
  documentLoader?: DocumentLoader;
10967
11449
  contextLoader?: DocumentLoader;
10968
11450
  tracerProvider?: TracerProvider;
11451
+ baseUrl?: URL;
10969
11452
  }): Promise<Person>;
10970
11453
  protected static __fromJsonLd__Person__(json: unknown, span: Span, options?: {
10971
11454
  documentLoader?: DocumentLoader;
10972
11455
  contextLoader?: DocumentLoader;
10973
11456
  tracerProvider?: TracerProvider;
11457
+ baseUrl?: URL;
10974
11458
  }): Promise<Person>;
10975
11459
  protected _getCustomInspectProxy(): Record<string, unknown>;
10976
11460
  }
@@ -10984,6 +11468,10 @@ declare class Place extends Object$1 {
10984
11468
  * The type URI of {@link Place}: `https://www.w3.org/ns/activitystreams#Place`.
10985
11469
  */
10986
11470
  static get typeId(): URL;
11471
+ /**
11472
+ * The base URL used for resolving relative URLs in this object.
11473
+ */
11474
+ get baseUrl(): URL | undefined;
10987
11475
  /**
10988
11476
  * Constructs a new instance of Place with the given values.
10989
11477
  * @param values The values to initialize the instance with.
@@ -11049,6 +11537,7 @@ declare class Place extends Object$1 {
11049
11537
  documentLoader?: DocumentLoader;
11050
11538
  contextLoader?: DocumentLoader;
11051
11539
  tracerProvider?: TracerProvider;
11540
+ baseUrl?: URL;
11052
11541
  });
11053
11542
  /**
11054
11543
  * Clones this instance, optionally updating it with the given values.
@@ -11173,11 +11662,13 @@ declare class Place extends Object$1 {
11173
11662
  documentLoader?: DocumentLoader;
11174
11663
  contextLoader?: DocumentLoader;
11175
11664
  tracerProvider?: TracerProvider;
11665
+ baseUrl?: URL;
11176
11666
  }): Promise<Place>;
11177
11667
  protected static __fromJsonLd__Place__(json: unknown, span: Span, options?: {
11178
11668
  documentLoader?: DocumentLoader;
11179
11669
  contextLoader?: DocumentLoader;
11180
11670
  tracerProvider?: TracerProvider;
11671
+ baseUrl?: URL;
11181
11672
  }): Promise<Place>;
11182
11673
  protected _getCustomInspectProxy(): Record<string, unknown>;
11183
11674
  }
@@ -11193,6 +11684,10 @@ declare class Profile extends Object$1 {
11193
11684
  * The type URI of {@link Profile}: `https://www.w3.org/ns/activitystreams#Profile`.
11194
11685
  */
11195
11686
  static get typeId(): URL;
11687
+ /**
11688
+ * The base URL used for resolving relative URLs in this object.
11689
+ */
11690
+ get baseUrl(): URL | undefined;
11196
11691
  /**
11197
11692
  * Constructs a new instance of Profile with the given values.
11198
11693
  * @param values The values to initialize the instance with.
@@ -11253,6 +11748,7 @@ declare class Profile extends Object$1 {
11253
11748
  documentLoader?: DocumentLoader;
11254
11749
  contextLoader?: DocumentLoader;
11255
11750
  tracerProvider?: TracerProvider;
11751
+ baseUrl?: URL;
11256
11752
  });
11257
11753
  /**
11258
11754
  * Clones this instance, optionally updating it with the given values.
@@ -11329,6 +11825,7 @@ declare class Profile extends Object$1 {
11329
11825
  contextLoader?: DocumentLoader;
11330
11826
  suppressError?: boolean;
11331
11827
  tracerProvider?: TracerProvider;
11828
+ baseUrl?: URL;
11332
11829
  }): Promise<Object$1 | null>;
11333
11830
  /**
11334
11831
  * Converts this object to a JSON-LD structure.
@@ -11361,11 +11858,13 @@ declare class Profile extends Object$1 {
11361
11858
  documentLoader?: DocumentLoader;
11362
11859
  contextLoader?: DocumentLoader;
11363
11860
  tracerProvider?: TracerProvider;
11861
+ baseUrl?: URL;
11364
11862
  }): Promise<Profile>;
11365
11863
  protected static __fromJsonLd__Profile__(json: unknown, span: Span, options?: {
11366
11864
  documentLoader?: DocumentLoader;
11367
11865
  contextLoader?: DocumentLoader;
11368
11866
  tracerProvider?: TracerProvider;
11867
+ baseUrl?: URL;
11369
11868
  }): Promise<Profile>;
11370
11869
  protected _getCustomInspectProxy(): Record<string, unknown>;
11371
11870
  }
@@ -11384,6 +11883,10 @@ declare class Question extends IntransitiveActivity {
11384
11883
  * The type URI of {@link Question}: `https://www.w3.org/ns/activitystreams#Question`.
11385
11884
  */
11386
11885
  static get typeId(): URL;
11886
+ /**
11887
+ * The base URL used for resolving relative URLs in this object.
11888
+ */
11889
+ get baseUrl(): URL | undefined;
11387
11890
  /**
11388
11891
  * Constructs a new instance of Question with the given values.
11389
11892
  * @param values The values to initialize the instance with.
@@ -11460,6 +11963,7 @@ declare class Question extends IntransitiveActivity {
11460
11963
  documentLoader?: DocumentLoader;
11461
11964
  contextLoader?: DocumentLoader;
11462
11965
  tracerProvider?: TracerProvider;
11966
+ baseUrl?: URL;
11463
11967
  });
11464
11968
  /**
11465
11969
  * Clones this instance, optionally updating it with the given values.
@@ -11553,6 +12057,7 @@ declare class Question extends IntransitiveActivity {
11553
12057
  contextLoader?: DocumentLoader;
11554
12058
  suppressError?: boolean;
11555
12059
  tracerProvider?: TracerProvider;
12060
+ baseUrl?: URL;
11556
12061
  }): AsyncIterable<Object$1>;
11557
12062
  /**
11558
12063
  * Similar to
@@ -11569,6 +12074,7 @@ declare class Question extends IntransitiveActivity {
11569
12074
  contextLoader?: DocumentLoader;
11570
12075
  suppressError?: boolean;
11571
12076
  tracerProvider?: TracerProvider;
12077
+ baseUrl?: URL;
11572
12078
  }): AsyncIterable<Object$1>;
11573
12079
  /** Indicates that a question has been closed, and answers are no longer
11574
12080
  * accepted.
@@ -11621,11 +12127,13 @@ declare class Question extends IntransitiveActivity {
11621
12127
  documentLoader?: DocumentLoader;
11622
12128
  contextLoader?: DocumentLoader;
11623
12129
  tracerProvider?: TracerProvider;
12130
+ baseUrl?: URL;
11624
12131
  }): Promise<Question>;
11625
12132
  protected static __fromJsonLd__Question__(json: unknown, span: Span, options?: {
11626
12133
  documentLoader?: DocumentLoader;
11627
12134
  contextLoader?: DocumentLoader;
11628
12135
  tracerProvider?: TracerProvider;
12136
+ baseUrl?: URL;
11629
12137
  }): Promise<Question>;
11630
12138
  protected _getCustomInspectProxy(): Record<string, unknown>;
11631
12139
  }
@@ -11636,6 +12144,10 @@ declare class Read extends Activity {
11636
12144
  * The type URI of {@link Read}: `https://www.w3.org/ns/activitystreams#Read`.
11637
12145
  */
11638
12146
  static get typeId(): URL;
12147
+ /**
12148
+ * The base URL used for resolving relative URLs in this object.
12149
+ */
12150
+ get baseUrl(): URL | undefined;
11639
12151
  /**
11640
12152
  * Constructs a new instance of Read with the given values.
11641
12153
  * @param values The values to initialize the instance with.
@@ -11707,6 +12219,7 @@ declare class Read extends Activity {
11707
12219
  documentLoader?: DocumentLoader;
11708
12220
  contextLoader?: DocumentLoader;
11709
12221
  tracerProvider?: TracerProvider;
12222
+ baseUrl?: URL;
11710
12223
  });
11711
12224
  /**
11712
12225
  * Clones this instance, optionally updating it with the given values.
@@ -11811,11 +12324,13 @@ declare class Read extends Activity {
11811
12324
  documentLoader?: DocumentLoader;
11812
12325
  contextLoader?: DocumentLoader;
11813
12326
  tracerProvider?: TracerProvider;
12327
+ baseUrl?: URL;
11814
12328
  }): Promise<Read>;
11815
12329
  protected static __fromJsonLd__Read__(json: unknown, span: Span, options?: {
11816
12330
  documentLoader?: DocumentLoader;
11817
12331
  contextLoader?: DocumentLoader;
11818
12332
  tracerProvider?: TracerProvider;
12333
+ baseUrl?: URL;
11819
12334
  }): Promise<Read>;
11820
12335
  protected _getCustomInspectProxy(): Record<string, unknown>;
11821
12336
  }
@@ -11827,6 +12342,10 @@ declare class Reject extends Activity {
11827
12342
  * The type URI of {@link Reject}: `https://www.w3.org/ns/activitystreams#Reject`.
11828
12343
  */
11829
12344
  static get typeId(): URL;
12345
+ /**
12346
+ * The base URL used for resolving relative URLs in this object.
12347
+ */
12348
+ get baseUrl(): URL | undefined;
11830
12349
  /**
11831
12350
  * Constructs a new instance of Reject with the given values.
11832
12351
  * @param values The values to initialize the instance with.
@@ -11898,6 +12417,7 @@ declare class Reject extends Activity {
11898
12417
  documentLoader?: DocumentLoader;
11899
12418
  contextLoader?: DocumentLoader;
11900
12419
  tracerProvider?: TracerProvider;
12420
+ baseUrl?: URL;
11901
12421
  });
11902
12422
  /**
11903
12423
  * Clones this instance, optionally updating it with the given values.
@@ -12002,11 +12522,13 @@ declare class Reject extends Activity {
12002
12522
  documentLoader?: DocumentLoader;
12003
12523
  contextLoader?: DocumentLoader;
12004
12524
  tracerProvider?: TracerProvider;
12525
+ baseUrl?: URL;
12005
12526
  }): Promise<Reject>;
12006
12527
  protected static __fromJsonLd__Reject__(json: unknown, span: Span, options?: {
12007
12528
  documentLoader?: DocumentLoader;
12008
12529
  contextLoader?: DocumentLoader;
12009
12530
  tracerProvider?: TracerProvider;
12531
+ baseUrl?: URL;
12010
12532
  }): Promise<Reject>;
12011
12533
  protected _getCustomInspectProxy(): Record<string, unknown>;
12012
12534
  }
@@ -12024,6 +12546,10 @@ declare class Relationship extends Object$1 {
12024
12546
  * The type URI of {@link Relationship}: `https://www.w3.org/ns/activitystreams#Relationship`.
12025
12547
  */
12026
12548
  static get typeId(): URL;
12549
+ /**
12550
+ * The base URL used for resolving relative URLs in this object.
12551
+ */
12552
+ get baseUrl(): URL | undefined;
12027
12553
  /**
12028
12554
  * Constructs a new instance of Relationship with the given values.
12029
12555
  * @param values The values to initialize the instance with.
@@ -12088,6 +12614,7 @@ declare class Relationship extends Object$1 {
12088
12614
  documentLoader?: DocumentLoader;
12089
12615
  contextLoader?: DocumentLoader;
12090
12616
  tracerProvider?: TracerProvider;
12617
+ baseUrl?: URL;
12091
12618
  });
12092
12619
  /**
12093
12620
  * Clones this instance, optionally updating it with the given values.
@@ -12170,6 +12697,7 @@ declare class Relationship extends Object$1 {
12170
12697
  contextLoader?: DocumentLoader;
12171
12698
  suppressError?: boolean;
12172
12699
  tracerProvider?: TracerProvider;
12700
+ baseUrl?: URL;
12173
12701
  }): Promise<Object$1 | null>;
12174
12702
  /**
12175
12703
  * Similar to
@@ -12184,6 +12712,7 @@ declare class Relationship extends Object$1 {
12184
12712
  contextLoader?: DocumentLoader;
12185
12713
  suppressError?: boolean;
12186
12714
  tracerProvider?: TracerProvider;
12715
+ baseUrl?: URL;
12187
12716
  }): Promise<Object$1 | null>;
12188
12717
  /**
12189
12718
  * Similar to
@@ -12198,6 +12727,7 @@ declare class Relationship extends Object$1 {
12198
12727
  contextLoader?: DocumentLoader;
12199
12728
  suppressError?: boolean;
12200
12729
  tracerProvider?: TracerProvider;
12730
+ baseUrl?: URL;
12201
12731
  }): AsyncIterable<Object$1>;
12202
12732
  /**
12203
12733
  * Similar to
@@ -12214,6 +12744,7 @@ declare class Relationship extends Object$1 {
12214
12744
  contextLoader?: DocumentLoader;
12215
12745
  suppressError?: boolean;
12216
12746
  tracerProvider?: TracerProvider;
12747
+ baseUrl?: URL;
12217
12748
  }): Promise<Object$1 | null>;
12218
12749
  /**
12219
12750
  * Similar to
@@ -12230,6 +12761,7 @@ declare class Relationship extends Object$1 {
12230
12761
  contextLoader?: DocumentLoader;
12231
12762
  suppressError?: boolean;
12232
12763
  tracerProvider?: TracerProvider;
12764
+ baseUrl?: URL;
12233
12765
  }): AsyncIterable<Object$1>;
12234
12766
  /**
12235
12767
  * Converts this object to a JSON-LD structure.
@@ -12262,11 +12794,13 @@ declare class Relationship extends Object$1 {
12262
12794
  documentLoader?: DocumentLoader;
12263
12795
  contextLoader?: DocumentLoader;
12264
12796
  tracerProvider?: TracerProvider;
12797
+ baseUrl?: URL;
12265
12798
  }): Promise<Relationship>;
12266
12799
  protected static __fromJsonLd__Relationship__(json: unknown, span: Span, options?: {
12267
12800
  documentLoader?: DocumentLoader;
12268
12801
  contextLoader?: DocumentLoader;
12269
12802
  tracerProvider?: TracerProvider;
12803
+ baseUrl?: URL;
12270
12804
  }): Promise<Relationship>;
12271
12805
  protected _getCustomInspectProxy(): Record<string, unknown>;
12272
12806
  }
@@ -12278,6 +12812,10 @@ declare class Remove extends Activity {
12278
12812
  * The type URI of {@link Remove}: `https://www.w3.org/ns/activitystreams#Remove`.
12279
12813
  */
12280
12814
  static get typeId(): URL;
12815
+ /**
12816
+ * The base URL used for resolving relative URLs in this object.
12817
+ */
12818
+ get baseUrl(): URL | undefined;
12281
12819
  /**
12282
12820
  * Constructs a new instance of Remove with the given values.
12283
12821
  * @param values The values to initialize the instance with.
@@ -12349,6 +12887,7 @@ declare class Remove extends Activity {
12349
12887
  documentLoader?: DocumentLoader;
12350
12888
  contextLoader?: DocumentLoader;
12351
12889
  tracerProvider?: TracerProvider;
12890
+ baseUrl?: URL;
12352
12891
  });
12353
12892
  /**
12354
12893
  * Clones this instance, optionally updating it with the given values.
@@ -12453,11 +12992,13 @@ declare class Remove extends Activity {
12453
12992
  documentLoader?: DocumentLoader;
12454
12993
  contextLoader?: DocumentLoader;
12455
12994
  tracerProvider?: TracerProvider;
12995
+ baseUrl?: URL;
12456
12996
  }): Promise<Remove>;
12457
12997
  protected static __fromJsonLd__Remove__(json: unknown, span: Span, options?: {
12458
12998
  documentLoader?: DocumentLoader;
12459
12999
  contextLoader?: DocumentLoader;
12460
13000
  tracerProvider?: TracerProvider;
13001
+ baseUrl?: URL;
12461
13002
  }): Promise<Remove>;
12462
13003
  protected _getCustomInspectProxy(): Record<string, unknown>;
12463
13004
  }
@@ -12469,6 +13010,10 @@ declare class Service extends Object$1 {
12469
13010
  * The type URI of {@link Service}: `https://www.w3.org/ns/activitystreams#Service`.
12470
13011
  */
12471
13012
  static get typeId(): URL;
13013
+ /**
13014
+ * The base URL used for resolving relative URLs in this object.
13015
+ */
13016
+ get baseUrl(): URL | undefined;
12472
13017
  /**
12473
13018
  * Constructs a new instance of Service with the given values.
12474
13019
  * @param values The values to initialize the instance with.
@@ -12555,6 +13100,7 @@ declare class Service extends Object$1 {
12555
13100
  documentLoader?: DocumentLoader;
12556
13101
  contextLoader?: DocumentLoader;
12557
13102
  tracerProvider?: TracerProvider;
13103
+ baseUrl?: URL;
12558
13104
  });
12559
13105
  /**
12560
13106
  * Clones this instance, optionally updating it with the given values.
@@ -12664,6 +13210,7 @@ declare class Service extends Object$1 {
12664
13210
  contextLoader?: DocumentLoader;
12665
13211
  suppressError?: boolean;
12666
13212
  tracerProvider?: TracerProvider;
13213
+ baseUrl?: URL;
12667
13214
  }): Promise<CryptographicKey | null>;
12668
13215
  /**
12669
13216
  * Similar to
@@ -12678,6 +13225,7 @@ declare class Service extends Object$1 {
12678
13225
  contextLoader?: DocumentLoader;
12679
13226
  suppressError?: boolean;
12680
13227
  tracerProvider?: TracerProvider;
13228
+ baseUrl?: URL;
12681
13229
  }): AsyncIterable<CryptographicKey>;
12682
13230
  /**
12683
13231
  * Similar to
@@ -12695,6 +13243,7 @@ declare class Service extends Object$1 {
12695
13243
  contextLoader?: DocumentLoader;
12696
13244
  suppressError?: boolean;
12697
13245
  tracerProvider?: TracerProvider;
13246
+ baseUrl?: URL;
12698
13247
  }): Promise<Multikey | null>;
12699
13248
  /**
12700
13249
  * Similar to
@@ -12712,6 +13261,7 @@ declare class Service extends Object$1 {
12712
13261
  contextLoader?: DocumentLoader;
12713
13262
  suppressError?: boolean;
12714
13263
  tracerProvider?: TracerProvider;
13264
+ baseUrl?: URL;
12715
13265
  }): AsyncIterable<Multikey>;
12716
13266
  /** When `true`, conveys that for this actor, follow requests are not usually
12717
13267
  * automatically approved, but instead are examined by a person who may accept
@@ -12746,6 +13296,7 @@ declare class Service extends Object$1 {
12746
13296
  contextLoader?: DocumentLoader;
12747
13297
  suppressError?: boolean;
12748
13298
  tracerProvider?: TracerProvider;
13299
+ baseUrl?: URL;
12749
13300
  }): Promise<OrderedCollection | OrderedCollectionPage | null>;
12750
13301
  /**
12751
13302
  * Similar to
@@ -12769,6 +13320,7 @@ declare class Service extends Object$1 {
12769
13320
  contextLoader?: DocumentLoader;
12770
13321
  suppressError?: boolean;
12771
13322
  tracerProvider?: TracerProvider;
13323
+ baseUrl?: URL;
12772
13324
  }): Promise<OrderedCollection | OrderedCollectionPage | null>;
12773
13325
  /**
12774
13326
  * Similar to
@@ -12787,6 +13339,7 @@ declare class Service extends Object$1 {
12787
13339
  contextLoader?: DocumentLoader;
12788
13340
  suppressError?: boolean;
12789
13341
  tracerProvider?: TracerProvider;
13342
+ baseUrl?: URL;
12790
13343
  }): Promise<Collection | null>;
12791
13344
  /**
12792
13345
  * Similar to
@@ -12808,6 +13361,7 @@ declare class Service extends Object$1 {
12808
13361
  contextLoader?: DocumentLoader;
12809
13362
  suppressError?: boolean;
12810
13363
  tracerProvider?: TracerProvider;
13364
+ baseUrl?: URL;
12811
13365
  }): Promise<Collection | null>;
12812
13366
  /**
12813
13367
  * Similar to
@@ -12827,6 +13381,7 @@ declare class Service extends Object$1 {
12827
13381
  contextLoader?: DocumentLoader;
12828
13382
  suppressError?: boolean;
12829
13383
  tracerProvider?: TracerProvider;
13384
+ baseUrl?: URL;
12830
13385
  }): Promise<Collection | null>;
12831
13386
  /**
12832
13387
  * Similar to
@@ -12844,6 +13399,7 @@ declare class Service extends Object$1 {
12844
13399
  contextLoader?: DocumentLoader;
12845
13400
  suppressError?: boolean;
12846
13401
  tracerProvider?: TracerProvider;
13402
+ baseUrl?: URL;
12847
13403
  }): Promise<Collection | null>;
12848
13404
  /**
12849
13405
  * Similar to
@@ -12861,6 +13417,7 @@ declare class Service extends Object$1 {
12861
13417
  contextLoader?: DocumentLoader;
12862
13418
  suppressError?: boolean;
12863
13419
  tracerProvider?: TracerProvider;
13420
+ baseUrl?: URL;
12864
13421
  }): Promise<Collection | null>;
12865
13422
  /**
12866
13423
  * Similar to
@@ -12875,6 +13432,7 @@ declare class Service extends Object$1 {
12875
13432
  contextLoader?: DocumentLoader;
12876
13433
  suppressError?: boolean;
12877
13434
  tracerProvider?: TracerProvider;
13435
+ baseUrl?: URL;
12878
13436
  }): AsyncIterable<Collection>;
12879
13437
  /** A JSON object which maps additional (typically server/domain-wide) endpoints
12880
13438
  * which may be useful either for this actor or someone referencing this actor.
@@ -12911,6 +13469,7 @@ declare class Service extends Object$1 {
12911
13469
  contextLoader?: DocumentLoader;
12912
13470
  suppressError?: boolean;
12913
13471
  tracerProvider?: TracerProvider;
13472
+ baseUrl?: URL;
12914
13473
  }): Promise<Application | Group | Organization | Person | Service | null>;
12915
13474
  /**
12916
13475
  * Similar to
@@ -12928,6 +13487,7 @@ declare class Service extends Object$1 {
12928
13487
  contextLoader?: DocumentLoader;
12929
13488
  suppressError?: boolean;
12930
13489
  tracerProvider?: TracerProvider;
13490
+ baseUrl?: URL;
12931
13491
  }): Promise<Application | Group | Organization | Person | Service | null>;
12932
13492
  /**
12933
13493
  * Similar to
@@ -12945,6 +13505,7 @@ declare class Service extends Object$1 {
12945
13505
  contextLoader?: DocumentLoader;
12946
13506
  suppressError?: boolean;
12947
13507
  tracerProvider?: TracerProvider;
13508
+ baseUrl?: URL;
12948
13509
  }): AsyncIterable<Application | Group | Organization | Person | Service>;
12949
13510
  /**
12950
13511
  * Similar to
@@ -12962,6 +13523,7 @@ declare class Service extends Object$1 {
12962
13523
  contextLoader?: DocumentLoader;
12963
13524
  suppressError?: boolean;
12964
13525
  tracerProvider?: TracerProvider;
13526
+ baseUrl?: URL;
12965
13527
  }): Promise<DidService | null>;
12966
13528
  /**
12967
13529
  * Similar to
@@ -12979,6 +13541,7 @@ declare class Service extends Object$1 {
12979
13541
  contextLoader?: DocumentLoader;
12980
13542
  suppressError?: boolean;
12981
13543
  tracerProvider?: TracerProvider;
13544
+ baseUrl?: URL;
12982
13545
  }): AsyncIterable<DidService>;
12983
13546
  /** This value is used for `Actor` type objects to show message on followed.
12984
13547
  */
@@ -13020,11 +13583,13 @@ declare class Service extends Object$1 {
13020
13583
  documentLoader?: DocumentLoader;
13021
13584
  contextLoader?: DocumentLoader;
13022
13585
  tracerProvider?: TracerProvider;
13586
+ baseUrl?: URL;
13023
13587
  }): Promise<Service>;
13024
13588
  protected static __fromJsonLd__Service__(json: unknown, span: Span, options?: {
13025
13589
  documentLoader?: DocumentLoader;
13026
13590
  contextLoader?: DocumentLoader;
13027
13591
  tracerProvider?: TracerProvider;
13592
+ baseUrl?: URL;
13028
13593
  }): Promise<Service>;
13029
13594
  protected _getCustomInspectProxy(): Record<string, unknown>;
13030
13595
  }
@@ -13032,6 +13597,7 @@ declare class Service extends Object$1 {
13032
13597
  */
13033
13598
  declare class Source {
13034
13599
  #private;
13600
+ protected readonly _baseUrl?: URL;
13035
13601
  readonly id: URL | null;
13036
13602
  protected get _documentLoader(): DocumentLoader | undefined;
13037
13603
  protected get _contextLoader(): DocumentLoader | undefined;
@@ -13047,6 +13613,10 @@ declare class Source {
13047
13613
  * The type URI of {@link Source}: `https://www.w3.org/ns/activitystreams#Source`.
13048
13614
  */
13049
13615
  static get typeId(): URL;
13616
+ /**
13617
+ * The base URL used for resolving relative URLs in this object.
13618
+ */
13619
+ get baseUrl(): URL | undefined;
13050
13620
  /**
13051
13621
  * Constructs a new instance of Source with the given values.
13052
13622
  * @param values The values to initialize the instance with.
@@ -13061,6 +13631,7 @@ declare class Source {
13061
13631
  documentLoader?: DocumentLoader;
13062
13632
  contextLoader?: DocumentLoader;
13063
13633
  tracerProvider?: TracerProvider;
13634
+ baseUrl?: URL;
13064
13635
  });
13065
13636
  /**
13066
13637
  * Clones this instance, optionally updating it with the given values.
@@ -13117,11 +13688,13 @@ declare class Source {
13117
13688
  documentLoader?: DocumentLoader;
13118
13689
  contextLoader?: DocumentLoader;
13119
13690
  tracerProvider?: TracerProvider;
13691
+ baseUrl?: URL;
13120
13692
  }): Promise<Source>;
13121
13693
  protected static __fromJsonLd__Source__(json: unknown, span: Span, options?: {
13122
13694
  documentLoader?: DocumentLoader;
13123
13695
  contextLoader?: DocumentLoader;
13124
13696
  tracerProvider?: TracerProvider;
13697
+ baseUrl?: URL;
13125
13698
  }): Promise<Source>;
13126
13699
  protected _getCustomInspectProxy(): Record<string, unknown>;
13127
13700
  }
@@ -13133,6 +13706,10 @@ declare class TentativeAccept extends Accept {
13133
13706
  * The type URI of {@link TentativeAccept}: `https://www.w3.org/ns/activitystreams#TentativeAccept`.
13134
13707
  */
13135
13708
  static get typeId(): URL;
13709
+ /**
13710
+ * The base URL used for resolving relative URLs in this object.
13711
+ */
13712
+ get baseUrl(): URL | undefined;
13136
13713
  /**
13137
13714
  * Constructs a new instance of TentativeAccept with the given values.
13138
13715
  * @param values The values to initialize the instance with.
@@ -13204,6 +13781,7 @@ declare class TentativeAccept extends Accept {
13204
13781
  documentLoader?: DocumentLoader;
13205
13782
  contextLoader?: DocumentLoader;
13206
13783
  tracerProvider?: TracerProvider;
13784
+ baseUrl?: URL;
13207
13785
  });
13208
13786
  /**
13209
13787
  * Clones this instance, optionally updating it with the given values.
@@ -13308,11 +13886,13 @@ declare class TentativeAccept extends Accept {
13308
13886
  documentLoader?: DocumentLoader;
13309
13887
  contextLoader?: DocumentLoader;
13310
13888
  tracerProvider?: TracerProvider;
13889
+ baseUrl?: URL;
13311
13890
  }): Promise<TentativeAccept>;
13312
13891
  protected static __fromJsonLd__TentativeAccept__(json: unknown, span: Span, options?: {
13313
13892
  documentLoader?: DocumentLoader;
13314
13893
  contextLoader?: DocumentLoader;
13315
13894
  tracerProvider?: TracerProvider;
13895
+ baseUrl?: URL;
13316
13896
  }): Promise<TentativeAccept>;
13317
13897
  protected _getCustomInspectProxy(): Record<string, unknown>;
13318
13898
  }
@@ -13324,6 +13904,10 @@ declare class TentativeReject extends Reject {
13324
13904
  * The type URI of {@link TentativeReject}: `https://www.w3.org/ns/activitystreams#TentativeReject`.
13325
13905
  */
13326
13906
  static get typeId(): URL;
13907
+ /**
13908
+ * The base URL used for resolving relative URLs in this object.
13909
+ */
13910
+ get baseUrl(): URL | undefined;
13327
13911
  /**
13328
13912
  * Constructs a new instance of TentativeReject with the given values.
13329
13913
  * @param values The values to initialize the instance with.
@@ -13395,6 +13979,7 @@ declare class TentativeReject extends Reject {
13395
13979
  documentLoader?: DocumentLoader;
13396
13980
  contextLoader?: DocumentLoader;
13397
13981
  tracerProvider?: TracerProvider;
13982
+ baseUrl?: URL;
13398
13983
  });
13399
13984
  /**
13400
13985
  * Clones this instance, optionally updating it with the given values.
@@ -13499,11 +14084,13 @@ declare class TentativeReject extends Reject {
13499
14084
  documentLoader?: DocumentLoader;
13500
14085
  contextLoader?: DocumentLoader;
13501
14086
  tracerProvider?: TracerProvider;
14087
+ baseUrl?: URL;
13502
14088
  }): Promise<TentativeReject>;
13503
14089
  protected static __fromJsonLd__TentativeReject__(json: unknown, span: Span, options?: {
13504
14090
  documentLoader?: DocumentLoader;
13505
14091
  contextLoader?: DocumentLoader;
13506
14092
  tracerProvider?: TracerProvider;
14093
+ baseUrl?: URL;
13507
14094
  }): Promise<TentativeReject>;
13508
14095
  protected _getCustomInspectProxy(): Record<string, unknown>;
13509
14096
  }
@@ -13517,6 +14104,10 @@ declare class Tombstone extends Object$1 {
13517
14104
  * The type URI of {@link Tombstone}: `https://www.w3.org/ns/activitystreams#Tombstone`.
13518
14105
  */
13519
14106
  static get typeId(): URL;
14107
+ /**
14108
+ * The base URL used for resolving relative URLs in this object.
14109
+ */
14110
+ get baseUrl(): URL | undefined;
13520
14111
  /**
13521
14112
  * Constructs a new instance of Tombstone with the given values.
13522
14113
  * @param values The values to initialize the instance with.
@@ -13577,6 +14168,7 @@ declare class Tombstone extends Object$1 {
13577
14168
  documentLoader?: DocumentLoader;
13578
14169
  contextLoader?: DocumentLoader;
13579
14170
  tracerProvider?: TracerProvider;
14171
+ baseUrl?: URL;
13580
14172
  });
13581
14173
  /**
13582
14174
  * Clones this instance, optionally updating it with the given values.
@@ -13674,11 +14266,13 @@ declare class Tombstone extends Object$1 {
13674
14266
  documentLoader?: DocumentLoader;
13675
14267
  contextLoader?: DocumentLoader;
13676
14268
  tracerProvider?: TracerProvider;
14269
+ baseUrl?: URL;
13677
14270
  }): Promise<Tombstone>;
13678
14271
  protected static __fromJsonLd__Tombstone__(json: unknown, span: Span, options?: {
13679
14272
  documentLoader?: DocumentLoader;
13680
14273
  contextLoader?: DocumentLoader;
13681
14274
  tracerProvider?: TracerProvider;
14275
+ baseUrl?: URL;
13682
14276
  }): Promise<Tombstone>;
13683
14277
  protected _getCustomInspectProxy(): Record<string, unknown>;
13684
14278
  }
@@ -13692,6 +14286,10 @@ declare class Travel extends IntransitiveActivity {
13692
14286
  * The type URI of {@link Travel}: `https://www.w3.org/ns/activitystreams#Travel`.
13693
14287
  */
13694
14288
  static get typeId(): URL;
14289
+ /**
14290
+ * The base URL used for resolving relative URLs in this object.
14291
+ */
14292
+ get baseUrl(): URL | undefined;
13695
14293
  /**
13696
14294
  * Constructs a new instance of Travel with the given values.
13697
14295
  * @param values The values to initialize the instance with.
@@ -13763,6 +14361,7 @@ declare class Travel extends IntransitiveActivity {
13763
14361
  documentLoader?: DocumentLoader;
13764
14362
  contextLoader?: DocumentLoader;
13765
14363
  tracerProvider?: TracerProvider;
14364
+ baseUrl?: URL;
13766
14365
  });
13767
14366
  /**
13768
14367
  * Clones this instance, optionally updating it with the given values.
@@ -13867,11 +14466,13 @@ declare class Travel extends IntransitiveActivity {
13867
14466
  documentLoader?: DocumentLoader;
13868
14467
  contextLoader?: DocumentLoader;
13869
14468
  tracerProvider?: TracerProvider;
14469
+ baseUrl?: URL;
13870
14470
  }): Promise<Travel>;
13871
14471
  protected static __fromJsonLd__Travel__(json: unknown, span: Span, options?: {
13872
14472
  documentLoader?: DocumentLoader;
13873
14473
  contextLoader?: DocumentLoader;
13874
14474
  tracerProvider?: TracerProvider;
14475
+ baseUrl?: URL;
13875
14476
  }): Promise<Travel>;
13876
14477
  protected _getCustomInspectProxy(): Record<string, unknown>;
13877
14478
  }
@@ -13888,6 +14489,10 @@ declare class Undo extends Activity {
13888
14489
  * The type URI of {@link Undo}: `https://www.w3.org/ns/activitystreams#Undo`.
13889
14490
  */
13890
14491
  static get typeId(): URL;
14492
+ /**
14493
+ * The base URL used for resolving relative URLs in this object.
14494
+ */
14495
+ get baseUrl(): URL | undefined;
13891
14496
  /**
13892
14497
  * Constructs a new instance of Undo with the given values.
13893
14498
  * @param values The values to initialize the instance with.
@@ -13959,6 +14564,7 @@ declare class Undo extends Activity {
13959
14564
  documentLoader?: DocumentLoader;
13960
14565
  contextLoader?: DocumentLoader;
13961
14566
  tracerProvider?: TracerProvider;
14567
+ baseUrl?: URL;
13962
14568
  });
13963
14569
  /**
13964
14570
  * Clones this instance, optionally updating it with the given values.
@@ -14063,11 +14669,13 @@ declare class Undo extends Activity {
14063
14669
  documentLoader?: DocumentLoader;
14064
14670
  contextLoader?: DocumentLoader;
14065
14671
  tracerProvider?: TracerProvider;
14672
+ baseUrl?: URL;
14066
14673
  }): Promise<Undo>;
14067
14674
  protected static __fromJsonLd__Undo__(json: unknown, span: Span, options?: {
14068
14675
  documentLoader?: DocumentLoader;
14069
14676
  contextLoader?: DocumentLoader;
14070
14677
  tracerProvider?: TracerProvider;
14678
+ baseUrl?: URL;
14071
14679
  }): Promise<Undo>;
14072
14680
  protected _getCustomInspectProxy(): Record<string, unknown>;
14073
14681
  }
@@ -14082,6 +14690,10 @@ declare class Update extends Activity {
14082
14690
  * The type URI of {@link Update}: `https://www.w3.org/ns/activitystreams#Update`.
14083
14691
  */
14084
14692
  static get typeId(): URL;
14693
+ /**
14694
+ * The base URL used for resolving relative URLs in this object.
14695
+ */
14696
+ get baseUrl(): URL | undefined;
14085
14697
  /**
14086
14698
  * Constructs a new instance of Update with the given values.
14087
14699
  * @param values The values to initialize the instance with.
@@ -14153,6 +14765,7 @@ declare class Update extends Activity {
14153
14765
  documentLoader?: DocumentLoader;
14154
14766
  contextLoader?: DocumentLoader;
14155
14767
  tracerProvider?: TracerProvider;
14768
+ baseUrl?: URL;
14156
14769
  });
14157
14770
  /**
14158
14771
  * Clones this instance, optionally updating it with the given values.
@@ -14257,11 +14870,13 @@ declare class Update extends Activity {
14257
14870
  documentLoader?: DocumentLoader;
14258
14871
  contextLoader?: DocumentLoader;
14259
14872
  tracerProvider?: TracerProvider;
14873
+ baseUrl?: URL;
14260
14874
  }): Promise<Update>;
14261
14875
  protected static __fromJsonLd__Update__(json: unknown, span: Span, options?: {
14262
14876
  documentLoader?: DocumentLoader;
14263
14877
  contextLoader?: DocumentLoader;
14264
14878
  tracerProvider?: TracerProvider;
14879
+ baseUrl?: URL;
14265
14880
  }): Promise<Update>;
14266
14881
  protected _getCustomInspectProxy(): Record<string, unknown>;
14267
14882
  }
@@ -14272,6 +14887,10 @@ declare class Video extends Document {
14272
14887
  * The type URI of {@link Video}: `https://www.w3.org/ns/activitystreams#Video`.
14273
14888
  */
14274
14889
  static get typeId(): URL;
14890
+ /**
14891
+ * The base URL used for resolving relative URLs in this object.
14892
+ */
14893
+ get baseUrl(): URL | undefined;
14275
14894
  /**
14276
14895
  * Constructs a new instance of Video with the given values.
14277
14896
  * @param values The values to initialize the instance with.
@@ -14333,6 +14952,7 @@ declare class Video extends Document {
14333
14952
  documentLoader?: DocumentLoader;
14334
14953
  contextLoader?: DocumentLoader;
14335
14954
  tracerProvider?: TracerProvider;
14955
+ baseUrl?: URL;
14336
14956
  });
14337
14957
  /**
14338
14958
  * Clones this instance, optionally updating it with the given values.
@@ -14427,11 +15047,13 @@ declare class Video extends Document {
14427
15047
  documentLoader?: DocumentLoader;
14428
15048
  contextLoader?: DocumentLoader;
14429
15049
  tracerProvider?: TracerProvider;
15050
+ baseUrl?: URL;
14430
15051
  }): Promise<Video>;
14431
15052
  protected static __fromJsonLd__Video__(json: unknown, span: Span, options?: {
14432
15053
  documentLoader?: DocumentLoader;
14433
15054
  contextLoader?: DocumentLoader;
14434
15055
  tracerProvider?: TracerProvider;
15056
+ baseUrl?: URL;
14435
15057
  }): Promise<Video>;
14436
15058
  protected _getCustomInspectProxy(): Record<string, unknown>;
14437
15059
  }
@@ -14442,6 +15064,10 @@ declare class View extends Activity {
14442
15064
  * The type URI of {@link View}: `https://www.w3.org/ns/activitystreams#View`.
14443
15065
  */
14444
15066
  static get typeId(): URL;
15067
+ /**
15068
+ * The base URL used for resolving relative URLs in this object.
15069
+ */
15070
+ get baseUrl(): URL | undefined;
14445
15071
  /**
14446
15072
  * Constructs a new instance of View with the given values.
14447
15073
  * @param values The values to initialize the instance with.
@@ -14513,6 +15139,7 @@ declare class View extends Activity {
14513
15139
  documentLoader?: DocumentLoader;
14514
15140
  contextLoader?: DocumentLoader;
14515
15141
  tracerProvider?: TracerProvider;
15142
+ baseUrl?: URL;
14516
15143
  });
14517
15144
  /**
14518
15145
  * Clones this instance, optionally updating it with the given values.
@@ -14617,11 +15244,13 @@ declare class View extends Activity {
14617
15244
  documentLoader?: DocumentLoader;
14618
15245
  contextLoader?: DocumentLoader;
14619
15246
  tracerProvider?: TracerProvider;
15247
+ baseUrl?: URL;
14620
15248
  }): Promise<View>;
14621
15249
  protected static __fromJsonLd__View__(json: unknown, span: Span, options?: {
14622
15250
  documentLoader?: DocumentLoader;
14623
15251
  contextLoader?: DocumentLoader;
14624
15252
  tracerProvider?: TracerProvider;
15253
+ baseUrl?: URL;
14625
15254
  }): Promise<View>;
14626
15255
  protected _getCustomInspectProxy(): Record<string, unknown>;
14627
15256
  }