@fedify/fedify 0.14.0-dev.333 → 0.14.0-dev.335

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 (44) hide show
  1. package/CHANGES.md +11 -0
  2. package/esm/federation/middleware.js +2 -2
  3. package/esm/vocab/object.yaml +13 -0
  4. package/esm/vocab/source.yaml +26 -0
  5. package/esm/vocab/vocab.js +607 -198
  6. package/package.json +1 -1
  7. package/types/federation/collection.d.ts +0 -1
  8. package/types/federation/collection.d.ts.map +1 -1
  9. package/types/federation/context.d.ts +0 -2
  10. package/types/federation/context.d.ts.map +1 -1
  11. package/types/federation/handler.d.ts +0 -2
  12. package/types/federation/handler.d.ts.map +1 -1
  13. package/types/federation/middleware.d.ts +0 -2
  14. package/types/federation/middleware.d.ts.map +1 -1
  15. package/types/federation/send.d.ts +0 -2
  16. package/types/federation/send.d.ts.map +1 -1
  17. package/types/nodeinfo/handler.d.ts +0 -1
  18. package/types/nodeinfo/handler.d.ts.map +1 -1
  19. package/types/nodeinfo/types.d.ts +0 -1
  20. package/types/nodeinfo/types.d.ts.map +1 -1
  21. package/types/runtime/docloader.d.ts +0 -1
  22. package/types/runtime/docloader.d.ts.map +1 -1
  23. package/types/sig/http.d.ts +0 -2
  24. package/types/sig/http.d.ts.map +1 -1
  25. package/types/sig/key.d.ts +0 -1
  26. package/types/sig/key.d.ts.map +1 -1
  27. package/types/sig/owner.d.ts +0 -1
  28. package/types/sig/owner.d.ts.map +1 -1
  29. package/types/sig/proof.d.ts +0 -1
  30. package/types/sig/proof.d.ts.map +1 -1
  31. package/types/vocab/actor.d.ts +0 -1
  32. package/types/vocab/actor.d.ts.map +1 -1
  33. package/types/vocab/constants.d.ts +0 -1
  34. package/types/vocab/constants.d.ts.map +1 -1
  35. package/types/vocab/lookup.d.ts +0 -1
  36. package/types/vocab/lookup.d.ts.map +1 -1
  37. package/types/vocab/vocab.d.ts +191 -1
  38. package/types/vocab/vocab.d.ts.map +1 -1
  39. package/types/webfinger/handler.d.ts +0 -1
  40. package/types/webfinger/handler.d.ts.map +1 -1
  41. package/types/webfinger/lookup.d.ts +0 -1
  42. package/types/webfinger/lookup.d.ts.map +1 -1
  43. package/types/x/hono.d.ts +0 -1
  44. package/types/x/hono.d.ts.map +1 -1
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import * as dntShim from "../_dnt.shims.js";
3
2
  import { LanguageTag } from "@phensley/language-tag";
4
3
  import { type DocumentLoader } from "../runtime/docloader.js";
@@ -67,6 +66,7 @@ export declare class Object {
67
66
  mediaType?: string | null;
68
67
  duration?: dntShim.Temporal.Duration | null;
69
68
  sensitive?: boolean | null;
69
+ source?: Source | null;
70
70
  proof?: DataIntegrityProof | URL | null;
71
71
  proofs?: (DataIntegrityProof | URL)[];
72
72
  }, { documentLoader, contextLoader, }?: {
@@ -123,6 +123,7 @@ export declare class Object {
123
123
  mediaType?: string | null;
124
124
  duration?: dntShim.Temporal.Duration | null;
125
125
  sensitive?: boolean | null;
126
+ source?: Source | null;
126
127
  proof?: DataIntegrityProof | URL | null;
127
128
  proofs?: (DataIntegrityProof | URL)[];
128
129
  }, options?: {
@@ -589,6 +590,12 @@ export declare class Object {
589
590
  /** Whether it contains any sensitive contents.
590
591
  */
591
592
  get sensitive(): boolean | null;
593
+ /** The `source` property is intended to convey some sort of source from which
594
+ * the `content` markup was derived, as a form of provenance, or to support
595
+ * future editing by clients. In general, clients do the conversion from
596
+ * `source` to `content`, not the other way around.
597
+ */
598
+ get source(): Source | null;
592
599
  /**
593
600
  * Similar to
594
601
  * {@link Object.getProof},
@@ -700,6 +707,7 @@ export declare class Emoji extends Object {
700
707
  mediaType?: string | null;
701
708
  duration?: dntShim.Temporal.Duration | null;
702
709
  sensitive?: boolean | null;
710
+ source?: Source | null;
703
711
  proof?: DataIntegrityProof | URL | null;
704
712
  proofs?: (DataIntegrityProof | URL)[];
705
713
  }, { documentLoader, contextLoader, }?: {
@@ -756,6 +764,7 @@ export declare class Emoji extends Object {
756
764
  mediaType?: string | null;
757
765
  duration?: dntShim.Temporal.Duration | null;
758
766
  sensitive?: boolean | null;
767
+ source?: Source | null;
759
768
  proof?: DataIntegrityProof | URL | null;
760
769
  proofs?: (DataIntegrityProof | URL)[];
761
770
  }, options?: {
@@ -851,6 +860,7 @@ export declare class ChatMessage extends Object {
851
860
  mediaType?: string | null;
852
861
  duration?: dntShim.Temporal.Duration | null;
853
862
  sensitive?: boolean | null;
863
+ source?: Source | null;
854
864
  proof?: DataIntegrityProof | URL | null;
855
865
  proofs?: (DataIntegrityProof | URL)[];
856
866
  }, { documentLoader, contextLoader, }?: {
@@ -907,6 +917,7 @@ export declare class ChatMessage extends Object {
907
917
  mediaType?: string | null;
908
918
  duration?: dntShim.Temporal.Duration | null;
909
919
  sensitive?: boolean | null;
920
+ source?: Source | null;
910
921
  proof?: DataIntegrityProof | URL | null;
911
922
  proofs?: (DataIntegrityProof | URL)[];
912
923
  }, options?: {
@@ -1351,6 +1362,7 @@ export declare class Activity extends Object {
1351
1362
  mediaType?: string | null;
1352
1363
  duration?: dntShim.Temporal.Duration | null;
1353
1364
  sensitive?: boolean | null;
1365
+ source?: Source | null;
1354
1366
  proof?: DataIntegrityProof | URL | null;
1355
1367
  proofs?: (DataIntegrityProof | URL)[];
1356
1368
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -1419,6 +1431,7 @@ export declare class Activity extends Object {
1419
1431
  mediaType?: string | null;
1420
1432
  duration?: dntShim.Temporal.Duration | null;
1421
1433
  sensitive?: boolean | null;
1434
+ source?: Source | null;
1422
1435
  proof?: DataIntegrityProof | URL | null;
1423
1436
  proofs?: (DataIntegrityProof | URL)[];
1424
1437
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -1710,6 +1723,7 @@ export declare class Accept extends Activity {
1710
1723
  mediaType?: string | null;
1711
1724
  duration?: dntShim.Temporal.Duration | null;
1712
1725
  sensitive?: boolean | null;
1726
+ source?: Source | null;
1713
1727
  proof?: DataIntegrityProof | URL | null;
1714
1728
  proofs?: (DataIntegrityProof | URL)[];
1715
1729
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -1778,6 +1792,7 @@ export declare class Accept extends Activity {
1778
1792
  mediaType?: string | null;
1779
1793
  duration?: dntShim.Temporal.Duration | null;
1780
1794
  sensitive?: boolean | null;
1795
+ source?: Source | null;
1781
1796
  proof?: DataIntegrityProof | URL | null;
1782
1797
  proofs?: (DataIntegrityProof | URL)[];
1783
1798
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -1884,6 +1899,7 @@ export declare class Add extends Activity {
1884
1899
  mediaType?: string | null;
1885
1900
  duration?: dntShim.Temporal.Duration | null;
1886
1901
  sensitive?: boolean | null;
1902
+ source?: Source | null;
1887
1903
  proof?: DataIntegrityProof | URL | null;
1888
1904
  proofs?: (DataIntegrityProof | URL)[];
1889
1905
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -1952,6 +1968,7 @@ export declare class Add extends Activity {
1952
1968
  mediaType?: string | null;
1953
1969
  duration?: dntShim.Temporal.Duration | null;
1954
1970
  sensitive?: boolean | null;
1971
+ source?: Source | null;
1955
1972
  proof?: DataIntegrityProof | URL | null;
1956
1973
  proofs?: (DataIntegrityProof | URL)[];
1957
1974
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -2057,6 +2074,7 @@ export declare class Announce extends Activity {
2057
2074
  mediaType?: string | null;
2058
2075
  duration?: dntShim.Temporal.Duration | null;
2059
2076
  sensitive?: boolean | null;
2077
+ source?: Source | null;
2060
2078
  proof?: DataIntegrityProof | URL | null;
2061
2079
  proofs?: (DataIntegrityProof | URL)[];
2062
2080
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -2125,6 +2143,7 @@ export declare class Announce extends Activity {
2125
2143
  mediaType?: string | null;
2126
2144
  duration?: dntShim.Temporal.Duration | null;
2127
2145
  sensitive?: boolean | null;
2146
+ source?: Source | null;
2128
2147
  proof?: DataIntegrityProof | URL | null;
2129
2148
  proofs?: (DataIntegrityProof | URL)[];
2130
2149
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -2228,6 +2247,7 @@ export declare class Application extends Object {
2228
2247
  mediaType?: string | null;
2229
2248
  duration?: dntShim.Temporal.Duration | null;
2230
2249
  sensitive?: boolean | null;
2250
+ source?: Source | null;
2231
2251
  proof?: DataIntegrityProof | URL | null;
2232
2252
  proofs?: (DataIntegrityProof | URL)[];
2233
2253
  preferredUsername?: string | LanguageString | null;
@@ -2304,6 +2324,7 @@ export declare class Application extends Object {
2304
2324
  mediaType?: string | null;
2305
2325
  duration?: dntShim.Temporal.Duration | null;
2306
2326
  sensitive?: boolean | null;
2327
+ source?: Source | null;
2307
2328
  proof?: DataIntegrityProof | URL | null;
2308
2329
  proofs?: (DataIntegrityProof | URL)[];
2309
2330
  preferredUsername?: string | LanguageString | null;
@@ -2660,6 +2681,7 @@ export declare class IntransitiveActivity extends Activity {
2660
2681
  mediaType?: string | null;
2661
2682
  duration?: dntShim.Temporal.Duration | null;
2662
2683
  sensitive?: boolean | null;
2684
+ source?: Source | null;
2663
2685
  proof?: DataIntegrityProof | URL | null;
2664
2686
  proofs?: (DataIntegrityProof | URL)[];
2665
2687
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -2728,6 +2750,7 @@ export declare class IntransitiveActivity extends Activity {
2728
2750
  mediaType?: string | null;
2729
2751
  duration?: dntShim.Temporal.Duration | null;
2730
2752
  sensitive?: boolean | null;
2753
+ source?: Source | null;
2731
2754
  proof?: DataIntegrityProof | URL | null;
2732
2755
  proofs?: (DataIntegrityProof | URL)[];
2733
2756
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -2833,6 +2856,7 @@ export declare class Arrive extends IntransitiveActivity {
2833
2856
  mediaType?: string | null;
2834
2857
  duration?: dntShim.Temporal.Duration | null;
2835
2858
  sensitive?: boolean | null;
2859
+ source?: Source | null;
2836
2860
  proof?: DataIntegrityProof | URL | null;
2837
2861
  proofs?: (DataIntegrityProof | URL)[];
2838
2862
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -2901,6 +2925,7 @@ export declare class Arrive extends IntransitiveActivity {
2901
2925
  mediaType?: string | null;
2902
2926
  duration?: dntShim.Temporal.Duration | null;
2903
2927
  sensitive?: boolean | null;
2928
+ source?: Source | null;
2904
2929
  proof?: DataIntegrityProof | URL | null;
2905
2930
  proofs?: (DataIntegrityProof | URL)[];
2906
2931
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -3004,6 +3029,7 @@ export declare class Article extends Object {
3004
3029
  mediaType?: string | null;
3005
3030
  duration?: dntShim.Temporal.Duration | null;
3006
3031
  sensitive?: boolean | null;
3032
+ source?: Source | null;
3007
3033
  proof?: DataIntegrityProof | URL | null;
3008
3034
  proofs?: (DataIntegrityProof | URL)[];
3009
3035
  }, { documentLoader, contextLoader, }?: {
@@ -3060,6 +3086,7 @@ export declare class Article extends Object {
3060
3086
  mediaType?: string | null;
3061
3087
  duration?: dntShim.Temporal.Duration | null;
3062
3088
  sensitive?: boolean | null;
3089
+ source?: Source | null;
3063
3090
  proof?: DataIntegrityProof | URL | null;
3064
3091
  proofs?: (DataIntegrityProof | URL)[];
3065
3092
  }, options?: {
@@ -3151,6 +3178,7 @@ export declare class Document extends Object {
3151
3178
  mediaType?: string | null;
3152
3179
  duration?: dntShim.Temporal.Duration | null;
3153
3180
  sensitive?: boolean | null;
3181
+ source?: Source | null;
3154
3182
  proof?: DataIntegrityProof | URL | null;
3155
3183
  proofs?: (DataIntegrityProof | URL)[];
3156
3184
  width?: number | null;
@@ -3209,6 +3237,7 @@ export declare class Document extends Object {
3209
3237
  mediaType?: string | null;
3210
3238
  duration?: dntShim.Temporal.Duration | null;
3211
3239
  sensitive?: boolean | null;
3240
+ source?: Source | null;
3212
3241
  proof?: DataIntegrityProof | URL | null;
3213
3242
  proofs?: (DataIntegrityProof | URL)[];
3214
3243
  width?: number | null;
@@ -3310,6 +3339,7 @@ export declare class Audio extends Document {
3310
3339
  mediaType?: string | null;
3311
3340
  duration?: dntShim.Temporal.Duration | null;
3312
3341
  sensitive?: boolean | null;
3342
+ source?: Source | null;
3313
3343
  proof?: DataIntegrityProof | URL | null;
3314
3344
  proofs?: (DataIntegrityProof | URL)[];
3315
3345
  width?: number | null;
@@ -3368,6 +3398,7 @@ export declare class Audio extends Document {
3368
3398
  mediaType?: string | null;
3369
3399
  duration?: dntShim.Temporal.Duration | null;
3370
3400
  sensitive?: boolean | null;
3401
+ source?: Source | null;
3371
3402
  proof?: DataIntegrityProof | URL | null;
3372
3403
  proofs?: (DataIntegrityProof | URL)[];
3373
3404
  width?: number | null;
@@ -3462,6 +3493,7 @@ export declare class Ignore extends Activity {
3462
3493
  mediaType?: string | null;
3463
3494
  duration?: dntShim.Temporal.Duration | null;
3464
3495
  sensitive?: boolean | null;
3496
+ source?: Source | null;
3465
3497
  proof?: DataIntegrityProof | URL | null;
3466
3498
  proofs?: (DataIntegrityProof | URL)[];
3467
3499
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -3530,6 +3562,7 @@ export declare class Ignore extends Activity {
3530
3562
  mediaType?: string | null;
3531
3563
  duration?: dntShim.Temporal.Duration | null;
3532
3564
  sensitive?: boolean | null;
3565
+ source?: Source | null;
3533
3566
  proof?: DataIntegrityProof | URL | null;
3534
3567
  proofs?: (DataIntegrityProof | URL)[];
3535
3568
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -3636,6 +3669,7 @@ export declare class Block extends Ignore {
3636
3669
  mediaType?: string | null;
3637
3670
  duration?: dntShim.Temporal.Duration | null;
3638
3671
  sensitive?: boolean | null;
3672
+ source?: Source | null;
3639
3673
  proof?: DataIntegrityProof | URL | null;
3640
3674
  proofs?: (DataIntegrityProof | URL)[];
3641
3675
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -3704,6 +3738,7 @@ export declare class Block extends Ignore {
3704
3738
  mediaType?: string | null;
3705
3739
  duration?: dntShim.Temporal.Duration | null;
3706
3740
  sensitive?: boolean | null;
3741
+ source?: Source | null;
3707
3742
  proof?: DataIntegrityProof | URL | null;
3708
3743
  proofs?: (DataIntegrityProof | URL)[];
3709
3744
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -3811,6 +3846,7 @@ export declare class Collection extends Object {
3811
3846
  mediaType?: string | null;
3812
3847
  duration?: dntShim.Temporal.Duration | null;
3813
3848
  sensitive?: boolean | null;
3849
+ source?: Source | null;
3814
3850
  proof?: DataIntegrityProof | URL | null;
3815
3851
  proofs?: (DataIntegrityProof | URL)[];
3816
3852
  totalItems?: number | null;
@@ -3872,6 +3908,7 @@ export declare class Collection extends Object {
3872
3908
  mediaType?: string | null;
3873
3909
  duration?: dntShim.Temporal.Duration | null;
3874
3910
  sensitive?: boolean | null;
3911
+ source?: Source | null;
3875
3912
  proof?: DataIntegrityProof | URL | null;
3876
3913
  proofs?: (DataIntegrityProof | URL)[];
3877
3914
  totalItems?: number | null;
@@ -4031,6 +4068,7 @@ export declare class CollectionPage extends Collection {
4031
4068
  mediaType?: string | null;
4032
4069
  duration?: dntShim.Temporal.Duration | null;
4033
4070
  sensitive?: boolean | null;
4071
+ source?: Source | null;
4034
4072
  proof?: DataIntegrityProof | URL | null;
4035
4073
  proofs?: (DataIntegrityProof | URL)[];
4036
4074
  totalItems?: number | null;
@@ -4095,6 +4133,7 @@ export declare class CollectionPage extends Collection {
4095
4133
  mediaType?: string | null;
4096
4134
  duration?: dntShim.Temporal.Duration | null;
4097
4135
  sensitive?: boolean | null;
4136
+ source?: Source | null;
4098
4137
  proof?: DataIntegrityProof | URL | null;
4099
4138
  proofs?: (DataIntegrityProof | URL)[];
4100
4139
  totalItems?: number | null;
@@ -4234,6 +4273,7 @@ export declare class Create extends Activity {
4234
4273
  mediaType?: string | null;
4235
4274
  duration?: dntShim.Temporal.Duration | null;
4236
4275
  sensitive?: boolean | null;
4276
+ source?: Source | null;
4237
4277
  proof?: DataIntegrityProof | URL | null;
4238
4278
  proofs?: (DataIntegrityProof | URL)[];
4239
4279
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -4302,6 +4342,7 @@ export declare class Create extends Activity {
4302
4342
  mediaType?: string | null;
4303
4343
  duration?: dntShim.Temporal.Duration | null;
4304
4344
  sensitive?: boolean | null;
4345
+ source?: Source | null;
4305
4346
  proof?: DataIntegrityProof | URL | null;
4306
4347
  proofs?: (DataIntegrityProof | URL)[];
4307
4348
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -4406,6 +4447,7 @@ export declare class Delete extends Activity {
4406
4447
  mediaType?: string | null;
4407
4448
  duration?: dntShim.Temporal.Duration | null;
4408
4449
  sensitive?: boolean | null;
4450
+ source?: Source | null;
4409
4451
  proof?: DataIntegrityProof | URL | null;
4410
4452
  proofs?: (DataIntegrityProof | URL)[];
4411
4453
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -4474,6 +4516,7 @@ export declare class Delete extends Activity {
4474
4516
  mediaType?: string | null;
4475
4517
  duration?: dntShim.Temporal.Duration | null;
4476
4518
  sensitive?: boolean | null;
4519
+ source?: Source | null;
4477
4520
  proof?: DataIntegrityProof | URL | null;
4478
4521
  proofs?: (DataIntegrityProof | URL)[];
4479
4522
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -4577,6 +4620,7 @@ export declare class Dislike extends Activity {
4577
4620
  mediaType?: string | null;
4578
4621
  duration?: dntShim.Temporal.Duration | null;
4579
4622
  sensitive?: boolean | null;
4623
+ source?: Source | null;
4580
4624
  proof?: DataIntegrityProof | URL | null;
4581
4625
  proofs?: (DataIntegrityProof | URL)[];
4582
4626
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -4645,6 +4689,7 @@ export declare class Dislike extends Activity {
4645
4689
  mediaType?: string | null;
4646
4690
  duration?: dntShim.Temporal.Duration | null;
4647
4691
  sensitive?: boolean | null;
4692
+ source?: Source | null;
4648
4693
  proof?: DataIntegrityProof | URL | null;
4649
4694
  proofs?: (DataIntegrityProof | URL)[];
4650
4695
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -4863,6 +4908,7 @@ export declare class Event extends Object {
4863
4908
  mediaType?: string | null;
4864
4909
  duration?: dntShim.Temporal.Duration | null;
4865
4910
  sensitive?: boolean | null;
4911
+ source?: Source | null;
4866
4912
  proof?: DataIntegrityProof | URL | null;
4867
4913
  proofs?: (DataIntegrityProof | URL)[];
4868
4914
  }, { documentLoader, contextLoader, }?: {
@@ -4919,6 +4965,7 @@ export declare class Event extends Object {
4919
4965
  mediaType?: string | null;
4920
4966
  duration?: dntShim.Temporal.Duration | null;
4921
4967
  sensitive?: boolean | null;
4968
+ source?: Source | null;
4922
4969
  proof?: DataIntegrityProof | URL | null;
4923
4970
  proofs?: (DataIntegrityProof | URL)[];
4924
4971
  }, options?: {
@@ -5012,6 +5059,7 @@ export declare class Flag extends Activity {
5012
5059
  mediaType?: string | null;
5013
5060
  duration?: dntShim.Temporal.Duration | null;
5014
5061
  sensitive?: boolean | null;
5062
+ source?: Source | null;
5015
5063
  proof?: DataIntegrityProof | URL | null;
5016
5064
  proofs?: (DataIntegrityProof | URL)[];
5017
5065
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -5080,6 +5128,7 @@ export declare class Flag extends Activity {
5080
5128
  mediaType?: string | null;
5081
5129
  duration?: dntShim.Temporal.Duration | null;
5082
5130
  sensitive?: boolean | null;
5131
+ source?: Source | null;
5083
5132
  proof?: DataIntegrityProof | URL | null;
5084
5133
  proofs?: (DataIntegrityProof | URL)[];
5085
5134
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -5186,6 +5235,7 @@ export declare class Follow extends Activity {
5186
5235
  mediaType?: string | null;
5187
5236
  duration?: dntShim.Temporal.Duration | null;
5188
5237
  sensitive?: boolean | null;
5238
+ source?: Source | null;
5189
5239
  proof?: DataIntegrityProof | URL | null;
5190
5240
  proofs?: (DataIntegrityProof | URL)[];
5191
5241
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -5254,6 +5304,7 @@ export declare class Follow extends Activity {
5254
5304
  mediaType?: string | null;
5255
5305
  duration?: dntShim.Temporal.Duration | null;
5256
5306
  sensitive?: boolean | null;
5307
+ source?: Source | null;
5257
5308
  proof?: DataIntegrityProof | URL | null;
5258
5309
  proofs?: (DataIntegrityProof | URL)[];
5259
5310
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -5357,6 +5408,7 @@ export declare class Group extends Object {
5357
5408
  mediaType?: string | null;
5358
5409
  duration?: dntShim.Temporal.Duration | null;
5359
5410
  sensitive?: boolean | null;
5411
+ source?: Source | null;
5360
5412
  proof?: DataIntegrityProof | URL | null;
5361
5413
  proofs?: (DataIntegrityProof | URL)[];
5362
5414
  preferredUsername?: string | LanguageString | null;
@@ -5433,6 +5485,7 @@ export declare class Group extends Object {
5433
5485
  mediaType?: string | null;
5434
5486
  duration?: dntShim.Temporal.Duration | null;
5435
5487
  sensitive?: boolean | null;
5488
+ source?: Source | null;
5436
5489
  proof?: DataIntegrityProof | URL | null;
5437
5490
  proofs?: (DataIntegrityProof | URL)[];
5438
5491
  preferredUsername?: string | LanguageString | null;
@@ -6015,6 +6068,7 @@ export declare class Image extends Document {
6015
6068
  mediaType?: string | null;
6016
6069
  duration?: dntShim.Temporal.Duration | null;
6017
6070
  sensitive?: boolean | null;
6071
+ source?: Source | null;
6018
6072
  proof?: DataIntegrityProof | URL | null;
6019
6073
  proofs?: (DataIntegrityProof | URL)[];
6020
6074
  width?: number | null;
@@ -6073,6 +6127,7 @@ export declare class Image extends Document {
6073
6127
  mediaType?: string | null;
6074
6128
  duration?: dntShim.Temporal.Duration | null;
6075
6129
  sensitive?: boolean | null;
6130
+ source?: Source | null;
6076
6131
  proof?: DataIntegrityProof | URL | null;
6077
6132
  proofs?: (DataIntegrityProof | URL)[];
6078
6133
  width?: number | null;
@@ -6168,6 +6223,7 @@ export declare class Offer extends Activity {
6168
6223
  mediaType?: string | null;
6169
6224
  duration?: dntShim.Temporal.Duration | null;
6170
6225
  sensitive?: boolean | null;
6226
+ source?: Source | null;
6171
6227
  proof?: DataIntegrityProof | URL | null;
6172
6228
  proofs?: (DataIntegrityProof | URL)[];
6173
6229
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -6236,6 +6292,7 @@ export declare class Offer extends Activity {
6236
6292
  mediaType?: string | null;
6237
6293
  duration?: dntShim.Temporal.Duration | null;
6238
6294
  sensitive?: boolean | null;
6295
+ source?: Source | null;
6239
6296
  proof?: DataIntegrityProof | URL | null;
6240
6297
  proofs?: (DataIntegrityProof | URL)[];
6241
6298
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -6340,6 +6397,7 @@ export declare class Invite extends Offer {
6340
6397
  mediaType?: string | null;
6341
6398
  duration?: dntShim.Temporal.Duration | null;
6342
6399
  sensitive?: boolean | null;
6400
+ source?: Source | null;
6343
6401
  proof?: DataIntegrityProof | URL | null;
6344
6402
  proofs?: (DataIntegrityProof | URL)[];
6345
6403
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -6408,6 +6466,7 @@ export declare class Invite extends Offer {
6408
6466
  mediaType?: string | null;
6409
6467
  duration?: dntShim.Temporal.Duration | null;
6410
6468
  sensitive?: boolean | null;
6469
+ source?: Source | null;
6411
6470
  proof?: DataIntegrityProof | URL | null;
6412
6471
  proofs?: (DataIntegrityProof | URL)[];
6413
6472
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -6512,6 +6571,7 @@ export declare class Join extends Activity {
6512
6571
  mediaType?: string | null;
6513
6572
  duration?: dntShim.Temporal.Duration | null;
6514
6573
  sensitive?: boolean | null;
6574
+ source?: Source | null;
6515
6575
  proof?: DataIntegrityProof | URL | null;
6516
6576
  proofs?: (DataIntegrityProof | URL)[];
6517
6577
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -6580,6 +6640,7 @@ export declare class Join extends Activity {
6580
6640
  mediaType?: string | null;
6581
6641
  duration?: dntShim.Temporal.Duration | null;
6582
6642
  sensitive?: boolean | null;
6643
+ source?: Source | null;
6583
6644
  proof?: DataIntegrityProof | URL | null;
6584
6645
  proofs?: (DataIntegrityProof | URL)[];
6585
6646
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -6684,6 +6745,7 @@ export declare class Leave extends Activity {
6684
6745
  mediaType?: string | null;
6685
6746
  duration?: dntShim.Temporal.Duration | null;
6686
6747
  sensitive?: boolean | null;
6748
+ source?: Source | null;
6687
6749
  proof?: DataIntegrityProof | URL | null;
6688
6750
  proofs?: (DataIntegrityProof | URL)[];
6689
6751
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -6752,6 +6814,7 @@ export declare class Leave extends Activity {
6752
6814
  mediaType?: string | null;
6753
6815
  duration?: dntShim.Temporal.Duration | null;
6754
6816
  sensitive?: boolean | null;
6817
+ source?: Source | null;
6755
6818
  proof?: DataIntegrityProof | URL | null;
6756
6819
  proofs?: (DataIntegrityProof | URL)[];
6757
6820
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -6856,6 +6919,7 @@ export declare class Like extends Activity {
6856
6919
  mediaType?: string | null;
6857
6920
  duration?: dntShim.Temporal.Duration | null;
6858
6921
  sensitive?: boolean | null;
6922
+ source?: Source | null;
6859
6923
  proof?: DataIntegrityProof | URL | null;
6860
6924
  proofs?: (DataIntegrityProof | URL)[];
6861
6925
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -6924,6 +6988,7 @@ export declare class Like extends Activity {
6924
6988
  mediaType?: string | null;
6925
6989
  duration?: dntShim.Temporal.Duration | null;
6926
6990
  sensitive?: boolean | null;
6991
+ source?: Source | null;
6927
6992
  proof?: DataIntegrityProof | URL | null;
6928
6993
  proofs?: (DataIntegrityProof | URL)[];
6929
6994
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -7027,6 +7092,7 @@ export declare class Listen extends Activity {
7027
7092
  mediaType?: string | null;
7028
7093
  duration?: dntShim.Temporal.Duration | null;
7029
7094
  sensitive?: boolean | null;
7095
+ source?: Source | null;
7030
7096
  proof?: DataIntegrityProof | URL | null;
7031
7097
  proofs?: (DataIntegrityProof | URL)[];
7032
7098
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -7095,6 +7161,7 @@ export declare class Listen extends Activity {
7095
7161
  mediaType?: string | null;
7096
7162
  duration?: dntShim.Temporal.Duration | null;
7097
7163
  sensitive?: boolean | null;
7164
+ source?: Source | null;
7098
7165
  proof?: DataIntegrityProof | URL | null;
7099
7166
  proofs?: (DataIntegrityProof | URL)[];
7100
7167
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -7279,6 +7346,7 @@ export declare class Move extends Activity {
7279
7346
  mediaType?: string | null;
7280
7347
  duration?: dntShim.Temporal.Duration | null;
7281
7348
  sensitive?: boolean | null;
7349
+ source?: Source | null;
7282
7350
  proof?: DataIntegrityProof | URL | null;
7283
7351
  proofs?: (DataIntegrityProof | URL)[];
7284
7352
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -7347,6 +7415,7 @@ export declare class Move extends Activity {
7347
7415
  mediaType?: string | null;
7348
7416
  duration?: dntShim.Temporal.Duration | null;
7349
7417
  sensitive?: boolean | null;
7418
+ source?: Source | null;
7350
7419
  proof?: DataIntegrityProof | URL | null;
7351
7420
  proofs?: (DataIntegrityProof | URL)[];
7352
7421
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -7451,6 +7520,7 @@ export declare class Note extends Object {
7451
7520
  mediaType?: string | null;
7452
7521
  duration?: dntShim.Temporal.Duration | null;
7453
7522
  sensitive?: boolean | null;
7523
+ source?: Source | null;
7454
7524
  proof?: DataIntegrityProof | URL | null;
7455
7525
  proofs?: (DataIntegrityProof | URL)[];
7456
7526
  }, { documentLoader, contextLoader, }?: {
@@ -7507,6 +7577,7 @@ export declare class Note extends Object {
7507
7577
  mediaType?: string | null;
7508
7578
  duration?: dntShim.Temporal.Duration | null;
7509
7579
  sensitive?: boolean | null;
7580
+ source?: Source | null;
7510
7581
  proof?: DataIntegrityProof | URL | null;
7511
7582
  proofs?: (DataIntegrityProof | URL)[];
7512
7583
  }, options?: {
@@ -7599,6 +7670,7 @@ export declare class OrderedCollection extends Collection {
7599
7670
  mediaType?: string | null;
7600
7671
  duration?: dntShim.Temporal.Duration | null;
7601
7672
  sensitive?: boolean | null;
7673
+ source?: Source | null;
7602
7674
  proof?: DataIntegrityProof | URL | null;
7603
7675
  proofs?: (DataIntegrityProof | URL)[];
7604
7676
  totalItems?: number | null;
@@ -7660,6 +7732,7 @@ export declare class OrderedCollection extends Collection {
7660
7732
  mediaType?: string | null;
7661
7733
  duration?: dntShim.Temporal.Duration | null;
7662
7734
  sensitive?: boolean | null;
7735
+ source?: Source | null;
7663
7736
  proof?: DataIntegrityProof | URL | null;
7664
7737
  proofs?: (DataIntegrityProof | URL)[];
7665
7738
  totalItems?: number | null;
@@ -7772,6 +7845,7 @@ export declare class OrderedCollectionPage extends CollectionPage {
7772
7845
  mediaType?: string | null;
7773
7846
  duration?: dntShim.Temporal.Duration | null;
7774
7847
  sensitive?: boolean | null;
7848
+ source?: Source | null;
7775
7849
  proof?: DataIntegrityProof | URL | null;
7776
7850
  proofs?: (DataIntegrityProof | URL)[];
7777
7851
  totalItems?: number | null;
@@ -7837,6 +7911,7 @@ export declare class OrderedCollectionPage extends CollectionPage {
7837
7911
  mediaType?: string | null;
7838
7912
  duration?: dntShim.Temporal.Duration | null;
7839
7913
  sensitive?: boolean | null;
7914
+ source?: Source | null;
7840
7915
  proof?: DataIntegrityProof | URL | null;
7841
7916
  proofs?: (DataIntegrityProof | URL)[];
7842
7917
  totalItems?: number | null;
@@ -7955,6 +8030,7 @@ export declare class Organization extends Object {
7955
8030
  mediaType?: string | null;
7956
8031
  duration?: dntShim.Temporal.Duration | null;
7957
8032
  sensitive?: boolean | null;
8033
+ source?: Source | null;
7958
8034
  proof?: DataIntegrityProof | URL | null;
7959
8035
  proofs?: (DataIntegrityProof | URL)[];
7960
8036
  preferredUsername?: string | LanguageString | null;
@@ -8031,6 +8107,7 @@ export declare class Organization extends Object {
8031
8107
  mediaType?: string | null;
8032
8108
  duration?: dntShim.Temporal.Duration | null;
8033
8109
  sensitive?: boolean | null;
8110
+ source?: Source | null;
8034
8111
  proof?: DataIntegrityProof | URL | null;
8035
8112
  proofs?: (DataIntegrityProof | URL)[];
8036
8113
  preferredUsername?: string | LanguageString | null;
@@ -8385,6 +8462,7 @@ export declare class Page extends Document {
8385
8462
  mediaType?: string | null;
8386
8463
  duration?: dntShim.Temporal.Duration | null;
8387
8464
  sensitive?: boolean | null;
8465
+ source?: Source | null;
8388
8466
  proof?: DataIntegrityProof | URL | null;
8389
8467
  proofs?: (DataIntegrityProof | URL)[];
8390
8468
  width?: number | null;
@@ -8443,6 +8521,7 @@ export declare class Page extends Document {
8443
8521
  mediaType?: string | null;
8444
8522
  duration?: dntShim.Temporal.Duration | null;
8445
8523
  sensitive?: boolean | null;
8524
+ source?: Source | null;
8446
8525
  proof?: DataIntegrityProof | URL | null;
8447
8526
  proofs?: (DataIntegrityProof | URL)[];
8448
8527
  width?: number | null;
@@ -8536,6 +8615,7 @@ export declare class Person extends Object {
8536
8615
  mediaType?: string | null;
8537
8616
  duration?: dntShim.Temporal.Duration | null;
8538
8617
  sensitive?: boolean | null;
8618
+ source?: Source | null;
8539
8619
  proof?: DataIntegrityProof | URL | null;
8540
8620
  proofs?: (DataIntegrityProof | URL)[];
8541
8621
  preferredUsername?: string | LanguageString | null;
@@ -8612,6 +8692,7 @@ export declare class Person extends Object {
8612
8692
  mediaType?: string | null;
8613
8693
  duration?: dntShim.Temporal.Duration | null;
8614
8694
  sensitive?: boolean | null;
8695
+ source?: Source | null;
8615
8696
  proof?: DataIntegrityProof | URL | null;
8616
8697
  proofs?: (DataIntegrityProof | URL)[];
8617
8698
  preferredUsername?: string | LanguageString | null;
@@ -8968,6 +9049,7 @@ export declare class Place extends Object {
8968
9049
  mediaType?: string | null;
8969
9050
  duration?: dntShim.Temporal.Duration | null;
8970
9051
  sensitive?: boolean | null;
9052
+ source?: Source | null;
8971
9053
  proof?: DataIntegrityProof | URL | null;
8972
9054
  proofs?: (DataIntegrityProof | URL)[];
8973
9055
  accuracy?: number | null;
@@ -9030,6 +9112,7 @@ export declare class Place extends Object {
9030
9112
  mediaType?: string | null;
9031
9113
  duration?: dntShim.Temporal.Duration | null;
9032
9114
  sensitive?: boolean | null;
9115
+ source?: Source | null;
9033
9116
  proof?: DataIntegrityProof | URL | null;
9034
9117
  proofs?: (DataIntegrityProof | URL)[];
9035
9118
  accuracy?: number | null;
@@ -9157,6 +9240,7 @@ export declare class Profile extends Object {
9157
9240
  mediaType?: string | null;
9158
9241
  duration?: dntShim.Temporal.Duration | null;
9159
9242
  sensitive?: boolean | null;
9243
+ source?: Source | null;
9160
9244
  proof?: DataIntegrityProof | URL | null;
9161
9245
  proofs?: (DataIntegrityProof | URL)[];
9162
9246
  describes?: Object | URL | null;
@@ -9214,6 +9298,7 @@ export declare class Profile extends Object {
9214
9298
  mediaType?: string | null;
9215
9299
  duration?: dntShim.Temporal.Duration | null;
9216
9300
  sensitive?: boolean | null;
9301
+ source?: Source | null;
9217
9302
  proof?: DataIntegrityProof | URL | null;
9218
9303
  proofs?: (DataIntegrityProof | URL)[];
9219
9304
  describes?: Object | URL | null;
@@ -9327,6 +9412,7 @@ export declare class Question extends IntransitiveActivity {
9327
9412
  mediaType?: string | null;
9328
9413
  duration?: dntShim.Temporal.Duration | null;
9329
9414
  sensitive?: boolean | null;
9415
+ source?: Source | null;
9330
9416
  proof?: DataIntegrityProof | URL | null;
9331
9417
  proofs?: (DataIntegrityProof | URL)[];
9332
9418
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -9399,6 +9485,7 @@ export declare class Question extends IntransitiveActivity {
9399
9485
  mediaType?: string | null;
9400
9486
  duration?: dntShim.Temporal.Duration | null;
9401
9487
  sensitive?: boolean | null;
9488
+ source?: Source | null;
9402
9489
  proof?: DataIntegrityProof | URL | null;
9403
9490
  proofs?: (DataIntegrityProof | URL)[];
9404
9491
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -9544,6 +9631,7 @@ export declare class Read extends Activity {
9544
9631
  mediaType?: string | null;
9545
9632
  duration?: dntShim.Temporal.Duration | null;
9546
9633
  sensitive?: boolean | null;
9634
+ source?: Source | null;
9547
9635
  proof?: DataIntegrityProof | URL | null;
9548
9636
  proofs?: (DataIntegrityProof | URL)[];
9549
9637
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -9612,6 +9700,7 @@ export declare class Read extends Activity {
9612
9700
  mediaType?: string | null;
9613
9701
  duration?: dntShim.Temporal.Duration | null;
9614
9702
  sensitive?: boolean | null;
9703
+ source?: Source | null;
9615
9704
  proof?: DataIntegrityProof | URL | null;
9616
9705
  proofs?: (DataIntegrityProof | URL)[];
9617
9706
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -9716,6 +9805,7 @@ export declare class Reject extends Activity {
9716
9805
  mediaType?: string | null;
9717
9806
  duration?: dntShim.Temporal.Duration | null;
9718
9807
  sensitive?: boolean | null;
9808
+ source?: Source | null;
9719
9809
  proof?: DataIntegrityProof | URL | null;
9720
9810
  proofs?: (DataIntegrityProof | URL)[];
9721
9811
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -9784,6 +9874,7 @@ export declare class Reject extends Activity {
9784
9874
  mediaType?: string | null;
9785
9875
  duration?: dntShim.Temporal.Duration | null;
9786
9876
  sensitive?: boolean | null;
9877
+ source?: Source | null;
9787
9878
  proof?: DataIntegrityProof | URL | null;
9788
9879
  proofs?: (DataIntegrityProof | URL)[];
9789
9880
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -9893,6 +9984,7 @@ export declare class Relationship extends Object {
9893
9984
  mediaType?: string | null;
9894
9985
  duration?: dntShim.Temporal.Duration | null;
9895
9986
  sensitive?: boolean | null;
9987
+ source?: Source | null;
9896
9988
  proof?: DataIntegrityProof | URL | null;
9897
9989
  proofs?: (DataIntegrityProof | URL)[];
9898
9990
  subject?: Object | URL | null;
@@ -9954,6 +10046,7 @@ export declare class Relationship extends Object {
9954
10046
  mediaType?: string | null;
9955
10047
  duration?: dntShim.Temporal.Duration | null;
9956
10048
  sensitive?: boolean | null;
10049
+ source?: Source | null;
9957
10050
  proof?: DataIntegrityProof | URL | null;
9958
10051
  proofs?: (DataIntegrityProof | URL)[];
9959
10052
  subject?: Object | URL | null;
@@ -10123,6 +10216,7 @@ export declare class Remove extends Activity {
10123
10216
  mediaType?: string | null;
10124
10217
  duration?: dntShim.Temporal.Duration | null;
10125
10218
  sensitive?: boolean | null;
10219
+ source?: Source | null;
10126
10220
  proof?: DataIntegrityProof | URL | null;
10127
10221
  proofs?: (DataIntegrityProof | URL)[];
10128
10222
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -10191,6 +10285,7 @@ export declare class Remove extends Activity {
10191
10285
  mediaType?: string | null;
10192
10286
  duration?: dntShim.Temporal.Duration | null;
10193
10287
  sensitive?: boolean | null;
10288
+ source?: Source | null;
10194
10289
  proof?: DataIntegrityProof | URL | null;
10195
10290
  proofs?: (DataIntegrityProof | URL)[];
10196
10291
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -10294,6 +10389,7 @@ export declare class Service extends Object {
10294
10389
  mediaType?: string | null;
10295
10390
  duration?: dntShim.Temporal.Duration | null;
10296
10391
  sensitive?: boolean | null;
10392
+ source?: Source | null;
10297
10393
  proof?: DataIntegrityProof | URL | null;
10298
10394
  proofs?: (DataIntegrityProof | URL)[];
10299
10395
  preferredUsername?: string | LanguageString | null;
@@ -10370,6 +10466,7 @@ export declare class Service extends Object {
10370
10466
  mediaType?: string | null;
10371
10467
  duration?: dntShim.Temporal.Duration | null;
10372
10468
  sensitive?: boolean | null;
10469
+ source?: Source | null;
10373
10470
  proof?: DataIntegrityProof | URL | null;
10374
10471
  proofs?: (DataIntegrityProof | URL)[];
10375
10472
  preferredUsername?: string | LanguageString | null;
@@ -10667,6 +10764,83 @@ export declare class Service extends Object {
10667
10764
  }): Promise<Service>;
10668
10765
  protected _getCustomInspectProxy(): Record<string, unknown>;
10669
10766
  }
10767
+ /** Contents of {@link Object}'s `source`.
10768
+ */
10769
+ export declare class Source {
10770
+ #private;
10771
+ readonly id: URL | null;
10772
+ protected get _documentLoader(): DocumentLoader | undefined;
10773
+ protected get _contextLoader(): DocumentLoader | undefined;
10774
+ /**
10775
+ * The type URI of {@link Source}: `https://www.w3.org/ns/activitystreams#Source`.
10776
+ */
10777
+ static get typeId(): URL;
10778
+ /**
10779
+ * Constructs a new instance of Source with the given values.
10780
+ * @param values The values to initialize the instance with.
10781
+ * @param options The options to use for initialization.
10782
+ */
10783
+ constructor(values: {
10784
+ id?: URL | null;
10785
+ content?: string | LanguageString | null;
10786
+ contents?: ((string | LanguageString))[];
10787
+ mediaType?: string | null;
10788
+ }, { documentLoader, contextLoader, }?: {
10789
+ documentLoader?: DocumentLoader;
10790
+ contextLoader?: DocumentLoader;
10791
+ });
10792
+ /**
10793
+ * Clones this instance, optionally updating it with the given values.
10794
+ * @param values The values to update the clone with.
10795
+ * @options The options to use for cloning.
10796
+ * @returns The cloned instance.
10797
+ */
10798
+ clone(values?: {
10799
+ id?: URL | null;
10800
+ content?: string | LanguageString | null;
10801
+ contents?: ((string | LanguageString))[];
10802
+ mediaType?: string | null;
10803
+ }, options?: {
10804
+ documentLoader?: DocumentLoader;
10805
+ contextLoader?: DocumentLoader;
10806
+ }): Source;
10807
+ /** The source content.
10808
+ */
10809
+ get content(): string | LanguageString | null;
10810
+ /** The source content.
10811
+ */
10812
+ get contents(): ((string | LanguageString))[];
10813
+ /** The MIME media type of the source content.
10814
+ */
10815
+ get mediaType(): string | null;
10816
+ /**
10817
+ * Converts this object to a JSON-LD structure.
10818
+ * @param options The options to use.
10819
+ * - `format`: The format of the output: `compact` or
10820
+ `expand`.
10821
+ * - `contextLoader`: The loader for remote JSON-LD contexts.
10822
+ * - `context`: The JSON-LD context to use. Not applicable
10823
+ when `format` is set to `'expand'`.
10824
+ * @returns The JSON-LD representation of this object.
10825
+ */
10826
+ toJsonLd(options?: {
10827
+ format?: "compact" | "expand";
10828
+ expand?: boolean;
10829
+ contextLoader?: DocumentLoader;
10830
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
10831
+ }): Promise<unknown>;
10832
+ /**
10833
+ * Converts a JSON-LD structure to an object of this type.
10834
+ * @param json The JSON-LD structure to convert.
10835
+ * @returns The object of this type.
10836
+ * @throws {TypeError} If the given `json` is invalid.
10837
+ */
10838
+ static fromJsonLd(json: unknown, options?: {
10839
+ documentLoader?: DocumentLoader;
10840
+ contextLoader?: DocumentLoader;
10841
+ }): Promise<Source>;
10842
+ protected _getCustomInspectProxy(): Record<string, unknown>;
10843
+ }
10670
10844
  /** A specialization of {@link Accept} indicating that
10671
10845
  * the acceptance is tentative.
10672
10846
  */
@@ -10725,6 +10899,7 @@ export declare class TentativeAccept extends Accept {
10725
10899
  mediaType?: string | null;
10726
10900
  duration?: dntShim.Temporal.Duration | null;
10727
10901
  sensitive?: boolean | null;
10902
+ source?: Source | null;
10728
10903
  proof?: DataIntegrityProof | URL | null;
10729
10904
  proofs?: (DataIntegrityProof | URL)[];
10730
10905
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -10793,6 +10968,7 @@ export declare class TentativeAccept extends Accept {
10793
10968
  mediaType?: string | null;
10794
10969
  duration?: dntShim.Temporal.Duration | null;
10795
10970
  sensitive?: boolean | null;
10971
+ source?: Source | null;
10796
10972
  proof?: DataIntegrityProof | URL | null;
10797
10973
  proofs?: (DataIntegrityProof | URL)[];
10798
10974
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -10897,6 +11073,7 @@ export declare class TentativeReject extends Reject {
10897
11073
  mediaType?: string | null;
10898
11074
  duration?: dntShim.Temporal.Duration | null;
10899
11075
  sensitive?: boolean | null;
11076
+ source?: Source | null;
10900
11077
  proof?: DataIntegrityProof | URL | null;
10901
11078
  proofs?: (DataIntegrityProof | URL)[];
10902
11079
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -10965,6 +11142,7 @@ export declare class TentativeReject extends Reject {
10965
11142
  mediaType?: string | null;
10966
11143
  duration?: dntShim.Temporal.Duration | null;
10967
11144
  sensitive?: boolean | null;
11145
+ source?: Source | null;
10968
11146
  proof?: DataIntegrityProof | URL | null;
10969
11147
  proofs?: (DataIntegrityProof | URL)[];
10970
11148
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -11070,6 +11248,7 @@ export declare class Tombstone extends Object {
11070
11248
  mediaType?: string | null;
11071
11249
  duration?: dntShim.Temporal.Duration | null;
11072
11250
  sensitive?: boolean | null;
11251
+ source?: Source | null;
11073
11252
  proof?: DataIntegrityProof | URL | null;
11074
11253
  proofs?: (DataIntegrityProof | URL)[];
11075
11254
  deleted?: dntShim.Temporal.Instant | null;
@@ -11127,6 +11306,7 @@ export declare class Tombstone extends Object {
11127
11306
  mediaType?: string | null;
11128
11307
  duration?: dntShim.Temporal.Duration | null;
11129
11308
  sensitive?: boolean | null;
11309
+ source?: Source | null;
11130
11310
  proof?: DataIntegrityProof | URL | null;
11131
11311
  proofs?: (DataIntegrityProof | URL)[];
11132
11312
  deleted?: dntShim.Temporal.Instant | null;
@@ -11226,6 +11406,7 @@ export declare class Travel extends IntransitiveActivity {
11226
11406
  mediaType?: string | null;
11227
11407
  duration?: dntShim.Temporal.Duration | null;
11228
11408
  sensitive?: boolean | null;
11409
+ source?: Source | null;
11229
11410
  proof?: DataIntegrityProof | URL | null;
11230
11411
  proofs?: (DataIntegrityProof | URL)[];
11231
11412
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -11294,6 +11475,7 @@ export declare class Travel extends IntransitiveActivity {
11294
11475
  mediaType?: string | null;
11295
11476
  duration?: dntShim.Temporal.Duration | null;
11296
11477
  sensitive?: boolean | null;
11478
+ source?: Source | null;
11297
11479
  proof?: DataIntegrityProof | URL | null;
11298
11480
  proofs?: (DataIntegrityProof | URL)[];
11299
11481
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -11403,6 +11585,7 @@ export declare class Undo extends Activity {
11403
11585
  mediaType?: string | null;
11404
11586
  duration?: dntShim.Temporal.Duration | null;
11405
11587
  sensitive?: boolean | null;
11588
+ source?: Source | null;
11406
11589
  proof?: DataIntegrityProof | URL | null;
11407
11590
  proofs?: (DataIntegrityProof | URL)[];
11408
11591
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -11471,6 +11654,7 @@ export declare class Undo extends Activity {
11471
11654
  mediaType?: string | null;
11472
11655
  duration?: dntShim.Temporal.Duration | null;
11473
11656
  sensitive?: boolean | null;
11657
+ source?: Source | null;
11474
11658
  proof?: DataIntegrityProof | URL | null;
11475
11659
  proofs?: (DataIntegrityProof | URL)[];
11476
11660
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -11578,6 +11762,7 @@ export declare class Update extends Activity {
11578
11762
  mediaType?: string | null;
11579
11763
  duration?: dntShim.Temporal.Duration | null;
11580
11764
  sensitive?: boolean | null;
11765
+ source?: Source | null;
11581
11766
  proof?: DataIntegrityProof | URL | null;
11582
11767
  proofs?: (DataIntegrityProof | URL)[];
11583
11768
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -11646,6 +11831,7 @@ export declare class Update extends Activity {
11646
11831
  mediaType?: string | null;
11647
11832
  duration?: dntShim.Temporal.Duration | null;
11648
11833
  sensitive?: boolean | null;
11834
+ source?: Source | null;
11649
11835
  proof?: DataIntegrityProof | URL | null;
11650
11836
  proofs?: (DataIntegrityProof | URL)[];
11651
11837
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -11749,6 +11935,7 @@ export declare class Video extends Document {
11749
11935
  mediaType?: string | null;
11750
11936
  duration?: dntShim.Temporal.Duration | null;
11751
11937
  sensitive?: boolean | null;
11938
+ source?: Source | null;
11752
11939
  proof?: DataIntegrityProof | URL | null;
11753
11940
  proofs?: (DataIntegrityProof | URL)[];
11754
11941
  width?: number | null;
@@ -11807,6 +11994,7 @@ export declare class Video extends Document {
11807
11994
  mediaType?: string | null;
11808
11995
  duration?: dntShim.Temporal.Duration | null;
11809
11996
  sensitive?: boolean | null;
11997
+ source?: Source | null;
11810
11998
  proof?: DataIntegrityProof | URL | null;
11811
11999
  proofs?: (DataIntegrityProof | URL)[];
11812
12000
  width?: number | null;
@@ -11900,6 +12088,7 @@ export declare class View extends Activity {
11900
12088
  mediaType?: string | null;
11901
12089
  duration?: dntShim.Temporal.Duration | null;
11902
12090
  sensitive?: boolean | null;
12091
+ source?: Source | null;
11903
12092
  proof?: DataIntegrityProof | URL | null;
11904
12093
  proofs?: (DataIntegrityProof | URL)[];
11905
12094
  actor?: Application | Group | Organization | Person | Service | URL | null;
@@ -11968,6 +12157,7 @@ export declare class View extends Activity {
11968
12157
  mediaType?: string | null;
11969
12158
  duration?: dntShim.Temporal.Duration | null;
11970
12159
  sensitive?: boolean | null;
12160
+ source?: Source | null;
11971
12161
  proof?: DataIntegrityProof | URL | null;
11972
12162
  proofs?: (DataIntegrityProof | URL)[];
11973
12163
  actor?: Application | Group | Organization | Person | Service | URL | null;