@fedify/vocab 2.5.0-dev.2332 → 2.5.0-dev.2355

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 (38) hide show
  1. package/deno.json +1 -1
  2. package/dist/mod.cjs +851 -2
  3. package/dist/mod.d.cts +227 -0
  4. package/dist/mod.d.ts +227 -0
  5. package/dist/mod.js +851 -2
  6. package/dist-tests/{actor-DpNkhFU9.mjs → actor-BbIjMjNa.mjs} +2 -2
  7. package/dist-tests/actor.test.mjs +3 -3
  8. package/dist-tests/application.yaml +15 -0
  9. package/dist-tests/{esm-Cncdk-Cm.mjs → esm-rg6f9oLR.mjs} +1 -1
  10. package/dist-tests/gateway.test.mjs +3 -3
  11. package/dist-tests/group.yaml +15 -0
  12. package/dist-tests/license.test.mjs +538 -0
  13. package/dist-tests/link.yaml +25 -0
  14. package/dist-tests/{lookup-CIDHxy5l.mjs → lookup-DKLMyPMJ.mjs} +2 -2
  15. package/dist-tests/lookup.test.mjs +3 -3
  16. package/dist-tests/object.yaml +30 -0
  17. package/dist-tests/organization.yaml +15 -0
  18. package/dist-tests/person.yaml +15 -0
  19. package/dist-tests/portable-lookup.test.mjs +4 -4
  20. package/dist-tests/service.yaml +15 -0
  21. package/dist-tests/signed-representation.test.mjs +1 -1
  22. package/dist-tests/src-DVk5F9Ik.mjs +9 -0
  23. package/dist-tests/translation.test.mjs +3 -6
  24. package/dist-tests/type.test.mjs +1 -1
  25. package/dist-tests/{vocab-EFWWufqL.mjs → vocab-Cg2PG-xH.mjs} +851 -2
  26. package/dist-tests/vocab.test.mjs +9 -3
  27. package/package.json +4 -4
  28. package/src/__snapshots__/vocab.test.ts.snap +480 -33
  29. package/src/application.yaml +15 -0
  30. package/src/group.yaml +15 -0
  31. package/src/license.test.ts +588 -0
  32. package/src/link.yaml +25 -0
  33. package/src/object.yaml +30 -0
  34. package/src/organization.yaml +15 -0
  35. package/src/person.yaml +15 -0
  36. package/src/service.yaml +15 -0
  37. package/src/vocab.test.ts +18 -6
  38. package/LICENSE +0 -20
package/dist/mod.d.cts CHANGED
@@ -92,6 +92,7 @@ declare class Object$1 {
92
92
  replyAuthorization?: ReplyAuthorization | URL | null;
93
93
  announceAuthorization?: AnnounceAuthorization | URL | null;
94
94
  translations?: (Translation)[];
95
+ licenses?: (URL)[];
95
96
  }, options?: {
96
97
  documentLoader?: DocumentLoader$1;
97
98
  contextLoader?: DocumentLoader$1;
@@ -168,6 +169,7 @@ declare class Object$1 {
168
169
  replyAuthorization?: ReplyAuthorization | URL | null;
169
170
  announceAuthorization?: AnnounceAuthorization | URL | null;
170
171
  translations?: (Translation)[];
172
+ licenses?: (URL)[];
171
173
  }, options?: {
172
174
  documentLoader?: DocumentLoader$1;
173
175
  contextLoader?: DocumentLoader$1;
@@ -1381,6 +1383,25 @@ declare class Object$1 {
1381
1383
  * no authority to update the object.
1382
1384
  */
1383
1385
  get translations(): (Translation)[];
1386
+ /** The copyright licenses for this object, as defined by
1387
+ * [FEP-6757](https://w3id.org/fep/6757). Each license is identified by its
1388
+ * URI, such as <https://creativecommons.org/licenses/by/4.0/>; license names
1389
+ * and SPDX short identifiers are not license URIs. Multiple values are
1390
+ * alternatives that a consumer may choose from; their order has no meaning.
1391
+ *
1392
+ * An empty list means the object carries no license metadata. Fedify does
1393
+ * not synthesize a default license for it; FEP-6757 suggests that consumers
1394
+ * treat such content as “all rights reserved,” but that is a consumer policy,
1395
+ * not a value of this property. A license on an actor, activity, or
1396
+ * collection covers that object itself, not the objects the actor authored,
1397
+ * the activity's object, or the collection's items. An actor's
1398
+ * `preferredLicense` is not a fallback for this property either.
1399
+ *
1400
+ * The `https://schema.org/license` and
1401
+ * `http://creativecommons.org/ns#license` properties are read as synonyms
1402
+ * when this property is absent, but only this property is written.
1403
+ */
1404
+ get licenses(): (URL)[];
1384
1405
  /**
1385
1406
  * Converts this object to a JSON-LD structure.
1386
1407
  * @param options The options to use.
@@ -1496,6 +1517,7 @@ declare class Emoji extends Object$1 {
1496
1517
  replyAuthorization?: ReplyAuthorization | URL | null;
1497
1518
  announceAuthorization?: AnnounceAuthorization | URL | null;
1498
1519
  translations?: (Translation)[];
1520
+ licenses?: (URL)[];
1499
1521
  }, options?: {
1500
1522
  documentLoader?: DocumentLoader$1;
1501
1523
  contextLoader?: DocumentLoader$1;
@@ -1572,6 +1594,7 @@ declare class Emoji extends Object$1 {
1572
1594
  replyAuthorization?: ReplyAuthorization | URL | null;
1573
1595
  announceAuthorization?: AnnounceAuthorization | URL | null;
1574
1596
  translations?: (Translation)[];
1597
+ licenses?: (URL)[];
1575
1598
  }, options?: {
1576
1599
  documentLoader?: DocumentLoader$1;
1577
1600
  contextLoader?: DocumentLoader$1;
@@ -1697,6 +1720,7 @@ declare class ChatMessage extends Object$1 {
1697
1720
  replyAuthorization?: ReplyAuthorization | URL | null;
1698
1721
  announceAuthorization?: AnnounceAuthorization | URL | null;
1699
1722
  translations?: (Translation)[];
1723
+ licenses?: (URL)[];
1700
1724
  quote?: Object$1 | URL | null;
1701
1725
  quoteUrl?: URL | null;
1702
1726
  quoteAuthorization?: QuoteAuthorization | URL | null;
@@ -1776,6 +1800,7 @@ declare class ChatMessage extends Object$1 {
1776
1800
  replyAuthorization?: ReplyAuthorization | URL | null;
1777
1801
  announceAuthorization?: AnnounceAuthorization | URL | null;
1778
1802
  translations?: (Translation)[];
1803
+ licenses?: (URL)[];
1779
1804
  quote?: Object$1 | URL | null;
1780
1805
  quoteUrl?: URL | null;
1781
1806
  quoteAuthorization?: QuoteAuthorization | URL | null;
@@ -1979,6 +2004,7 @@ declare class Activity extends Object$1 {
1979
2004
  replyAuthorization?: ReplyAuthorization | URL | null;
1980
2005
  announceAuthorization?: AnnounceAuthorization | URL | null;
1981
2006
  translations?: (Translation)[];
2007
+ licenses?: (URL)[];
1982
2008
  actor?: Application | Group | Organization | Person | Service | URL | null;
1983
2009
  actors?: (Application | Group | Organization | Person | Service | URL)[];
1984
2010
  object?: Object$1 | URL | null;
@@ -2067,6 +2093,7 @@ declare class Activity extends Object$1 {
2067
2093
  replyAuthorization?: ReplyAuthorization | URL | null;
2068
2094
  announceAuthorization?: AnnounceAuthorization | URL | null;
2069
2095
  translations?: (Translation)[];
2096
+ licenses?: (URL)[];
2070
2097
  actor?: Application | Group | Organization | Person | Service | URL | null;
2071
2098
  actors?: (Application | Group | Organization | Person | Service | URL)[];
2072
2099
  object?: Object$1 | URL | null;
@@ -2589,6 +2616,7 @@ declare class EmojiReact extends Activity {
2589
2616
  replyAuthorization?: ReplyAuthorization | URL | null;
2590
2617
  announceAuthorization?: AnnounceAuthorization | URL | null;
2591
2618
  translations?: (Translation)[];
2619
+ licenses?: (URL)[];
2592
2620
  actor?: Application | Group | Organization | Person | Service | URL | null;
2593
2621
  actors?: (Application | Group | Organization | Person | Service | URL)[];
2594
2622
  object?: Object$1 | URL | null;
@@ -2677,6 +2705,7 @@ declare class EmojiReact extends Activity {
2677
2705
  replyAuthorization?: ReplyAuthorization | URL | null;
2678
2706
  announceAuthorization?: AnnounceAuthorization | URL | null;
2679
2707
  translations?: (Translation)[];
2708
+ licenses?: (URL)[];
2680
2709
  actor?: Application | Group | Organization | Person | Service | URL | null;
2681
2710
  actors?: (Application | Group | Organization | Person | Service | URL)[];
2682
2711
  object?: Object$1 | URL | null;
@@ -3050,6 +3079,7 @@ declare class AnnounceAuthorization extends Object$1 {
3050
3079
  replyAuthorization?: ReplyAuthorization | URL | null;
3051
3080
  announceAuthorization?: AnnounceAuthorization | URL | null;
3052
3081
  translations?: (Translation)[];
3082
+ licenses?: (URL)[];
3053
3083
  interactingObject?: Object$1 | URL | null;
3054
3084
  interactionTarget?: Object$1 | URL | null;
3055
3085
  }, options?: {
@@ -3128,6 +3158,7 @@ declare class AnnounceAuthorization extends Object$1 {
3128
3158
  replyAuthorization?: ReplyAuthorization | URL | null;
3129
3159
  announceAuthorization?: AnnounceAuthorization | URL | null;
3130
3160
  translations?: (Translation)[];
3161
+ licenses?: (URL)[];
3131
3162
  interactingObject?: Object$1 | URL | null;
3132
3163
  interactionTarget?: Object$1 | URL | null;
3133
3164
  }, options?: {
@@ -3321,6 +3352,7 @@ declare class AnnounceRequest extends Activity {
3321
3352
  replyAuthorization?: ReplyAuthorization | URL | null;
3322
3353
  announceAuthorization?: AnnounceAuthorization | URL | null;
3323
3354
  translations?: (Translation)[];
3355
+ licenses?: (URL)[];
3324
3356
  actor?: Application | Group | Organization | Person | Service | URL | null;
3325
3357
  actors?: (Application | Group | Organization | Person | Service | URL)[];
3326
3358
  object?: Object$1 | URL | null;
@@ -3409,6 +3441,7 @@ declare class AnnounceRequest extends Activity {
3409
3441
  replyAuthorization?: ReplyAuthorization | URL | null;
3410
3442
  announceAuthorization?: AnnounceAuthorization | URL | null;
3411
3443
  translations?: (Translation)[];
3444
+ licenses?: (URL)[];
3412
3445
  actor?: Application | Group | Organization | Person | Service | URL | null;
3413
3446
  actors?: (Application | Group | Organization | Person | Service | URL)[];
3414
3447
  object?: Object$1 | URL | null;
@@ -3848,6 +3881,7 @@ declare class LikeAuthorization extends Object$1 {
3848
3881
  replyAuthorization?: ReplyAuthorization | URL | null;
3849
3882
  announceAuthorization?: AnnounceAuthorization | URL | null;
3850
3883
  translations?: (Translation)[];
3884
+ licenses?: (URL)[];
3851
3885
  interactingObject?: Object$1 | URL | null;
3852
3886
  interactionTarget?: Object$1 | URL | null;
3853
3887
  }, options?: {
@@ -3926,6 +3960,7 @@ declare class LikeAuthorization extends Object$1 {
3926
3960
  replyAuthorization?: ReplyAuthorization | URL | null;
3927
3961
  announceAuthorization?: AnnounceAuthorization | URL | null;
3928
3962
  translations?: (Translation)[];
3963
+ licenses?: (URL)[];
3929
3964
  interactingObject?: Object$1 | URL | null;
3930
3965
  interactionTarget?: Object$1 | URL | null;
3931
3966
  }, options?: {
@@ -4118,6 +4153,7 @@ declare class LikeRequest extends Activity {
4118
4153
  replyAuthorization?: ReplyAuthorization | URL | null;
4119
4154
  announceAuthorization?: AnnounceAuthorization | URL | null;
4120
4155
  translations?: (Translation)[];
4156
+ licenses?: (URL)[];
4121
4157
  actor?: Application | Group | Organization | Person | Service | URL | null;
4122
4158
  actors?: (Application | Group | Organization | Person | Service | URL)[];
4123
4159
  object?: Object$1 | URL | null;
@@ -4206,6 +4242,7 @@ declare class LikeRequest extends Activity {
4206
4242
  replyAuthorization?: ReplyAuthorization | URL | null;
4207
4243
  announceAuthorization?: AnnounceAuthorization | URL | null;
4208
4244
  translations?: (Translation)[];
4245
+ licenses?: (URL)[];
4209
4246
  actor?: Application | Group | Organization | Person | Service | URL | null;
4210
4247
  actors?: (Application | Group | Organization | Person | Service | URL)[];
4211
4248
  object?: Object$1 | URL | null;
@@ -4346,6 +4383,7 @@ declare class ReplyAuthorization extends Object$1 {
4346
4383
  replyAuthorization?: ReplyAuthorization | URL | null;
4347
4384
  announceAuthorization?: AnnounceAuthorization | URL | null;
4348
4385
  translations?: (Translation)[];
4386
+ licenses?: (URL)[];
4349
4387
  interactingObject?: Object$1 | URL | null;
4350
4388
  interactionTarget?: Object$1 | URL | null;
4351
4389
  }, options?: {
@@ -4424,6 +4462,7 @@ declare class ReplyAuthorization extends Object$1 {
4424
4462
  replyAuthorization?: ReplyAuthorization | URL | null;
4425
4463
  announceAuthorization?: AnnounceAuthorization | URL | null;
4426
4464
  translations?: (Translation)[];
4465
+ licenses?: (URL)[];
4427
4466
  interactingObject?: Object$1 | URL | null;
4428
4467
  interactionTarget?: Object$1 | URL | null;
4429
4468
  }, options?: {
@@ -4616,6 +4655,7 @@ declare class ReplyRequest extends Activity {
4616
4655
  replyAuthorization?: ReplyAuthorization | URL | null;
4617
4656
  announceAuthorization?: AnnounceAuthorization | URL | null;
4618
4657
  translations?: (Translation)[];
4658
+ licenses?: (URL)[];
4619
4659
  actor?: Application | Group | Organization | Person | Service | URL | null;
4620
4660
  actors?: (Application | Group | Organization | Person | Service | URL)[];
4621
4661
  object?: Object$1 | URL | null;
@@ -4704,6 +4744,7 @@ declare class ReplyRequest extends Activity {
4704
4744
  replyAuthorization?: ReplyAuthorization | URL | null;
4705
4745
  announceAuthorization?: AnnounceAuthorization | URL | null;
4706
4746
  translations?: (Translation)[];
4747
+ licenses?: (URL)[];
4707
4748
  actor?: Application | Group | Organization | Person | Service | URL | null;
4708
4749
  actors?: (Application | Group | Organization | Person | Service | URL)[];
4709
4750
  object?: Object$1 | URL | null;
@@ -4844,6 +4885,7 @@ declare class QuoteAuthorization extends Object$1 {
4844
4885
  replyAuthorization?: ReplyAuthorization | URL | null;
4845
4886
  announceAuthorization?: AnnounceAuthorization | URL | null;
4846
4887
  translations?: (Translation)[];
4888
+ licenses?: (URL)[];
4847
4889
  interactingObject?: Object$1 | URL | null;
4848
4890
  interactionTarget?: Object$1 | URL | null;
4849
4891
  }, options?: {
@@ -4922,6 +4964,7 @@ declare class QuoteAuthorization extends Object$1 {
4922
4964
  replyAuthorization?: ReplyAuthorization | URL | null;
4923
4965
  announceAuthorization?: AnnounceAuthorization | URL | null;
4924
4966
  translations?: (Translation)[];
4967
+ licenses?: (URL)[];
4925
4968
  interactingObject?: Object$1 | URL | null;
4926
4969
  interactionTarget?: Object$1 | URL | null;
4927
4970
  }, options?: {
@@ -5113,6 +5156,7 @@ declare class QuoteRequest extends Activity {
5113
5156
  replyAuthorization?: ReplyAuthorization | URL | null;
5114
5157
  announceAuthorization?: AnnounceAuthorization | URL | null;
5115
5158
  translations?: (Translation)[];
5159
+ licenses?: (URL)[];
5116
5160
  actor?: Application | Group | Organization | Person | Service | URL | null;
5117
5161
  actors?: (Application | Group | Organization | Person | Service | URL)[];
5118
5162
  object?: Object$1 | URL | null;
@@ -5201,6 +5245,7 @@ declare class QuoteRequest extends Activity {
5201
5245
  replyAuthorization?: ReplyAuthorization | URL | null;
5202
5246
  announceAuthorization?: AnnounceAuthorization | URL | null;
5203
5247
  translations?: (Translation)[];
5248
+ licenses?: (URL)[];
5204
5249
  actor?: Application | Group | Organization | Person | Service | URL | null;
5205
5250
  actors?: (Application | Group | Organization | Person | Service | URL)[];
5206
5251
  object?: Object$1 | URL | null;
@@ -5560,6 +5605,7 @@ declare class FeatureAuthorization extends Object$1 {
5560
5605
  replyAuthorization?: ReplyAuthorization | URL | null;
5561
5606
  announceAuthorization?: AnnounceAuthorization | URL | null;
5562
5607
  translations?: (Translation)[];
5608
+ licenses?: (URL)[];
5563
5609
  interactingObject?: Object$1 | URL | null;
5564
5610
  interactionTarget?: Object$1 | URL | null;
5565
5611
  }, options?: {
@@ -5638,6 +5684,7 @@ declare class FeatureAuthorization extends Object$1 {
5638
5684
  replyAuthorization?: ReplyAuthorization | URL | null;
5639
5685
  announceAuthorization?: AnnounceAuthorization | URL | null;
5640
5686
  translations?: (Translation)[];
5687
+ licenses?: (URL)[];
5641
5688
  interactingObject?: Object$1 | URL | null;
5642
5689
  interactionTarget?: Object$1 | URL | null;
5643
5690
  }, options?: {
@@ -5826,6 +5873,7 @@ declare class FeatureRequest extends Activity {
5826
5873
  replyAuthorization?: ReplyAuthorization | URL | null;
5827
5874
  announceAuthorization?: AnnounceAuthorization | URL | null;
5828
5875
  translations?: (Translation)[];
5876
+ licenses?: (URL)[];
5829
5877
  actor?: Application | Group | Organization | Person | Service | URL | null;
5830
5878
  actors?: (Application | Group | Organization | Person | Service | URL)[];
5831
5879
  object?: Object$1 | URL | null;
@@ -5914,6 +5962,7 @@ declare class FeatureRequest extends Activity {
5914
5962
  replyAuthorization?: ReplyAuthorization | URL | null;
5915
5963
  announceAuthorization?: AnnounceAuthorization | URL | null;
5916
5964
  translations?: (Translation)[];
5965
+ licenses?: (URL)[];
5917
5966
  actor?: Application | Group | Organization | Person | Service | URL | null;
5918
5967
  actors?: (Application | Group | Organization | Person | Service | URL)[];
5919
5968
  object?: Object$1 | URL | null;
@@ -6051,6 +6100,7 @@ declare class Collection extends Object$1 {
6051
6100
  replyAuthorization?: ReplyAuthorization | URL | null;
6052
6101
  announceAuthorization?: AnnounceAuthorization | URL | null;
6053
6102
  translations?: (Translation)[];
6103
+ licenses?: (URL)[];
6054
6104
  totalItems?: number | null;
6055
6105
  current?: CollectionPage | URL | null;
6056
6106
  first?: CollectionPage | URL | null;
@@ -6140,6 +6190,7 @@ declare class Collection extends Object$1 {
6140
6190
  replyAuthorization?: ReplyAuthorization | URL | null;
6141
6191
  announceAuthorization?: AnnounceAuthorization | URL | null;
6142
6192
  translations?: (Translation)[];
6193
+ licenses?: (URL)[];
6143
6194
  totalItems?: number | null;
6144
6195
  current?: CollectionPage | URL | null;
6145
6196
  first?: CollectionPage | URL | null;
@@ -6644,6 +6695,7 @@ declare class OrderedCollection extends Collection {
6644
6695
  replyAuthorization?: ReplyAuthorization | URL | null;
6645
6696
  announceAuthorization?: AnnounceAuthorization | URL | null;
6646
6697
  translations?: (Translation)[];
6698
+ licenses?: (URL)[];
6647
6699
  totalItems?: number | null;
6648
6700
  current?: CollectionPage | URL | null;
6649
6701
  first?: CollectionPage | URL | null;
@@ -6733,6 +6785,7 @@ declare class OrderedCollection extends Collection {
6733
6785
  replyAuthorization?: ReplyAuthorization | URL | null;
6734
6786
  announceAuthorization?: AnnounceAuthorization | URL | null;
6735
6787
  translations?: (Translation)[];
6788
+ licenses?: (URL)[];
6736
6789
  totalItems?: number | null;
6737
6790
  current?: CollectionPage | URL | null;
6738
6791
  first?: CollectionPage | URL | null;
@@ -6900,6 +6953,7 @@ declare class FeaturedCollection extends OrderedCollection {
6900
6953
  replyAuthorization?: ReplyAuthorization | URL | null;
6901
6954
  announceAuthorization?: AnnounceAuthorization | URL | null;
6902
6955
  translations?: (Translation)[];
6956
+ licenses?: (URL)[];
6903
6957
  totalItems?: number | null;
6904
6958
  current?: CollectionPage | URL | null;
6905
6959
  first?: CollectionPage | URL | null;
@@ -6991,6 +7045,7 @@ declare class FeaturedCollection extends OrderedCollection {
6991
7045
  replyAuthorization?: ReplyAuthorization | URL | null;
6992
7046
  announceAuthorization?: AnnounceAuthorization | URL | null;
6993
7047
  translations?: (Translation)[];
7048
+ licenses?: (URL)[];
6994
7049
  totalItems?: number | null;
6995
7050
  current?: CollectionPage | URL | null;
6996
7051
  first?: CollectionPage | URL | null;
@@ -7138,6 +7193,7 @@ declare class FeaturedItem extends Object$1 {
7138
7193
  replyAuthorization?: ReplyAuthorization | URL | null;
7139
7194
  announceAuthorization?: AnnounceAuthorization | URL | null;
7140
7195
  translations?: (Translation)[];
7196
+ licenses?: (URL)[];
7141
7197
  featuredObject?: Object$1 | URL | null;
7142
7198
  featureAuthorization?: FeatureAuthorization | URL | null;
7143
7199
  }, options?: {
@@ -7216,6 +7272,7 @@ declare class FeaturedItem extends Object$1 {
7216
7272
  replyAuthorization?: ReplyAuthorization | URL | null;
7217
7273
  announceAuthorization?: AnnounceAuthorization | URL | null;
7218
7274
  translations?: (Translation)[];
7275
+ licenses?: (URL)[];
7219
7276
  featuredObject?: Object$1 | URL | null;
7220
7277
  featureAuthorization?: FeatureAuthorization | URL | null;
7221
7278
  }, options?: {
@@ -8080,6 +8137,7 @@ declare class Agreement extends Object$1 {
8080
8137
  replyAuthorization?: ReplyAuthorization | URL | null;
8081
8138
  announceAuthorization?: AnnounceAuthorization | URL | null;
8082
8139
  translations?: (Translation)[];
8140
+ licenses?: (URL)[];
8083
8141
  stipulates?: Commitment | null;
8084
8142
  stipulatesReciprocal?: Commitment | null;
8085
8143
  }, options?: {
@@ -8158,6 +8216,7 @@ declare class Agreement extends Object$1 {
8158
8216
  replyAuthorization?: ReplyAuthorization | URL | null;
8159
8217
  announceAuthorization?: AnnounceAuthorization | URL | null;
8160
8218
  translations?: (Translation)[];
8219
+ licenses?: (URL)[];
8161
8220
  stipulates?: Commitment | null;
8162
8221
  stipulatesReciprocal?: Commitment | null;
8163
8222
  }, options?: {
@@ -8558,6 +8617,7 @@ declare class Proposal extends Object$1 {
8558
8617
  replyAuthorization?: ReplyAuthorization | URL | null;
8559
8618
  announceAuthorization?: AnnounceAuthorization | URL | null;
8560
8619
  translations?: (Translation)[];
8620
+ licenses?: (URL)[];
8561
8621
  purpose?: string | null;
8562
8622
  publishes?: Intent | null;
8563
8623
  reciprocal?: Intent | null;
@@ -8638,6 +8698,7 @@ declare class Proposal extends Object$1 {
8638
8698
  replyAuthorization?: ReplyAuthorization | URL | null;
8639
8699
  announceAuthorization?: AnnounceAuthorization | URL | null;
8640
8700
  translations?: (Translation)[];
8701
+ licenses?: (URL)[];
8641
8702
  purpose?: string | null;
8642
8703
  publishes?: Intent | null;
8643
8704
  reciprocal?: Intent | null;
@@ -8779,6 +8840,7 @@ declare class Accept extends Activity {
8779
8840
  replyAuthorization?: ReplyAuthorization | URL | null;
8780
8841
  announceAuthorization?: AnnounceAuthorization | URL | null;
8781
8842
  translations?: (Translation)[];
8843
+ licenses?: (URL)[];
8782
8844
  actor?: Application | Group | Organization | Person | Service | URL | null;
8783
8845
  actors?: (Application | Group | Organization | Person | Service | URL)[];
8784
8846
  object?: Object$1 | URL | null;
@@ -8867,6 +8929,7 @@ declare class Accept extends Activity {
8867
8929
  replyAuthorization?: ReplyAuthorization | URL | null;
8868
8930
  announceAuthorization?: AnnounceAuthorization | URL | null;
8869
8931
  translations?: (Translation)[];
8932
+ licenses?: (URL)[];
8870
8933
  actor?: Application | Group | Organization | Person | Service | URL | null;
8871
8934
  actors?: (Application | Group | Organization | Person | Service | URL)[];
8872
8935
  object?: Object$1 | URL | null;
@@ -9002,6 +9065,7 @@ declare class Add extends Activity {
9002
9065
  replyAuthorization?: ReplyAuthorization | URL | null;
9003
9066
  announceAuthorization?: AnnounceAuthorization | URL | null;
9004
9067
  translations?: (Translation)[];
9068
+ licenses?: (URL)[];
9005
9069
  actor?: Application | Group | Organization | Person | Service | URL | null;
9006
9070
  actors?: (Application | Group | Organization | Person | Service | URL)[];
9007
9071
  object?: Object$1 | URL | null;
@@ -9090,6 +9154,7 @@ declare class Add extends Activity {
9090
9154
  replyAuthorization?: ReplyAuthorization | URL | null;
9091
9155
  announceAuthorization?: AnnounceAuthorization | URL | null;
9092
9156
  translations?: (Translation)[];
9157
+ licenses?: (URL)[];
9093
9158
  actor?: Application | Group | Organization | Person | Service | URL | null;
9094
9159
  actors?: (Application | Group | Organization | Person | Service | URL)[];
9095
9160
  object?: Object$1 | URL | null;
@@ -9224,6 +9289,7 @@ declare class Announce extends Activity {
9224
9289
  replyAuthorization?: ReplyAuthorization | URL | null;
9225
9290
  announceAuthorization?: AnnounceAuthorization | URL | null;
9226
9291
  translations?: (Translation)[];
9292
+ licenses?: (URL)[];
9227
9293
  actor?: Application | Group | Organization | Person | Service | URL | null;
9228
9294
  actors?: (Application | Group | Organization | Person | Service | URL)[];
9229
9295
  object?: Object$1 | URL | null;
@@ -9312,6 +9378,7 @@ declare class Announce extends Activity {
9312
9378
  replyAuthorization?: ReplyAuthorization | URL | null;
9313
9379
  announceAuthorization?: AnnounceAuthorization | URL | null;
9314
9380
  translations?: (Translation)[];
9381
+ licenses?: (URL)[];
9315
9382
  actor?: Application | Group | Organization | Person | Service | URL | null;
9316
9383
  actors?: (Application | Group | Organization | Person | Service | URL)[];
9317
9384
  object?: Object$1 | URL | null;
@@ -9445,6 +9512,7 @@ declare class Application extends Object$1 {
9445
9512
  replyAuthorization?: ReplyAuthorization | URL | null;
9446
9513
  announceAuthorization?: AnnounceAuthorization | URL | null;
9447
9514
  translations?: (Translation)[];
9515
+ licenses?: (URL)[];
9448
9516
  preferredUsername?: string | LanguageString$1 | null;
9449
9517
  preferredUsernames?: ((string | LanguageString$1))[];
9450
9518
  publicKey?: CryptographicKey | URL | null;
@@ -9475,6 +9543,7 @@ declare class Application extends Object$1 {
9475
9543
  services?: (DidService | URL)[];
9476
9544
  followedMessage?: string | null;
9477
9545
  cat?: boolean | null;
9546
+ preferredLicense?: URL | null;
9478
9547
  }, options?: {
9479
9548
  documentLoader?: DocumentLoader$1;
9480
9549
  contextLoader?: DocumentLoader$1;
@@ -9551,6 +9620,7 @@ declare class Application extends Object$1 {
9551
9620
  replyAuthorization?: ReplyAuthorization | URL | null;
9552
9621
  announceAuthorization?: AnnounceAuthorization | URL | null;
9553
9622
  translations?: (Translation)[];
9623
+ licenses?: (URL)[];
9554
9624
  preferredUsername?: string | LanguageString$1 | null;
9555
9625
  preferredUsernames?: ((string | LanguageString$1))[];
9556
9626
  publicKey?: CryptographicKey | URL | null;
@@ -9581,6 +9651,7 @@ declare class Application extends Object$1 {
9581
9651
  services?: (DidService | URL)[];
9582
9652
  followedMessage?: string | null;
9583
9653
  cat?: boolean | null;
9654
+ preferredLicense?: URL | null;
9584
9655
  }, options?: {
9585
9656
  documentLoader?: DocumentLoader$1;
9586
9657
  contextLoader?: DocumentLoader$1;
@@ -10246,6 +10317,14 @@ declare class Application extends Object$1 {
10246
10317
  * attached in some clients.
10247
10318
  */
10248
10319
  get cat(): boolean | null;
10320
+ /** The URI of the license this actor prefers for the new objects it creates,
10321
+ * as defined by [FEP-6757](https://w3id.org/fep/6757). A client can use it
10322
+ * as the default `license` of a new object and let the user choose another.
10323
+ *
10324
+ * This is not a fallback license: an object without its own `license` is not
10325
+ * licensed under its author's preferred license.
10326
+ */
10327
+ get preferredLicense(): URL | null;
10249
10328
  /**
10250
10329
  * Converts this object to a JSON-LD structure.
10251
10330
  * @param options The options to use.
@@ -10363,6 +10442,7 @@ declare class IntransitiveActivity extends Activity {
10363
10442
  replyAuthorization?: ReplyAuthorization | URL | null;
10364
10443
  announceAuthorization?: AnnounceAuthorization | URL | null;
10365
10444
  translations?: (Translation)[];
10445
+ licenses?: (URL)[];
10366
10446
  actor?: Application | Group | Organization | Person | Service | URL | null;
10367
10447
  actors?: (Application | Group | Organization | Person | Service | URL)[];
10368
10448
  object?: Object$1 | URL | null;
@@ -10451,6 +10531,7 @@ declare class IntransitiveActivity extends Activity {
10451
10531
  replyAuthorization?: ReplyAuthorization | URL | null;
10452
10532
  announceAuthorization?: AnnounceAuthorization | URL | null;
10453
10533
  translations?: (Translation)[];
10534
+ licenses?: (URL)[];
10454
10535
  actor?: Application | Group | Organization | Person | Service | URL | null;
10455
10536
  actors?: (Application | Group | Organization | Person | Service | URL)[];
10456
10537
  object?: Object$1 | URL | null;
@@ -10585,6 +10666,7 @@ declare class Arrive extends IntransitiveActivity {
10585
10666
  replyAuthorization?: ReplyAuthorization | URL | null;
10586
10667
  announceAuthorization?: AnnounceAuthorization | URL | null;
10587
10668
  translations?: (Translation)[];
10669
+ licenses?: (URL)[];
10588
10670
  actor?: Application | Group | Organization | Person | Service | URL | null;
10589
10671
  actors?: (Application | Group | Organization | Person | Service | URL)[];
10590
10672
  object?: Object$1 | URL | null;
@@ -10673,6 +10755,7 @@ declare class Arrive extends IntransitiveActivity {
10673
10755
  replyAuthorization?: ReplyAuthorization | URL | null;
10674
10756
  announceAuthorization?: AnnounceAuthorization | URL | null;
10675
10757
  translations?: (Translation)[];
10758
+ licenses?: (URL)[];
10676
10759
  actor?: Application | Group | Organization | Person | Service | URL | null;
10677
10760
  actors?: (Application | Group | Organization | Person | Service | URL)[];
10678
10761
  object?: Object$1 | URL | null;
@@ -10806,6 +10889,7 @@ declare class Article extends Object$1 {
10806
10889
  replyAuthorization?: ReplyAuthorization | URL | null;
10807
10890
  announceAuthorization?: AnnounceAuthorization | URL | null;
10808
10891
  translations?: (Translation)[];
10892
+ licenses?: (URL)[];
10809
10893
  quote?: Object$1 | URL | null;
10810
10894
  quoteUrl?: URL | null;
10811
10895
  quoteAuthorization?: QuoteAuthorization | URL | null;
@@ -10885,6 +10969,7 @@ declare class Article extends Object$1 {
10885
10969
  replyAuthorization?: ReplyAuthorization | URL | null;
10886
10970
  announceAuthorization?: AnnounceAuthorization | URL | null;
10887
10971
  translations?: (Translation)[];
10972
+ licenses?: (URL)[];
10888
10973
  quote?: Object$1 | URL | null;
10889
10974
  quoteUrl?: URL | null;
10890
10975
  quoteAuthorization?: QuoteAuthorization | URL | null;
@@ -11084,6 +11169,7 @@ declare class Document extends Object$1 {
11084
11169
  replyAuthorization?: ReplyAuthorization | URL | null;
11085
11170
  announceAuthorization?: AnnounceAuthorization | URL | null;
11086
11171
  translations?: (Translation)[];
11172
+ licenses?: (URL)[];
11087
11173
  width?: number | null;
11088
11174
  height?: number | null;
11089
11175
  digestMultibase?: string | null;
@@ -11163,6 +11249,7 @@ declare class Document extends Object$1 {
11163
11249
  replyAuthorization?: ReplyAuthorization | URL | null;
11164
11250
  announceAuthorization?: AnnounceAuthorization | URL | null;
11165
11251
  translations?: (Translation)[];
11252
+ licenses?: (URL)[];
11166
11253
  width?: number | null;
11167
11254
  height?: number | null;
11168
11255
  digestMultibase?: string | null;
@@ -11300,6 +11387,7 @@ declare class Audio extends Document {
11300
11387
  replyAuthorization?: ReplyAuthorization | URL | null;
11301
11388
  announceAuthorization?: AnnounceAuthorization | URL | null;
11302
11389
  translations?: (Translation)[];
11390
+ licenses?: (URL)[];
11303
11391
  width?: number | null;
11304
11392
  height?: number | null;
11305
11393
  digestMultibase?: string | null;
@@ -11379,6 +11467,7 @@ declare class Audio extends Document {
11379
11467
  replyAuthorization?: ReplyAuthorization | URL | null;
11380
11468
  announceAuthorization?: AnnounceAuthorization | URL | null;
11381
11469
  translations?: (Translation)[];
11470
+ licenses?: (URL)[];
11382
11471
  width?: number | null;
11383
11472
  height?: number | null;
11384
11473
  digestMultibase?: string | null;
@@ -11503,6 +11592,7 @@ declare class Ignore extends Activity {
11503
11592
  replyAuthorization?: ReplyAuthorization | URL | null;
11504
11593
  announceAuthorization?: AnnounceAuthorization | URL | null;
11505
11594
  translations?: (Translation)[];
11595
+ licenses?: (URL)[];
11506
11596
  actor?: Application | Group | Organization | Person | Service | URL | null;
11507
11597
  actors?: (Application | Group | Organization | Person | Service | URL)[];
11508
11598
  object?: Object$1 | URL | null;
@@ -11591,6 +11681,7 @@ declare class Ignore extends Activity {
11591
11681
  replyAuthorization?: ReplyAuthorization | URL | null;
11592
11682
  announceAuthorization?: AnnounceAuthorization | URL | null;
11593
11683
  translations?: (Translation)[];
11684
+ licenses?: (URL)[];
11594
11685
  actor?: Application | Group | Organization | Person | Service | URL | null;
11595
11686
  actors?: (Application | Group | Organization | Person | Service | URL)[];
11596
11687
  object?: Object$1 | URL | null;
@@ -11726,6 +11817,7 @@ declare class Block extends Ignore {
11726
11817
  replyAuthorization?: ReplyAuthorization | URL | null;
11727
11818
  announceAuthorization?: AnnounceAuthorization | URL | null;
11728
11819
  translations?: (Translation)[];
11820
+ licenses?: (URL)[];
11729
11821
  actor?: Application | Group | Organization | Person | Service | URL | null;
11730
11822
  actors?: (Application | Group | Organization | Person | Service | URL)[];
11731
11823
  object?: Object$1 | URL | null;
@@ -11814,6 +11906,7 @@ declare class Block extends Ignore {
11814
11906
  replyAuthorization?: ReplyAuthorization | URL | null;
11815
11907
  announceAuthorization?: AnnounceAuthorization | URL | null;
11816
11908
  translations?: (Translation)[];
11909
+ licenses?: (URL)[];
11817
11910
  actor?: Application | Group | Organization | Person | Service | URL | null;
11818
11911
  actors?: (Application | Group | Organization | Person | Service | URL)[];
11819
11912
  object?: Object$1 | URL | null;
@@ -11949,6 +12042,7 @@ declare class CollectionPage extends Collection {
11949
12042
  replyAuthorization?: ReplyAuthorization | URL | null;
11950
12043
  announceAuthorization?: AnnounceAuthorization | URL | null;
11951
12044
  translations?: (Translation)[];
12045
+ licenses?: (URL)[];
11952
12046
  totalItems?: number | null;
11953
12047
  current?: CollectionPage | URL | null;
11954
12048
  first?: CollectionPage | URL | null;
@@ -12041,6 +12135,7 @@ declare class CollectionPage extends Collection {
12041
12135
  replyAuthorization?: ReplyAuthorization | URL | null;
12042
12136
  announceAuthorization?: AnnounceAuthorization | URL | null;
12043
12137
  translations?: (Translation)[];
12138
+ licenses?: (URL)[];
12044
12139
  totalItems?: number | null;
12045
12140
  current?: CollectionPage | URL | null;
12046
12141
  first?: CollectionPage | URL | null;
@@ -12268,6 +12363,7 @@ declare class Create extends Activity {
12268
12363
  replyAuthorization?: ReplyAuthorization | URL | null;
12269
12364
  announceAuthorization?: AnnounceAuthorization | URL | null;
12270
12365
  translations?: (Translation)[];
12366
+ licenses?: (URL)[];
12271
12367
  actor?: Application | Group | Organization | Person | Service | URL | null;
12272
12368
  actors?: (Application | Group | Organization | Person | Service | URL)[];
12273
12369
  object?: Object$1 | URL | null;
@@ -12356,6 +12452,7 @@ declare class Create extends Activity {
12356
12452
  replyAuthorization?: ReplyAuthorization | URL | null;
12357
12453
  announceAuthorization?: AnnounceAuthorization | URL | null;
12358
12454
  translations?: (Translation)[];
12455
+ licenses?: (URL)[];
12359
12456
  actor?: Application | Group | Organization | Person | Service | URL | null;
12360
12457
  actors?: (Application | Group | Organization | Person | Service | URL)[];
12361
12458
  object?: Object$1 | URL | null;
@@ -12489,6 +12586,7 @@ declare class Delete extends Activity {
12489
12586
  replyAuthorization?: ReplyAuthorization | URL | null;
12490
12587
  announceAuthorization?: AnnounceAuthorization | URL | null;
12491
12588
  translations?: (Translation)[];
12589
+ licenses?: (URL)[];
12492
12590
  actor?: Application | Group | Organization | Person | Service | URL | null;
12493
12591
  actors?: (Application | Group | Organization | Person | Service | URL)[];
12494
12592
  object?: Object$1 | URL | null;
@@ -12577,6 +12675,7 @@ declare class Delete extends Activity {
12577
12675
  replyAuthorization?: ReplyAuthorization | URL | null;
12578
12676
  announceAuthorization?: AnnounceAuthorization | URL | null;
12579
12677
  translations?: (Translation)[];
12678
+ licenses?: (URL)[];
12580
12679
  actor?: Application | Group | Organization | Person | Service | URL | null;
12581
12680
  actors?: (Application | Group | Organization | Person | Service | URL)[];
12582
12681
  object?: Object$1 | URL | null;
@@ -12709,6 +12808,7 @@ declare class Dislike extends Activity {
12709
12808
  replyAuthorization?: ReplyAuthorization | URL | null;
12710
12809
  announceAuthorization?: AnnounceAuthorization | URL | null;
12711
12810
  translations?: (Translation)[];
12811
+ licenses?: (URL)[];
12712
12812
  actor?: Application | Group | Organization | Person | Service | URL | null;
12713
12813
  actors?: (Application | Group | Organization | Person | Service | URL)[];
12714
12814
  object?: Object$1 | URL | null;
@@ -12797,6 +12897,7 @@ declare class Dislike extends Activity {
12797
12897
  replyAuthorization?: ReplyAuthorization | URL | null;
12798
12898
  announceAuthorization?: AnnounceAuthorization | URL | null;
12799
12899
  translations?: (Translation)[];
12900
+ licenses?: (URL)[];
12800
12901
  actor?: Application | Group | Organization | Person | Service | URL | null;
12801
12902
  actors?: (Application | Group | Organization | Person | Service | URL)[];
12802
12903
  object?: Object$1 | URL | null;
@@ -13097,6 +13198,7 @@ declare class Event extends Object$1 {
13097
13198
  replyAuthorization?: ReplyAuthorization | URL | null;
13098
13199
  announceAuthorization?: AnnounceAuthorization | URL | null;
13099
13200
  translations?: (Translation)[];
13201
+ licenses?: (URL)[];
13100
13202
  }, options?: {
13101
13203
  documentLoader?: DocumentLoader$1;
13102
13204
  contextLoader?: DocumentLoader$1;
@@ -13173,6 +13275,7 @@ declare class Event extends Object$1 {
13173
13275
  replyAuthorization?: ReplyAuthorization | URL | null;
13174
13276
  announceAuthorization?: AnnounceAuthorization | URL | null;
13175
13277
  translations?: (Translation)[];
13278
+ licenses?: (URL)[];
13176
13279
  }, options?: {
13177
13280
  documentLoader?: DocumentLoader$1;
13178
13281
  contextLoader?: DocumentLoader$1;
@@ -13295,6 +13398,7 @@ declare class Flag extends Activity {
13295
13398
  replyAuthorization?: ReplyAuthorization | URL | null;
13296
13399
  announceAuthorization?: AnnounceAuthorization | URL | null;
13297
13400
  translations?: (Translation)[];
13401
+ licenses?: (URL)[];
13298
13402
  actor?: Application | Group | Organization | Person | Service | URL | null;
13299
13403
  actors?: (Application | Group | Organization | Person | Service | URL)[];
13300
13404
  object?: Object$1 | URL | null;
@@ -13383,6 +13487,7 @@ declare class Flag extends Activity {
13383
13487
  replyAuthorization?: ReplyAuthorization | URL | null;
13384
13488
  announceAuthorization?: AnnounceAuthorization | URL | null;
13385
13489
  translations?: (Translation)[];
13490
+ licenses?: (URL)[];
13386
13491
  actor?: Application | Group | Organization | Person | Service | URL | null;
13387
13492
  actors?: (Application | Group | Organization | Person | Service | URL)[];
13388
13493
  object?: Object$1 | URL | null;
@@ -13518,6 +13623,7 @@ declare class Follow extends Activity {
13518
13623
  replyAuthorization?: ReplyAuthorization | URL | null;
13519
13624
  announceAuthorization?: AnnounceAuthorization | URL | null;
13520
13625
  translations?: (Translation)[];
13626
+ licenses?: (URL)[];
13521
13627
  actor?: Application | Group | Organization | Person | Service | URL | null;
13522
13628
  actors?: (Application | Group | Organization | Person | Service | URL)[];
13523
13629
  object?: Object$1 | URL | null;
@@ -13606,6 +13712,7 @@ declare class Follow extends Activity {
13606
13712
  replyAuthorization?: ReplyAuthorization | URL | null;
13607
13713
  announceAuthorization?: AnnounceAuthorization | URL | null;
13608
13714
  translations?: (Translation)[];
13715
+ licenses?: (URL)[];
13609
13716
  actor?: Application | Group | Organization | Person | Service | URL | null;
13610
13717
  actors?: (Application | Group | Organization | Person | Service | URL)[];
13611
13718
  object?: Object$1 | URL | null;
@@ -13739,6 +13846,7 @@ declare class Group extends Object$1 {
13739
13846
  replyAuthorization?: ReplyAuthorization | URL | null;
13740
13847
  announceAuthorization?: AnnounceAuthorization | URL | null;
13741
13848
  translations?: (Translation)[];
13849
+ licenses?: (URL)[];
13742
13850
  preferredUsername?: string | LanguageString$1 | null;
13743
13851
  preferredUsernames?: ((string | LanguageString$1))[];
13744
13852
  publicKey?: CryptographicKey | URL | null;
@@ -13769,6 +13877,7 @@ declare class Group extends Object$1 {
13769
13877
  services?: (DidService | URL)[];
13770
13878
  followedMessage?: string | null;
13771
13879
  cat?: boolean | null;
13880
+ preferredLicense?: URL | null;
13772
13881
  }, options?: {
13773
13882
  documentLoader?: DocumentLoader$1;
13774
13883
  contextLoader?: DocumentLoader$1;
@@ -13845,6 +13954,7 @@ declare class Group extends Object$1 {
13845
13954
  replyAuthorization?: ReplyAuthorization | URL | null;
13846
13955
  announceAuthorization?: AnnounceAuthorization | URL | null;
13847
13956
  translations?: (Translation)[];
13957
+ licenses?: (URL)[];
13848
13958
  preferredUsername?: string | LanguageString$1 | null;
13849
13959
  preferredUsernames?: ((string | LanguageString$1))[];
13850
13960
  publicKey?: CryptographicKey | URL | null;
@@ -13875,6 +13985,7 @@ declare class Group extends Object$1 {
13875
13985
  services?: (DidService | URL)[];
13876
13986
  followedMessage?: string | null;
13877
13987
  cat?: boolean | null;
13988
+ preferredLicense?: URL | null;
13878
13989
  }, options?: {
13879
13990
  documentLoader?: DocumentLoader$1;
13880
13991
  contextLoader?: DocumentLoader$1;
@@ -14540,6 +14651,14 @@ declare class Group extends Object$1 {
14540
14651
  * attached in some clients.
14541
14652
  */
14542
14653
  get cat(): boolean | null;
14654
+ /** The URI of the license this actor prefers for the new objects it creates,
14655
+ * as defined by [FEP-6757](https://w3id.org/fep/6757). A client can use it
14656
+ * as the default `license` of a new object and let the user choose another.
14657
+ *
14658
+ * This is not a fallback license: an object without its own `license` is not
14659
+ * licensed under its author's preferred license.
14660
+ */
14661
+ get preferredLicense(): URL | null;
14543
14662
  /**
14544
14663
  * Converts this object to a JSON-LD structure.
14545
14664
  * @param options The options to use.
@@ -14636,6 +14755,7 @@ declare class Link {
14636
14755
  height?: number | null;
14637
14756
  width?: number | null;
14638
14757
  previews?: (Link | Object$1 | URL)[];
14758
+ licenses?: (URL)[];
14639
14759
  }, options?: {
14640
14760
  documentLoader?: DocumentLoader$1;
14641
14761
  contextLoader?: DocumentLoader$1;
@@ -14669,6 +14789,7 @@ declare class Link {
14669
14789
  height?: number | null;
14670
14790
  width?: number | null;
14671
14791
  previews?: (Link | Object$1 | URL)[];
14792
+ licenses?: (URL)[];
14672
14793
  }, options?: {
14673
14794
  documentLoader?: DocumentLoader$1;
14674
14795
  contextLoader?: DocumentLoader$1;
@@ -14754,6 +14875,20 @@ declare class Link {
14754
14875
  */
14755
14876
  inheritPortableObjectVerifier?: boolean;
14756
14877
  }): AsyncIterable<Link | Object$1>;
14878
+ /** The copyright licenses for the linked resource, as defined by
14879
+ * [FEP-6757](https://w3id.org/fep/6757). Each license is identified by its
14880
+ * URI, such as <https://creativecommons.org/publicdomain/mark/1.0/>; license
14881
+ * names and SPDX short identifiers are not license URIs. Multiple values are
14882
+ * alternatives that a consumer may choose from; their order has no meaning.
14883
+ *
14884
+ * An empty list means the link carries no license metadata. Fedify does not
14885
+ * synthesize a default license for it.
14886
+ *
14887
+ * The `https://schema.org/license` and
14888
+ * `http://creativecommons.org/ns#license` properties are read as synonyms
14889
+ * when this property is absent, but only this property is written.
14890
+ */
14891
+ get licenses(): (URL)[];
14757
14892
  /**
14758
14893
  * Converts this object to a JSON-LD structure.
14759
14894
  * @param options The options to use.
@@ -14828,6 +14963,7 @@ declare class Hashtag extends Link {
14828
14963
  height?: number | null;
14829
14964
  width?: number | null;
14830
14965
  previews?: (Link | Object$1 | URL)[];
14966
+ licenses?: (URL)[];
14831
14967
  }, options?: {
14832
14968
  documentLoader?: DocumentLoader$1;
14833
14969
  contextLoader?: DocumentLoader$1;
@@ -14861,6 +14997,7 @@ declare class Hashtag extends Link {
14861
14997
  height?: number | null;
14862
14998
  width?: number | null;
14863
14999
  previews?: (Link | Object$1 | URL)[];
15000
+ licenses?: (URL)[];
14864
15001
  }, options?: {
14865
15002
  documentLoader?: DocumentLoader$1;
14866
15003
  contextLoader?: DocumentLoader$1;
@@ -14981,6 +15118,7 @@ declare class Image extends Document {
14981
15118
  replyAuthorization?: ReplyAuthorization | URL | null;
14982
15119
  announceAuthorization?: AnnounceAuthorization | URL | null;
14983
15120
  translations?: (Translation)[];
15121
+ licenses?: (URL)[];
14984
15122
  width?: number | null;
14985
15123
  height?: number | null;
14986
15124
  digestMultibase?: string | null;
@@ -15060,6 +15198,7 @@ declare class Image extends Document {
15060
15198
  replyAuthorization?: ReplyAuthorization | URL | null;
15061
15199
  announceAuthorization?: AnnounceAuthorization | URL | null;
15062
15200
  translations?: (Translation)[];
15201
+ licenses?: (URL)[];
15063
15202
  width?: number | null;
15064
15203
  height?: number | null;
15065
15204
  digestMultibase?: string | null;
@@ -15185,6 +15324,7 @@ declare class Offer extends Activity {
15185
15324
  replyAuthorization?: ReplyAuthorization | URL | null;
15186
15325
  announceAuthorization?: AnnounceAuthorization | URL | null;
15187
15326
  translations?: (Translation)[];
15327
+ licenses?: (URL)[];
15188
15328
  actor?: Application | Group | Organization | Person | Service | URL | null;
15189
15329
  actors?: (Application | Group | Organization | Person | Service | URL)[];
15190
15330
  object?: Object$1 | URL | null;
@@ -15273,6 +15413,7 @@ declare class Offer extends Activity {
15273
15413
  replyAuthorization?: ReplyAuthorization | URL | null;
15274
15414
  announceAuthorization?: AnnounceAuthorization | URL | null;
15275
15415
  translations?: (Translation)[];
15416
+ licenses?: (URL)[];
15276
15417
  actor?: Application | Group | Organization | Person | Service | URL | null;
15277
15418
  actors?: (Application | Group | Organization | Person | Service | URL)[];
15278
15419
  object?: Object$1 | URL | null;
@@ -15406,6 +15547,7 @@ declare class Invite extends Offer {
15406
15547
  replyAuthorization?: ReplyAuthorization | URL | null;
15407
15548
  announceAuthorization?: AnnounceAuthorization | URL | null;
15408
15549
  translations?: (Translation)[];
15550
+ licenses?: (URL)[];
15409
15551
  actor?: Application | Group | Organization | Person | Service | URL | null;
15410
15552
  actors?: (Application | Group | Organization | Person | Service | URL)[];
15411
15553
  object?: Object$1 | URL | null;
@@ -15494,6 +15636,7 @@ declare class Invite extends Offer {
15494
15636
  replyAuthorization?: ReplyAuthorization | URL | null;
15495
15637
  announceAuthorization?: AnnounceAuthorization | URL | null;
15496
15638
  translations?: (Translation)[];
15639
+ licenses?: (URL)[];
15497
15640
  actor?: Application | Group | Organization | Person | Service | URL | null;
15498
15641
  actors?: (Application | Group | Organization | Person | Service | URL)[];
15499
15642
  object?: Object$1 | URL | null;
@@ -15627,6 +15770,7 @@ declare class Join extends Activity {
15627
15770
  replyAuthorization?: ReplyAuthorization | URL | null;
15628
15771
  announceAuthorization?: AnnounceAuthorization | URL | null;
15629
15772
  translations?: (Translation)[];
15773
+ licenses?: (URL)[];
15630
15774
  actor?: Application | Group | Organization | Person | Service | URL | null;
15631
15775
  actors?: (Application | Group | Organization | Person | Service | URL)[];
15632
15776
  object?: Object$1 | URL | null;
@@ -15715,6 +15859,7 @@ declare class Join extends Activity {
15715
15859
  replyAuthorization?: ReplyAuthorization | URL | null;
15716
15860
  announceAuthorization?: AnnounceAuthorization | URL | null;
15717
15861
  translations?: (Translation)[];
15862
+ licenses?: (URL)[];
15718
15863
  actor?: Application | Group | Organization | Person | Service | URL | null;
15719
15864
  actors?: (Application | Group | Organization | Person | Service | URL)[];
15720
15865
  object?: Object$1 | URL | null;
@@ -15848,6 +15993,7 @@ declare class Leave extends Activity {
15848
15993
  replyAuthorization?: ReplyAuthorization | URL | null;
15849
15994
  announceAuthorization?: AnnounceAuthorization | URL | null;
15850
15995
  translations?: (Translation)[];
15996
+ licenses?: (URL)[];
15851
15997
  actor?: Application | Group | Organization | Person | Service | URL | null;
15852
15998
  actors?: (Application | Group | Organization | Person | Service | URL)[];
15853
15999
  object?: Object$1 | URL | null;
@@ -15936,6 +16082,7 @@ declare class Leave extends Activity {
15936
16082
  replyAuthorization?: ReplyAuthorization | URL | null;
15937
16083
  announceAuthorization?: AnnounceAuthorization | URL | null;
15938
16084
  translations?: (Translation)[];
16085
+ licenses?: (URL)[];
15939
16086
  actor?: Application | Group | Organization | Person | Service | URL | null;
15940
16087
  actors?: (Application | Group | Organization | Person | Service | URL)[];
15941
16088
  object?: Object$1 | URL | null;
@@ -16069,6 +16216,7 @@ declare class Like extends Activity {
16069
16216
  replyAuthorization?: ReplyAuthorization | URL | null;
16070
16217
  announceAuthorization?: AnnounceAuthorization | URL | null;
16071
16218
  translations?: (Translation)[];
16219
+ licenses?: (URL)[];
16072
16220
  actor?: Application | Group | Organization | Person | Service | URL | null;
16073
16221
  actors?: (Application | Group | Organization | Person | Service | URL)[];
16074
16222
  object?: Object$1 | URL | null;
@@ -16157,6 +16305,7 @@ declare class Like extends Activity {
16157
16305
  replyAuthorization?: ReplyAuthorization | URL | null;
16158
16306
  announceAuthorization?: AnnounceAuthorization | URL | null;
16159
16307
  translations?: (Translation)[];
16308
+ licenses?: (URL)[];
16160
16309
  actor?: Application | Group | Organization | Person | Service | URL | null;
16161
16310
  actors?: (Application | Group | Organization | Person | Service | URL)[];
16162
16311
  object?: Object$1 | URL | null;
@@ -16289,6 +16438,7 @@ declare class Listen extends Activity {
16289
16438
  replyAuthorization?: ReplyAuthorization | URL | null;
16290
16439
  announceAuthorization?: AnnounceAuthorization | URL | null;
16291
16440
  translations?: (Translation)[];
16441
+ licenses?: (URL)[];
16292
16442
  actor?: Application | Group | Organization | Person | Service | URL | null;
16293
16443
  actors?: (Application | Group | Organization | Person | Service | URL)[];
16294
16444
  object?: Object$1 | URL | null;
@@ -16377,6 +16527,7 @@ declare class Listen extends Activity {
16377
16527
  replyAuthorization?: ReplyAuthorization | URL | null;
16378
16528
  announceAuthorization?: AnnounceAuthorization | URL | null;
16379
16529
  translations?: (Translation)[];
16530
+ licenses?: (URL)[];
16380
16531
  actor?: Application | Group | Organization | Person | Service | URL | null;
16381
16532
  actors?: (Application | Group | Organization | Person | Service | URL)[];
16382
16533
  object?: Object$1 | URL | null;
@@ -16466,6 +16617,7 @@ declare class Mention extends Link {
16466
16617
  height?: number | null;
16467
16618
  width?: number | null;
16468
16619
  previews?: (Link | Object$1 | URL)[];
16620
+ licenses?: (URL)[];
16469
16621
  }, options?: {
16470
16622
  documentLoader?: DocumentLoader$1;
16471
16623
  contextLoader?: DocumentLoader$1;
@@ -16499,6 +16651,7 @@ declare class Mention extends Link {
16499
16651
  height?: number | null;
16500
16652
  width?: number | null;
16501
16653
  previews?: (Link | Object$1 | URL)[];
16654
+ licenses?: (URL)[];
16502
16655
  }, options?: {
16503
16656
  documentLoader?: DocumentLoader$1;
16504
16657
  contextLoader?: DocumentLoader$1;
@@ -16621,6 +16774,7 @@ declare class Move extends Activity {
16621
16774
  replyAuthorization?: ReplyAuthorization | URL | null;
16622
16775
  announceAuthorization?: AnnounceAuthorization | URL | null;
16623
16776
  translations?: (Translation)[];
16777
+ licenses?: (URL)[];
16624
16778
  actor?: Application | Group | Organization | Person | Service | URL | null;
16625
16779
  actors?: (Application | Group | Organization | Person | Service | URL)[];
16626
16780
  object?: Object$1 | URL | null;
@@ -16709,6 +16863,7 @@ declare class Move extends Activity {
16709
16863
  replyAuthorization?: ReplyAuthorization | URL | null;
16710
16864
  announceAuthorization?: AnnounceAuthorization | URL | null;
16711
16865
  translations?: (Translation)[];
16866
+ licenses?: (URL)[];
16712
16867
  actor?: Application | Group | Organization | Person | Service | URL | null;
16713
16868
  actors?: (Application | Group | Organization | Person | Service | URL)[];
16714
16869
  object?: Object$1 | URL | null;
@@ -16843,6 +16998,7 @@ declare class Note extends Object$1 {
16843
16998
  replyAuthorization?: ReplyAuthorization | URL | null;
16844
16999
  announceAuthorization?: AnnounceAuthorization | URL | null;
16845
17000
  translations?: (Translation)[];
17001
+ licenses?: (URL)[];
16846
17002
  quote?: Object$1 | URL | null;
16847
17003
  quoteUrl?: URL | null;
16848
17004
  quoteAuthorization?: QuoteAuthorization | URL | null;
@@ -16922,6 +17078,7 @@ declare class Note extends Object$1 {
16922
17078
  replyAuthorization?: ReplyAuthorization | URL | null;
16923
17079
  announceAuthorization?: AnnounceAuthorization | URL | null;
16924
17080
  translations?: (Translation)[];
17081
+ licenses?: (URL)[];
16925
17082
  quote?: Object$1 | URL | null;
16926
17083
  quoteUrl?: URL | null;
16927
17084
  quoteAuthorization?: QuoteAuthorization | URL | null;
@@ -17123,6 +17280,7 @@ declare class OrderedCollectionPage extends CollectionPage {
17123
17280
  replyAuthorization?: ReplyAuthorization | URL | null;
17124
17281
  announceAuthorization?: AnnounceAuthorization | URL | null;
17125
17282
  translations?: (Translation)[];
17283
+ licenses?: (URL)[];
17126
17284
  totalItems?: number | null;
17127
17285
  current?: CollectionPage | URL | null;
17128
17286
  first?: CollectionPage | URL | null;
@@ -17216,6 +17374,7 @@ declare class OrderedCollectionPage extends CollectionPage {
17216
17374
  replyAuthorization?: ReplyAuthorization | URL | null;
17217
17375
  announceAuthorization?: AnnounceAuthorization | URL | null;
17218
17376
  translations?: (Translation)[];
17377
+ licenses?: (URL)[];
17219
17378
  totalItems?: number | null;
17220
17379
  current?: CollectionPage | URL | null;
17221
17380
  first?: CollectionPage | URL | null;
@@ -17389,6 +17548,7 @@ declare class Organization extends Object$1 {
17389
17548
  replyAuthorization?: ReplyAuthorization | URL | null;
17390
17549
  announceAuthorization?: AnnounceAuthorization | URL | null;
17391
17550
  translations?: (Translation)[];
17551
+ licenses?: (URL)[];
17392
17552
  preferredUsername?: string | LanguageString$1 | null;
17393
17553
  preferredUsernames?: ((string | LanguageString$1))[];
17394
17554
  publicKey?: CryptographicKey | URL | null;
@@ -17419,6 +17579,7 @@ declare class Organization extends Object$1 {
17419
17579
  services?: (DidService | URL)[];
17420
17580
  followedMessage?: string | null;
17421
17581
  cat?: boolean | null;
17582
+ preferredLicense?: URL | null;
17422
17583
  }, options?: {
17423
17584
  documentLoader?: DocumentLoader$1;
17424
17585
  contextLoader?: DocumentLoader$1;
@@ -17495,6 +17656,7 @@ declare class Organization extends Object$1 {
17495
17656
  replyAuthorization?: ReplyAuthorization | URL | null;
17496
17657
  announceAuthorization?: AnnounceAuthorization | URL | null;
17497
17658
  translations?: (Translation)[];
17659
+ licenses?: (URL)[];
17498
17660
  preferredUsername?: string | LanguageString$1 | null;
17499
17661
  preferredUsernames?: ((string | LanguageString$1))[];
17500
17662
  publicKey?: CryptographicKey | URL | null;
@@ -17525,6 +17687,7 @@ declare class Organization extends Object$1 {
17525
17687
  services?: (DidService | URL)[];
17526
17688
  followedMessage?: string | null;
17527
17689
  cat?: boolean | null;
17690
+ preferredLicense?: URL | null;
17528
17691
  }, options?: {
17529
17692
  documentLoader?: DocumentLoader$1;
17530
17693
  contextLoader?: DocumentLoader$1;
@@ -18190,6 +18353,14 @@ declare class Organization extends Object$1 {
18190
18353
  * attached in some clients.
18191
18354
  */
18192
18355
  get cat(): boolean | null;
18356
+ /** The URI of the license this actor prefers for the new objects it creates,
18357
+ * as defined by [FEP-6757](https://w3id.org/fep/6757). A client can use it
18358
+ * as the default `license` of a new object and let the user choose another.
18359
+ *
18360
+ * This is not a fallback license: an object without its own `license` is not
18361
+ * licensed under its author's preferred license.
18362
+ */
18363
+ get preferredLicense(): URL | null;
18193
18364
  /**
18194
18365
  * Converts this object to a JSON-LD structure.
18195
18366
  * @param options The options to use.
@@ -18305,6 +18476,7 @@ declare class Page extends Document {
18305
18476
  replyAuthorization?: ReplyAuthorization | URL | null;
18306
18477
  announceAuthorization?: AnnounceAuthorization | URL | null;
18307
18478
  translations?: (Translation)[];
18479
+ licenses?: (URL)[];
18308
18480
  width?: number | null;
18309
18481
  height?: number | null;
18310
18482
  digestMultibase?: string | null;
@@ -18384,6 +18556,7 @@ declare class Page extends Document {
18384
18556
  replyAuthorization?: ReplyAuthorization | URL | null;
18385
18557
  announceAuthorization?: AnnounceAuthorization | URL | null;
18386
18558
  translations?: (Translation)[];
18559
+ licenses?: (URL)[];
18387
18560
  width?: number | null;
18388
18561
  height?: number | null;
18389
18562
  digestMultibase?: string | null;
@@ -18508,6 +18681,7 @@ declare class Person extends Object$1 {
18508
18681
  replyAuthorization?: ReplyAuthorization | URL | null;
18509
18682
  announceAuthorization?: AnnounceAuthorization | URL | null;
18510
18683
  translations?: (Translation)[];
18684
+ licenses?: (URL)[];
18511
18685
  preferredUsername?: string | LanguageString$1 | null;
18512
18686
  preferredUsernames?: ((string | LanguageString$1))[];
18513
18687
  publicKey?: CryptographicKey | URL | null;
@@ -18538,6 +18712,7 @@ declare class Person extends Object$1 {
18538
18712
  services?: (DidService | URL)[];
18539
18713
  followedMessage?: string | null;
18540
18714
  cat?: boolean | null;
18715
+ preferredLicense?: URL | null;
18541
18716
  }, options?: {
18542
18717
  documentLoader?: DocumentLoader$1;
18543
18718
  contextLoader?: DocumentLoader$1;
@@ -18614,6 +18789,7 @@ declare class Person extends Object$1 {
18614
18789
  replyAuthorization?: ReplyAuthorization | URL | null;
18615
18790
  announceAuthorization?: AnnounceAuthorization | URL | null;
18616
18791
  translations?: (Translation)[];
18792
+ licenses?: (URL)[];
18617
18793
  preferredUsername?: string | LanguageString$1 | null;
18618
18794
  preferredUsernames?: ((string | LanguageString$1))[];
18619
18795
  publicKey?: CryptographicKey | URL | null;
@@ -18644,6 +18820,7 @@ declare class Person extends Object$1 {
18644
18820
  services?: (DidService | URL)[];
18645
18821
  followedMessage?: string | null;
18646
18822
  cat?: boolean | null;
18823
+ preferredLicense?: URL | null;
18647
18824
  }, options?: {
18648
18825
  documentLoader?: DocumentLoader$1;
18649
18826
  contextLoader?: DocumentLoader$1;
@@ -19309,6 +19486,14 @@ declare class Person extends Object$1 {
19309
19486
  * attached in some clients.
19310
19487
  */
19311
19488
  get cat(): boolean | null;
19489
+ /** The URI of the license this actor prefers for the new objects it creates,
19490
+ * as defined by [FEP-6757](https://w3id.org/fep/6757). A client can use it
19491
+ * as the default `license` of a new object and let the user choose another.
19492
+ *
19493
+ * This is not a fallback license: an object without its own `license` is not
19494
+ * licensed under its author's preferred license.
19495
+ */
19496
+ get preferredLicense(): URL | null;
19312
19497
  /**
19313
19498
  * Converts this object to a JSON-LD structure.
19314
19499
  * @param options The options to use.
@@ -19427,6 +19612,7 @@ declare class Place extends Object$1 {
19427
19612
  replyAuthorization?: ReplyAuthorization | URL | null;
19428
19613
  announceAuthorization?: AnnounceAuthorization | URL | null;
19429
19614
  translations?: (Translation)[];
19615
+ licenses?: (URL)[];
19430
19616
  accuracy?: number | null;
19431
19617
  altitude?: number | null;
19432
19618
  latitude?: number | null;
@@ -19509,6 +19695,7 @@ declare class Place extends Object$1 {
19509
19695
  replyAuthorization?: ReplyAuthorization | URL | null;
19510
19696
  announceAuthorization?: AnnounceAuthorization | URL | null;
19511
19697
  translations?: (Translation)[];
19698
+ licenses?: (URL)[];
19512
19699
  accuracy?: number | null;
19513
19700
  altitude?: number | null;
19514
19701
  latitude?: number | null;
@@ -19666,6 +19853,7 @@ declare class Profile extends Object$1 {
19666
19853
  replyAuthorization?: ReplyAuthorization | URL | null;
19667
19854
  announceAuthorization?: AnnounceAuthorization | URL | null;
19668
19855
  translations?: (Translation)[];
19856
+ licenses?: (URL)[];
19669
19857
  describes?: Object$1 | URL | null;
19670
19858
  }, options?: {
19671
19859
  documentLoader?: DocumentLoader$1;
@@ -19743,6 +19931,7 @@ declare class Profile extends Object$1 {
19743
19931
  replyAuthorization?: ReplyAuthorization | URL | null;
19744
19932
  announceAuthorization?: AnnounceAuthorization | URL | null;
19745
19933
  translations?: (Translation)[];
19934
+ licenses?: (URL)[];
19746
19935
  describes?: Object$1 | URL | null;
19747
19936
  }, options?: {
19748
19937
  documentLoader?: DocumentLoader$1;
@@ -19903,6 +20092,7 @@ declare class Question extends IntransitiveActivity {
19903
20092
  replyAuthorization?: ReplyAuthorization | URL | null;
19904
20093
  announceAuthorization?: AnnounceAuthorization | URL | null;
19905
20094
  translations?: (Translation)[];
20095
+ licenses?: (URL)[];
19906
20096
  actor?: Application | Group | Organization | Person | Service | URL | null;
19907
20097
  actors?: (Application | Group | Organization | Person | Service | URL)[];
19908
20098
  object?: Object$1 | URL | null;
@@ -19998,6 +20188,7 @@ declare class Question extends IntransitiveActivity {
19998
20188
  replyAuthorization?: ReplyAuthorization | URL | null;
19999
20189
  announceAuthorization?: AnnounceAuthorization | URL | null;
20000
20190
  translations?: (Translation)[];
20191
+ licenses?: (URL)[];
20001
20192
  actor?: Application | Group | Organization | Person | Service | URL | null;
20002
20193
  actors?: (Application | Group | Organization | Person | Service | URL)[];
20003
20194
  object?: Object$1 | URL | null;
@@ -20284,6 +20475,7 @@ declare class Read extends Activity {
20284
20475
  replyAuthorization?: ReplyAuthorization | URL | null;
20285
20476
  announceAuthorization?: AnnounceAuthorization | URL | null;
20286
20477
  translations?: (Translation)[];
20478
+ licenses?: (URL)[];
20287
20479
  actor?: Application | Group | Organization | Person | Service | URL | null;
20288
20480
  actors?: (Application | Group | Organization | Person | Service | URL)[];
20289
20481
  object?: Object$1 | URL | null;
@@ -20372,6 +20564,7 @@ declare class Read extends Activity {
20372
20564
  replyAuthorization?: ReplyAuthorization | URL | null;
20373
20565
  announceAuthorization?: AnnounceAuthorization | URL | null;
20374
20566
  translations?: (Translation)[];
20567
+ licenses?: (URL)[];
20375
20568
  actor?: Application | Group | Organization | Person | Service | URL | null;
20376
20569
  actors?: (Application | Group | Organization | Person | Service | URL)[];
20377
20570
  object?: Object$1 | URL | null;
@@ -20505,6 +20698,7 @@ declare class Reject extends Activity {
20505
20698
  replyAuthorization?: ReplyAuthorization | URL | null;
20506
20699
  announceAuthorization?: AnnounceAuthorization | URL | null;
20507
20700
  translations?: (Translation)[];
20701
+ licenses?: (URL)[];
20508
20702
  actor?: Application | Group | Organization | Person | Service | URL | null;
20509
20703
  actors?: (Application | Group | Organization | Person | Service | URL)[];
20510
20704
  object?: Object$1 | URL | null;
@@ -20593,6 +20787,7 @@ declare class Reject extends Activity {
20593
20787
  replyAuthorization?: ReplyAuthorization | URL | null;
20594
20788
  announceAuthorization?: AnnounceAuthorization | URL | null;
20595
20789
  translations?: (Translation)[];
20790
+ licenses?: (URL)[];
20596
20791
  actor?: Application | Group | Organization | Person | Service | URL | null;
20597
20792
  actors?: (Application | Group | Organization | Person | Service | URL)[];
20598
20793
  object?: Object$1 | URL | null;
@@ -20732,6 +20927,7 @@ declare class Relationship extends Object$1 {
20732
20927
  replyAuthorization?: ReplyAuthorization | URL | null;
20733
20928
  announceAuthorization?: AnnounceAuthorization | URL | null;
20734
20929
  translations?: (Translation)[];
20930
+ licenses?: (URL)[];
20735
20931
  subject?: Object$1 | URL | null;
20736
20932
  object?: Object$1 | URL | null;
20737
20933
  objects?: (Object$1 | URL)[];
@@ -20813,6 +21009,7 @@ declare class Relationship extends Object$1 {
20813
21009
  replyAuthorization?: ReplyAuthorization | URL | null;
20814
21010
  announceAuthorization?: AnnounceAuthorization | URL | null;
20815
21011
  translations?: (Translation)[];
21012
+ licenses?: (URL)[];
20816
21013
  subject?: Object$1 | URL | null;
20817
21014
  object?: Object$1 | URL | null;
20818
21015
  objects?: (Object$1 | URL)[];
@@ -21096,6 +21293,7 @@ declare class Remove extends Activity {
21096
21293
  replyAuthorization?: ReplyAuthorization | URL | null;
21097
21294
  announceAuthorization?: AnnounceAuthorization | URL | null;
21098
21295
  translations?: (Translation)[];
21296
+ licenses?: (URL)[];
21099
21297
  actor?: Application | Group | Organization | Person | Service | URL | null;
21100
21298
  actors?: (Application | Group | Organization | Person | Service | URL)[];
21101
21299
  object?: Object$1 | URL | null;
@@ -21184,6 +21382,7 @@ declare class Remove extends Activity {
21184
21382
  replyAuthorization?: ReplyAuthorization | URL | null;
21185
21383
  announceAuthorization?: AnnounceAuthorization | URL | null;
21186
21384
  translations?: (Translation)[];
21385
+ licenses?: (URL)[];
21187
21386
  actor?: Application | Group | Organization | Person | Service | URL | null;
21188
21387
  actors?: (Application | Group | Organization | Person | Service | URL)[];
21189
21388
  object?: Object$1 | URL | null;
@@ -21317,6 +21516,7 @@ declare class Service extends Object$1 {
21317
21516
  replyAuthorization?: ReplyAuthorization | URL | null;
21318
21517
  announceAuthorization?: AnnounceAuthorization | URL | null;
21319
21518
  translations?: (Translation)[];
21519
+ licenses?: (URL)[];
21320
21520
  preferredUsername?: string | LanguageString$1 | null;
21321
21521
  preferredUsernames?: ((string | LanguageString$1))[];
21322
21522
  publicKey?: CryptographicKey | URL | null;
@@ -21347,6 +21547,7 @@ declare class Service extends Object$1 {
21347
21547
  services?: (DidService | URL)[];
21348
21548
  followedMessage?: string | null;
21349
21549
  cat?: boolean | null;
21550
+ preferredLicense?: URL | null;
21350
21551
  }, options?: {
21351
21552
  documentLoader?: DocumentLoader$1;
21352
21553
  contextLoader?: DocumentLoader$1;
@@ -21423,6 +21624,7 @@ declare class Service extends Object$1 {
21423
21624
  replyAuthorization?: ReplyAuthorization | URL | null;
21424
21625
  announceAuthorization?: AnnounceAuthorization | URL | null;
21425
21626
  translations?: (Translation)[];
21627
+ licenses?: (URL)[];
21426
21628
  preferredUsername?: string | LanguageString$1 | null;
21427
21629
  preferredUsernames?: ((string | LanguageString$1))[];
21428
21630
  publicKey?: CryptographicKey | URL | null;
@@ -21453,6 +21655,7 @@ declare class Service extends Object$1 {
21453
21655
  services?: (DidService | URL)[];
21454
21656
  followedMessage?: string | null;
21455
21657
  cat?: boolean | null;
21658
+ preferredLicense?: URL | null;
21456
21659
  }, options?: {
21457
21660
  documentLoader?: DocumentLoader$1;
21458
21661
  contextLoader?: DocumentLoader$1;
@@ -22118,6 +22321,14 @@ declare class Service extends Object$1 {
22118
22321
  * attached in some clients.
22119
22322
  */
22120
22323
  get cat(): boolean | null;
22324
+ /** The URI of the license this actor prefers for the new objects it creates,
22325
+ * as defined by [FEP-6757](https://w3id.org/fep/6757). A client can use it
22326
+ * as the default `license` of a new object and let the user choose another.
22327
+ *
22328
+ * This is not a fallback license: an object without its own `license` is not
22329
+ * licensed under its author's preferred license.
22330
+ */
22331
+ get preferredLicense(): URL | null;
22121
22332
  /**
22122
22333
  * Converts this object to a JSON-LD structure.
22123
22334
  * @param options The options to use.
@@ -22354,6 +22565,7 @@ declare class TentativeAccept extends Accept {
22354
22565
  replyAuthorization?: ReplyAuthorization | URL | null;
22355
22566
  announceAuthorization?: AnnounceAuthorization | URL | null;
22356
22567
  translations?: (Translation)[];
22568
+ licenses?: (URL)[];
22357
22569
  actor?: Application | Group | Organization | Person | Service | URL | null;
22358
22570
  actors?: (Application | Group | Organization | Person | Service | URL)[];
22359
22571
  object?: Object$1 | URL | null;
@@ -22442,6 +22654,7 @@ declare class TentativeAccept extends Accept {
22442
22654
  replyAuthorization?: ReplyAuthorization | URL | null;
22443
22655
  announceAuthorization?: AnnounceAuthorization | URL | null;
22444
22656
  translations?: (Translation)[];
22657
+ licenses?: (URL)[];
22445
22658
  actor?: Application | Group | Organization | Person | Service | URL | null;
22446
22659
  actors?: (Application | Group | Organization | Person | Service | URL)[];
22447
22660
  object?: Object$1 | URL | null;
@@ -22575,6 +22788,7 @@ declare class TentativeReject extends Reject {
22575
22788
  replyAuthorization?: ReplyAuthorization | URL | null;
22576
22789
  announceAuthorization?: AnnounceAuthorization | URL | null;
22577
22790
  translations?: (Translation)[];
22791
+ licenses?: (URL)[];
22578
22792
  actor?: Application | Group | Organization | Person | Service | URL | null;
22579
22793
  actors?: (Application | Group | Organization | Person | Service | URL)[];
22580
22794
  object?: Object$1 | URL | null;
@@ -22663,6 +22877,7 @@ declare class TentativeReject extends Reject {
22663
22877
  replyAuthorization?: ReplyAuthorization | URL | null;
22664
22878
  announceAuthorization?: AnnounceAuthorization | URL | null;
22665
22879
  translations?: (Translation)[];
22880
+ licenses?: (URL)[];
22666
22881
  actor?: Application | Group | Organization | Person | Service | URL | null;
22667
22882
  actors?: (Application | Group | Organization | Person | Service | URL)[];
22668
22883
  object?: Object$1 | URL | null;
@@ -22798,6 +23013,7 @@ declare class Tombstone extends Object$1 {
22798
23013
  replyAuthorization?: ReplyAuthorization | URL | null;
22799
23014
  announceAuthorization?: AnnounceAuthorization | URL | null;
22800
23015
  translations?: (Translation)[];
23016
+ licenses?: (URL)[];
22801
23017
  formerType?: $EntityType | null;
22802
23018
  formerTypes?: ($EntityType)[];
22803
23019
  deleted?: Temporal.Instant | null;
@@ -22877,6 +23093,7 @@ declare class Tombstone extends Object$1 {
22877
23093
  replyAuthorization?: ReplyAuthorization | URL | null;
22878
23094
  announceAuthorization?: AnnounceAuthorization | URL | null;
22879
23095
  translations?: (Translation)[];
23096
+ licenses?: (URL)[];
22880
23097
  formerType?: $EntityType | null;
22881
23098
  formerTypes?: ($EntityType)[];
22882
23099
  deleted?: Temporal.Instant | null;
@@ -23015,6 +23232,7 @@ declare class Travel extends IntransitiveActivity {
23015
23232
  replyAuthorization?: ReplyAuthorization | URL | null;
23016
23233
  announceAuthorization?: AnnounceAuthorization | URL | null;
23017
23234
  translations?: (Translation)[];
23235
+ licenses?: (URL)[];
23018
23236
  actor?: Application | Group | Organization | Person | Service | URL | null;
23019
23237
  actors?: (Application | Group | Organization | Person | Service | URL)[];
23020
23238
  object?: Object$1 | URL | null;
@@ -23103,6 +23321,7 @@ declare class Travel extends IntransitiveActivity {
23103
23321
  replyAuthorization?: ReplyAuthorization | URL | null;
23104
23322
  announceAuthorization?: AnnounceAuthorization | URL | null;
23105
23323
  translations?: (Translation)[];
23324
+ licenses?: (URL)[];
23106
23325
  actor?: Application | Group | Organization | Person | Service | URL | null;
23107
23326
  actors?: (Application | Group | Organization | Person | Service | URL)[];
23108
23327
  object?: Object$1 | URL | null;
@@ -23241,6 +23460,7 @@ declare class Undo extends Activity {
23241
23460
  replyAuthorization?: ReplyAuthorization | URL | null;
23242
23461
  announceAuthorization?: AnnounceAuthorization | URL | null;
23243
23462
  translations?: (Translation)[];
23463
+ licenses?: (URL)[];
23244
23464
  actor?: Application | Group | Organization | Person | Service | URL | null;
23245
23465
  actors?: (Application | Group | Organization | Person | Service | URL)[];
23246
23466
  object?: Object$1 | URL | null;
@@ -23329,6 +23549,7 @@ declare class Undo extends Activity {
23329
23549
  replyAuthorization?: ReplyAuthorization | URL | null;
23330
23550
  announceAuthorization?: AnnounceAuthorization | URL | null;
23331
23551
  translations?: (Translation)[];
23552
+ licenses?: (URL)[];
23332
23553
  actor?: Application | Group | Organization | Person | Service | URL | null;
23333
23554
  actors?: (Application | Group | Organization | Person | Service | URL)[];
23334
23555
  object?: Object$1 | URL | null;
@@ -23465,6 +23686,7 @@ declare class Update extends Activity {
23465
23686
  replyAuthorization?: ReplyAuthorization | URL | null;
23466
23687
  announceAuthorization?: AnnounceAuthorization | URL | null;
23467
23688
  translations?: (Translation)[];
23689
+ licenses?: (URL)[];
23468
23690
  actor?: Application | Group | Organization | Person | Service | URL | null;
23469
23691
  actors?: (Application | Group | Organization | Person | Service | URL)[];
23470
23692
  object?: Object$1 | URL | null;
@@ -23553,6 +23775,7 @@ declare class Update extends Activity {
23553
23775
  replyAuthorization?: ReplyAuthorization | URL | null;
23554
23776
  announceAuthorization?: AnnounceAuthorization | URL | null;
23555
23777
  translations?: (Translation)[];
23778
+ licenses?: (URL)[];
23556
23779
  actor?: Application | Group | Organization | Person | Service | URL | null;
23557
23780
  actors?: (Application | Group | Organization | Person | Service | URL)[];
23558
23781
  object?: Object$1 | URL | null;
@@ -23685,6 +23908,7 @@ declare class Video extends Document {
23685
23908
  replyAuthorization?: ReplyAuthorization | URL | null;
23686
23909
  announceAuthorization?: AnnounceAuthorization | URL | null;
23687
23910
  translations?: (Translation)[];
23911
+ licenses?: (URL)[];
23688
23912
  width?: number | null;
23689
23913
  height?: number | null;
23690
23914
  digestMultibase?: string | null;
@@ -23764,6 +23988,7 @@ declare class Video extends Document {
23764
23988
  replyAuthorization?: ReplyAuthorization | URL | null;
23765
23989
  announceAuthorization?: AnnounceAuthorization | URL | null;
23766
23990
  translations?: (Translation)[];
23991
+ licenses?: (URL)[];
23767
23992
  width?: number | null;
23768
23993
  height?: number | null;
23769
23994
  digestMultibase?: string | null;
@@ -23887,6 +24112,7 @@ declare class View extends Activity {
23887
24112
  replyAuthorization?: ReplyAuthorization | URL | null;
23888
24113
  announceAuthorization?: AnnounceAuthorization | URL | null;
23889
24114
  translations?: (Translation)[];
24115
+ licenses?: (URL)[];
23890
24116
  actor?: Application | Group | Organization | Person | Service | URL | null;
23891
24117
  actors?: (Application | Group | Organization | Person | Service | URL)[];
23892
24118
  object?: Object$1 | URL | null;
@@ -23975,6 +24201,7 @@ declare class View extends Activity {
23975
24201
  replyAuthorization?: ReplyAuthorization | URL | null;
23976
24202
  announceAuthorization?: AnnounceAuthorization | URL | null;
23977
24203
  translations?: (Translation)[];
24204
+ licenses?: (URL)[];
23978
24205
  actor?: Application | Group | Organization | Person | Service | URL | null;
23979
24206
  actors?: (Application | Group | Organization | Person | Service | URL)[];
23980
24207
  object?: Object$1 | URL | null;