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

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-D1V4EvER.js → actor-CX1PqLef.js} +1 -1
  2. package/dist/{actor-sTzLSD6_.cjs → actor-CpDvMeh9.cjs} +2323 -723
  3. package/dist/{actor-CSuHfouB.js → actor-D6yXbYgY.js} +2323 -723
  4. package/dist/{actor-CHOM_AN3.d.cts → actor-D8GmZX63.d.cts} +1 -1
  5. package/dist/{actor-Ch5yFYFG.d.ts → actor-sT_gcgkl.d.ts} +1 -1
  6. package/dist/{authdocloader-CernQeD-.cjs → authdocloader-B02Yhk89.cjs} +3 -3
  7. package/dist/{authdocloader-BMzf3Nu0.js → authdocloader-CtHAAz1D.js} +3 -3
  8. package/dist/{authdocloader-B7tfLvRi.js → authdocloader-_-SNQ37B.js} +3 -3
  9. package/dist/{builder-h9cCZZnb.js → builder-C5KrSbKS.js} +4 -4
  10. package/dist/{client-CgECPZj2.js → client-DbRgEC98.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-B_lWIYhZ.cjs} +1 -1
  17. package/dist/{docloader-DuzsXunk.js → docloader-DHrLpvDa.js} +1 -1
  18. package/dist/{esm-B2cC333k.js → esm-oDAmb3t0.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-4lxNFaXA.js} +3 -3
  35. package/dist/{http-BR6G0abP.js → http-ABY5j3YT.js} +2 -2
  36. package/dist/{http-B_zBcsai.d.cts → http-B9UPBFJz.d.cts} +1 -1
  37. package/dist/{http-D8Q4xH0d.d.ts → http-BGqh2jzk.d.ts} +1 -1
  38. package/dist/{http-VTTwzwT2.cjs → http-BQ0XHmus.cjs} +3 -3
  39. package/dist/{inbox-CD3UJE2C.js → inbox-D34aGNh3.js} +1 -1
  40. package/dist/{key-Dz2A0fLj.js → key-B8fuptOf.js} +2 -2
  41. package/dist/{key-C8JfrKGO.js → key-BvUiwgvU.js} +3 -3
  42. package/dist/{key-CN0L-_bC.cjs → key-CUhjb7ia.cjs} +2 -2
  43. package/dist/{key-MBMmxvRi.js → key-D5_cYZv8.js} +4 -4
  44. package/dist/{key-BCsZfpbx.js → key-DCCZ0IQz.js} +2 -2
  45. package/dist/key-DtzwU8SC.cjs +10 -0
  46. package/dist/{keycache-C29-5JKK.js → keycache-DPgak-bY.js} +1 -1
  47. package/dist/{keys-Cy9jU2vY.js → keys-R-SfK3nQ.js} +1 -1
  48. package/dist/{ld-CEjnmhZE.js → ld-Dng9Ri0Z.js} +2 -2
  49. package/dist/{lookup-CqgvO3X3.js → lookup-4DHxuyI4.js} +1 -1
  50. package/dist/{lookup-Zm-04Dn8.cjs → lookup-Bm9ZRBwj.cjs} +1 -1
  51. package/dist/{lookup-VRenDYFa.js → lookup-CgzIxSqk.js} +1 -1
  52. package/dist/{middleware-LmafMpFE.js → middleware-774Oifc4.js} +10 -10
  53. package/dist/{middleware-COzPJ0vD.js → middleware-B7DkslM_.js} +13 -13
  54. package/dist/{middleware-YcBzGojf.cjs → middleware-CpT5VG6o.cjs} +10 -10
  55. package/dist/middleware-CunKD_hx.js +17 -0
  56. package/dist/middleware-DpW8xh9z.cjs +17 -0
  57. package/dist/middleware-umMExV_X.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-Duuk0fa8.js → owner-BnmJOCds.js} +2 -2
  78. package/dist/{owner-D38zBIMc.d.ts → owner-DOUl7e-t.d.ts} +2 -2
  79. package/dist/{proof-e1QIQdeb.js → proof-4d4UTrId.js} +3 -3
  80. package/dist/{proof-uSmUZPoi.js → proof-DRGe3kWw.js} +2 -2
  81. package/dist/{proof-DDCCLcvw.cjs → proof-QLd9LtLS.cjs} +3 -3
  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-VTF45d0K.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-DtlapwX9.js} +2 -2
  107. package/dist/{type-DlklUmbH.js → type-BK1maiHl.js} +2322 -722
  108. package/dist/{types-BLPEWgGj.cjs → types-B11Jr68m.cjs} +1 -1
  109. package/dist/{types-BIWL-kwo.js → types-ChXkDqkb.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 +8 -6
  118. package/dist/{vocab-Cz092hcd.js → vocab-B7TUfvy2.js} +3 -3
  119. package/dist/{vocab-BEEm2I6u.d.ts → vocab-BW6SWH9P.d.ts} +629 -0
  120. package/dist/{vocab-B4N3JGLN.cjs → vocab-C2kef9JD.cjs} +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
@@ -28,6 +28,7 @@ declare class LanguageString extends String {
28
28
  */
29
29
  declare class Object$1 {
30
30
  #private;
31
+ protected readonly _baseUrl?: URL;
31
32
  readonly id: URL | null;
32
33
  protected get _documentLoader(): DocumentLoader | undefined;
33
34
  protected get _contextLoader(): DocumentLoader | undefined;
@@ -43,6 +44,10 @@ declare class Object$1 {
43
44
  * The type URI of {@link Object}: `https://www.w3.org/ns/activitystreams#Object`.
44
45
  */
45
46
  static get typeId(): URL;
47
+ /**
48
+ * The base URL used for resolving relative URLs in this object.
49
+ */
50
+ get baseUrl(): URL | undefined;
46
51
  /**
47
52
  * Constructs a new instance of Object with the given values.
48
53
  * @param values The values to initialize the instance with.
@@ -102,6 +107,7 @@ declare class Object$1 {
102
107
  documentLoader?: DocumentLoader;
103
108
  contextLoader?: DocumentLoader;
104
109
  tracerProvider?: TracerProvider;
110
+ baseUrl?: URL;
105
111
  });
106
112
  /**
107
113
  * Clones this instance, optionally updating it with the given values.
@@ -178,6 +184,7 @@ declare class Object$1 {
178
184
  contextLoader?: DocumentLoader;
179
185
  suppressError?: boolean;
180
186
  tracerProvider?: TracerProvider;
187
+ baseUrl?: URL;
181
188
  }): AsyncIterable<Object$1 | Link | PropertyValue>;
182
189
  /**
183
190
  * Similar to
@@ -194,6 +201,7 @@ declare class Object$1 {
194
201
  contextLoader?: DocumentLoader;
195
202
  suppressError?: boolean;
196
203
  tracerProvider?: TracerProvider;
204
+ baseUrl?: URL;
197
205
  }): Promise<Application | Group | Organization | Person | Service | null>;
198
206
  /**
199
207
  * Similar to
@@ -210,6 +218,7 @@ declare class Object$1 {
210
218
  contextLoader?: DocumentLoader;
211
219
  suppressError?: boolean;
212
220
  tracerProvider?: TracerProvider;
221
+ baseUrl?: URL;
213
222
  }): AsyncIterable<Application | Group | Organization | Person | Service>;
214
223
  /**
215
224
  * Similar to
@@ -225,6 +234,7 @@ declare class Object$1 {
225
234
  contextLoader?: DocumentLoader;
226
235
  suppressError?: boolean;
227
236
  tracerProvider?: TracerProvider;
237
+ baseUrl?: URL;
228
238
  }): Promise<Object$1 | null>;
229
239
  /**
230
240
  * Similar to
@@ -240,6 +250,7 @@ declare class Object$1 {
240
250
  contextLoader?: DocumentLoader;
241
251
  suppressError?: boolean;
242
252
  tracerProvider?: TracerProvider;
253
+ baseUrl?: URL;
243
254
  }): AsyncIterable<Object$1>;
244
255
  /** The content or textual representation of the Object encoded as a JSON
245
256
  * string. By default, the value of `content` is HTML. The `mediaType`
@@ -274,6 +285,7 @@ declare class Object$1 {
274
285
  contextLoader?: DocumentLoader;
275
286
  suppressError?: boolean;
276
287
  tracerProvider?: TracerProvider;
288
+ baseUrl?: URL;
277
289
  }): AsyncIterable<Object$1 | Link>;
278
290
  /** A simple, human-readable, plain-text name for the object. HTML markup MUST
279
291
  * NOT be included. The name MAY be expressed using multiple language-tagged
@@ -304,6 +316,7 @@ declare class Object$1 {
304
316
  contextLoader?: DocumentLoader;
305
317
  suppressError?: boolean;
306
318
  tracerProvider?: TracerProvider;
319
+ baseUrl?: URL;
307
320
  }): AsyncIterable<Object$1 | Link>;
308
321
  /**
309
322
  * Similar to
@@ -320,6 +333,7 @@ declare class Object$1 {
320
333
  contextLoader?: DocumentLoader;
321
334
  suppressError?: boolean;
322
335
  tracerProvider?: TracerProvider;
336
+ baseUrl?: URL;
323
337
  }): Promise<Image | null>;
324
338
  /**
325
339
  * Similar to
@@ -336,6 +350,7 @@ declare class Object$1 {
336
350
  contextLoader?: DocumentLoader;
337
351
  suppressError?: boolean;
338
352
  tracerProvider?: TracerProvider;
353
+ baseUrl?: URL;
339
354
  }): AsyncIterable<Image>;
340
355
  /**
341
356
  * Similar to
@@ -352,6 +367,7 @@ declare class Object$1 {
352
367
  contextLoader?: DocumentLoader;
353
368
  suppressError?: boolean;
354
369
  tracerProvider?: TracerProvider;
370
+ baseUrl?: URL;
355
371
  }): Promise<Image | null>;
356
372
  /**
357
373
  * Similar to
@@ -368,6 +384,7 @@ declare class Object$1 {
368
384
  contextLoader?: DocumentLoader;
369
385
  suppressError?: boolean;
370
386
  tracerProvider?: TracerProvider;
387
+ baseUrl?: URL;
371
388
  }): AsyncIterable<Image>;
372
389
  /**
373
390
  * Similar to
@@ -383,6 +400,7 @@ declare class Object$1 {
383
400
  contextLoader?: DocumentLoader;
384
401
  suppressError?: boolean;
385
402
  tracerProvider?: TracerProvider;
403
+ baseUrl?: URL;
386
404
  }): Promise<Object$1 | Link | null>;
387
405
  /**
388
406
  * Similar to
@@ -398,6 +416,7 @@ declare class Object$1 {
398
416
  contextLoader?: DocumentLoader;
399
417
  suppressError?: boolean;
400
418
  tracerProvider?: TracerProvider;
419
+ baseUrl?: URL;
401
420
  }): AsyncIterable<Object$1 | Link>;
402
421
  /**
403
422
  * Similar to
@@ -413,6 +432,7 @@ declare class Object$1 {
413
432
  contextLoader?: DocumentLoader;
414
433
  suppressError?: boolean;
415
434
  tracerProvider?: TracerProvider;
435
+ baseUrl?: URL;
416
436
  }): Promise<Object$1 | Link | null>;
417
437
  /**
418
438
  * Similar to
@@ -428,6 +448,7 @@ declare class Object$1 {
428
448
  contextLoader?: DocumentLoader;
429
449
  suppressError?: boolean;
430
450
  tracerProvider?: TracerProvider;
451
+ baseUrl?: URL;
431
452
  }): AsyncIterable<Object$1 | Link>;
432
453
  /**
433
454
  * Similar to
@@ -442,6 +463,7 @@ declare class Object$1 {
442
463
  contextLoader?: DocumentLoader;
443
464
  suppressError?: boolean;
444
465
  tracerProvider?: TracerProvider;
466
+ baseUrl?: URL;
445
467
  }): Promise<Link | Object$1 | null>;
446
468
  /**
447
469
  * Similar to
@@ -456,6 +478,7 @@ declare class Object$1 {
456
478
  contextLoader?: DocumentLoader;
457
479
  suppressError?: boolean;
458
480
  tracerProvider?: TracerProvider;
481
+ baseUrl?: URL;
459
482
  }): AsyncIterable<Link | Object$1>;
460
483
  /** The date and time at which the object was published.
461
484
  */
@@ -474,6 +497,7 @@ declare class Object$1 {
474
497
  contextLoader?: DocumentLoader;
475
498
  suppressError?: boolean;
476
499
  tracerProvider?: TracerProvider;
500
+ baseUrl?: URL;
477
501
  }): Promise<Collection | null>;
478
502
  /**
479
503
  * Similar to
@@ -495,6 +519,7 @@ declare class Object$1 {
495
519
  contextLoader?: DocumentLoader;
496
520
  suppressError?: boolean;
497
521
  tracerProvider?: TracerProvider;
522
+ baseUrl?: URL;
498
523
  }): Promise<Collection | null>;
499
524
  /**
500
525
  * Similar to
@@ -516,6 +541,7 @@ declare class Object$1 {
516
541
  contextLoader?: DocumentLoader;
517
542
  suppressError?: boolean;
518
543
  tracerProvider?: TracerProvider;
544
+ baseUrl?: URL;
519
545
  }): Promise<Collection | null>;
520
546
  /**
521
547
  * Similar to
@@ -531,6 +557,7 @@ declare class Object$1 {
531
557
  contextLoader?: DocumentLoader;
532
558
  suppressError?: boolean;
533
559
  tracerProvider?: TracerProvider;
560
+ baseUrl?: URL;
534
561
  }): Promise<Collection | null>;
535
562
  /** The date and time describing the actual or expected starting time of
536
563
  * the object. When used with an {@link Activity} object, for instance,
@@ -562,6 +589,7 @@ declare class Object$1 {
562
589
  contextLoader?: DocumentLoader;
563
590
  suppressError?: boolean;
564
591
  tracerProvider?: TracerProvider;
592
+ baseUrl?: URL;
565
593
  }): AsyncIterable<Object$1 | Link>;
566
594
  /** The date and time at which the object was updated.
567
595
  */
@@ -586,6 +614,7 @@ declare class Object$1 {
586
614
  contextLoader?: DocumentLoader;
587
615
  suppressError?: boolean;
588
616
  tracerProvider?: TracerProvider;
617
+ baseUrl?: URL;
589
618
  }): Promise<Object$1 | null>;
590
619
  /**
591
620
  * Similar to
@@ -601,6 +630,7 @@ declare class Object$1 {
601
630
  contextLoader?: DocumentLoader;
602
631
  suppressError?: boolean;
603
632
  tracerProvider?: TracerProvider;
633
+ baseUrl?: URL;
604
634
  }): AsyncIterable<Object$1>;
605
635
  /**
606
636
  * Similar to
@@ -616,6 +646,7 @@ declare class Object$1 {
616
646
  contextLoader?: DocumentLoader;
617
647
  suppressError?: boolean;
618
648
  tracerProvider?: TracerProvider;
649
+ baseUrl?: URL;
619
650
  }): Promise<Object$1 | null>;
620
651
  /**
621
652
  * Similar to
@@ -631,6 +662,7 @@ declare class Object$1 {
631
662
  contextLoader?: DocumentLoader;
632
663
  suppressError?: boolean;
633
664
  tracerProvider?: TracerProvider;
665
+ baseUrl?: URL;
634
666
  }): AsyncIterable<Object$1>;
635
667
  /**
636
668
  * Similar to
@@ -646,6 +678,7 @@ declare class Object$1 {
646
678
  contextLoader?: DocumentLoader;
647
679
  suppressError?: boolean;
648
680
  tracerProvider?: TracerProvider;
681
+ baseUrl?: URL;
649
682
  }): Promise<Object$1 | null>;
650
683
  /**
651
684
  * Similar to
@@ -661,6 +694,7 @@ declare class Object$1 {
661
694
  contextLoader?: DocumentLoader;
662
695
  suppressError?: boolean;
663
696
  tracerProvider?: TracerProvider;
697
+ baseUrl?: URL;
664
698
  }): AsyncIterable<Object$1>;
665
699
  /**
666
700
  * Similar to
@@ -676,6 +710,7 @@ declare class Object$1 {
676
710
  contextLoader?: DocumentLoader;
677
711
  suppressError?: boolean;
678
712
  tracerProvider?: TracerProvider;
713
+ baseUrl?: URL;
679
714
  }): Promise<Object$1 | null>;
680
715
  /**
681
716
  * Similar to
@@ -691,6 +726,7 @@ declare class Object$1 {
691
726
  contextLoader?: DocumentLoader;
692
727
  suppressError?: boolean;
693
728
  tracerProvider?: TracerProvider;
729
+ baseUrl?: URL;
694
730
  }): AsyncIterable<Object$1>;
695
731
  /** When used on an {@link Object}, identifies the MIME media type of the value
696
732
  * of the `content` property. If not specified, the `content` property is
@@ -726,6 +762,7 @@ declare class Object$1 {
726
762
  contextLoader?: DocumentLoader;
727
763
  suppressError?: boolean;
728
764
  tracerProvider?: TracerProvider;
765
+ baseUrl?: URL;
729
766
  }): Promise<DataIntegrityProof | null>;
730
767
  /**
731
768
  * Similar to
@@ -740,6 +777,7 @@ declare class Object$1 {
740
777
  contextLoader?: DocumentLoader;
741
778
  suppressError?: boolean;
742
779
  tracerProvider?: TracerProvider;
780
+ baseUrl?: URL;
743
781
  }): AsyncIterable<DataIntegrityProof>;
744
782
  /**
745
783
  * Converts this object to a JSON-LD structure.
@@ -772,11 +810,13 @@ declare class Object$1 {
772
810
  documentLoader?: DocumentLoader;
773
811
  contextLoader?: DocumentLoader;
774
812
  tracerProvider?: TracerProvider;
813
+ baseUrl?: URL;
775
814
  }): Promise<Object$1>;
776
815
  protected static __fromJsonLd__Object__(json: unknown, span: Span, options?: {
777
816
  documentLoader?: DocumentLoader;
778
817
  contextLoader?: DocumentLoader;
779
818
  tracerProvider?: TracerProvider;
819
+ baseUrl?: URL;
780
820
  }): Promise<Object$1>;
781
821
  protected _getCustomInspectProxy(): Record<string, unknown>;
782
822
  }
@@ -787,6 +827,10 @@ declare class Emoji extends Object$1 {
787
827
  * The type URI of {@link Emoji}: `http://joinmastodon.org/ns#Emoji`.
788
828
  */
789
829
  static get typeId(): URL;
830
+ /**
831
+ * The base URL used for resolving relative URLs in this object.
832
+ */
833
+ get baseUrl(): URL | undefined;
790
834
  /**
791
835
  * Constructs a new instance of Emoji with the given values.
792
836
  * @param values The values to initialize the instance with.
@@ -846,6 +890,7 @@ declare class Emoji extends Object$1 {
846
890
  documentLoader?: DocumentLoader;
847
891
  contextLoader?: DocumentLoader;
848
892
  tracerProvider?: TracerProvider;
893
+ baseUrl?: URL;
849
894
  });
850
895
  /**
851
896
  * Clones this instance, optionally updating it with the given values.
@@ -938,11 +983,13 @@ declare class Emoji extends Object$1 {
938
983
  documentLoader?: DocumentLoader;
939
984
  contextLoader?: DocumentLoader;
940
985
  tracerProvider?: TracerProvider;
986
+ baseUrl?: URL;
941
987
  }): Promise<Emoji>;
942
988
  protected static __fromJsonLd__Emoji__(json: unknown, span: Span, options?: {
943
989
  documentLoader?: DocumentLoader;
944
990
  contextLoader?: DocumentLoader;
945
991
  tracerProvider?: TracerProvider;
992
+ baseUrl?: URL;
946
993
  }): Promise<Emoji>;
947
994
  protected _getCustomInspectProxy(): Record<string, unknown>;
948
995
  }
@@ -958,6 +1005,10 @@ declare class ChatMessage extends Object$1 {
958
1005
  * The type URI of {@link ChatMessage}: `http://litepub.social/ns#ChatMessage`.
959
1006
  */
960
1007
  static get typeId(): URL;
1008
+ /**
1009
+ * The base URL used for resolving relative URLs in this object.
1010
+ */
1011
+ get baseUrl(): URL | undefined;
961
1012
  /**
962
1013
  * Constructs a new instance of ChatMessage with the given values.
963
1014
  * @param values The values to initialize the instance with.
@@ -1018,6 +1069,7 @@ declare class ChatMessage extends Object$1 {
1018
1069
  documentLoader?: DocumentLoader;
1019
1070
  contextLoader?: DocumentLoader;
1020
1071
  tracerProvider?: TracerProvider;
1072
+ baseUrl?: URL;
1021
1073
  });
1022
1074
  /**
1023
1075
  * Clones this instance, optionally updating it with the given values.
@@ -1123,11 +1175,13 @@ declare class ChatMessage extends Object$1 {
1123
1175
  documentLoader?: DocumentLoader;
1124
1176
  contextLoader?: DocumentLoader;
1125
1177
  tracerProvider?: TracerProvider;
1178
+ baseUrl?: URL;
1126
1179
  }): Promise<ChatMessage>;
1127
1180
  protected static __fromJsonLd__ChatMessage__(json: unknown, span: Span, options?: {
1128
1181
  documentLoader?: DocumentLoader;
1129
1182
  contextLoader?: DocumentLoader;
1130
1183
  tracerProvider?: TracerProvider;
1184
+ baseUrl?: URL;
1131
1185
  }): Promise<ChatMessage>;
1132
1186
  protected _getCustomInspectProxy(): Record<string, unknown>;
1133
1187
  }
@@ -1143,6 +1197,10 @@ declare class Activity extends Object$1 {
1143
1197
  * The type URI of {@link Activity}: `https://www.w3.org/ns/activitystreams#Activity`.
1144
1198
  */
1145
1199
  static get typeId(): URL;
1200
+ /**
1201
+ * The base URL used for resolving relative URLs in this object.
1202
+ */
1203
+ get baseUrl(): URL | undefined;
1146
1204
  /**
1147
1205
  * Constructs a new instance of Activity with the given values.
1148
1206
  * @param values The values to initialize the instance with.
@@ -1214,6 +1272,7 @@ declare class Activity extends Object$1 {
1214
1272
  documentLoader?: DocumentLoader;
1215
1273
  contextLoader?: DocumentLoader;
1216
1274
  tracerProvider?: TracerProvider;
1275
+ baseUrl?: URL;
1217
1276
  });
1218
1277
  /**
1219
1278
  * Clones this instance, optionally updating it with the given values.
@@ -1302,6 +1361,7 @@ declare class Activity extends Object$1 {
1302
1361
  contextLoader?: DocumentLoader;
1303
1362
  suppressError?: boolean;
1304
1363
  tracerProvider?: TracerProvider;
1364
+ baseUrl?: URL;
1305
1365
  }): Promise<Application | Group | Organization | Person | Service | null>;
1306
1366
  /**
1307
1367
  * Similar to
@@ -1318,6 +1378,7 @@ declare class Activity extends Object$1 {
1318
1378
  contextLoader?: DocumentLoader;
1319
1379
  suppressError?: boolean;
1320
1380
  tracerProvider?: TracerProvider;
1381
+ baseUrl?: URL;
1321
1382
  }): AsyncIterable<Application | Group | Organization | Person | Service>;
1322
1383
  /**
1323
1384
  * Similar to
@@ -1334,6 +1395,7 @@ declare class Activity extends Object$1 {
1334
1395
  contextLoader?: DocumentLoader;
1335
1396
  suppressError?: boolean;
1336
1397
  tracerProvider?: TracerProvider;
1398
+ baseUrl?: URL;
1337
1399
  }): Promise<Object$1 | null>;
1338
1400
  /**
1339
1401
  * Similar to
@@ -1350,6 +1412,7 @@ declare class Activity extends Object$1 {
1350
1412
  contextLoader?: DocumentLoader;
1351
1413
  suppressError?: boolean;
1352
1414
  tracerProvider?: TracerProvider;
1415
+ baseUrl?: URL;
1353
1416
  }): AsyncIterable<Object$1>;
1354
1417
  /**
1355
1418
  * Similar to
@@ -1369,6 +1432,7 @@ declare class Activity extends Object$1 {
1369
1432
  contextLoader?: DocumentLoader;
1370
1433
  suppressError?: boolean;
1371
1434
  tracerProvider?: TracerProvider;
1435
+ baseUrl?: URL;
1372
1436
  }): Promise<Object$1 | null>;
1373
1437
  /**
1374
1438
  * Similar to
@@ -1388,6 +1452,7 @@ declare class Activity extends Object$1 {
1388
1452
  contextLoader?: DocumentLoader;
1389
1453
  suppressError?: boolean;
1390
1454
  tracerProvider?: TracerProvider;
1455
+ baseUrl?: URL;
1391
1456
  }): AsyncIterable<Object$1>;
1392
1457
  /**
1393
1458
  * Similar to
@@ -1404,6 +1469,7 @@ declare class Activity extends Object$1 {
1404
1469
  contextLoader?: DocumentLoader;
1405
1470
  suppressError?: boolean;
1406
1471
  tracerProvider?: TracerProvider;
1472
+ baseUrl?: URL;
1407
1473
  }): Promise<Object$1 | null>;
1408
1474
  /**
1409
1475
  * Similar to
@@ -1420,6 +1486,7 @@ declare class Activity extends Object$1 {
1420
1486
  contextLoader?: DocumentLoader;
1421
1487
  suppressError?: boolean;
1422
1488
  tracerProvider?: TracerProvider;
1489
+ baseUrl?: URL;
1423
1490
  }): AsyncIterable<Object$1>;
1424
1491
  /**
1425
1492
  * Similar to
@@ -1437,6 +1504,7 @@ declare class Activity extends Object$1 {
1437
1504
  contextLoader?: DocumentLoader;
1438
1505
  suppressError?: boolean;
1439
1506
  tracerProvider?: TracerProvider;
1507
+ baseUrl?: URL;
1440
1508
  }): Promise<Object$1 | null>;
1441
1509
  /**
1442
1510
  * Similar to
@@ -1454,6 +1522,7 @@ declare class Activity extends Object$1 {
1454
1522
  contextLoader?: DocumentLoader;
1455
1523
  suppressError?: boolean;
1456
1524
  tracerProvider?: TracerProvider;
1525
+ baseUrl?: URL;
1457
1526
  }): AsyncIterable<Object$1>;
1458
1527
  /**
1459
1528
  * Similar to
@@ -1469,6 +1538,7 @@ declare class Activity extends Object$1 {
1469
1538
  contextLoader?: DocumentLoader;
1470
1539
  suppressError?: boolean;
1471
1540
  tracerProvider?: TracerProvider;
1541
+ baseUrl?: URL;
1472
1542
  }): Promise<Object$1 | null>;
1473
1543
  /**
1474
1544
  * Similar to
@@ -1484,6 +1554,7 @@ declare class Activity extends Object$1 {
1484
1554
  contextLoader?: DocumentLoader;
1485
1555
  suppressError?: boolean;
1486
1556
  tracerProvider?: TracerProvider;
1557
+ baseUrl?: URL;
1487
1558
  }): AsyncIterable<Object$1>;
1488
1559
  /**
1489
1560
  * Converts this object to a JSON-LD structure.
@@ -1516,11 +1587,13 @@ declare class Activity extends Object$1 {
1516
1587
  documentLoader?: DocumentLoader;
1517
1588
  contextLoader?: DocumentLoader;
1518
1589
  tracerProvider?: TracerProvider;
1590
+ baseUrl?: URL;
1519
1591
  }): Promise<Activity>;
1520
1592
  protected static __fromJsonLd__Activity__(json: unknown, span: Span, options?: {
1521
1593
  documentLoader?: DocumentLoader;
1522
1594
  contextLoader?: DocumentLoader;
1523
1595
  tracerProvider?: TracerProvider;
1596
+ baseUrl?: URL;
1524
1597
  }): Promise<Activity>;
1525
1598
  protected _getCustomInspectProxy(): Record<string, unknown>;
1526
1599
  }
@@ -1531,6 +1604,10 @@ declare class EmojiReact extends Activity {
1531
1604
  * The type URI of {@link EmojiReact}: `http://litepub.social/ns#EmojiReact`.
1532
1605
  */
1533
1606
  static get typeId(): URL;
1607
+ /**
1608
+ * The base URL used for resolving relative URLs in this object.
1609
+ */
1610
+ get baseUrl(): URL | undefined;
1534
1611
  /**
1535
1612
  * Constructs a new instance of EmojiReact with the given values.
1536
1613
  * @param values The values to initialize the instance with.
@@ -1602,6 +1679,7 @@ declare class EmojiReact extends Activity {
1602
1679
  documentLoader?: DocumentLoader;
1603
1680
  contextLoader?: DocumentLoader;
1604
1681
  tracerProvider?: TracerProvider;
1682
+ baseUrl?: URL;
1605
1683
  });
1606
1684
  /**
1607
1685
  * Clones this instance, optionally updating it with the given values.
@@ -1706,11 +1784,13 @@ declare class EmojiReact extends Activity {
1706
1784
  documentLoader?: DocumentLoader;
1707
1785
  contextLoader?: DocumentLoader;
1708
1786
  tracerProvider?: TracerProvider;
1787
+ baseUrl?: URL;
1709
1788
  }): Promise<EmojiReact>;
1710
1789
  protected static __fromJsonLd__EmojiReact__(json: unknown, span: Span, options?: {
1711
1790
  documentLoader?: DocumentLoader;
1712
1791
  contextLoader?: DocumentLoader;
1713
1792
  tracerProvider?: TracerProvider;
1793
+ baseUrl?: URL;
1714
1794
  }): Promise<EmojiReact>;
1715
1795
  protected _getCustomInspectProxy(): Record<string, unknown>;
1716
1796
  }
@@ -1718,6 +1798,7 @@ declare class EmojiReact extends Activity {
1718
1798
  */
1719
1799
  declare class PropertyValue {
1720
1800
  #private;
1801
+ protected readonly _baseUrl?: URL;
1721
1802
  readonly id: URL | null;
1722
1803
  protected get _documentLoader(): DocumentLoader | undefined;
1723
1804
  protected get _contextLoader(): DocumentLoader | undefined;
@@ -1733,6 +1814,10 @@ declare class PropertyValue {
1733
1814
  * The type URI of {@link PropertyValue}: `http://schema.org#PropertyValue`.
1734
1815
  */
1735
1816
  static get typeId(): URL;
1817
+ /**
1818
+ * The base URL used for resolving relative URLs in this object.
1819
+ */
1820
+ get baseUrl(): URL | undefined;
1736
1821
  /**
1737
1822
  * Constructs a new instance of PropertyValue with the given values.
1738
1823
  * @param values The values to initialize the instance with.
@@ -1746,6 +1831,7 @@ declare class PropertyValue {
1746
1831
  documentLoader?: DocumentLoader;
1747
1832
  contextLoader?: DocumentLoader;
1748
1833
  tracerProvider?: TracerProvider;
1834
+ baseUrl?: URL;
1749
1835
  });
1750
1836
  /**
1751
1837
  * Clones this instance, optionally updating it with the given values.
@@ -1798,11 +1884,13 @@ declare class PropertyValue {
1798
1884
  documentLoader?: DocumentLoader;
1799
1885
  contextLoader?: DocumentLoader;
1800
1886
  tracerProvider?: TracerProvider;
1887
+ baseUrl?: URL;
1801
1888
  }): Promise<PropertyValue>;
1802
1889
  protected static __fromJsonLd__PropertyValue__(json: unknown, span: Span, options?: {
1803
1890
  documentLoader?: DocumentLoader;
1804
1891
  contextLoader?: DocumentLoader;
1805
1892
  tracerProvider?: TracerProvider;
1893
+ baseUrl?: URL;
1806
1894
  }): Promise<PropertyValue>;
1807
1895
  protected _getCustomInspectProxy(): Record<string, unknown>;
1808
1896
  }
@@ -1813,6 +1901,7 @@ declare class PropertyValue {
1813
1901
  */
1814
1902
  declare class DidService {
1815
1903
  #private;
1904
+ protected readonly _baseUrl?: URL;
1816
1905
  readonly id: URL | null;
1817
1906
  protected get _documentLoader(): DocumentLoader | undefined;
1818
1907
  protected get _contextLoader(): DocumentLoader | undefined;
@@ -1828,6 +1917,10 @@ declare class DidService {
1828
1917
  * The type URI of {@link DidService}: `https://www.w3.org/ns/did#Service`.
1829
1918
  */
1830
1919
  static get typeId(): URL;
1920
+ /**
1921
+ * The base URL used for resolving relative URLs in this object.
1922
+ */
1923
+ get baseUrl(): URL | undefined;
1831
1924
  /**
1832
1925
  * Constructs a new instance of DidService with the given values.
1833
1926
  * @param values The values to initialize the instance with.
@@ -1841,6 +1934,7 @@ declare class DidService {
1841
1934
  documentLoader?: DocumentLoader;
1842
1935
  contextLoader?: DocumentLoader;
1843
1936
  tracerProvider?: TracerProvider;
1937
+ baseUrl?: URL;
1844
1938
  });
1845
1939
  /**
1846
1940
  * Clones this instance, optionally updating it with the given values.
@@ -1895,11 +1989,13 @@ declare class DidService {
1895
1989
  documentLoader?: DocumentLoader;
1896
1990
  contextLoader?: DocumentLoader;
1897
1991
  tracerProvider?: TracerProvider;
1992
+ baseUrl?: URL;
1898
1993
  }): Promise<DidService>;
1899
1994
  protected static __fromJsonLd__DidService__(json: unknown, span: Span, options?: {
1900
1995
  documentLoader?: DocumentLoader;
1901
1996
  contextLoader?: DocumentLoader;
1902
1997
  tracerProvider?: TracerProvider;
1998
+ baseUrl?: URL;
1903
1999
  }): Promise<DidService>;
1904
2000
  protected _getCustomInspectProxy(): Record<string, unknown>;
1905
2001
  }
@@ -1910,6 +2006,10 @@ declare class Export extends DidService {
1910
2006
  * The type URI of {@link Export}: `https://w3id.org/fep/9091#Export`.
1911
2007
  */
1912
2008
  static get typeId(): URL;
2009
+ /**
2010
+ * The base URL used for resolving relative URLs in this object.
2011
+ */
2012
+ get baseUrl(): URL | undefined;
1913
2013
  /**
1914
2014
  * Constructs a new instance of Export with the given values.
1915
2015
  * @param values The values to initialize the instance with.
@@ -1923,6 +2023,7 @@ declare class Export extends DidService {
1923
2023
  documentLoader?: DocumentLoader;
1924
2024
  contextLoader?: DocumentLoader;
1925
2025
  tracerProvider?: TracerProvider;
2026
+ baseUrl?: URL;
1926
2027
  });
1927
2028
  /**
1928
2029
  * Clones this instance, optionally updating it with the given values.
@@ -1969,11 +2070,13 @@ declare class Export extends DidService {
1969
2070
  documentLoader?: DocumentLoader;
1970
2071
  contextLoader?: DocumentLoader;
1971
2072
  tracerProvider?: TracerProvider;
2073
+ baseUrl?: URL;
1972
2074
  }): Promise<Export>;
1973
2075
  protected static __fromJsonLd__Export__(json: unknown, span: Span, options?: {
1974
2076
  documentLoader?: DocumentLoader;
1975
2077
  contextLoader?: DocumentLoader;
1976
2078
  tracerProvider?: TracerProvider;
2079
+ baseUrl?: URL;
1977
2080
  }): Promise<Export>;
1978
2081
  protected _getCustomInspectProxy(): Record<string, unknown>;
1979
2082
  }
@@ -1982,6 +2085,7 @@ declare class Export extends DidService {
1982
2085
  */
1983
2086
  declare class DataIntegrityProof {
1984
2087
  #private;
2088
+ protected readonly _baseUrl?: URL;
1985
2089
  readonly id: URL | null;
1986
2090
  protected get _documentLoader(): DocumentLoader | undefined;
1987
2091
  protected get _contextLoader(): DocumentLoader | undefined;
@@ -1997,6 +2101,10 @@ declare class DataIntegrityProof {
1997
2101
  * The type URI of {@link DataIntegrityProof}: `https://w3id.org/security#DataIntegrityProof`.
1998
2102
  */
1999
2103
  static get typeId(): URL;
2104
+ /**
2105
+ * The base URL used for resolving relative URLs in this object.
2106
+ */
2107
+ get baseUrl(): URL | undefined;
2000
2108
  /**
2001
2109
  * Constructs a new instance of DataIntegrityProof with the given values.
2002
2110
  * @param values The values to initialize the instance with.
@@ -2013,6 +2121,7 @@ declare class DataIntegrityProof {
2013
2121
  documentLoader?: DocumentLoader;
2014
2122
  contextLoader?: DocumentLoader;
2015
2123
  tracerProvider?: TracerProvider;
2124
+ baseUrl?: URL;
2016
2125
  });
2017
2126
  /**
2018
2127
  * Clones this instance, optionally updating it with the given values.
@@ -2050,6 +2159,7 @@ declare class DataIntegrityProof {
2050
2159
  contextLoader?: DocumentLoader;
2051
2160
  suppressError?: boolean;
2052
2161
  tracerProvider?: TracerProvider;
2162
+ baseUrl?: URL;
2053
2163
  }): Promise<Multikey | null>;
2054
2164
  /** The reason the proof was created.
2055
2165
  *
@@ -2097,11 +2207,13 @@ declare class DataIntegrityProof {
2097
2207
  documentLoader?: DocumentLoader;
2098
2208
  contextLoader?: DocumentLoader;
2099
2209
  tracerProvider?: TracerProvider;
2210
+ baseUrl?: URL;
2100
2211
  }): Promise<DataIntegrityProof>;
2101
2212
  protected static __fromJsonLd__DataIntegrityProof__(json: unknown, span: Span, options?: {
2102
2213
  documentLoader?: DocumentLoader;
2103
2214
  contextLoader?: DocumentLoader;
2104
2215
  tracerProvider?: TracerProvider;
2216
+ baseUrl?: URL;
2105
2217
  }): Promise<DataIntegrityProof>;
2106
2218
  protected _getCustomInspectProxy(): Record<string, unknown>;
2107
2219
  }
@@ -2109,6 +2221,7 @@ declare class DataIntegrityProof {
2109
2221
  */
2110
2222
  declare class CryptographicKey {
2111
2223
  #private;
2224
+ protected readonly _baseUrl?: URL;
2112
2225
  readonly id: URL | null;
2113
2226
  protected get _documentLoader(): DocumentLoader | undefined;
2114
2227
  protected get _contextLoader(): DocumentLoader | undefined;
@@ -2124,6 +2237,10 @@ declare class CryptographicKey {
2124
2237
  * The type URI of {@link CryptographicKey}: `https://w3id.org/security#Key`.
2125
2238
  */
2126
2239
  static get typeId(): URL;
2240
+ /**
2241
+ * The base URL used for resolving relative URLs in this object.
2242
+ */
2243
+ get baseUrl(): URL | undefined;
2127
2244
  /**
2128
2245
  * Constructs a new instance of CryptographicKey with the given values.
2129
2246
  * @param values The values to initialize the instance with.
@@ -2137,6 +2254,7 @@ declare class CryptographicKey {
2137
2254
  documentLoader?: DocumentLoader;
2138
2255
  contextLoader?: DocumentLoader;
2139
2256
  tracerProvider?: TracerProvider;
2257
+ baseUrl?: URL;
2140
2258
  });
2141
2259
  /**
2142
2260
  * Clones this instance, optionally updating it with the given values.
@@ -2165,6 +2283,7 @@ declare class CryptographicKey {
2165
2283
  contextLoader?: DocumentLoader;
2166
2284
  suppressError?: boolean;
2167
2285
  tracerProvider?: TracerProvider;
2286
+ baseUrl?: URL;
2168
2287
  }): Promise<Application | Group | Organization | Person | Service | null>;
2169
2288
  /** A PEM-encoded public key.
2170
2289
  */
@@ -2200,11 +2319,13 @@ declare class CryptographicKey {
2200
2319
  documentLoader?: DocumentLoader;
2201
2320
  contextLoader?: DocumentLoader;
2202
2321
  tracerProvider?: TracerProvider;
2322
+ baseUrl?: URL;
2203
2323
  }): Promise<CryptographicKey>;
2204
2324
  protected static __fromJsonLd__CryptographicKey__(json: unknown, span: Span, options?: {
2205
2325
  documentLoader?: DocumentLoader;
2206
2326
  contextLoader?: DocumentLoader;
2207
2327
  tracerProvider?: TracerProvider;
2328
+ baseUrl?: URL;
2208
2329
  }): Promise<CryptographicKey>;
2209
2330
  protected _getCustomInspectProxy(): Record<string, unknown>;
2210
2331
  }
@@ -2215,6 +2336,7 @@ declare class CryptographicKey {
2215
2336
  */
2216
2337
  declare class Multikey {
2217
2338
  #private;
2339
+ protected readonly _baseUrl?: URL;
2218
2340
  readonly id: URL | null;
2219
2341
  protected get _documentLoader(): DocumentLoader | undefined;
2220
2342
  protected get _contextLoader(): DocumentLoader | undefined;
@@ -2230,6 +2352,10 @@ declare class Multikey {
2230
2352
  * The type URI of {@link Multikey}: `https://w3id.org/security#Multikey`.
2231
2353
  */
2232
2354
  static get typeId(): URL;
2355
+ /**
2356
+ * The base URL used for resolving relative URLs in this object.
2357
+ */
2358
+ get baseUrl(): URL | undefined;
2233
2359
  /**
2234
2360
  * Constructs a new instance of Multikey with the given values.
2235
2361
  * @param values The values to initialize the instance with.
@@ -2243,6 +2369,7 @@ declare class Multikey {
2243
2369
  documentLoader?: DocumentLoader;
2244
2370
  contextLoader?: DocumentLoader;
2245
2371
  tracerProvider?: TracerProvider;
2372
+ baseUrl?: URL;
2246
2373
  });
2247
2374
  /**
2248
2375
  * Clones this instance, optionally updating it with the given values.
@@ -2271,6 +2398,7 @@ declare class Multikey {
2271
2398
  contextLoader?: DocumentLoader;
2272
2399
  suppressError?: boolean;
2273
2400
  tracerProvider?: TracerProvider;
2401
+ baseUrl?: URL;
2274
2402
  }): Promise<Application | Group | Organization | Person | Service | null>;
2275
2403
  /** A [Multibase]-encoded value of a [Multicodec] prefix and the key.
2276
2404
  *
@@ -2309,11 +2437,13 @@ declare class Multikey {
2309
2437
  documentLoader?: DocumentLoader;
2310
2438
  contextLoader?: DocumentLoader;
2311
2439
  tracerProvider?: TracerProvider;
2440
+ baseUrl?: URL;
2312
2441
  }): Promise<Multikey>;
2313
2442
  protected static __fromJsonLd__Multikey__(json: unknown, span: Span, options?: {
2314
2443
  documentLoader?: DocumentLoader;
2315
2444
  contextLoader?: DocumentLoader;
2316
2445
  tracerProvider?: TracerProvider;
2446
+ baseUrl?: URL;
2317
2447
  }): Promise<Multikey>;
2318
2448
  protected _getCustomInspectProxy(): Record<string, unknown>;
2319
2449
  }
@@ -2326,6 +2456,10 @@ declare class Accept extends Activity {
2326
2456
  * The type URI of {@link Accept}: `https://www.w3.org/ns/activitystreams#Accept`.
2327
2457
  */
2328
2458
  static get typeId(): URL;
2459
+ /**
2460
+ * The base URL used for resolving relative URLs in this object.
2461
+ */
2462
+ get baseUrl(): URL | undefined;
2329
2463
  /**
2330
2464
  * Constructs a new instance of Accept with the given values.
2331
2465
  * @param values The values to initialize the instance with.
@@ -2397,6 +2531,7 @@ declare class Accept extends Activity {
2397
2531
  documentLoader?: DocumentLoader;
2398
2532
  contextLoader?: DocumentLoader;
2399
2533
  tracerProvider?: TracerProvider;
2534
+ baseUrl?: URL;
2400
2535
  });
2401
2536
  /**
2402
2537
  * Clones this instance, optionally updating it with the given values.
@@ -2501,11 +2636,13 @@ declare class Accept extends Activity {
2501
2636
  documentLoader?: DocumentLoader;
2502
2637
  contextLoader?: DocumentLoader;
2503
2638
  tracerProvider?: TracerProvider;
2639
+ baseUrl?: URL;
2504
2640
  }): Promise<Accept>;
2505
2641
  protected static __fromJsonLd__Accept__(json: unknown, span: Span, options?: {
2506
2642
  documentLoader?: DocumentLoader;
2507
2643
  contextLoader?: DocumentLoader;
2508
2644
  tracerProvider?: TracerProvider;
2645
+ baseUrl?: URL;
2509
2646
  }): Promise<Accept>;
2510
2647
  protected _getCustomInspectProxy(): Record<string, unknown>;
2511
2648
  }
@@ -2519,6 +2656,10 @@ declare class Add extends Activity {
2519
2656
  * The type URI of {@link Add}: `https://www.w3.org/ns/activitystreams#Add`.
2520
2657
  */
2521
2658
  static get typeId(): URL;
2659
+ /**
2660
+ * The base URL used for resolving relative URLs in this object.
2661
+ */
2662
+ get baseUrl(): URL | undefined;
2522
2663
  /**
2523
2664
  * Constructs a new instance of Add with the given values.
2524
2665
  * @param values The values to initialize the instance with.
@@ -2590,6 +2731,7 @@ declare class Add extends Activity {
2590
2731
  documentLoader?: DocumentLoader;
2591
2732
  contextLoader?: DocumentLoader;
2592
2733
  tracerProvider?: TracerProvider;
2734
+ baseUrl?: URL;
2593
2735
  });
2594
2736
  /**
2595
2737
  * Clones this instance, optionally updating it with the given values.
@@ -2694,11 +2836,13 @@ declare class Add extends Activity {
2694
2836
  documentLoader?: DocumentLoader;
2695
2837
  contextLoader?: DocumentLoader;
2696
2838
  tracerProvider?: TracerProvider;
2839
+ baseUrl?: URL;
2697
2840
  }): Promise<Add>;
2698
2841
  protected static __fromJsonLd__Add__(json: unknown, span: Span, options?: {
2699
2842
  documentLoader?: DocumentLoader;
2700
2843
  contextLoader?: DocumentLoader;
2701
2844
  tracerProvider?: TracerProvider;
2845
+ baseUrl?: URL;
2702
2846
  }): Promise<Add>;
2703
2847
  protected _getCustomInspectProxy(): Record<string, unknown>;
2704
2848
  }
@@ -2711,6 +2855,10 @@ declare class Announce extends Activity {
2711
2855
  * The type URI of {@link Announce}: `https://www.w3.org/ns/activitystreams#Announce`.
2712
2856
  */
2713
2857
  static get typeId(): URL;
2858
+ /**
2859
+ * The base URL used for resolving relative URLs in this object.
2860
+ */
2861
+ get baseUrl(): URL | undefined;
2714
2862
  /**
2715
2863
  * Constructs a new instance of Announce with the given values.
2716
2864
  * @param values The values to initialize the instance with.
@@ -2782,6 +2930,7 @@ declare class Announce extends Activity {
2782
2930
  documentLoader?: DocumentLoader;
2783
2931
  contextLoader?: DocumentLoader;
2784
2932
  tracerProvider?: TracerProvider;
2933
+ baseUrl?: URL;
2785
2934
  });
2786
2935
  /**
2787
2936
  * Clones this instance, optionally updating it with the given values.
@@ -2886,11 +3035,13 @@ declare class Announce extends Activity {
2886
3035
  documentLoader?: DocumentLoader;
2887
3036
  contextLoader?: DocumentLoader;
2888
3037
  tracerProvider?: TracerProvider;
3038
+ baseUrl?: URL;
2889
3039
  }): Promise<Announce>;
2890
3040
  protected static __fromJsonLd__Announce__(json: unknown, span: Span, options?: {
2891
3041
  documentLoader?: DocumentLoader;
2892
3042
  contextLoader?: DocumentLoader;
2893
3043
  tracerProvider?: TracerProvider;
3044
+ baseUrl?: URL;
2894
3045
  }): Promise<Announce>;
2895
3046
  protected _getCustomInspectProxy(): Record<string, unknown>;
2896
3047
  }
@@ -2902,6 +3053,10 @@ declare class Application extends Object$1 {
2902
3053
  * The type URI of {@link Application}: `https://www.w3.org/ns/activitystreams#Application`.
2903
3054
  */
2904
3055
  static get typeId(): URL;
3056
+ /**
3057
+ * The base URL used for resolving relative URLs in this object.
3058
+ */
3059
+ get baseUrl(): URL | undefined;
2905
3060
  /**
2906
3061
  * Constructs a new instance of Application with the given values.
2907
3062
  * @param values The values to initialize the instance with.
@@ -2988,6 +3143,7 @@ declare class Application extends Object$1 {
2988
3143
  documentLoader?: DocumentLoader;
2989
3144
  contextLoader?: DocumentLoader;
2990
3145
  tracerProvider?: TracerProvider;
3146
+ baseUrl?: URL;
2991
3147
  });
2992
3148
  /**
2993
3149
  * Clones this instance, optionally updating it with the given values.
@@ -3097,6 +3253,7 @@ declare class Application extends Object$1 {
3097
3253
  contextLoader?: DocumentLoader;
3098
3254
  suppressError?: boolean;
3099
3255
  tracerProvider?: TracerProvider;
3256
+ baseUrl?: URL;
3100
3257
  }): Promise<CryptographicKey | null>;
3101
3258
  /**
3102
3259
  * Similar to
@@ -3111,6 +3268,7 @@ declare class Application extends Object$1 {
3111
3268
  contextLoader?: DocumentLoader;
3112
3269
  suppressError?: boolean;
3113
3270
  tracerProvider?: TracerProvider;
3271
+ baseUrl?: URL;
3114
3272
  }): AsyncIterable<CryptographicKey>;
3115
3273
  /**
3116
3274
  * Similar to
@@ -3128,6 +3286,7 @@ declare class Application extends Object$1 {
3128
3286
  contextLoader?: DocumentLoader;
3129
3287
  suppressError?: boolean;
3130
3288
  tracerProvider?: TracerProvider;
3289
+ baseUrl?: URL;
3131
3290
  }): Promise<Multikey | null>;
3132
3291
  /**
3133
3292
  * Similar to
@@ -3145,6 +3304,7 @@ declare class Application extends Object$1 {
3145
3304
  contextLoader?: DocumentLoader;
3146
3305
  suppressError?: boolean;
3147
3306
  tracerProvider?: TracerProvider;
3307
+ baseUrl?: URL;
3148
3308
  }): AsyncIterable<Multikey>;
3149
3309
  /** When `true`, conveys that for this actor, follow requests are not usually
3150
3310
  * automatically approved, but instead are examined by a person who may accept
@@ -3179,6 +3339,7 @@ declare class Application extends Object$1 {
3179
3339
  contextLoader?: DocumentLoader;
3180
3340
  suppressError?: boolean;
3181
3341
  tracerProvider?: TracerProvider;
3342
+ baseUrl?: URL;
3182
3343
  }): Promise<OrderedCollection | OrderedCollectionPage | null>;
3183
3344
  /**
3184
3345
  * Similar to
@@ -3202,6 +3363,7 @@ declare class Application extends Object$1 {
3202
3363
  contextLoader?: DocumentLoader;
3203
3364
  suppressError?: boolean;
3204
3365
  tracerProvider?: TracerProvider;
3366
+ baseUrl?: URL;
3205
3367
  }): Promise<OrderedCollection | OrderedCollectionPage | null>;
3206
3368
  /**
3207
3369
  * Similar to
@@ -3220,6 +3382,7 @@ declare class Application extends Object$1 {
3220
3382
  contextLoader?: DocumentLoader;
3221
3383
  suppressError?: boolean;
3222
3384
  tracerProvider?: TracerProvider;
3385
+ baseUrl?: URL;
3223
3386
  }): Promise<Collection | null>;
3224
3387
  /**
3225
3388
  * Similar to
@@ -3241,6 +3404,7 @@ declare class Application extends Object$1 {
3241
3404
  contextLoader?: DocumentLoader;
3242
3405
  suppressError?: boolean;
3243
3406
  tracerProvider?: TracerProvider;
3407
+ baseUrl?: URL;
3244
3408
  }): Promise<Collection | null>;
3245
3409
  /**
3246
3410
  * Similar to
@@ -3260,6 +3424,7 @@ declare class Application extends Object$1 {
3260
3424
  contextLoader?: DocumentLoader;
3261
3425
  suppressError?: boolean;
3262
3426
  tracerProvider?: TracerProvider;
3427
+ baseUrl?: URL;
3263
3428
  }): Promise<Collection | null>;
3264
3429
  /**
3265
3430
  * Similar to
@@ -3277,6 +3442,7 @@ declare class Application extends Object$1 {
3277
3442
  contextLoader?: DocumentLoader;
3278
3443
  suppressError?: boolean;
3279
3444
  tracerProvider?: TracerProvider;
3445
+ baseUrl?: URL;
3280
3446
  }): Promise<Collection | null>;
3281
3447
  /**
3282
3448
  * Similar to
@@ -3294,6 +3460,7 @@ declare class Application extends Object$1 {
3294
3460
  contextLoader?: DocumentLoader;
3295
3461
  suppressError?: boolean;
3296
3462
  tracerProvider?: TracerProvider;
3463
+ baseUrl?: URL;
3297
3464
  }): Promise<Collection | null>;
3298
3465
  /**
3299
3466
  * Similar to
@@ -3308,6 +3475,7 @@ declare class Application extends Object$1 {
3308
3475
  contextLoader?: DocumentLoader;
3309
3476
  suppressError?: boolean;
3310
3477
  tracerProvider?: TracerProvider;
3478
+ baseUrl?: URL;
3311
3479
  }): AsyncIterable<Collection>;
3312
3480
  /** A JSON object which maps additional (typically server/domain-wide) endpoints
3313
3481
  * which may be useful either for this actor or someone referencing this actor.
@@ -3344,6 +3512,7 @@ declare class Application extends Object$1 {
3344
3512
  contextLoader?: DocumentLoader;
3345
3513
  suppressError?: boolean;
3346
3514
  tracerProvider?: TracerProvider;
3515
+ baseUrl?: URL;
3347
3516
  }): Promise<Application | Group | Organization | Person | Service | null>;
3348
3517
  /**
3349
3518
  * Similar to
@@ -3361,6 +3530,7 @@ declare class Application extends Object$1 {
3361
3530
  contextLoader?: DocumentLoader;
3362
3531
  suppressError?: boolean;
3363
3532
  tracerProvider?: TracerProvider;
3533
+ baseUrl?: URL;
3364
3534
  }): Promise<Application | Group | Organization | Person | Service | null>;
3365
3535
  /**
3366
3536
  * Similar to
@@ -3378,6 +3548,7 @@ declare class Application extends Object$1 {
3378
3548
  contextLoader?: DocumentLoader;
3379
3549
  suppressError?: boolean;
3380
3550
  tracerProvider?: TracerProvider;
3551
+ baseUrl?: URL;
3381
3552
  }): AsyncIterable<Application | Group | Organization | Person | Service>;
3382
3553
  /**
3383
3554
  * Similar to
@@ -3395,6 +3566,7 @@ declare class Application extends Object$1 {
3395
3566
  contextLoader?: DocumentLoader;
3396
3567
  suppressError?: boolean;
3397
3568
  tracerProvider?: TracerProvider;
3569
+ baseUrl?: URL;
3398
3570
  }): Promise<DidService | null>;
3399
3571
  /**
3400
3572
  * Similar to
@@ -3412,6 +3584,7 @@ declare class Application extends Object$1 {
3412
3584
  contextLoader?: DocumentLoader;
3413
3585
  suppressError?: boolean;
3414
3586
  tracerProvider?: TracerProvider;
3587
+ baseUrl?: URL;
3415
3588
  }): AsyncIterable<DidService>;
3416
3589
  /** This value is used for `Actor` type objects to show message on followed.
3417
3590
  */
@@ -3453,11 +3626,13 @@ declare class Application extends Object$1 {
3453
3626
  documentLoader?: DocumentLoader;
3454
3627
  contextLoader?: DocumentLoader;
3455
3628
  tracerProvider?: TracerProvider;
3629
+ baseUrl?: URL;
3456
3630
  }): Promise<Application>;
3457
3631
  protected static __fromJsonLd__Application__(json: unknown, span: Span, options?: {
3458
3632
  documentLoader?: DocumentLoader;
3459
3633
  contextLoader?: DocumentLoader;
3460
3634
  tracerProvider?: TracerProvider;
3635
+ baseUrl?: URL;
3461
3636
  }): Promise<Application>;
3462
3637
  protected _getCustomInspectProxy(): Record<string, unknown>;
3463
3638
  }
@@ -3470,6 +3645,10 @@ declare class IntransitiveActivity extends Activity {
3470
3645
  * The type URI of {@link IntransitiveActivity}: `https://www.w3.org/ns/activitystreams#IntransitiveActivity`.
3471
3646
  */
3472
3647
  static get typeId(): URL;
3648
+ /**
3649
+ * The base URL used for resolving relative URLs in this object.
3650
+ */
3651
+ get baseUrl(): URL | undefined;
3473
3652
  /**
3474
3653
  * Constructs a new instance of IntransitiveActivity with the given values.
3475
3654
  * @param values The values to initialize the instance with.
@@ -3541,6 +3720,7 @@ declare class IntransitiveActivity extends Activity {
3541
3720
  documentLoader?: DocumentLoader;
3542
3721
  contextLoader?: DocumentLoader;
3543
3722
  tracerProvider?: TracerProvider;
3723
+ baseUrl?: URL;
3544
3724
  });
3545
3725
  /**
3546
3726
  * Clones this instance, optionally updating it with the given values.
@@ -3645,11 +3825,13 @@ declare class IntransitiveActivity extends Activity {
3645
3825
  documentLoader?: DocumentLoader;
3646
3826
  contextLoader?: DocumentLoader;
3647
3827
  tracerProvider?: TracerProvider;
3828
+ baseUrl?: URL;
3648
3829
  }): Promise<IntransitiveActivity>;
3649
3830
  protected static __fromJsonLd__IntransitiveActivity__(json: unknown, span: Span, options?: {
3650
3831
  documentLoader?: DocumentLoader;
3651
3832
  contextLoader?: DocumentLoader;
3652
3833
  tracerProvider?: TracerProvider;
3834
+ baseUrl?: URL;
3653
3835
  }): Promise<IntransitiveActivity>;
3654
3836
  protected _getCustomInspectProxy(): Record<string, unknown>;
3655
3837
  }
@@ -3662,6 +3844,10 @@ declare class Arrive extends IntransitiveActivity {
3662
3844
  * The type URI of {@link Arrive}: `https://www.w3.org/ns/activitystreams#Arrive`.
3663
3845
  */
3664
3846
  static get typeId(): URL;
3847
+ /**
3848
+ * The base URL used for resolving relative URLs in this object.
3849
+ */
3850
+ get baseUrl(): URL | undefined;
3665
3851
  /**
3666
3852
  * Constructs a new instance of Arrive with the given values.
3667
3853
  * @param values The values to initialize the instance with.
@@ -3733,6 +3919,7 @@ declare class Arrive extends IntransitiveActivity {
3733
3919
  documentLoader?: DocumentLoader;
3734
3920
  contextLoader?: DocumentLoader;
3735
3921
  tracerProvider?: TracerProvider;
3922
+ baseUrl?: URL;
3736
3923
  });
3737
3924
  /**
3738
3925
  * Clones this instance, optionally updating it with the given values.
@@ -3837,11 +4024,13 @@ declare class Arrive extends IntransitiveActivity {
3837
4024
  documentLoader?: DocumentLoader;
3838
4025
  contextLoader?: DocumentLoader;
3839
4026
  tracerProvider?: TracerProvider;
4027
+ baseUrl?: URL;
3840
4028
  }): Promise<Arrive>;
3841
4029
  protected static __fromJsonLd__Arrive__(json: unknown, span: Span, options?: {
3842
4030
  documentLoader?: DocumentLoader;
3843
4031
  contextLoader?: DocumentLoader;
3844
4032
  tracerProvider?: TracerProvider;
4033
+ baseUrl?: URL;
3845
4034
  }): Promise<Arrive>;
3846
4035
  protected _getCustomInspectProxy(): Record<string, unknown>;
3847
4036
  }
@@ -3853,6 +4042,10 @@ declare class Article extends Object$1 {
3853
4042
  * The type URI of {@link Article}: `https://www.w3.org/ns/activitystreams#Article`.
3854
4043
  */
3855
4044
  static get typeId(): URL;
4045
+ /**
4046
+ * The base URL used for resolving relative URLs in this object.
4047
+ */
4048
+ get baseUrl(): URL | undefined;
3856
4049
  /**
3857
4050
  * Constructs a new instance of Article with the given values.
3858
4051
  * @param values The values to initialize the instance with.
@@ -3913,6 +4106,7 @@ declare class Article extends Object$1 {
3913
4106
  documentLoader?: DocumentLoader;
3914
4107
  contextLoader?: DocumentLoader;
3915
4108
  tracerProvider?: TracerProvider;
4109
+ baseUrl?: URL;
3916
4110
  });
3917
4111
  /**
3918
4112
  * Clones this instance, optionally updating it with the given values.
@@ -4018,11 +4212,13 @@ declare class Article extends Object$1 {
4018
4212
  documentLoader?: DocumentLoader;
4019
4213
  contextLoader?: DocumentLoader;
4020
4214
  tracerProvider?: TracerProvider;
4215
+ baseUrl?: URL;
4021
4216
  }): Promise<Article>;
4022
4217
  protected static __fromJsonLd__Article__(json: unknown, span: Span, options?: {
4023
4218
  documentLoader?: DocumentLoader;
4024
4219
  contextLoader?: DocumentLoader;
4025
4220
  tracerProvider?: TracerProvider;
4221
+ baseUrl?: URL;
4026
4222
  }): Promise<Article>;
4027
4223
  protected _getCustomInspectProxy(): Record<string, unknown>;
4028
4224
  }
@@ -4034,6 +4230,10 @@ declare class Document extends Object$1 {
4034
4230
  * The type URI of {@link Document}: `https://www.w3.org/ns/activitystreams#Document`.
4035
4231
  */
4036
4232
  static get typeId(): URL;
4233
+ /**
4234
+ * The base URL used for resolving relative URLs in this object.
4235
+ */
4236
+ get baseUrl(): URL | undefined;
4037
4237
  /**
4038
4238
  * Constructs a new instance of Document with the given values.
4039
4239
  * @param values The values to initialize the instance with.
@@ -4095,6 +4295,7 @@ declare class Document extends Object$1 {
4095
4295
  documentLoader?: DocumentLoader;
4096
4296
  contextLoader?: DocumentLoader;
4097
4297
  tracerProvider?: TracerProvider;
4298
+ baseUrl?: URL;
4098
4299
  });
4099
4300
  /**
4100
4301
  * Clones this instance, optionally updating it with the given values.
@@ -4197,11 +4398,13 @@ declare class Document extends Object$1 {
4197
4398
  documentLoader?: DocumentLoader;
4198
4399
  contextLoader?: DocumentLoader;
4199
4400
  tracerProvider?: TracerProvider;
4401
+ baseUrl?: URL;
4200
4402
  }): Promise<Document>;
4201
4403
  protected static __fromJsonLd__Document__(json: unknown, span: Span, options?: {
4202
4404
  documentLoader?: DocumentLoader;
4203
4405
  contextLoader?: DocumentLoader;
4204
4406
  tracerProvider?: TracerProvider;
4407
+ baseUrl?: URL;
4205
4408
  }): Promise<Document>;
4206
4409
  protected _getCustomInspectProxy(): Record<string, unknown>;
4207
4410
  }
@@ -4212,6 +4415,10 @@ declare class Audio extends Document {
4212
4415
  * The type URI of {@link Audio}: `https://www.w3.org/ns/activitystreams#Audio`.
4213
4416
  */
4214
4417
  static get typeId(): URL;
4418
+ /**
4419
+ * The base URL used for resolving relative URLs in this object.
4420
+ */
4421
+ get baseUrl(): URL | undefined;
4215
4422
  /**
4216
4423
  * Constructs a new instance of Audio with the given values.
4217
4424
  * @param values The values to initialize the instance with.
@@ -4273,6 +4480,7 @@ declare class Audio extends Document {
4273
4480
  documentLoader?: DocumentLoader;
4274
4481
  contextLoader?: DocumentLoader;
4275
4482
  tracerProvider?: TracerProvider;
4483
+ baseUrl?: URL;
4276
4484
  });
4277
4485
  /**
4278
4486
  * Clones this instance, optionally updating it with the given values.
@@ -4367,11 +4575,13 @@ declare class Audio extends Document {
4367
4575
  documentLoader?: DocumentLoader;
4368
4576
  contextLoader?: DocumentLoader;
4369
4577
  tracerProvider?: TracerProvider;
4578
+ baseUrl?: URL;
4370
4579
  }): Promise<Audio>;
4371
4580
  protected static __fromJsonLd__Audio__(json: unknown, span: Span, options?: {
4372
4581
  documentLoader?: DocumentLoader;
4373
4582
  contextLoader?: DocumentLoader;
4374
4583
  tracerProvider?: TracerProvider;
4584
+ baseUrl?: URL;
4375
4585
  }): Promise<Audio>;
4376
4586
  protected _getCustomInspectProxy(): Record<string, unknown>;
4377
4587
  }
@@ -4383,6 +4593,10 @@ declare class Ignore extends Activity {
4383
4593
  * The type URI of {@link Ignore}: `https://www.w3.org/ns/activitystreams#Ignore`.
4384
4594
  */
4385
4595
  static get typeId(): URL;
4596
+ /**
4597
+ * The base URL used for resolving relative URLs in this object.
4598
+ */
4599
+ get baseUrl(): URL | undefined;
4386
4600
  /**
4387
4601
  * Constructs a new instance of Ignore with the given values.
4388
4602
  * @param values The values to initialize the instance with.
@@ -4454,6 +4668,7 @@ declare class Ignore extends Activity {
4454
4668
  documentLoader?: DocumentLoader;
4455
4669
  contextLoader?: DocumentLoader;
4456
4670
  tracerProvider?: TracerProvider;
4671
+ baseUrl?: URL;
4457
4672
  });
4458
4673
  /**
4459
4674
  * Clones this instance, optionally updating it with the given values.
@@ -4558,11 +4773,13 @@ declare class Ignore extends Activity {
4558
4773
  documentLoader?: DocumentLoader;
4559
4774
  contextLoader?: DocumentLoader;
4560
4775
  tracerProvider?: TracerProvider;
4776
+ baseUrl?: URL;
4561
4777
  }): Promise<Ignore>;
4562
4778
  protected static __fromJsonLd__Ignore__(json: unknown, span: Span, options?: {
4563
4779
  documentLoader?: DocumentLoader;
4564
4780
  contextLoader?: DocumentLoader;
4565
4781
  tracerProvider?: TracerProvider;
4782
+ baseUrl?: URL;
4566
4783
  }): Promise<Ignore>;
4567
4784
  protected _getCustomInspectProxy(): Record<string, unknown>;
4568
4785
  }
@@ -4576,6 +4793,10 @@ declare class Block extends Ignore {
4576
4793
  * The type URI of {@link Block}: `https://www.w3.org/ns/activitystreams#Block`.
4577
4794
  */
4578
4795
  static get typeId(): URL;
4796
+ /**
4797
+ * The base URL used for resolving relative URLs in this object.
4798
+ */
4799
+ get baseUrl(): URL | undefined;
4579
4800
  /**
4580
4801
  * Constructs a new instance of Block with the given values.
4581
4802
  * @param values The values to initialize the instance with.
@@ -4647,6 +4868,7 @@ declare class Block extends Ignore {
4647
4868
  documentLoader?: DocumentLoader;
4648
4869
  contextLoader?: DocumentLoader;
4649
4870
  tracerProvider?: TracerProvider;
4871
+ baseUrl?: URL;
4650
4872
  });
4651
4873
  /**
4652
4874
  * Clones this instance, optionally updating it with the given values.
@@ -4751,11 +4973,13 @@ declare class Block extends Ignore {
4751
4973
  documentLoader?: DocumentLoader;
4752
4974
  contextLoader?: DocumentLoader;
4753
4975
  tracerProvider?: TracerProvider;
4976
+ baseUrl?: URL;
4754
4977
  }): Promise<Block>;
4755
4978
  protected static __fromJsonLd__Block__(json: unknown, span: Span, options?: {
4756
4979
  documentLoader?: DocumentLoader;
4757
4980
  contextLoader?: DocumentLoader;
4758
4981
  tracerProvider?: TracerProvider;
4982
+ baseUrl?: URL;
4759
4983
  }): Promise<Block>;
4760
4984
  protected _getCustomInspectProxy(): Record<string, unknown>;
4761
4985
  }
@@ -4771,6 +4995,10 @@ declare class Collection extends Object$1 {
4771
4995
  * The type URI of {@link Collection}: `https://www.w3.org/ns/activitystreams#Collection`.
4772
4996
  */
4773
4997
  static get typeId(): URL;
4998
+ /**
4999
+ * The base URL used for resolving relative URLs in this object.
5000
+ */
5001
+ get baseUrl(): URL | undefined;
4774
5002
  /**
4775
5003
  * Constructs a new instance of Collection with the given values.
4776
5004
  * @param values The values to initialize the instance with.
@@ -4843,6 +5071,7 @@ declare class Collection extends Object$1 {
4843
5071
  documentLoader?: DocumentLoader;
4844
5072
  contextLoader?: DocumentLoader;
4845
5073
  tracerProvider?: TracerProvider;
5074
+ baseUrl?: URL;
4846
5075
  });
4847
5076
  /**
4848
5077
  * Clones this instance, optionally updating it with the given values.
@@ -4936,6 +5165,7 @@ declare class Collection extends Object$1 {
4936
5165
  contextLoader?: DocumentLoader;
4937
5166
  suppressError?: boolean;
4938
5167
  tracerProvider?: TracerProvider;
5168
+ baseUrl?: URL;
4939
5169
  }): Promise<CollectionPage | null>;
4940
5170
  /**
4941
5171
  * Similar to
@@ -4951,6 +5181,7 @@ declare class Collection extends Object$1 {
4951
5181
  contextLoader?: DocumentLoader;
4952
5182
  suppressError?: boolean;
4953
5183
  tracerProvider?: TracerProvider;
5184
+ baseUrl?: URL;
4954
5185
  }): Promise<CollectionPage | null>;
4955
5186
  /**
4956
5187
  * Similar to
@@ -4966,6 +5197,7 @@ declare class Collection extends Object$1 {
4966
5197
  contextLoader?: DocumentLoader;
4967
5198
  suppressError?: boolean;
4968
5199
  tracerProvider?: TracerProvider;
5200
+ baseUrl?: URL;
4969
5201
  }): Promise<CollectionPage | null>;
4970
5202
  /**
4971
5203
  * Similar to
@@ -4981,6 +5213,7 @@ declare class Collection extends Object$1 {
4981
5213
  contextLoader?: DocumentLoader;
4982
5214
  suppressError?: boolean;
4983
5215
  tracerProvider?: TracerProvider;
5216
+ baseUrl?: URL;
4984
5217
  }): AsyncIterable<Object$1 | Link>;
4985
5218
  /**
4986
5219
  * Similar to
@@ -4995,6 +5228,7 @@ declare class Collection extends Object$1 {
4995
5228
  contextLoader?: DocumentLoader;
4996
5229
  suppressError?: boolean;
4997
5230
  tracerProvider?: TracerProvider;
5231
+ baseUrl?: URL;
4998
5232
  }): Promise<Object$1 | null>;
4999
5233
  /**
5000
5234
  * Similar to
@@ -5009,6 +5243,7 @@ declare class Collection extends Object$1 {
5009
5243
  contextLoader?: DocumentLoader;
5010
5244
  suppressError?: boolean;
5011
5245
  tracerProvider?: TracerProvider;
5246
+ baseUrl?: URL;
5012
5247
  }): Promise<Object$1 | null>;
5013
5248
  /**
5014
5249
  * Similar to
@@ -5023,6 +5258,7 @@ declare class Collection extends Object$1 {
5023
5258
  contextLoader?: DocumentLoader;
5024
5259
  suppressError?: boolean;
5025
5260
  tracerProvider?: TracerProvider;
5261
+ baseUrl?: URL;
5026
5262
  }): Promise<Object$1 | null>;
5027
5263
  /**
5028
5264
  * Similar to
@@ -5037,6 +5273,7 @@ declare class Collection extends Object$1 {
5037
5273
  contextLoader?: DocumentLoader;
5038
5274
  suppressError?: boolean;
5039
5275
  tracerProvider?: TracerProvider;
5276
+ baseUrl?: URL;
5040
5277
  }): Promise<Object$1 | null>;
5041
5278
  /**
5042
5279
  * Similar to
@@ -5051,6 +5288,7 @@ declare class Collection extends Object$1 {
5051
5288
  contextLoader?: DocumentLoader;
5052
5289
  suppressError?: boolean;
5053
5290
  tracerProvider?: TracerProvider;
5291
+ baseUrl?: URL;
5054
5292
  }): Promise<Object$1 | null>;
5055
5293
  /**
5056
5294
  * Similar to
@@ -5065,6 +5303,7 @@ declare class Collection extends Object$1 {
5065
5303
  contextLoader?: DocumentLoader;
5066
5304
  suppressError?: boolean;
5067
5305
  tracerProvider?: TracerProvider;
5306
+ baseUrl?: URL;
5068
5307
  }): Promise<Object$1 | null>;
5069
5308
  /**
5070
5309
  * Similar to
@@ -5079,6 +5318,7 @@ declare class Collection extends Object$1 {
5079
5318
  contextLoader?: DocumentLoader;
5080
5319
  suppressError?: boolean;
5081
5320
  tracerProvider?: TracerProvider;
5321
+ baseUrl?: URL;
5082
5322
  }): Promise<Object$1 | null>;
5083
5323
  /**
5084
5324
  * Similar to
@@ -5093,6 +5333,7 @@ declare class Collection extends Object$1 {
5093
5333
  contextLoader?: DocumentLoader;
5094
5334
  suppressError?: boolean;
5095
5335
  tracerProvider?: TracerProvider;
5336
+ baseUrl?: URL;
5096
5337
  }): Promise<Object$1 | null>;
5097
5338
  /**
5098
5339
  * Converts this object to a JSON-LD structure.
@@ -5125,11 +5366,13 @@ declare class Collection extends Object$1 {
5125
5366
  documentLoader?: DocumentLoader;
5126
5367
  contextLoader?: DocumentLoader;
5127
5368
  tracerProvider?: TracerProvider;
5369
+ baseUrl?: URL;
5128
5370
  }): Promise<Collection>;
5129
5371
  protected static __fromJsonLd__Collection__(json: unknown, span: Span, options?: {
5130
5372
  documentLoader?: DocumentLoader;
5131
5373
  contextLoader?: DocumentLoader;
5132
5374
  tracerProvider?: TracerProvider;
5375
+ baseUrl?: URL;
5133
5376
  }): Promise<Collection>;
5134
5377
  protected _getCustomInspectProxy(): Record<string, unknown>;
5135
5378
  }
@@ -5143,6 +5386,10 @@ declare class CollectionPage extends Collection {
5143
5386
  * The type URI of {@link CollectionPage}: `https://www.w3.org/ns/activitystreams#CollectionPage`.
5144
5387
  */
5145
5388
  static get typeId(): URL;
5389
+ /**
5390
+ * The base URL used for resolving relative URLs in this object.
5391
+ */
5392
+ get baseUrl(): URL | undefined;
5146
5393
  /**
5147
5394
  * Constructs a new instance of CollectionPage with the given values.
5148
5395
  * @param values The values to initialize the instance with.
@@ -5218,6 +5465,7 @@ declare class CollectionPage extends Collection {
5218
5465
  documentLoader?: DocumentLoader;
5219
5466
  contextLoader?: DocumentLoader;
5220
5467
  tracerProvider?: TracerProvider;
5468
+ baseUrl?: URL;
5221
5469
  });
5222
5470
  /**
5223
5471
  * Clones this instance, optionally updating it with the given values.
@@ -5309,6 +5557,7 @@ declare class CollectionPage extends Collection {
5309
5557
  contextLoader?: DocumentLoader;
5310
5558
  suppressError?: boolean;
5311
5559
  tracerProvider?: TracerProvider;
5560
+ baseUrl?: URL;
5312
5561
  }): Promise<Collection | null>;
5313
5562
  /**
5314
5563
  * Similar to
@@ -5323,6 +5572,7 @@ declare class CollectionPage extends Collection {
5323
5572
  contextLoader?: DocumentLoader;
5324
5573
  suppressError?: boolean;
5325
5574
  tracerProvider?: TracerProvider;
5575
+ baseUrl?: URL;
5326
5576
  }): Promise<CollectionPage | null>;
5327
5577
  /**
5328
5578
  * Similar to
@@ -5337,6 +5587,7 @@ declare class CollectionPage extends Collection {
5337
5587
  contextLoader?: DocumentLoader;
5338
5588
  suppressError?: boolean;
5339
5589
  tracerProvider?: TracerProvider;
5590
+ baseUrl?: URL;
5340
5591
  }): Promise<CollectionPage | null>;
5341
5592
  /**
5342
5593
  * Converts this object to a JSON-LD structure.
@@ -5369,11 +5620,13 @@ declare class CollectionPage extends Collection {
5369
5620
  documentLoader?: DocumentLoader;
5370
5621
  contextLoader?: DocumentLoader;
5371
5622
  tracerProvider?: TracerProvider;
5623
+ baseUrl?: URL;
5372
5624
  }): Promise<CollectionPage>;
5373
5625
  protected static __fromJsonLd__CollectionPage__(json: unknown, span: Span, options?: {
5374
5626
  documentLoader?: DocumentLoader;
5375
5627
  contextLoader?: DocumentLoader;
5376
5628
  tracerProvider?: TracerProvider;
5629
+ baseUrl?: URL;
5377
5630
  }): Promise<CollectionPage>;
5378
5631
  protected _getCustomInspectProxy(): Record<string, unknown>;
5379
5632
  }
@@ -5384,6 +5637,10 @@ declare class Create extends Activity {
5384
5637
  * The type URI of {@link Create}: `https://www.w3.org/ns/activitystreams#Create`.
5385
5638
  */
5386
5639
  static get typeId(): URL;
5640
+ /**
5641
+ * The base URL used for resolving relative URLs in this object.
5642
+ */
5643
+ get baseUrl(): URL | undefined;
5387
5644
  /**
5388
5645
  * Constructs a new instance of Create with the given values.
5389
5646
  * @param values The values to initialize the instance with.
@@ -5455,6 +5712,7 @@ declare class Create extends Activity {
5455
5712
  documentLoader?: DocumentLoader;
5456
5713
  contextLoader?: DocumentLoader;
5457
5714
  tracerProvider?: TracerProvider;
5715
+ baseUrl?: URL;
5458
5716
  });
5459
5717
  /**
5460
5718
  * Clones this instance, optionally updating it with the given values.
@@ -5559,11 +5817,13 @@ declare class Create extends Activity {
5559
5817
  documentLoader?: DocumentLoader;
5560
5818
  contextLoader?: DocumentLoader;
5561
5819
  tracerProvider?: TracerProvider;
5820
+ baseUrl?: URL;
5562
5821
  }): Promise<Create>;
5563
5822
  protected static __fromJsonLd__Create__(json: unknown, span: Span, options?: {
5564
5823
  documentLoader?: DocumentLoader;
5565
5824
  contextLoader?: DocumentLoader;
5566
5825
  tracerProvider?: TracerProvider;
5826
+ baseUrl?: URL;
5567
5827
  }): Promise<Create>;
5568
5828
  protected _getCustomInspectProxy(): Record<string, unknown>;
5569
5829
  }
@@ -5575,6 +5835,10 @@ declare class Delete extends Activity {
5575
5835
  * The type URI of {@link Delete}: `https://www.w3.org/ns/activitystreams#Delete`.
5576
5836
  */
5577
5837
  static get typeId(): URL;
5838
+ /**
5839
+ * The base URL used for resolving relative URLs in this object.
5840
+ */
5841
+ get baseUrl(): URL | undefined;
5578
5842
  /**
5579
5843
  * Constructs a new instance of Delete with the given values.
5580
5844
  * @param values The values to initialize the instance with.
@@ -5646,6 +5910,7 @@ declare class Delete extends Activity {
5646
5910
  documentLoader?: DocumentLoader;
5647
5911
  contextLoader?: DocumentLoader;
5648
5912
  tracerProvider?: TracerProvider;
5913
+ baseUrl?: URL;
5649
5914
  });
5650
5915
  /**
5651
5916
  * Clones this instance, optionally updating it with the given values.
@@ -5750,11 +6015,13 @@ declare class Delete extends Activity {
5750
6015
  documentLoader?: DocumentLoader;
5751
6016
  contextLoader?: DocumentLoader;
5752
6017
  tracerProvider?: TracerProvider;
6018
+ baseUrl?: URL;
5753
6019
  }): Promise<Delete>;
5754
6020
  protected static __fromJsonLd__Delete__(json: unknown, span: Span, options?: {
5755
6021
  documentLoader?: DocumentLoader;
5756
6022
  contextLoader?: DocumentLoader;
5757
6023
  tracerProvider?: TracerProvider;
6024
+ baseUrl?: URL;
5758
6025
  }): Promise<Delete>;
5759
6026
  protected _getCustomInspectProxy(): Record<string, unknown>;
5760
6027
  }
@@ -5765,6 +6032,10 @@ declare class Dislike extends Activity {
5765
6032
  * The type URI of {@link Dislike}: `https://www.w3.org/ns/activitystreams#Dislike`.
5766
6033
  */
5767
6034
  static get typeId(): URL;
6035
+ /**
6036
+ * The base URL used for resolving relative URLs in this object.
6037
+ */
6038
+ get baseUrl(): URL | undefined;
5768
6039
  /**
5769
6040
  * Constructs a new instance of Dislike with the given values.
5770
6041
  * @param values The values to initialize the instance with.
@@ -5836,6 +6107,7 @@ declare class Dislike extends Activity {
5836
6107
  documentLoader?: DocumentLoader;
5837
6108
  contextLoader?: DocumentLoader;
5838
6109
  tracerProvider?: TracerProvider;
6110
+ baseUrl?: URL;
5839
6111
  });
5840
6112
  /**
5841
6113
  * Clones this instance, optionally updating it with the given values.
@@ -5940,11 +6212,13 @@ declare class Dislike extends Activity {
5940
6212
  documentLoader?: DocumentLoader;
5941
6213
  contextLoader?: DocumentLoader;
5942
6214
  tracerProvider?: TracerProvider;
6215
+ baseUrl?: URL;
5943
6216
  }): Promise<Dislike>;
5944
6217
  protected static __fromJsonLd__Dislike__(json: unknown, span: Span, options?: {
5945
6218
  documentLoader?: DocumentLoader;
5946
6219
  contextLoader?: DocumentLoader;
5947
6220
  tracerProvider?: TracerProvider;
6221
+ baseUrl?: URL;
5948
6222
  }): Promise<Dislike>;
5949
6223
  protected _getCustomInspectProxy(): Record<string, unknown>;
5950
6224
  }
@@ -5952,6 +6226,7 @@ declare class Dislike extends Activity {
5952
6226
  */
5953
6227
  declare class Endpoints {
5954
6228
  #private;
6229
+ protected readonly _baseUrl?: URL;
5955
6230
  readonly id: URL | null;
5956
6231
  protected get _documentLoader(): DocumentLoader | undefined;
5957
6232
  protected get _contextLoader(): DocumentLoader | undefined;
@@ -5967,6 +6242,10 @@ declare class Endpoints {
5967
6242
  * The type URI of {@link Endpoints}: `https://www.w3.org/ns/activitystreams#Endpoints`.
5968
6243
  */
5969
6244
  static get typeId(): URL;
6245
+ /**
6246
+ * The base URL used for resolving relative URLs in this object.
6247
+ */
6248
+ get baseUrl(): URL | undefined;
5970
6249
  /**
5971
6250
  * Constructs a new instance of Endpoints with the given values.
5972
6251
  * @param values The values to initialize the instance with.
@@ -5984,6 +6263,7 @@ declare class Endpoints {
5984
6263
  documentLoader?: DocumentLoader;
5985
6264
  contextLoader?: DocumentLoader;
5986
6265
  tracerProvider?: TracerProvider;
6266
+ baseUrl?: URL;
5987
6267
  });
5988
6268
  /**
5989
6269
  * Clones this instance, optionally updating it with the given values.
@@ -6075,11 +6355,13 @@ declare class Endpoints {
6075
6355
  documentLoader?: DocumentLoader;
6076
6356
  contextLoader?: DocumentLoader;
6077
6357
  tracerProvider?: TracerProvider;
6358
+ baseUrl?: URL;
6078
6359
  }): Promise<Endpoints>;
6079
6360
  protected static __fromJsonLd__Endpoints__(json: unknown, span: Span, options?: {
6080
6361
  documentLoader?: DocumentLoader;
6081
6362
  contextLoader?: DocumentLoader;
6082
6363
  tracerProvider?: TracerProvider;
6364
+ baseUrl?: URL;
6083
6365
  }): Promise<Endpoints>;
6084
6366
  protected _getCustomInspectProxy(): Record<string, unknown>;
6085
6367
  }
@@ -6090,6 +6372,10 @@ declare class Event extends Object$1 {
6090
6372
  * The type URI of {@link Event}: `https://www.w3.org/ns/activitystreams#Event`.
6091
6373
  */
6092
6374
  static get typeId(): URL;
6375
+ /**
6376
+ * The base URL used for resolving relative URLs in this object.
6377
+ */
6378
+ get baseUrl(): URL | undefined;
6093
6379
  /**
6094
6380
  * Constructs a new instance of Event with the given values.
6095
6381
  * @param values The values to initialize the instance with.
@@ -6149,6 +6435,7 @@ declare class Event extends Object$1 {
6149
6435
  documentLoader?: DocumentLoader;
6150
6436
  contextLoader?: DocumentLoader;
6151
6437
  tracerProvider?: TracerProvider;
6438
+ baseUrl?: URL;
6152
6439
  });
6153
6440
  /**
6154
6441
  * Clones this instance, optionally updating it with the given values.
@@ -6241,11 +6528,13 @@ declare class Event extends Object$1 {
6241
6528
  documentLoader?: DocumentLoader;
6242
6529
  contextLoader?: DocumentLoader;
6243
6530
  tracerProvider?: TracerProvider;
6531
+ baseUrl?: URL;
6244
6532
  }): Promise<Event>;
6245
6533
  protected static __fromJsonLd__Event__(json: unknown, span: Span, options?: {
6246
6534
  documentLoader?: DocumentLoader;
6247
6535
  contextLoader?: DocumentLoader;
6248
6536
  tracerProvider?: TracerProvider;
6537
+ baseUrl?: URL;
6249
6538
  }): Promise<Event>;
6250
6539
  protected _getCustomInspectProxy(): Record<string, unknown>;
6251
6540
  }
@@ -6258,6 +6547,10 @@ declare class Flag extends Activity {
6258
6547
  * The type URI of {@link Flag}: `https://www.w3.org/ns/activitystreams#Flag`.
6259
6548
  */
6260
6549
  static get typeId(): URL;
6550
+ /**
6551
+ * The base URL used for resolving relative URLs in this object.
6552
+ */
6553
+ get baseUrl(): URL | undefined;
6261
6554
  /**
6262
6555
  * Constructs a new instance of Flag with the given values.
6263
6556
  * @param values The values to initialize the instance with.
@@ -6329,6 +6622,7 @@ declare class Flag extends Activity {
6329
6622
  documentLoader?: DocumentLoader;
6330
6623
  contextLoader?: DocumentLoader;
6331
6624
  tracerProvider?: TracerProvider;
6625
+ baseUrl?: URL;
6332
6626
  });
6333
6627
  /**
6334
6628
  * Clones this instance, optionally updating it with the given values.
@@ -6433,11 +6727,13 @@ declare class Flag extends Activity {
6433
6727
  documentLoader?: DocumentLoader;
6434
6728
  contextLoader?: DocumentLoader;
6435
6729
  tracerProvider?: TracerProvider;
6730
+ baseUrl?: URL;
6436
6731
  }): Promise<Flag>;
6437
6732
  protected static __fromJsonLd__Flag__(json: unknown, span: Span, options?: {
6438
6733
  documentLoader?: DocumentLoader;
6439
6734
  contextLoader?: DocumentLoader;
6440
6735
  tracerProvider?: TracerProvider;
6736
+ baseUrl?: URL;
6441
6737
  }): Promise<Flag>;
6442
6738
  protected _getCustomInspectProxy(): Record<string, unknown>;
6443
6739
  }
@@ -6451,6 +6747,10 @@ declare class Follow extends Activity {
6451
6747
  * The type URI of {@link Follow}: `https://www.w3.org/ns/activitystreams#Follow`.
6452
6748
  */
6453
6749
  static get typeId(): URL;
6750
+ /**
6751
+ * The base URL used for resolving relative URLs in this object.
6752
+ */
6753
+ get baseUrl(): URL | undefined;
6454
6754
  /**
6455
6755
  * Constructs a new instance of Follow with the given values.
6456
6756
  * @param values The values to initialize the instance with.
@@ -6522,6 +6822,7 @@ declare class Follow extends Activity {
6522
6822
  documentLoader?: DocumentLoader;
6523
6823
  contextLoader?: DocumentLoader;
6524
6824
  tracerProvider?: TracerProvider;
6825
+ baseUrl?: URL;
6525
6826
  });
6526
6827
  /**
6527
6828
  * Clones this instance, optionally updating it with the given values.
@@ -6626,11 +6927,13 @@ declare class Follow extends Activity {
6626
6927
  documentLoader?: DocumentLoader;
6627
6928
  contextLoader?: DocumentLoader;
6628
6929
  tracerProvider?: TracerProvider;
6930
+ baseUrl?: URL;
6629
6931
  }): Promise<Follow>;
6630
6932
  protected static __fromJsonLd__Follow__(json: unknown, span: Span, options?: {
6631
6933
  documentLoader?: DocumentLoader;
6632
6934
  contextLoader?: DocumentLoader;
6633
6935
  tracerProvider?: TracerProvider;
6936
+ baseUrl?: URL;
6634
6937
  }): Promise<Follow>;
6635
6938
  protected _getCustomInspectProxy(): Record<string, unknown>;
6636
6939
  }
@@ -6642,6 +6945,10 @@ declare class Group extends Object$1 {
6642
6945
  * The type URI of {@link Group}: `https://www.w3.org/ns/activitystreams#Group`.
6643
6946
  */
6644
6947
  static get typeId(): URL;
6948
+ /**
6949
+ * The base URL used for resolving relative URLs in this object.
6950
+ */
6951
+ get baseUrl(): URL | undefined;
6645
6952
  /**
6646
6953
  * Constructs a new instance of Group with the given values.
6647
6954
  * @param values The values to initialize the instance with.
@@ -6728,6 +7035,7 @@ declare class Group extends Object$1 {
6728
7035
  documentLoader?: DocumentLoader;
6729
7036
  contextLoader?: DocumentLoader;
6730
7037
  tracerProvider?: TracerProvider;
7038
+ baseUrl?: URL;
6731
7039
  });
6732
7040
  /**
6733
7041
  * Clones this instance, optionally updating it with the given values.
@@ -6837,6 +7145,7 @@ declare class Group extends Object$1 {
6837
7145
  contextLoader?: DocumentLoader;
6838
7146
  suppressError?: boolean;
6839
7147
  tracerProvider?: TracerProvider;
7148
+ baseUrl?: URL;
6840
7149
  }): Promise<CryptographicKey | null>;
6841
7150
  /**
6842
7151
  * Similar to
@@ -6851,6 +7160,7 @@ declare class Group extends Object$1 {
6851
7160
  contextLoader?: DocumentLoader;
6852
7161
  suppressError?: boolean;
6853
7162
  tracerProvider?: TracerProvider;
7163
+ baseUrl?: URL;
6854
7164
  }): AsyncIterable<CryptographicKey>;
6855
7165
  /**
6856
7166
  * Similar to
@@ -6868,6 +7178,7 @@ declare class Group extends Object$1 {
6868
7178
  contextLoader?: DocumentLoader;
6869
7179
  suppressError?: boolean;
6870
7180
  tracerProvider?: TracerProvider;
7181
+ baseUrl?: URL;
6871
7182
  }): Promise<Multikey | null>;
6872
7183
  /**
6873
7184
  * Similar to
@@ -6885,6 +7196,7 @@ declare class Group extends Object$1 {
6885
7196
  contextLoader?: DocumentLoader;
6886
7197
  suppressError?: boolean;
6887
7198
  tracerProvider?: TracerProvider;
7199
+ baseUrl?: URL;
6888
7200
  }): AsyncIterable<Multikey>;
6889
7201
  /** When `true`, conveys that for this actor, follow requests are not usually
6890
7202
  * automatically approved, but instead are examined by a person who may accept
@@ -6919,6 +7231,7 @@ declare class Group extends Object$1 {
6919
7231
  contextLoader?: DocumentLoader;
6920
7232
  suppressError?: boolean;
6921
7233
  tracerProvider?: TracerProvider;
7234
+ baseUrl?: URL;
6922
7235
  }): Promise<OrderedCollection | OrderedCollectionPage | null>;
6923
7236
  /**
6924
7237
  * Similar to
@@ -6942,6 +7255,7 @@ declare class Group extends Object$1 {
6942
7255
  contextLoader?: DocumentLoader;
6943
7256
  suppressError?: boolean;
6944
7257
  tracerProvider?: TracerProvider;
7258
+ baseUrl?: URL;
6945
7259
  }): Promise<OrderedCollection | OrderedCollectionPage | null>;
6946
7260
  /**
6947
7261
  * Similar to
@@ -6960,6 +7274,7 @@ declare class Group extends Object$1 {
6960
7274
  contextLoader?: DocumentLoader;
6961
7275
  suppressError?: boolean;
6962
7276
  tracerProvider?: TracerProvider;
7277
+ baseUrl?: URL;
6963
7278
  }): Promise<Collection | null>;
6964
7279
  /**
6965
7280
  * Similar to
@@ -6981,6 +7296,7 @@ declare class Group extends Object$1 {
6981
7296
  contextLoader?: DocumentLoader;
6982
7297
  suppressError?: boolean;
6983
7298
  tracerProvider?: TracerProvider;
7299
+ baseUrl?: URL;
6984
7300
  }): Promise<Collection | null>;
6985
7301
  /**
6986
7302
  * Similar to
@@ -7000,6 +7316,7 @@ declare class Group extends Object$1 {
7000
7316
  contextLoader?: DocumentLoader;
7001
7317
  suppressError?: boolean;
7002
7318
  tracerProvider?: TracerProvider;
7319
+ baseUrl?: URL;
7003
7320
  }): Promise<Collection | null>;
7004
7321
  /**
7005
7322
  * Similar to
@@ -7017,6 +7334,7 @@ declare class Group extends Object$1 {
7017
7334
  contextLoader?: DocumentLoader;
7018
7335
  suppressError?: boolean;
7019
7336
  tracerProvider?: TracerProvider;
7337
+ baseUrl?: URL;
7020
7338
  }): Promise<Collection | null>;
7021
7339
  /**
7022
7340
  * Similar to
@@ -7034,6 +7352,7 @@ declare class Group extends Object$1 {
7034
7352
  contextLoader?: DocumentLoader;
7035
7353
  suppressError?: boolean;
7036
7354
  tracerProvider?: TracerProvider;
7355
+ baseUrl?: URL;
7037
7356
  }): Promise<Collection | null>;
7038
7357
  /**
7039
7358
  * Similar to
@@ -7048,6 +7367,7 @@ declare class Group extends Object$1 {
7048
7367
  contextLoader?: DocumentLoader;
7049
7368
  suppressError?: boolean;
7050
7369
  tracerProvider?: TracerProvider;
7370
+ baseUrl?: URL;
7051
7371
  }): AsyncIterable<Collection>;
7052
7372
  /** A JSON object which maps additional (typically server/domain-wide) endpoints
7053
7373
  * which may be useful either for this actor or someone referencing this actor.
@@ -7084,6 +7404,7 @@ declare class Group extends Object$1 {
7084
7404
  contextLoader?: DocumentLoader;
7085
7405
  suppressError?: boolean;
7086
7406
  tracerProvider?: TracerProvider;
7407
+ baseUrl?: URL;
7087
7408
  }): Promise<Application | Group | Organization | Person | Service | null>;
7088
7409
  /**
7089
7410
  * Similar to
@@ -7101,6 +7422,7 @@ declare class Group extends Object$1 {
7101
7422
  contextLoader?: DocumentLoader;
7102
7423
  suppressError?: boolean;
7103
7424
  tracerProvider?: TracerProvider;
7425
+ baseUrl?: URL;
7104
7426
  }): Promise<Application | Group | Organization | Person | Service | null>;
7105
7427
  /**
7106
7428
  * Similar to
@@ -7118,6 +7440,7 @@ declare class Group extends Object$1 {
7118
7440
  contextLoader?: DocumentLoader;
7119
7441
  suppressError?: boolean;
7120
7442
  tracerProvider?: TracerProvider;
7443
+ baseUrl?: URL;
7121
7444
  }): AsyncIterable<Application | Group | Organization | Person | Service>;
7122
7445
  /**
7123
7446
  * Similar to
@@ -7135,6 +7458,7 @@ declare class Group extends Object$1 {
7135
7458
  contextLoader?: DocumentLoader;
7136
7459
  suppressError?: boolean;
7137
7460
  tracerProvider?: TracerProvider;
7461
+ baseUrl?: URL;
7138
7462
  }): Promise<DidService | null>;
7139
7463
  /**
7140
7464
  * Similar to
@@ -7152,6 +7476,7 @@ declare class Group extends Object$1 {
7152
7476
  contextLoader?: DocumentLoader;
7153
7477
  suppressError?: boolean;
7154
7478
  tracerProvider?: TracerProvider;
7479
+ baseUrl?: URL;
7155
7480
  }): AsyncIterable<DidService>;
7156
7481
  /** This value is used for `Actor` type objects to show message on followed.
7157
7482
  */
@@ -7193,11 +7518,13 @@ declare class Group extends Object$1 {
7193
7518
  documentLoader?: DocumentLoader;
7194
7519
  contextLoader?: DocumentLoader;
7195
7520
  tracerProvider?: TracerProvider;
7521
+ baseUrl?: URL;
7196
7522
  }): Promise<Group>;
7197
7523
  protected static __fromJsonLd__Group__(json: unknown, span: Span, options?: {
7198
7524
  documentLoader?: DocumentLoader;
7199
7525
  contextLoader?: DocumentLoader;
7200
7526
  tracerProvider?: TracerProvider;
7527
+ baseUrl?: URL;
7201
7528
  }): Promise<Group>;
7202
7529
  protected _getCustomInspectProxy(): Record<string, unknown>;
7203
7530
  }
@@ -7212,6 +7539,7 @@ declare class Group extends Object$1 {
7212
7539
  */
7213
7540
  declare class Link {
7214
7541
  #private;
7542
+ protected readonly _baseUrl?: URL;
7215
7543
  readonly id: URL | null;
7216
7544
  protected get _documentLoader(): DocumentLoader | undefined;
7217
7545
  protected get _contextLoader(): DocumentLoader | undefined;
@@ -7227,6 +7555,10 @@ declare class Link {
7227
7555
  * The type URI of {@link Link}: `https://www.w3.org/ns/activitystreams#Link`.
7228
7556
  */
7229
7557
  static get typeId(): URL;
7558
+ /**
7559
+ * The base URL used for resolving relative URLs in this object.
7560
+ */
7561
+ get baseUrl(): URL | undefined;
7230
7562
  /**
7231
7563
  * Constructs a new instance of Link with the given values.
7232
7564
  * @param values The values to initialize the instance with.
@@ -7248,6 +7580,7 @@ declare class Link {
7248
7580
  documentLoader?: DocumentLoader;
7249
7581
  contextLoader?: DocumentLoader;
7250
7582
  tracerProvider?: TracerProvider;
7583
+ baseUrl?: URL;
7251
7584
  });
7252
7585
  /**
7253
7586
  * Clones this instance, optionally updating it with the given values.
@@ -7329,6 +7662,7 @@ declare class Link {
7329
7662
  contextLoader?: DocumentLoader;
7330
7663
  suppressError?: boolean;
7331
7664
  tracerProvider?: TracerProvider;
7665
+ baseUrl?: URL;
7332
7666
  }): AsyncIterable<Link | Object$1>;
7333
7667
  /**
7334
7668
  * Converts this object to a JSON-LD structure.
@@ -7361,11 +7695,13 @@ declare class Link {
7361
7695
  documentLoader?: DocumentLoader;
7362
7696
  contextLoader?: DocumentLoader;
7363
7697
  tracerProvider?: TracerProvider;
7698
+ baseUrl?: URL;
7364
7699
  }): Promise<Link>;
7365
7700
  protected static __fromJsonLd__Link__(json: unknown, span: Span, options?: {
7366
7701
  documentLoader?: DocumentLoader;
7367
7702
  contextLoader?: DocumentLoader;
7368
7703
  tracerProvider?: TracerProvider;
7704
+ baseUrl?: URL;
7369
7705
  }): Promise<Link>;
7370
7706
  protected _getCustomInspectProxy(): Record<string, unknown>;
7371
7707
  }
@@ -7378,6 +7714,10 @@ declare class Hashtag extends Link {
7378
7714
  * The type URI of {@link Hashtag}: `https://www.w3.org/ns/activitystreams#Hashtag`.
7379
7715
  */
7380
7716
  static get typeId(): URL;
7717
+ /**
7718
+ * The base URL used for resolving relative URLs in this object.
7719
+ */
7720
+ get baseUrl(): URL | undefined;
7381
7721
  /**
7382
7722
  * Constructs a new instance of Hashtag with the given values.
7383
7723
  * @param values The values to initialize the instance with.
@@ -7399,6 +7739,7 @@ declare class Hashtag extends Link {
7399
7739
  documentLoader?: DocumentLoader;
7400
7740
  contextLoader?: DocumentLoader;
7401
7741
  tracerProvider?: TracerProvider;
7742
+ baseUrl?: URL;
7402
7743
  });
7403
7744
  /**
7404
7745
  * Clones this instance, optionally updating it with the given values.
@@ -7453,11 +7794,13 @@ declare class Hashtag extends Link {
7453
7794
  documentLoader?: DocumentLoader;
7454
7795
  contextLoader?: DocumentLoader;
7455
7796
  tracerProvider?: TracerProvider;
7797
+ baseUrl?: URL;
7456
7798
  }): Promise<Hashtag>;
7457
7799
  protected static __fromJsonLd__Hashtag__(json: unknown, span: Span, options?: {
7458
7800
  documentLoader?: DocumentLoader;
7459
7801
  contextLoader?: DocumentLoader;
7460
7802
  tracerProvider?: TracerProvider;
7803
+ baseUrl?: URL;
7461
7804
  }): Promise<Hashtag>;
7462
7805
  protected _getCustomInspectProxy(): Record<string, unknown>;
7463
7806
  }
@@ -7468,6 +7811,10 @@ declare class Image extends Document {
7468
7811
  * The type URI of {@link Image}: `https://www.w3.org/ns/activitystreams#Image`.
7469
7812
  */
7470
7813
  static get typeId(): URL;
7814
+ /**
7815
+ * The base URL used for resolving relative URLs in this object.
7816
+ */
7817
+ get baseUrl(): URL | undefined;
7471
7818
  /**
7472
7819
  * Constructs a new instance of Image with the given values.
7473
7820
  * @param values The values to initialize the instance with.
@@ -7529,6 +7876,7 @@ declare class Image extends Document {
7529
7876
  documentLoader?: DocumentLoader;
7530
7877
  contextLoader?: DocumentLoader;
7531
7878
  tracerProvider?: TracerProvider;
7879
+ baseUrl?: URL;
7532
7880
  });
7533
7881
  /**
7534
7882
  * Clones this instance, optionally updating it with the given values.
@@ -7623,11 +7971,13 @@ declare class Image extends Document {
7623
7971
  documentLoader?: DocumentLoader;
7624
7972
  contextLoader?: DocumentLoader;
7625
7973
  tracerProvider?: TracerProvider;
7974
+ baseUrl?: URL;
7626
7975
  }): Promise<Image>;
7627
7976
  protected static __fromJsonLd__Image__(json: unknown, span: Span, options?: {
7628
7977
  documentLoader?: DocumentLoader;
7629
7978
  contextLoader?: DocumentLoader;
7630
7979
  tracerProvider?: TracerProvider;
7980
+ baseUrl?: URL;
7631
7981
  }): Promise<Image>;
7632
7982
  protected _getCustomInspectProxy(): Record<string, unknown>;
7633
7983
  }
@@ -7640,6 +7990,10 @@ declare class Offer extends Activity {
7640
7990
  * The type URI of {@link Offer}: `https://www.w3.org/ns/activitystreams#Offer`.
7641
7991
  */
7642
7992
  static get typeId(): URL;
7993
+ /**
7994
+ * The base URL used for resolving relative URLs in this object.
7995
+ */
7996
+ get baseUrl(): URL | undefined;
7643
7997
  /**
7644
7998
  * Constructs a new instance of Offer with the given values.
7645
7999
  * @param values The values to initialize the instance with.
@@ -7711,6 +8065,7 @@ declare class Offer extends Activity {
7711
8065
  documentLoader?: DocumentLoader;
7712
8066
  contextLoader?: DocumentLoader;
7713
8067
  tracerProvider?: TracerProvider;
8068
+ baseUrl?: URL;
7714
8069
  });
7715
8070
  /**
7716
8071
  * Clones this instance, optionally updating it with the given values.
@@ -7815,11 +8170,13 @@ declare class Offer extends Activity {
7815
8170
  documentLoader?: DocumentLoader;
7816
8171
  contextLoader?: DocumentLoader;
7817
8172
  tracerProvider?: TracerProvider;
8173
+ baseUrl?: URL;
7818
8174
  }): Promise<Offer>;
7819
8175
  protected static __fromJsonLd__Offer__(json: unknown, span: Span, options?: {
7820
8176
  documentLoader?: DocumentLoader;
7821
8177
  contextLoader?: DocumentLoader;
7822
8178
  tracerProvider?: TracerProvider;
8179
+ baseUrl?: URL;
7823
8180
  }): Promise<Offer>;
7824
8181
  protected _getCustomInspectProxy(): Record<string, unknown>;
7825
8182
  }
@@ -7831,6 +8188,10 @@ declare class Invite extends Offer {
7831
8188
  * The type URI of {@link Invite}: `https://www.w3.org/ns/activitystreams#Invite`.
7832
8189
  */
7833
8190
  static get typeId(): URL;
8191
+ /**
8192
+ * The base URL used for resolving relative URLs in this object.
8193
+ */
8194
+ get baseUrl(): URL | undefined;
7834
8195
  /**
7835
8196
  * Constructs a new instance of Invite with the given values.
7836
8197
  * @param values The values to initialize the instance with.
@@ -7902,6 +8263,7 @@ declare class Invite extends Offer {
7902
8263
  documentLoader?: DocumentLoader;
7903
8264
  contextLoader?: DocumentLoader;
7904
8265
  tracerProvider?: TracerProvider;
8266
+ baseUrl?: URL;
7905
8267
  });
7906
8268
  /**
7907
8269
  * Clones this instance, optionally updating it with the given values.
@@ -8006,11 +8368,13 @@ declare class Invite extends Offer {
8006
8368
  documentLoader?: DocumentLoader;
8007
8369
  contextLoader?: DocumentLoader;
8008
8370
  tracerProvider?: TracerProvider;
8371
+ baseUrl?: URL;
8009
8372
  }): Promise<Invite>;
8010
8373
  protected static __fromJsonLd__Invite__(json: unknown, span: Span, options?: {
8011
8374
  documentLoader?: DocumentLoader;
8012
8375
  contextLoader?: DocumentLoader;
8013
8376
  tracerProvider?: TracerProvider;
8377
+ baseUrl?: URL;
8014
8378
  }): Promise<Invite>;
8015
8379
  protected _getCustomInspectProxy(): Record<string, unknown>;
8016
8380
  }
@@ -8022,6 +8386,10 @@ declare class Join extends Activity {
8022
8386
  * The type URI of {@link Join}: `https://www.w3.org/ns/activitystreams#Join`.
8023
8387
  */
8024
8388
  static get typeId(): URL;
8389
+ /**
8390
+ * The base URL used for resolving relative URLs in this object.
8391
+ */
8392
+ get baseUrl(): URL | undefined;
8025
8393
  /**
8026
8394
  * Constructs a new instance of Join with the given values.
8027
8395
  * @param values The values to initialize the instance with.
@@ -8093,6 +8461,7 @@ declare class Join extends Activity {
8093
8461
  documentLoader?: DocumentLoader;
8094
8462
  contextLoader?: DocumentLoader;
8095
8463
  tracerProvider?: TracerProvider;
8464
+ baseUrl?: URL;
8096
8465
  });
8097
8466
  /**
8098
8467
  * Clones this instance, optionally updating it with the given values.
@@ -8197,11 +8566,13 @@ declare class Join extends Activity {
8197
8566
  documentLoader?: DocumentLoader;
8198
8567
  contextLoader?: DocumentLoader;
8199
8568
  tracerProvider?: TracerProvider;
8569
+ baseUrl?: URL;
8200
8570
  }): Promise<Join>;
8201
8571
  protected static __fromJsonLd__Join__(json: unknown, span: Span, options?: {
8202
8572
  documentLoader?: DocumentLoader;
8203
8573
  contextLoader?: DocumentLoader;
8204
8574
  tracerProvider?: TracerProvider;
8575
+ baseUrl?: URL;
8205
8576
  }): Promise<Join>;
8206
8577
  protected _getCustomInspectProxy(): Record<string, unknown>;
8207
8578
  }
@@ -8213,6 +8584,10 @@ declare class Leave extends Activity {
8213
8584
  * The type URI of {@link Leave}: `https://www.w3.org/ns/activitystreams#Leave`.
8214
8585
  */
8215
8586
  static get typeId(): URL;
8587
+ /**
8588
+ * The base URL used for resolving relative URLs in this object.
8589
+ */
8590
+ get baseUrl(): URL | undefined;
8216
8591
  /**
8217
8592
  * Constructs a new instance of Leave with the given values.
8218
8593
  * @param values The values to initialize the instance with.
@@ -8284,6 +8659,7 @@ declare class Leave extends Activity {
8284
8659
  documentLoader?: DocumentLoader;
8285
8660
  contextLoader?: DocumentLoader;
8286
8661
  tracerProvider?: TracerProvider;
8662
+ baseUrl?: URL;
8287
8663
  });
8288
8664
  /**
8289
8665
  * Clones this instance, optionally updating it with the given values.
@@ -8388,11 +8764,13 @@ declare class Leave extends Activity {
8388
8764
  documentLoader?: DocumentLoader;
8389
8765
  contextLoader?: DocumentLoader;
8390
8766
  tracerProvider?: TracerProvider;
8767
+ baseUrl?: URL;
8391
8768
  }): Promise<Leave>;
8392
8769
  protected static __fromJsonLd__Leave__(json: unknown, span: Span, options?: {
8393
8770
  documentLoader?: DocumentLoader;
8394
8771
  contextLoader?: DocumentLoader;
8395
8772
  tracerProvider?: TracerProvider;
8773
+ baseUrl?: URL;
8396
8774
  }): Promise<Leave>;
8397
8775
  protected _getCustomInspectProxy(): Record<string, unknown>;
8398
8776
  }
@@ -8404,6 +8782,10 @@ declare class Like extends Activity {
8404
8782
  * The type URI of {@link Like}: `https://www.w3.org/ns/activitystreams#Like`.
8405
8783
  */
8406
8784
  static get typeId(): URL;
8785
+ /**
8786
+ * The base URL used for resolving relative URLs in this object.
8787
+ */
8788
+ get baseUrl(): URL | undefined;
8407
8789
  /**
8408
8790
  * Constructs a new instance of Like with the given values.
8409
8791
  * @param values The values to initialize the instance with.
@@ -8475,6 +8857,7 @@ declare class Like extends Activity {
8475
8857
  documentLoader?: DocumentLoader;
8476
8858
  contextLoader?: DocumentLoader;
8477
8859
  tracerProvider?: TracerProvider;
8860
+ baseUrl?: URL;
8478
8861
  });
8479
8862
  /**
8480
8863
  * Clones this instance, optionally updating it with the given values.
@@ -8579,11 +8962,13 @@ declare class Like extends Activity {
8579
8962
  documentLoader?: DocumentLoader;
8580
8963
  contextLoader?: DocumentLoader;
8581
8964
  tracerProvider?: TracerProvider;
8965
+ baseUrl?: URL;
8582
8966
  }): Promise<Like>;
8583
8967
  protected static __fromJsonLd__Like__(json: unknown, span: Span, options?: {
8584
8968
  documentLoader?: DocumentLoader;
8585
8969
  contextLoader?: DocumentLoader;
8586
8970
  tracerProvider?: TracerProvider;
8971
+ baseUrl?: URL;
8587
8972
  }): Promise<Like>;
8588
8973
  protected _getCustomInspectProxy(): Record<string, unknown>;
8589
8974
  }
@@ -8594,6 +8979,10 @@ declare class Listen extends Activity {
8594
8979
  * The type URI of {@link Listen}: `https://www.w3.org/ns/activitystreams#Listen`.
8595
8980
  */
8596
8981
  static get typeId(): URL;
8982
+ /**
8983
+ * The base URL used for resolving relative URLs in this object.
8984
+ */
8985
+ get baseUrl(): URL | undefined;
8597
8986
  /**
8598
8987
  * Constructs a new instance of Listen with the given values.
8599
8988
  * @param values The values to initialize the instance with.
@@ -8665,6 +9054,7 @@ declare class Listen extends Activity {
8665
9054
  documentLoader?: DocumentLoader;
8666
9055
  contextLoader?: DocumentLoader;
8667
9056
  tracerProvider?: TracerProvider;
9057
+ baseUrl?: URL;
8668
9058
  });
8669
9059
  /**
8670
9060
  * Clones this instance, optionally updating it with the given values.
@@ -8769,11 +9159,13 @@ declare class Listen extends Activity {
8769
9159
  documentLoader?: DocumentLoader;
8770
9160
  contextLoader?: DocumentLoader;
8771
9161
  tracerProvider?: TracerProvider;
9162
+ baseUrl?: URL;
8772
9163
  }): Promise<Listen>;
8773
9164
  protected static __fromJsonLd__Listen__(json: unknown, span: Span, options?: {
8774
9165
  documentLoader?: DocumentLoader;
8775
9166
  contextLoader?: DocumentLoader;
8776
9167
  tracerProvider?: TracerProvider;
9168
+ baseUrl?: URL;
8777
9169
  }): Promise<Listen>;
8778
9170
  protected _getCustomInspectProxy(): Record<string, unknown>;
8779
9171
  }
@@ -8784,6 +9176,10 @@ declare class Mention extends Link {
8784
9176
  * The type URI of {@link Mention}: `https://www.w3.org/ns/activitystreams#Mention`.
8785
9177
  */
8786
9178
  static get typeId(): URL;
9179
+ /**
9180
+ * The base URL used for resolving relative URLs in this object.
9181
+ */
9182
+ get baseUrl(): URL | undefined;
8787
9183
  /**
8788
9184
  * Constructs a new instance of Mention with the given values.
8789
9185
  * @param values The values to initialize the instance with.
@@ -8805,6 +9201,7 @@ declare class Mention extends Link {
8805
9201
  documentLoader?: DocumentLoader;
8806
9202
  contextLoader?: DocumentLoader;
8807
9203
  tracerProvider?: TracerProvider;
9204
+ baseUrl?: URL;
8808
9205
  });
8809
9206
  /**
8810
9207
  * Clones this instance, optionally updating it with the given values.
@@ -8859,11 +9256,13 @@ declare class Mention extends Link {
8859
9256
  documentLoader?: DocumentLoader;
8860
9257
  contextLoader?: DocumentLoader;
8861
9258
  tracerProvider?: TracerProvider;
9259
+ baseUrl?: URL;
8862
9260
  }): Promise<Mention>;
8863
9261
  protected static __fromJsonLd__Mention__(json: unknown, span: Span, options?: {
8864
9262
  documentLoader?: DocumentLoader;
8865
9263
  contextLoader?: DocumentLoader;
8866
9264
  tracerProvider?: TracerProvider;
9265
+ baseUrl?: URL;
8867
9266
  }): Promise<Mention>;
8868
9267
  protected _getCustomInspectProxy(): Record<string, unknown>;
8869
9268
  }
@@ -8876,6 +9275,10 @@ declare class Move extends Activity {
8876
9275
  * The type URI of {@link Move}: `https://www.w3.org/ns/activitystreams#Move`.
8877
9276
  */
8878
9277
  static get typeId(): URL;
9278
+ /**
9279
+ * The base URL used for resolving relative URLs in this object.
9280
+ */
9281
+ get baseUrl(): URL | undefined;
8879
9282
  /**
8880
9283
  * Constructs a new instance of Move with the given values.
8881
9284
  * @param values The values to initialize the instance with.
@@ -8947,6 +9350,7 @@ declare class Move extends Activity {
8947
9350
  documentLoader?: DocumentLoader;
8948
9351
  contextLoader?: DocumentLoader;
8949
9352
  tracerProvider?: TracerProvider;
9353
+ baseUrl?: URL;
8950
9354
  });
8951
9355
  /**
8952
9356
  * Clones this instance, optionally updating it with the given values.
@@ -9051,11 +9455,13 @@ declare class Move extends Activity {
9051
9455
  documentLoader?: DocumentLoader;
9052
9456
  contextLoader?: DocumentLoader;
9053
9457
  tracerProvider?: TracerProvider;
9458
+ baseUrl?: URL;
9054
9459
  }): Promise<Move>;
9055
9460
  protected static __fromJsonLd__Move__(json: unknown, span: Span, options?: {
9056
9461
  documentLoader?: DocumentLoader;
9057
9462
  contextLoader?: DocumentLoader;
9058
9463
  tracerProvider?: TracerProvider;
9464
+ baseUrl?: URL;
9059
9465
  }): Promise<Move>;
9060
9466
  protected _getCustomInspectProxy(): Record<string, unknown>;
9061
9467
  }
@@ -9068,6 +9474,10 @@ declare class Note extends Object$1 {
9068
9474
  * The type URI of {@link Note}: `https://www.w3.org/ns/activitystreams#Note`.
9069
9475
  */
9070
9476
  static get typeId(): URL;
9477
+ /**
9478
+ * The base URL used for resolving relative URLs in this object.
9479
+ */
9480
+ get baseUrl(): URL | undefined;
9071
9481
  /**
9072
9482
  * Constructs a new instance of Note with the given values.
9073
9483
  * @param values The values to initialize the instance with.
@@ -9128,6 +9538,7 @@ declare class Note extends Object$1 {
9128
9538
  documentLoader?: DocumentLoader;
9129
9539
  contextLoader?: DocumentLoader;
9130
9540
  tracerProvider?: TracerProvider;
9541
+ baseUrl?: URL;
9131
9542
  });
9132
9543
  /**
9133
9544
  * Clones this instance, optionally updating it with the given values.
@@ -9233,11 +9644,13 @@ declare class Note extends Object$1 {
9233
9644
  documentLoader?: DocumentLoader;
9234
9645
  contextLoader?: DocumentLoader;
9235
9646
  tracerProvider?: TracerProvider;
9647
+ baseUrl?: URL;
9236
9648
  }): Promise<Note>;
9237
9649
  protected static __fromJsonLd__Note__(json: unknown, span: Span, options?: {
9238
9650
  documentLoader?: DocumentLoader;
9239
9651
  contextLoader?: DocumentLoader;
9240
9652
  tracerProvider?: TracerProvider;
9653
+ baseUrl?: URL;
9241
9654
  }): Promise<Note>;
9242
9655
  protected _getCustomInspectProxy(): Record<string, unknown>;
9243
9656
  }
@@ -9250,6 +9663,10 @@ declare class OrderedCollection extends Collection {
9250
9663
  * The type URI of {@link OrderedCollection}: `https://www.w3.org/ns/activitystreams#OrderedCollection`.
9251
9664
  */
9252
9665
  static get typeId(): URL;
9666
+ /**
9667
+ * The base URL used for resolving relative URLs in this object.
9668
+ */
9669
+ get baseUrl(): URL | undefined;
9253
9670
  /**
9254
9671
  * Constructs a new instance of OrderedCollection with the given values.
9255
9672
  * @param values The values to initialize the instance with.
@@ -9322,6 +9739,7 @@ declare class OrderedCollection extends Collection {
9322
9739
  documentLoader?: DocumentLoader;
9323
9740
  contextLoader?: DocumentLoader;
9324
9741
  tracerProvider?: TracerProvider;
9742
+ baseUrl?: URL;
9325
9743
  });
9326
9744
  /**
9327
9745
  * Clones this instance, optionally updating it with the given values.
@@ -9410,6 +9828,7 @@ declare class OrderedCollection extends Collection {
9410
9828
  contextLoader?: DocumentLoader;
9411
9829
  suppressError?: boolean;
9412
9830
  tracerProvider?: TracerProvider;
9831
+ baseUrl?: URL;
9413
9832
  }): AsyncIterable<Object$1 | Link>;
9414
9833
  /**
9415
9834
  * Converts this object to a JSON-LD structure.
@@ -9442,11 +9861,13 @@ declare class OrderedCollection extends Collection {
9442
9861
  documentLoader?: DocumentLoader;
9443
9862
  contextLoader?: DocumentLoader;
9444
9863
  tracerProvider?: TracerProvider;
9864
+ baseUrl?: URL;
9445
9865
  }): Promise<OrderedCollection>;
9446
9866
  protected static __fromJsonLd__OrderedCollection__(json: unknown, span: Span, options?: {
9447
9867
  documentLoader?: DocumentLoader;
9448
9868
  contextLoader?: DocumentLoader;
9449
9869
  tracerProvider?: TracerProvider;
9870
+ baseUrl?: URL;
9450
9871
  }): Promise<OrderedCollection>;
9451
9872
  protected _getCustomInspectProxy(): Record<string, unknown>;
9452
9873
  }
@@ -9460,6 +9881,10 @@ declare class OrderedCollectionPage extends CollectionPage {
9460
9881
  * The type URI of {@link OrderedCollectionPage}: `https://www.w3.org/ns/activitystreams#OrderedCollectionPage`.
9461
9882
  */
9462
9883
  static get typeId(): URL;
9884
+ /**
9885
+ * The base URL used for resolving relative URLs in this object.
9886
+ */
9887
+ get baseUrl(): URL | undefined;
9463
9888
  /**
9464
9889
  * Constructs a new instance of OrderedCollectionPage with the given values.
9465
9890
  * @param values The values to initialize the instance with.
@@ -9536,6 +9961,7 @@ declare class OrderedCollectionPage extends CollectionPage {
9536
9961
  documentLoader?: DocumentLoader;
9537
9962
  contextLoader?: DocumentLoader;
9538
9963
  tracerProvider?: TracerProvider;
9964
+ baseUrl?: URL;
9539
9965
  });
9540
9966
  /**
9541
9967
  * Clones this instance, optionally updating it with the given values.
@@ -9628,6 +10054,7 @@ declare class OrderedCollectionPage extends CollectionPage {
9628
10054
  contextLoader?: DocumentLoader;
9629
10055
  suppressError?: boolean;
9630
10056
  tracerProvider?: TracerProvider;
10057
+ baseUrl?: URL;
9631
10058
  }): AsyncIterable<Object$1 | Link>;
9632
10059
  /** A non-negative integer value identifying the relative position within
9633
10060
  * the logical view of a strictly ordered collection.
@@ -9664,11 +10091,13 @@ declare class OrderedCollectionPage extends CollectionPage {
9664
10091
  documentLoader?: DocumentLoader;
9665
10092
  contextLoader?: DocumentLoader;
9666
10093
  tracerProvider?: TracerProvider;
10094
+ baseUrl?: URL;
9667
10095
  }): Promise<OrderedCollectionPage>;
9668
10096
  protected static __fromJsonLd__OrderedCollectionPage__(json: unknown, span: Span, options?: {
9669
10097
  documentLoader?: DocumentLoader;
9670
10098
  contextLoader?: DocumentLoader;
9671
10099
  tracerProvider?: TracerProvider;
10100
+ baseUrl?: URL;
9672
10101
  }): Promise<OrderedCollectionPage>;
9673
10102
  protected _getCustomInspectProxy(): Record<string, unknown>;
9674
10103
  }
@@ -9680,6 +10109,10 @@ declare class Organization extends Object$1 {
9680
10109
  * The type URI of {@link Organization}: `https://www.w3.org/ns/activitystreams#Organization`.
9681
10110
  */
9682
10111
  static get typeId(): URL;
10112
+ /**
10113
+ * The base URL used for resolving relative URLs in this object.
10114
+ */
10115
+ get baseUrl(): URL | undefined;
9683
10116
  /**
9684
10117
  * Constructs a new instance of Organization with the given values.
9685
10118
  * @param values The values to initialize the instance with.
@@ -9766,6 +10199,7 @@ declare class Organization extends Object$1 {
9766
10199
  documentLoader?: DocumentLoader;
9767
10200
  contextLoader?: DocumentLoader;
9768
10201
  tracerProvider?: TracerProvider;
10202
+ baseUrl?: URL;
9769
10203
  });
9770
10204
  /**
9771
10205
  * Clones this instance, optionally updating it with the given values.
@@ -9875,6 +10309,7 @@ declare class Organization extends Object$1 {
9875
10309
  contextLoader?: DocumentLoader;
9876
10310
  suppressError?: boolean;
9877
10311
  tracerProvider?: TracerProvider;
10312
+ baseUrl?: URL;
9878
10313
  }): Promise<CryptographicKey | null>;
9879
10314
  /**
9880
10315
  * Similar to
@@ -9889,6 +10324,7 @@ declare class Organization extends Object$1 {
9889
10324
  contextLoader?: DocumentLoader;
9890
10325
  suppressError?: boolean;
9891
10326
  tracerProvider?: TracerProvider;
10327
+ baseUrl?: URL;
9892
10328
  }): AsyncIterable<CryptographicKey>;
9893
10329
  /**
9894
10330
  * Similar to
@@ -9906,6 +10342,7 @@ declare class Organization extends Object$1 {
9906
10342
  contextLoader?: DocumentLoader;
9907
10343
  suppressError?: boolean;
9908
10344
  tracerProvider?: TracerProvider;
10345
+ baseUrl?: URL;
9909
10346
  }): Promise<Multikey | null>;
9910
10347
  /**
9911
10348
  * Similar to
@@ -9923,6 +10360,7 @@ declare class Organization extends Object$1 {
9923
10360
  contextLoader?: DocumentLoader;
9924
10361
  suppressError?: boolean;
9925
10362
  tracerProvider?: TracerProvider;
10363
+ baseUrl?: URL;
9926
10364
  }): AsyncIterable<Multikey>;
9927
10365
  /** When `true`, conveys that for this actor, follow requests are not usually
9928
10366
  * automatically approved, but instead are examined by a person who may accept
@@ -9957,6 +10395,7 @@ declare class Organization extends Object$1 {
9957
10395
  contextLoader?: DocumentLoader;
9958
10396
  suppressError?: boolean;
9959
10397
  tracerProvider?: TracerProvider;
10398
+ baseUrl?: URL;
9960
10399
  }): Promise<OrderedCollection | OrderedCollectionPage | null>;
9961
10400
  /**
9962
10401
  * Similar to
@@ -9980,6 +10419,7 @@ declare class Organization extends Object$1 {
9980
10419
  contextLoader?: DocumentLoader;
9981
10420
  suppressError?: boolean;
9982
10421
  tracerProvider?: TracerProvider;
10422
+ baseUrl?: URL;
9983
10423
  }): Promise<OrderedCollection | OrderedCollectionPage | null>;
9984
10424
  /**
9985
10425
  * Similar to
@@ -9998,6 +10438,7 @@ declare class Organization extends Object$1 {
9998
10438
  contextLoader?: DocumentLoader;
9999
10439
  suppressError?: boolean;
10000
10440
  tracerProvider?: TracerProvider;
10441
+ baseUrl?: URL;
10001
10442
  }): Promise<Collection | null>;
10002
10443
  /**
10003
10444
  * Similar to
@@ -10019,6 +10460,7 @@ declare class Organization extends Object$1 {
10019
10460
  contextLoader?: DocumentLoader;
10020
10461
  suppressError?: boolean;
10021
10462
  tracerProvider?: TracerProvider;
10463
+ baseUrl?: URL;
10022
10464
  }): Promise<Collection | null>;
10023
10465
  /**
10024
10466
  * Similar to
@@ -10038,6 +10480,7 @@ declare class Organization extends Object$1 {
10038
10480
  contextLoader?: DocumentLoader;
10039
10481
  suppressError?: boolean;
10040
10482
  tracerProvider?: TracerProvider;
10483
+ baseUrl?: URL;
10041
10484
  }): Promise<Collection | null>;
10042
10485
  /**
10043
10486
  * Similar to
@@ -10055,6 +10498,7 @@ declare class Organization extends Object$1 {
10055
10498
  contextLoader?: DocumentLoader;
10056
10499
  suppressError?: boolean;
10057
10500
  tracerProvider?: TracerProvider;
10501
+ baseUrl?: URL;
10058
10502
  }): Promise<Collection | null>;
10059
10503
  /**
10060
10504
  * Similar to
@@ -10072,6 +10516,7 @@ declare class Organization extends Object$1 {
10072
10516
  contextLoader?: DocumentLoader;
10073
10517
  suppressError?: boolean;
10074
10518
  tracerProvider?: TracerProvider;
10519
+ baseUrl?: URL;
10075
10520
  }): Promise<Collection | null>;
10076
10521
  /**
10077
10522
  * Similar to
@@ -10086,6 +10531,7 @@ declare class Organization extends Object$1 {
10086
10531
  contextLoader?: DocumentLoader;
10087
10532
  suppressError?: boolean;
10088
10533
  tracerProvider?: TracerProvider;
10534
+ baseUrl?: URL;
10089
10535
  }): AsyncIterable<Collection>;
10090
10536
  /** A JSON object which maps additional (typically server/domain-wide) endpoints
10091
10537
  * which may be useful either for this actor or someone referencing this actor.
@@ -10122,6 +10568,7 @@ declare class Organization extends Object$1 {
10122
10568
  contextLoader?: DocumentLoader;
10123
10569
  suppressError?: boolean;
10124
10570
  tracerProvider?: TracerProvider;
10571
+ baseUrl?: URL;
10125
10572
  }): Promise<Application | Group | Organization | Person | Service | null>;
10126
10573
  /**
10127
10574
  * Similar to
@@ -10139,6 +10586,7 @@ declare class Organization extends Object$1 {
10139
10586
  contextLoader?: DocumentLoader;
10140
10587
  suppressError?: boolean;
10141
10588
  tracerProvider?: TracerProvider;
10589
+ baseUrl?: URL;
10142
10590
  }): Promise<Application | Group | Organization | Person | Service | null>;
10143
10591
  /**
10144
10592
  * Similar to
@@ -10156,6 +10604,7 @@ declare class Organization extends Object$1 {
10156
10604
  contextLoader?: DocumentLoader;
10157
10605
  suppressError?: boolean;
10158
10606
  tracerProvider?: TracerProvider;
10607
+ baseUrl?: URL;
10159
10608
  }): AsyncIterable<Application | Group | Organization | Person | Service>;
10160
10609
  /**
10161
10610
  * Similar to
@@ -10173,6 +10622,7 @@ declare class Organization extends Object$1 {
10173
10622
  contextLoader?: DocumentLoader;
10174
10623
  suppressError?: boolean;
10175
10624
  tracerProvider?: TracerProvider;
10625
+ baseUrl?: URL;
10176
10626
  }): Promise<DidService | null>;
10177
10627
  /**
10178
10628
  * Similar to
@@ -10190,6 +10640,7 @@ declare class Organization extends Object$1 {
10190
10640
  contextLoader?: DocumentLoader;
10191
10641
  suppressError?: boolean;
10192
10642
  tracerProvider?: TracerProvider;
10643
+ baseUrl?: URL;
10193
10644
  }): AsyncIterable<DidService>;
10194
10645
  /** This value is used for `Actor` type objects to show message on followed.
10195
10646
  */
@@ -10231,11 +10682,13 @@ declare class Organization extends Object$1 {
10231
10682
  documentLoader?: DocumentLoader;
10232
10683
  contextLoader?: DocumentLoader;
10233
10684
  tracerProvider?: TracerProvider;
10685
+ baseUrl?: URL;
10234
10686
  }): Promise<Organization>;
10235
10687
  protected static __fromJsonLd__Organization__(json: unknown, span: Span, options?: {
10236
10688
  documentLoader?: DocumentLoader;
10237
10689
  contextLoader?: DocumentLoader;
10238
10690
  tracerProvider?: TracerProvider;
10691
+ baseUrl?: URL;
10239
10692
  }): Promise<Organization>;
10240
10693
  protected _getCustomInspectProxy(): Record<string, unknown>;
10241
10694
  }
@@ -10246,6 +10699,10 @@ declare class Page extends Document {
10246
10699
  * The type URI of {@link Page}: `https://www.w3.org/ns/activitystreams#Page`.
10247
10700
  */
10248
10701
  static get typeId(): URL;
10702
+ /**
10703
+ * The base URL used for resolving relative URLs in this object.
10704
+ */
10705
+ get baseUrl(): URL | undefined;
10249
10706
  /**
10250
10707
  * Constructs a new instance of Page with the given values.
10251
10708
  * @param values The values to initialize the instance with.
@@ -10307,6 +10764,7 @@ declare class Page extends Document {
10307
10764
  documentLoader?: DocumentLoader;
10308
10765
  contextLoader?: DocumentLoader;
10309
10766
  tracerProvider?: TracerProvider;
10767
+ baseUrl?: URL;
10310
10768
  });
10311
10769
  /**
10312
10770
  * Clones this instance, optionally updating it with the given values.
@@ -10401,11 +10859,13 @@ declare class Page extends Document {
10401
10859
  documentLoader?: DocumentLoader;
10402
10860
  contextLoader?: DocumentLoader;
10403
10861
  tracerProvider?: TracerProvider;
10862
+ baseUrl?: URL;
10404
10863
  }): Promise<Page>;
10405
10864
  protected static __fromJsonLd__Page__(json: unknown, span: Span, options?: {
10406
10865
  documentLoader?: DocumentLoader;
10407
10866
  contextLoader?: DocumentLoader;
10408
10867
  tracerProvider?: TracerProvider;
10868
+ baseUrl?: URL;
10409
10869
  }): Promise<Page>;
10410
10870
  protected _getCustomInspectProxy(): Record<string, unknown>;
10411
10871
  }
@@ -10417,6 +10877,10 @@ declare class Person extends Object$1 {
10417
10877
  * The type URI of {@link Person}: `https://www.w3.org/ns/activitystreams#Person`.
10418
10878
  */
10419
10879
  static get typeId(): URL;
10880
+ /**
10881
+ * The base URL used for resolving relative URLs in this object.
10882
+ */
10883
+ get baseUrl(): URL | undefined;
10420
10884
  /**
10421
10885
  * Constructs a new instance of Person with the given values.
10422
10886
  * @param values The values to initialize the instance with.
@@ -10503,6 +10967,7 @@ declare class Person extends Object$1 {
10503
10967
  documentLoader?: DocumentLoader;
10504
10968
  contextLoader?: DocumentLoader;
10505
10969
  tracerProvider?: TracerProvider;
10970
+ baseUrl?: URL;
10506
10971
  });
10507
10972
  /**
10508
10973
  * Clones this instance, optionally updating it with the given values.
@@ -10612,6 +11077,7 @@ declare class Person extends Object$1 {
10612
11077
  contextLoader?: DocumentLoader;
10613
11078
  suppressError?: boolean;
10614
11079
  tracerProvider?: TracerProvider;
11080
+ baseUrl?: URL;
10615
11081
  }): Promise<CryptographicKey | null>;
10616
11082
  /**
10617
11083
  * Similar to
@@ -10626,6 +11092,7 @@ declare class Person extends Object$1 {
10626
11092
  contextLoader?: DocumentLoader;
10627
11093
  suppressError?: boolean;
10628
11094
  tracerProvider?: TracerProvider;
11095
+ baseUrl?: URL;
10629
11096
  }): AsyncIterable<CryptographicKey>;
10630
11097
  /**
10631
11098
  * Similar to
@@ -10643,6 +11110,7 @@ declare class Person extends Object$1 {
10643
11110
  contextLoader?: DocumentLoader;
10644
11111
  suppressError?: boolean;
10645
11112
  tracerProvider?: TracerProvider;
11113
+ baseUrl?: URL;
10646
11114
  }): Promise<Multikey | null>;
10647
11115
  /**
10648
11116
  * Similar to
@@ -10660,6 +11128,7 @@ declare class Person extends Object$1 {
10660
11128
  contextLoader?: DocumentLoader;
10661
11129
  suppressError?: boolean;
10662
11130
  tracerProvider?: TracerProvider;
11131
+ baseUrl?: URL;
10663
11132
  }): AsyncIterable<Multikey>;
10664
11133
  /** When `true`, conveys that for this actor, follow requests are not usually
10665
11134
  * automatically approved, but instead are examined by a person who may accept
@@ -10694,6 +11163,7 @@ declare class Person extends Object$1 {
10694
11163
  contextLoader?: DocumentLoader;
10695
11164
  suppressError?: boolean;
10696
11165
  tracerProvider?: TracerProvider;
11166
+ baseUrl?: URL;
10697
11167
  }): Promise<OrderedCollection | OrderedCollectionPage | null>;
10698
11168
  /**
10699
11169
  * Similar to
@@ -10717,6 +11187,7 @@ declare class Person extends Object$1 {
10717
11187
  contextLoader?: DocumentLoader;
10718
11188
  suppressError?: boolean;
10719
11189
  tracerProvider?: TracerProvider;
11190
+ baseUrl?: URL;
10720
11191
  }): Promise<OrderedCollection | OrderedCollectionPage | null>;
10721
11192
  /**
10722
11193
  * Similar to
@@ -10735,6 +11206,7 @@ declare class Person extends Object$1 {
10735
11206
  contextLoader?: DocumentLoader;
10736
11207
  suppressError?: boolean;
10737
11208
  tracerProvider?: TracerProvider;
11209
+ baseUrl?: URL;
10738
11210
  }): Promise<Collection | null>;
10739
11211
  /**
10740
11212
  * Similar to
@@ -10756,6 +11228,7 @@ declare class Person extends Object$1 {
10756
11228
  contextLoader?: DocumentLoader;
10757
11229
  suppressError?: boolean;
10758
11230
  tracerProvider?: TracerProvider;
11231
+ baseUrl?: URL;
10759
11232
  }): Promise<Collection | null>;
10760
11233
  /**
10761
11234
  * Similar to
@@ -10775,6 +11248,7 @@ declare class Person extends Object$1 {
10775
11248
  contextLoader?: DocumentLoader;
10776
11249
  suppressError?: boolean;
10777
11250
  tracerProvider?: TracerProvider;
11251
+ baseUrl?: URL;
10778
11252
  }): Promise<Collection | null>;
10779
11253
  /**
10780
11254
  * Similar to
@@ -10792,6 +11266,7 @@ declare class Person extends Object$1 {
10792
11266
  contextLoader?: DocumentLoader;
10793
11267
  suppressError?: boolean;
10794
11268
  tracerProvider?: TracerProvider;
11269
+ baseUrl?: URL;
10795
11270
  }): Promise<Collection | null>;
10796
11271
  /**
10797
11272
  * Similar to
@@ -10809,6 +11284,7 @@ declare class Person extends Object$1 {
10809
11284
  contextLoader?: DocumentLoader;
10810
11285
  suppressError?: boolean;
10811
11286
  tracerProvider?: TracerProvider;
11287
+ baseUrl?: URL;
10812
11288
  }): Promise<Collection | null>;
10813
11289
  /**
10814
11290
  * Similar to
@@ -10823,6 +11299,7 @@ declare class Person extends Object$1 {
10823
11299
  contextLoader?: DocumentLoader;
10824
11300
  suppressError?: boolean;
10825
11301
  tracerProvider?: TracerProvider;
11302
+ baseUrl?: URL;
10826
11303
  }): AsyncIterable<Collection>;
10827
11304
  /** A JSON object which maps additional (typically server/domain-wide) endpoints
10828
11305
  * which may be useful either for this actor or someone referencing this actor.
@@ -10859,6 +11336,7 @@ declare class Person extends Object$1 {
10859
11336
  contextLoader?: DocumentLoader;
10860
11337
  suppressError?: boolean;
10861
11338
  tracerProvider?: TracerProvider;
11339
+ baseUrl?: URL;
10862
11340
  }): Promise<Application | Group | Organization | Person | Service | null>;
10863
11341
  /**
10864
11342
  * Similar to
@@ -10876,6 +11354,7 @@ declare class Person extends Object$1 {
10876
11354
  contextLoader?: DocumentLoader;
10877
11355
  suppressError?: boolean;
10878
11356
  tracerProvider?: TracerProvider;
11357
+ baseUrl?: URL;
10879
11358
  }): Promise<Application | Group | Organization | Person | Service | null>;
10880
11359
  /**
10881
11360
  * Similar to
@@ -10893,6 +11372,7 @@ declare class Person extends Object$1 {
10893
11372
  contextLoader?: DocumentLoader;
10894
11373
  suppressError?: boolean;
10895
11374
  tracerProvider?: TracerProvider;
11375
+ baseUrl?: URL;
10896
11376
  }): AsyncIterable<Application | Group | Organization | Person | Service>;
10897
11377
  /**
10898
11378
  * Similar to
@@ -10910,6 +11390,7 @@ declare class Person extends Object$1 {
10910
11390
  contextLoader?: DocumentLoader;
10911
11391
  suppressError?: boolean;
10912
11392
  tracerProvider?: TracerProvider;
11393
+ baseUrl?: URL;
10913
11394
  }): Promise<DidService | null>;
10914
11395
  /**
10915
11396
  * Similar to
@@ -10927,6 +11408,7 @@ declare class Person extends Object$1 {
10927
11408
  contextLoader?: DocumentLoader;
10928
11409
  suppressError?: boolean;
10929
11410
  tracerProvider?: TracerProvider;
11411
+ baseUrl?: URL;
10930
11412
  }): AsyncIterable<DidService>;
10931
11413
  /** This value is used for `Actor` type objects to show message on followed.
10932
11414
  */
@@ -10968,11 +11450,13 @@ declare class Person extends Object$1 {
10968
11450
  documentLoader?: DocumentLoader;
10969
11451
  contextLoader?: DocumentLoader;
10970
11452
  tracerProvider?: TracerProvider;
11453
+ baseUrl?: URL;
10971
11454
  }): Promise<Person>;
10972
11455
  protected static __fromJsonLd__Person__(json: unknown, span: Span, options?: {
10973
11456
  documentLoader?: DocumentLoader;
10974
11457
  contextLoader?: DocumentLoader;
10975
11458
  tracerProvider?: TracerProvider;
11459
+ baseUrl?: URL;
10976
11460
  }): Promise<Person>;
10977
11461
  protected _getCustomInspectProxy(): Record<string, unknown>;
10978
11462
  }
@@ -10986,6 +11470,10 @@ declare class Place extends Object$1 {
10986
11470
  * The type URI of {@link Place}: `https://www.w3.org/ns/activitystreams#Place`.
10987
11471
  */
10988
11472
  static get typeId(): URL;
11473
+ /**
11474
+ * The base URL used for resolving relative URLs in this object.
11475
+ */
11476
+ get baseUrl(): URL | undefined;
10989
11477
  /**
10990
11478
  * Constructs a new instance of Place with the given values.
10991
11479
  * @param values The values to initialize the instance with.
@@ -11051,6 +11539,7 @@ declare class Place extends Object$1 {
11051
11539
  documentLoader?: DocumentLoader;
11052
11540
  contextLoader?: DocumentLoader;
11053
11541
  tracerProvider?: TracerProvider;
11542
+ baseUrl?: URL;
11054
11543
  });
11055
11544
  /**
11056
11545
  * Clones this instance, optionally updating it with the given values.
@@ -11175,11 +11664,13 @@ declare class Place extends Object$1 {
11175
11664
  documentLoader?: DocumentLoader;
11176
11665
  contextLoader?: DocumentLoader;
11177
11666
  tracerProvider?: TracerProvider;
11667
+ baseUrl?: URL;
11178
11668
  }): Promise<Place>;
11179
11669
  protected static __fromJsonLd__Place__(json: unknown, span: Span, options?: {
11180
11670
  documentLoader?: DocumentLoader;
11181
11671
  contextLoader?: DocumentLoader;
11182
11672
  tracerProvider?: TracerProvider;
11673
+ baseUrl?: URL;
11183
11674
  }): Promise<Place>;
11184
11675
  protected _getCustomInspectProxy(): Record<string, unknown>;
11185
11676
  }
@@ -11195,6 +11686,10 @@ declare class Profile extends Object$1 {
11195
11686
  * The type URI of {@link Profile}: `https://www.w3.org/ns/activitystreams#Profile`.
11196
11687
  */
11197
11688
  static get typeId(): URL;
11689
+ /**
11690
+ * The base URL used for resolving relative URLs in this object.
11691
+ */
11692
+ get baseUrl(): URL | undefined;
11198
11693
  /**
11199
11694
  * Constructs a new instance of Profile with the given values.
11200
11695
  * @param values The values to initialize the instance with.
@@ -11255,6 +11750,7 @@ declare class Profile extends Object$1 {
11255
11750
  documentLoader?: DocumentLoader;
11256
11751
  contextLoader?: DocumentLoader;
11257
11752
  tracerProvider?: TracerProvider;
11753
+ baseUrl?: URL;
11258
11754
  });
11259
11755
  /**
11260
11756
  * Clones this instance, optionally updating it with the given values.
@@ -11331,6 +11827,7 @@ declare class Profile extends Object$1 {
11331
11827
  contextLoader?: DocumentLoader;
11332
11828
  suppressError?: boolean;
11333
11829
  tracerProvider?: TracerProvider;
11830
+ baseUrl?: URL;
11334
11831
  }): Promise<Object$1 | null>;
11335
11832
  /**
11336
11833
  * Converts this object to a JSON-LD structure.
@@ -11363,11 +11860,13 @@ declare class Profile extends Object$1 {
11363
11860
  documentLoader?: DocumentLoader;
11364
11861
  contextLoader?: DocumentLoader;
11365
11862
  tracerProvider?: TracerProvider;
11863
+ baseUrl?: URL;
11366
11864
  }): Promise<Profile>;
11367
11865
  protected static __fromJsonLd__Profile__(json: unknown, span: Span, options?: {
11368
11866
  documentLoader?: DocumentLoader;
11369
11867
  contextLoader?: DocumentLoader;
11370
11868
  tracerProvider?: TracerProvider;
11869
+ baseUrl?: URL;
11371
11870
  }): Promise<Profile>;
11372
11871
  protected _getCustomInspectProxy(): Record<string, unknown>;
11373
11872
  }
@@ -11386,6 +11885,10 @@ declare class Question extends IntransitiveActivity {
11386
11885
  * The type URI of {@link Question}: `https://www.w3.org/ns/activitystreams#Question`.
11387
11886
  */
11388
11887
  static get typeId(): URL;
11888
+ /**
11889
+ * The base URL used for resolving relative URLs in this object.
11890
+ */
11891
+ get baseUrl(): URL | undefined;
11389
11892
  /**
11390
11893
  * Constructs a new instance of Question with the given values.
11391
11894
  * @param values The values to initialize the instance with.
@@ -11462,6 +11965,7 @@ declare class Question extends IntransitiveActivity {
11462
11965
  documentLoader?: DocumentLoader;
11463
11966
  contextLoader?: DocumentLoader;
11464
11967
  tracerProvider?: TracerProvider;
11968
+ baseUrl?: URL;
11465
11969
  });
11466
11970
  /**
11467
11971
  * Clones this instance, optionally updating it with the given values.
@@ -11555,6 +12059,7 @@ declare class Question extends IntransitiveActivity {
11555
12059
  contextLoader?: DocumentLoader;
11556
12060
  suppressError?: boolean;
11557
12061
  tracerProvider?: TracerProvider;
12062
+ baseUrl?: URL;
11558
12063
  }): AsyncIterable<Object$1>;
11559
12064
  /**
11560
12065
  * Similar to
@@ -11571,6 +12076,7 @@ declare class Question extends IntransitiveActivity {
11571
12076
  contextLoader?: DocumentLoader;
11572
12077
  suppressError?: boolean;
11573
12078
  tracerProvider?: TracerProvider;
12079
+ baseUrl?: URL;
11574
12080
  }): AsyncIterable<Object$1>;
11575
12081
  /** Indicates that a question has been closed, and answers are no longer
11576
12082
  * accepted.
@@ -11623,11 +12129,13 @@ declare class Question extends IntransitiveActivity {
11623
12129
  documentLoader?: DocumentLoader;
11624
12130
  contextLoader?: DocumentLoader;
11625
12131
  tracerProvider?: TracerProvider;
12132
+ baseUrl?: URL;
11626
12133
  }): Promise<Question>;
11627
12134
  protected static __fromJsonLd__Question__(json: unknown, span: Span, options?: {
11628
12135
  documentLoader?: DocumentLoader;
11629
12136
  contextLoader?: DocumentLoader;
11630
12137
  tracerProvider?: TracerProvider;
12138
+ baseUrl?: URL;
11631
12139
  }): Promise<Question>;
11632
12140
  protected _getCustomInspectProxy(): Record<string, unknown>;
11633
12141
  }
@@ -11638,6 +12146,10 @@ declare class Read extends Activity {
11638
12146
  * The type URI of {@link Read}: `https://www.w3.org/ns/activitystreams#Read`.
11639
12147
  */
11640
12148
  static get typeId(): URL;
12149
+ /**
12150
+ * The base URL used for resolving relative URLs in this object.
12151
+ */
12152
+ get baseUrl(): URL | undefined;
11641
12153
  /**
11642
12154
  * Constructs a new instance of Read with the given values.
11643
12155
  * @param values The values to initialize the instance with.
@@ -11709,6 +12221,7 @@ declare class Read extends Activity {
11709
12221
  documentLoader?: DocumentLoader;
11710
12222
  contextLoader?: DocumentLoader;
11711
12223
  tracerProvider?: TracerProvider;
12224
+ baseUrl?: URL;
11712
12225
  });
11713
12226
  /**
11714
12227
  * Clones this instance, optionally updating it with the given values.
@@ -11813,11 +12326,13 @@ declare class Read extends Activity {
11813
12326
  documentLoader?: DocumentLoader;
11814
12327
  contextLoader?: DocumentLoader;
11815
12328
  tracerProvider?: TracerProvider;
12329
+ baseUrl?: URL;
11816
12330
  }): Promise<Read>;
11817
12331
  protected static __fromJsonLd__Read__(json: unknown, span: Span, options?: {
11818
12332
  documentLoader?: DocumentLoader;
11819
12333
  contextLoader?: DocumentLoader;
11820
12334
  tracerProvider?: TracerProvider;
12335
+ baseUrl?: URL;
11821
12336
  }): Promise<Read>;
11822
12337
  protected _getCustomInspectProxy(): Record<string, unknown>;
11823
12338
  }
@@ -11829,6 +12344,10 @@ declare class Reject extends Activity {
11829
12344
  * The type URI of {@link Reject}: `https://www.w3.org/ns/activitystreams#Reject`.
11830
12345
  */
11831
12346
  static get typeId(): URL;
12347
+ /**
12348
+ * The base URL used for resolving relative URLs in this object.
12349
+ */
12350
+ get baseUrl(): URL | undefined;
11832
12351
  /**
11833
12352
  * Constructs a new instance of Reject with the given values.
11834
12353
  * @param values The values to initialize the instance with.
@@ -11900,6 +12419,7 @@ declare class Reject extends Activity {
11900
12419
  documentLoader?: DocumentLoader;
11901
12420
  contextLoader?: DocumentLoader;
11902
12421
  tracerProvider?: TracerProvider;
12422
+ baseUrl?: URL;
11903
12423
  });
11904
12424
  /**
11905
12425
  * Clones this instance, optionally updating it with the given values.
@@ -12004,11 +12524,13 @@ declare class Reject extends Activity {
12004
12524
  documentLoader?: DocumentLoader;
12005
12525
  contextLoader?: DocumentLoader;
12006
12526
  tracerProvider?: TracerProvider;
12527
+ baseUrl?: URL;
12007
12528
  }): Promise<Reject>;
12008
12529
  protected static __fromJsonLd__Reject__(json: unknown, span: Span, options?: {
12009
12530
  documentLoader?: DocumentLoader;
12010
12531
  contextLoader?: DocumentLoader;
12011
12532
  tracerProvider?: TracerProvider;
12533
+ baseUrl?: URL;
12012
12534
  }): Promise<Reject>;
12013
12535
  protected _getCustomInspectProxy(): Record<string, unknown>;
12014
12536
  }
@@ -12026,6 +12548,10 @@ declare class Relationship extends Object$1 {
12026
12548
  * The type URI of {@link Relationship}: `https://www.w3.org/ns/activitystreams#Relationship`.
12027
12549
  */
12028
12550
  static get typeId(): URL;
12551
+ /**
12552
+ * The base URL used for resolving relative URLs in this object.
12553
+ */
12554
+ get baseUrl(): URL | undefined;
12029
12555
  /**
12030
12556
  * Constructs a new instance of Relationship with the given values.
12031
12557
  * @param values The values to initialize the instance with.
@@ -12090,6 +12616,7 @@ declare class Relationship extends Object$1 {
12090
12616
  documentLoader?: DocumentLoader;
12091
12617
  contextLoader?: DocumentLoader;
12092
12618
  tracerProvider?: TracerProvider;
12619
+ baseUrl?: URL;
12093
12620
  });
12094
12621
  /**
12095
12622
  * Clones this instance, optionally updating it with the given values.
@@ -12172,6 +12699,7 @@ declare class Relationship extends Object$1 {
12172
12699
  contextLoader?: DocumentLoader;
12173
12700
  suppressError?: boolean;
12174
12701
  tracerProvider?: TracerProvider;
12702
+ baseUrl?: URL;
12175
12703
  }): Promise<Object$1 | null>;
12176
12704
  /**
12177
12705
  * Similar to
@@ -12186,6 +12714,7 @@ declare class Relationship extends Object$1 {
12186
12714
  contextLoader?: DocumentLoader;
12187
12715
  suppressError?: boolean;
12188
12716
  tracerProvider?: TracerProvider;
12717
+ baseUrl?: URL;
12189
12718
  }): Promise<Object$1 | null>;
12190
12719
  /**
12191
12720
  * Similar to
@@ -12200,6 +12729,7 @@ declare class Relationship extends Object$1 {
12200
12729
  contextLoader?: DocumentLoader;
12201
12730
  suppressError?: boolean;
12202
12731
  tracerProvider?: TracerProvider;
12732
+ baseUrl?: URL;
12203
12733
  }): AsyncIterable<Object$1>;
12204
12734
  /**
12205
12735
  * Similar to
@@ -12216,6 +12746,7 @@ declare class Relationship extends Object$1 {
12216
12746
  contextLoader?: DocumentLoader;
12217
12747
  suppressError?: boolean;
12218
12748
  tracerProvider?: TracerProvider;
12749
+ baseUrl?: URL;
12219
12750
  }): Promise<Object$1 | null>;
12220
12751
  /**
12221
12752
  * Similar to
@@ -12232,6 +12763,7 @@ declare class Relationship extends Object$1 {
12232
12763
  contextLoader?: DocumentLoader;
12233
12764
  suppressError?: boolean;
12234
12765
  tracerProvider?: TracerProvider;
12766
+ baseUrl?: URL;
12235
12767
  }): AsyncIterable<Object$1>;
12236
12768
  /**
12237
12769
  * Converts this object to a JSON-LD structure.
@@ -12264,11 +12796,13 @@ declare class Relationship extends Object$1 {
12264
12796
  documentLoader?: DocumentLoader;
12265
12797
  contextLoader?: DocumentLoader;
12266
12798
  tracerProvider?: TracerProvider;
12799
+ baseUrl?: URL;
12267
12800
  }): Promise<Relationship>;
12268
12801
  protected static __fromJsonLd__Relationship__(json: unknown, span: Span, options?: {
12269
12802
  documentLoader?: DocumentLoader;
12270
12803
  contextLoader?: DocumentLoader;
12271
12804
  tracerProvider?: TracerProvider;
12805
+ baseUrl?: URL;
12272
12806
  }): Promise<Relationship>;
12273
12807
  protected _getCustomInspectProxy(): Record<string, unknown>;
12274
12808
  }
@@ -12280,6 +12814,10 @@ declare class Remove extends Activity {
12280
12814
  * The type URI of {@link Remove}: `https://www.w3.org/ns/activitystreams#Remove`.
12281
12815
  */
12282
12816
  static get typeId(): URL;
12817
+ /**
12818
+ * The base URL used for resolving relative URLs in this object.
12819
+ */
12820
+ get baseUrl(): URL | undefined;
12283
12821
  /**
12284
12822
  * Constructs a new instance of Remove with the given values.
12285
12823
  * @param values The values to initialize the instance with.
@@ -12351,6 +12889,7 @@ declare class Remove extends Activity {
12351
12889
  documentLoader?: DocumentLoader;
12352
12890
  contextLoader?: DocumentLoader;
12353
12891
  tracerProvider?: TracerProvider;
12892
+ baseUrl?: URL;
12354
12893
  });
12355
12894
  /**
12356
12895
  * Clones this instance, optionally updating it with the given values.
@@ -12455,11 +12994,13 @@ declare class Remove extends Activity {
12455
12994
  documentLoader?: DocumentLoader;
12456
12995
  contextLoader?: DocumentLoader;
12457
12996
  tracerProvider?: TracerProvider;
12997
+ baseUrl?: URL;
12458
12998
  }): Promise<Remove>;
12459
12999
  protected static __fromJsonLd__Remove__(json: unknown, span: Span, options?: {
12460
13000
  documentLoader?: DocumentLoader;
12461
13001
  contextLoader?: DocumentLoader;
12462
13002
  tracerProvider?: TracerProvider;
13003
+ baseUrl?: URL;
12463
13004
  }): Promise<Remove>;
12464
13005
  protected _getCustomInspectProxy(): Record<string, unknown>;
12465
13006
  }
@@ -12471,6 +13012,10 @@ declare class Service extends Object$1 {
12471
13012
  * The type URI of {@link Service}: `https://www.w3.org/ns/activitystreams#Service`.
12472
13013
  */
12473
13014
  static get typeId(): URL;
13015
+ /**
13016
+ * The base URL used for resolving relative URLs in this object.
13017
+ */
13018
+ get baseUrl(): URL | undefined;
12474
13019
  /**
12475
13020
  * Constructs a new instance of Service with the given values.
12476
13021
  * @param values The values to initialize the instance with.
@@ -12557,6 +13102,7 @@ declare class Service extends Object$1 {
12557
13102
  documentLoader?: DocumentLoader;
12558
13103
  contextLoader?: DocumentLoader;
12559
13104
  tracerProvider?: TracerProvider;
13105
+ baseUrl?: URL;
12560
13106
  });
12561
13107
  /**
12562
13108
  * Clones this instance, optionally updating it with the given values.
@@ -12666,6 +13212,7 @@ declare class Service extends Object$1 {
12666
13212
  contextLoader?: DocumentLoader;
12667
13213
  suppressError?: boolean;
12668
13214
  tracerProvider?: TracerProvider;
13215
+ baseUrl?: URL;
12669
13216
  }): Promise<CryptographicKey | null>;
12670
13217
  /**
12671
13218
  * Similar to
@@ -12680,6 +13227,7 @@ declare class Service extends Object$1 {
12680
13227
  contextLoader?: DocumentLoader;
12681
13228
  suppressError?: boolean;
12682
13229
  tracerProvider?: TracerProvider;
13230
+ baseUrl?: URL;
12683
13231
  }): AsyncIterable<CryptographicKey>;
12684
13232
  /**
12685
13233
  * Similar to
@@ -12697,6 +13245,7 @@ declare class Service extends Object$1 {
12697
13245
  contextLoader?: DocumentLoader;
12698
13246
  suppressError?: boolean;
12699
13247
  tracerProvider?: TracerProvider;
13248
+ baseUrl?: URL;
12700
13249
  }): Promise<Multikey | null>;
12701
13250
  /**
12702
13251
  * Similar to
@@ -12714,6 +13263,7 @@ declare class Service extends Object$1 {
12714
13263
  contextLoader?: DocumentLoader;
12715
13264
  suppressError?: boolean;
12716
13265
  tracerProvider?: TracerProvider;
13266
+ baseUrl?: URL;
12717
13267
  }): AsyncIterable<Multikey>;
12718
13268
  /** When `true`, conveys that for this actor, follow requests are not usually
12719
13269
  * automatically approved, but instead are examined by a person who may accept
@@ -12748,6 +13298,7 @@ declare class Service extends Object$1 {
12748
13298
  contextLoader?: DocumentLoader;
12749
13299
  suppressError?: boolean;
12750
13300
  tracerProvider?: TracerProvider;
13301
+ baseUrl?: URL;
12751
13302
  }): Promise<OrderedCollection | OrderedCollectionPage | null>;
12752
13303
  /**
12753
13304
  * Similar to
@@ -12771,6 +13322,7 @@ declare class Service extends Object$1 {
12771
13322
  contextLoader?: DocumentLoader;
12772
13323
  suppressError?: boolean;
12773
13324
  tracerProvider?: TracerProvider;
13325
+ baseUrl?: URL;
12774
13326
  }): Promise<OrderedCollection | OrderedCollectionPage | null>;
12775
13327
  /**
12776
13328
  * Similar to
@@ -12789,6 +13341,7 @@ declare class Service extends Object$1 {
12789
13341
  contextLoader?: DocumentLoader;
12790
13342
  suppressError?: boolean;
12791
13343
  tracerProvider?: TracerProvider;
13344
+ baseUrl?: URL;
12792
13345
  }): Promise<Collection | null>;
12793
13346
  /**
12794
13347
  * Similar to
@@ -12810,6 +13363,7 @@ declare class Service extends Object$1 {
12810
13363
  contextLoader?: DocumentLoader;
12811
13364
  suppressError?: boolean;
12812
13365
  tracerProvider?: TracerProvider;
13366
+ baseUrl?: URL;
12813
13367
  }): Promise<Collection | null>;
12814
13368
  /**
12815
13369
  * Similar to
@@ -12829,6 +13383,7 @@ declare class Service extends Object$1 {
12829
13383
  contextLoader?: DocumentLoader;
12830
13384
  suppressError?: boolean;
12831
13385
  tracerProvider?: TracerProvider;
13386
+ baseUrl?: URL;
12832
13387
  }): Promise<Collection | null>;
12833
13388
  /**
12834
13389
  * Similar to
@@ -12846,6 +13401,7 @@ declare class Service extends Object$1 {
12846
13401
  contextLoader?: DocumentLoader;
12847
13402
  suppressError?: boolean;
12848
13403
  tracerProvider?: TracerProvider;
13404
+ baseUrl?: URL;
12849
13405
  }): Promise<Collection | null>;
12850
13406
  /**
12851
13407
  * Similar to
@@ -12863,6 +13419,7 @@ declare class Service extends Object$1 {
12863
13419
  contextLoader?: DocumentLoader;
12864
13420
  suppressError?: boolean;
12865
13421
  tracerProvider?: TracerProvider;
13422
+ baseUrl?: URL;
12866
13423
  }): Promise<Collection | null>;
12867
13424
  /**
12868
13425
  * Similar to
@@ -12877,6 +13434,7 @@ declare class Service extends Object$1 {
12877
13434
  contextLoader?: DocumentLoader;
12878
13435
  suppressError?: boolean;
12879
13436
  tracerProvider?: TracerProvider;
13437
+ baseUrl?: URL;
12880
13438
  }): AsyncIterable<Collection>;
12881
13439
  /** A JSON object which maps additional (typically server/domain-wide) endpoints
12882
13440
  * which may be useful either for this actor or someone referencing this actor.
@@ -12913,6 +13471,7 @@ declare class Service extends Object$1 {
12913
13471
  contextLoader?: DocumentLoader;
12914
13472
  suppressError?: boolean;
12915
13473
  tracerProvider?: TracerProvider;
13474
+ baseUrl?: URL;
12916
13475
  }): Promise<Application | Group | Organization | Person | Service | null>;
12917
13476
  /**
12918
13477
  * Similar to
@@ -12930,6 +13489,7 @@ declare class Service extends Object$1 {
12930
13489
  contextLoader?: DocumentLoader;
12931
13490
  suppressError?: boolean;
12932
13491
  tracerProvider?: TracerProvider;
13492
+ baseUrl?: URL;
12933
13493
  }): Promise<Application | Group | Organization | Person | Service | null>;
12934
13494
  /**
12935
13495
  * Similar to
@@ -12947,6 +13507,7 @@ declare class Service extends Object$1 {
12947
13507
  contextLoader?: DocumentLoader;
12948
13508
  suppressError?: boolean;
12949
13509
  tracerProvider?: TracerProvider;
13510
+ baseUrl?: URL;
12950
13511
  }): AsyncIterable<Application | Group | Organization | Person | Service>;
12951
13512
  /**
12952
13513
  * Similar to
@@ -12964,6 +13525,7 @@ declare class Service extends Object$1 {
12964
13525
  contextLoader?: DocumentLoader;
12965
13526
  suppressError?: boolean;
12966
13527
  tracerProvider?: TracerProvider;
13528
+ baseUrl?: URL;
12967
13529
  }): Promise<DidService | null>;
12968
13530
  /**
12969
13531
  * Similar to
@@ -12981,6 +13543,7 @@ declare class Service extends Object$1 {
12981
13543
  contextLoader?: DocumentLoader;
12982
13544
  suppressError?: boolean;
12983
13545
  tracerProvider?: TracerProvider;
13546
+ baseUrl?: URL;
12984
13547
  }): AsyncIterable<DidService>;
12985
13548
  /** This value is used for `Actor` type objects to show message on followed.
12986
13549
  */
@@ -13022,11 +13585,13 @@ declare class Service extends Object$1 {
13022
13585
  documentLoader?: DocumentLoader;
13023
13586
  contextLoader?: DocumentLoader;
13024
13587
  tracerProvider?: TracerProvider;
13588
+ baseUrl?: URL;
13025
13589
  }): Promise<Service>;
13026
13590
  protected static __fromJsonLd__Service__(json: unknown, span: Span, options?: {
13027
13591
  documentLoader?: DocumentLoader;
13028
13592
  contextLoader?: DocumentLoader;
13029
13593
  tracerProvider?: TracerProvider;
13594
+ baseUrl?: URL;
13030
13595
  }): Promise<Service>;
13031
13596
  protected _getCustomInspectProxy(): Record<string, unknown>;
13032
13597
  }
@@ -13034,6 +13599,7 @@ declare class Service extends Object$1 {
13034
13599
  */
13035
13600
  declare class Source {
13036
13601
  #private;
13602
+ protected readonly _baseUrl?: URL;
13037
13603
  readonly id: URL | null;
13038
13604
  protected get _documentLoader(): DocumentLoader | undefined;
13039
13605
  protected get _contextLoader(): DocumentLoader | undefined;
@@ -13049,6 +13615,10 @@ declare class Source {
13049
13615
  * The type URI of {@link Source}: `https://www.w3.org/ns/activitystreams#Source`.
13050
13616
  */
13051
13617
  static get typeId(): URL;
13618
+ /**
13619
+ * The base URL used for resolving relative URLs in this object.
13620
+ */
13621
+ get baseUrl(): URL | undefined;
13052
13622
  /**
13053
13623
  * Constructs a new instance of Source with the given values.
13054
13624
  * @param values The values to initialize the instance with.
@@ -13063,6 +13633,7 @@ declare class Source {
13063
13633
  documentLoader?: DocumentLoader;
13064
13634
  contextLoader?: DocumentLoader;
13065
13635
  tracerProvider?: TracerProvider;
13636
+ baseUrl?: URL;
13066
13637
  });
13067
13638
  /**
13068
13639
  * Clones this instance, optionally updating it with the given values.
@@ -13119,11 +13690,13 @@ declare class Source {
13119
13690
  documentLoader?: DocumentLoader;
13120
13691
  contextLoader?: DocumentLoader;
13121
13692
  tracerProvider?: TracerProvider;
13693
+ baseUrl?: URL;
13122
13694
  }): Promise<Source>;
13123
13695
  protected static __fromJsonLd__Source__(json: unknown, span: Span, options?: {
13124
13696
  documentLoader?: DocumentLoader;
13125
13697
  contextLoader?: DocumentLoader;
13126
13698
  tracerProvider?: TracerProvider;
13699
+ baseUrl?: URL;
13127
13700
  }): Promise<Source>;
13128
13701
  protected _getCustomInspectProxy(): Record<string, unknown>;
13129
13702
  }
@@ -13135,6 +13708,10 @@ declare class TentativeAccept extends Accept {
13135
13708
  * The type URI of {@link TentativeAccept}: `https://www.w3.org/ns/activitystreams#TentativeAccept`.
13136
13709
  */
13137
13710
  static get typeId(): URL;
13711
+ /**
13712
+ * The base URL used for resolving relative URLs in this object.
13713
+ */
13714
+ get baseUrl(): URL | undefined;
13138
13715
  /**
13139
13716
  * Constructs a new instance of TentativeAccept with the given values.
13140
13717
  * @param values The values to initialize the instance with.
@@ -13206,6 +13783,7 @@ declare class TentativeAccept extends Accept {
13206
13783
  documentLoader?: DocumentLoader;
13207
13784
  contextLoader?: DocumentLoader;
13208
13785
  tracerProvider?: TracerProvider;
13786
+ baseUrl?: URL;
13209
13787
  });
13210
13788
  /**
13211
13789
  * Clones this instance, optionally updating it with the given values.
@@ -13310,11 +13888,13 @@ declare class TentativeAccept extends Accept {
13310
13888
  documentLoader?: DocumentLoader;
13311
13889
  contextLoader?: DocumentLoader;
13312
13890
  tracerProvider?: TracerProvider;
13891
+ baseUrl?: URL;
13313
13892
  }): Promise<TentativeAccept>;
13314
13893
  protected static __fromJsonLd__TentativeAccept__(json: unknown, span: Span, options?: {
13315
13894
  documentLoader?: DocumentLoader;
13316
13895
  contextLoader?: DocumentLoader;
13317
13896
  tracerProvider?: TracerProvider;
13897
+ baseUrl?: URL;
13318
13898
  }): Promise<TentativeAccept>;
13319
13899
  protected _getCustomInspectProxy(): Record<string, unknown>;
13320
13900
  }
@@ -13326,6 +13906,10 @@ declare class TentativeReject extends Reject {
13326
13906
  * The type URI of {@link TentativeReject}: `https://www.w3.org/ns/activitystreams#TentativeReject`.
13327
13907
  */
13328
13908
  static get typeId(): URL;
13909
+ /**
13910
+ * The base URL used for resolving relative URLs in this object.
13911
+ */
13912
+ get baseUrl(): URL | undefined;
13329
13913
  /**
13330
13914
  * Constructs a new instance of TentativeReject with the given values.
13331
13915
  * @param values The values to initialize the instance with.
@@ -13397,6 +13981,7 @@ declare class TentativeReject extends Reject {
13397
13981
  documentLoader?: DocumentLoader;
13398
13982
  contextLoader?: DocumentLoader;
13399
13983
  tracerProvider?: TracerProvider;
13984
+ baseUrl?: URL;
13400
13985
  });
13401
13986
  /**
13402
13987
  * Clones this instance, optionally updating it with the given values.
@@ -13501,11 +14086,13 @@ declare class TentativeReject extends Reject {
13501
14086
  documentLoader?: DocumentLoader;
13502
14087
  contextLoader?: DocumentLoader;
13503
14088
  tracerProvider?: TracerProvider;
14089
+ baseUrl?: URL;
13504
14090
  }): Promise<TentativeReject>;
13505
14091
  protected static __fromJsonLd__TentativeReject__(json: unknown, span: Span, options?: {
13506
14092
  documentLoader?: DocumentLoader;
13507
14093
  contextLoader?: DocumentLoader;
13508
14094
  tracerProvider?: TracerProvider;
14095
+ baseUrl?: URL;
13509
14096
  }): Promise<TentativeReject>;
13510
14097
  protected _getCustomInspectProxy(): Record<string, unknown>;
13511
14098
  }
@@ -13519,6 +14106,10 @@ declare class Tombstone extends Object$1 {
13519
14106
  * The type URI of {@link Tombstone}: `https://www.w3.org/ns/activitystreams#Tombstone`.
13520
14107
  */
13521
14108
  static get typeId(): URL;
14109
+ /**
14110
+ * The base URL used for resolving relative URLs in this object.
14111
+ */
14112
+ get baseUrl(): URL | undefined;
13522
14113
  /**
13523
14114
  * Constructs a new instance of Tombstone with the given values.
13524
14115
  * @param values The values to initialize the instance with.
@@ -13579,6 +14170,7 @@ declare class Tombstone extends Object$1 {
13579
14170
  documentLoader?: DocumentLoader;
13580
14171
  contextLoader?: DocumentLoader;
13581
14172
  tracerProvider?: TracerProvider;
14173
+ baseUrl?: URL;
13582
14174
  });
13583
14175
  /**
13584
14176
  * Clones this instance, optionally updating it with the given values.
@@ -13676,11 +14268,13 @@ declare class Tombstone extends Object$1 {
13676
14268
  documentLoader?: DocumentLoader;
13677
14269
  contextLoader?: DocumentLoader;
13678
14270
  tracerProvider?: TracerProvider;
14271
+ baseUrl?: URL;
13679
14272
  }): Promise<Tombstone>;
13680
14273
  protected static __fromJsonLd__Tombstone__(json: unknown, span: Span, options?: {
13681
14274
  documentLoader?: DocumentLoader;
13682
14275
  contextLoader?: DocumentLoader;
13683
14276
  tracerProvider?: TracerProvider;
14277
+ baseUrl?: URL;
13684
14278
  }): Promise<Tombstone>;
13685
14279
  protected _getCustomInspectProxy(): Record<string, unknown>;
13686
14280
  }
@@ -13694,6 +14288,10 @@ declare class Travel extends IntransitiveActivity {
13694
14288
  * The type URI of {@link Travel}: `https://www.w3.org/ns/activitystreams#Travel`.
13695
14289
  */
13696
14290
  static get typeId(): URL;
14291
+ /**
14292
+ * The base URL used for resolving relative URLs in this object.
14293
+ */
14294
+ get baseUrl(): URL | undefined;
13697
14295
  /**
13698
14296
  * Constructs a new instance of Travel with the given values.
13699
14297
  * @param values The values to initialize the instance with.
@@ -13765,6 +14363,7 @@ declare class Travel extends IntransitiveActivity {
13765
14363
  documentLoader?: DocumentLoader;
13766
14364
  contextLoader?: DocumentLoader;
13767
14365
  tracerProvider?: TracerProvider;
14366
+ baseUrl?: URL;
13768
14367
  });
13769
14368
  /**
13770
14369
  * Clones this instance, optionally updating it with the given values.
@@ -13869,11 +14468,13 @@ declare class Travel extends IntransitiveActivity {
13869
14468
  documentLoader?: DocumentLoader;
13870
14469
  contextLoader?: DocumentLoader;
13871
14470
  tracerProvider?: TracerProvider;
14471
+ baseUrl?: URL;
13872
14472
  }): Promise<Travel>;
13873
14473
  protected static __fromJsonLd__Travel__(json: unknown, span: Span, options?: {
13874
14474
  documentLoader?: DocumentLoader;
13875
14475
  contextLoader?: DocumentLoader;
13876
14476
  tracerProvider?: TracerProvider;
14477
+ baseUrl?: URL;
13877
14478
  }): Promise<Travel>;
13878
14479
  protected _getCustomInspectProxy(): Record<string, unknown>;
13879
14480
  }
@@ -13890,6 +14491,10 @@ declare class Undo extends Activity {
13890
14491
  * The type URI of {@link Undo}: `https://www.w3.org/ns/activitystreams#Undo`.
13891
14492
  */
13892
14493
  static get typeId(): URL;
14494
+ /**
14495
+ * The base URL used for resolving relative URLs in this object.
14496
+ */
14497
+ get baseUrl(): URL | undefined;
13893
14498
  /**
13894
14499
  * Constructs a new instance of Undo with the given values.
13895
14500
  * @param values The values to initialize the instance with.
@@ -13961,6 +14566,7 @@ declare class Undo extends Activity {
13961
14566
  documentLoader?: DocumentLoader;
13962
14567
  contextLoader?: DocumentLoader;
13963
14568
  tracerProvider?: TracerProvider;
14569
+ baseUrl?: URL;
13964
14570
  });
13965
14571
  /**
13966
14572
  * Clones this instance, optionally updating it with the given values.
@@ -14065,11 +14671,13 @@ declare class Undo extends Activity {
14065
14671
  documentLoader?: DocumentLoader;
14066
14672
  contextLoader?: DocumentLoader;
14067
14673
  tracerProvider?: TracerProvider;
14674
+ baseUrl?: URL;
14068
14675
  }): Promise<Undo>;
14069
14676
  protected static __fromJsonLd__Undo__(json: unknown, span: Span, options?: {
14070
14677
  documentLoader?: DocumentLoader;
14071
14678
  contextLoader?: DocumentLoader;
14072
14679
  tracerProvider?: TracerProvider;
14680
+ baseUrl?: URL;
14073
14681
  }): Promise<Undo>;
14074
14682
  protected _getCustomInspectProxy(): Record<string, unknown>;
14075
14683
  }
@@ -14084,6 +14692,10 @@ declare class Update extends Activity {
14084
14692
  * The type URI of {@link Update}: `https://www.w3.org/ns/activitystreams#Update`.
14085
14693
  */
14086
14694
  static get typeId(): URL;
14695
+ /**
14696
+ * The base URL used for resolving relative URLs in this object.
14697
+ */
14698
+ get baseUrl(): URL | undefined;
14087
14699
  /**
14088
14700
  * Constructs a new instance of Update with the given values.
14089
14701
  * @param values The values to initialize the instance with.
@@ -14155,6 +14767,7 @@ declare class Update extends Activity {
14155
14767
  documentLoader?: DocumentLoader;
14156
14768
  contextLoader?: DocumentLoader;
14157
14769
  tracerProvider?: TracerProvider;
14770
+ baseUrl?: URL;
14158
14771
  });
14159
14772
  /**
14160
14773
  * Clones this instance, optionally updating it with the given values.
@@ -14259,11 +14872,13 @@ declare class Update extends Activity {
14259
14872
  documentLoader?: DocumentLoader;
14260
14873
  contextLoader?: DocumentLoader;
14261
14874
  tracerProvider?: TracerProvider;
14875
+ baseUrl?: URL;
14262
14876
  }): Promise<Update>;
14263
14877
  protected static __fromJsonLd__Update__(json: unknown, span: Span, options?: {
14264
14878
  documentLoader?: DocumentLoader;
14265
14879
  contextLoader?: DocumentLoader;
14266
14880
  tracerProvider?: TracerProvider;
14881
+ baseUrl?: URL;
14267
14882
  }): Promise<Update>;
14268
14883
  protected _getCustomInspectProxy(): Record<string, unknown>;
14269
14884
  }
@@ -14274,6 +14889,10 @@ declare class Video extends Document {
14274
14889
  * The type URI of {@link Video}: `https://www.w3.org/ns/activitystreams#Video`.
14275
14890
  */
14276
14891
  static get typeId(): URL;
14892
+ /**
14893
+ * The base URL used for resolving relative URLs in this object.
14894
+ */
14895
+ get baseUrl(): URL | undefined;
14277
14896
  /**
14278
14897
  * Constructs a new instance of Video with the given values.
14279
14898
  * @param values The values to initialize the instance with.
@@ -14335,6 +14954,7 @@ declare class Video extends Document {
14335
14954
  documentLoader?: DocumentLoader;
14336
14955
  contextLoader?: DocumentLoader;
14337
14956
  tracerProvider?: TracerProvider;
14957
+ baseUrl?: URL;
14338
14958
  });
14339
14959
  /**
14340
14960
  * Clones this instance, optionally updating it with the given values.
@@ -14429,11 +15049,13 @@ declare class Video extends Document {
14429
15049
  documentLoader?: DocumentLoader;
14430
15050
  contextLoader?: DocumentLoader;
14431
15051
  tracerProvider?: TracerProvider;
15052
+ baseUrl?: URL;
14432
15053
  }): Promise<Video>;
14433
15054
  protected static __fromJsonLd__Video__(json: unknown, span: Span, options?: {
14434
15055
  documentLoader?: DocumentLoader;
14435
15056
  contextLoader?: DocumentLoader;
14436
15057
  tracerProvider?: TracerProvider;
15058
+ baseUrl?: URL;
14437
15059
  }): Promise<Video>;
14438
15060
  protected _getCustomInspectProxy(): Record<string, unknown>;
14439
15061
  }
@@ -14444,6 +15066,10 @@ declare class View extends Activity {
14444
15066
  * The type URI of {@link View}: `https://www.w3.org/ns/activitystreams#View`.
14445
15067
  */
14446
15068
  static get typeId(): URL;
15069
+ /**
15070
+ * The base URL used for resolving relative URLs in this object.
15071
+ */
15072
+ get baseUrl(): URL | undefined;
14447
15073
  /**
14448
15074
  * Constructs a new instance of View with the given values.
14449
15075
  * @param values The values to initialize the instance with.
@@ -14515,6 +15141,7 @@ declare class View extends Activity {
14515
15141
  documentLoader?: DocumentLoader;
14516
15142
  contextLoader?: DocumentLoader;
14517
15143
  tracerProvider?: TracerProvider;
15144
+ baseUrl?: URL;
14518
15145
  });
14519
15146
  /**
14520
15147
  * Clones this instance, optionally updating it with the given values.
@@ -14619,11 +15246,13 @@ declare class View extends Activity {
14619
15246
  documentLoader?: DocumentLoader;
14620
15247
  contextLoader?: DocumentLoader;
14621
15248
  tracerProvider?: TracerProvider;
15249
+ baseUrl?: URL;
14622
15250
  }): Promise<View>;
14623
15251
  protected static __fromJsonLd__View__(json: unknown, span: Span, options?: {
14624
15252
  documentLoader?: DocumentLoader;
14625
15253
  contextLoader?: DocumentLoader;
14626
15254
  tracerProvider?: TracerProvider;
15255
+ baseUrl?: URL;
14627
15256
  }): Promise<View>;
14628
15257
  protected _getCustomInspectProxy(): Record<string, unknown>;
14629
15258
  }