@fedify/fedify 0.11.0-dev.257 → 0.11.0-dev.258

Sign up to get free protection for your applications and to get access to all the features.
@@ -2018,6 +2018,7 @@ export declare class Application extends Object {
2018
2018
  followers?: Collection | URL | null;
2019
2019
  liked?: Collection | URL | null;
2020
2020
  featured?: Collection | URL | null;
2021
+ featuredTags?: Collection | URL | null;
2021
2022
  streams?: (Collection | URL)[];
2022
2023
  endpoints?: Endpoints | null;
2023
2024
  discoverable?: boolean | null;
@@ -2093,6 +2094,7 @@ export declare class Application extends Object {
2093
2094
  followers?: Collection | URL | null;
2094
2095
  liked?: Collection | URL | null;
2095
2096
  featured?: Collection | URL | null;
2097
+ featuredTags?: Collection | URL | null;
2096
2098
  streams?: (Collection | URL)[];
2097
2099
  endpoints?: Endpoints | null;
2098
2100
  discoverable?: boolean | null;
@@ -2295,6 +2297,22 @@ export declare class Application extends Object {
2295
2297
  contextLoader?: DocumentLoader;
2296
2298
  suppressError?: boolean;
2297
2299
  }): Promise<Collection | null>;
2300
+ /**
2301
+ * Similar to
2302
+ * {@link Application.getFeaturedTags},
2303
+ * but returns its `@id` URL instead of the object itself.
2304
+ */
2305
+ get featuredTagsId(): URL | null;
2306
+ /** What is known in Mastodon as "featured hashtags", hashtags that are featured
2307
+ * at people's profiles, is implemented using an extra property `featuredTags`
2308
+ * on the actor object that points to a {@link Collection} of {@link Hashtag}
2309
+ * objects specifically.
2310
+ */
2311
+ getFeaturedTags(options?: {
2312
+ documentLoader?: DocumentLoader;
2313
+ contextLoader?: DocumentLoader;
2314
+ suppressError?: boolean;
2315
+ }): Promise<Collection | null>;
2298
2316
  /**
2299
2317
  * Similar to
2300
2318
  * {@link Application.getStreams},
@@ -3512,7 +3530,7 @@ export declare class Collection extends Object {
3512
3530
  current?: CollectionPage | URL | null;
3513
3531
  first?: CollectionPage | URL | null;
3514
3532
  last?: CollectionPage | URL | null;
3515
- items?: (Object | URL)[];
3533
+ items?: (Object | Link | URL)[];
3516
3534
  }, { documentLoader, contextLoader, }?: {
3517
3535
  documentLoader?: DocumentLoader;
3518
3536
  contextLoader?: DocumentLoader;
@@ -3573,7 +3591,7 @@ export declare class Collection extends Object {
3573
3591
  current?: CollectionPage | URL | null;
3574
3592
  first?: CollectionPage | URL | null;
3575
3593
  last?: CollectionPage | URL | null;
3576
- items?: (Object | URL)[];
3594
+ items?: (Object | Link | URL)[];
3577
3595
  }, options?: {
3578
3596
  documentLoader?: DocumentLoader;
3579
3597
  contextLoader?: DocumentLoader;
@@ -3638,7 +3656,7 @@ export declare class Collection extends Object {
3638
3656
  documentLoader?: DocumentLoader;
3639
3657
  contextLoader?: DocumentLoader;
3640
3658
  suppressError?: boolean;
3641
- }): AsyncIterable<Object>;
3659
+ }): AsyncIterable<Object | Link>;
3642
3660
  /**
3643
3661
  * Converts this object to a JSON-LD structure.
3644
3662
  * @returns The JSON-LD representation of this object.
@@ -3725,7 +3743,7 @@ export declare class CollectionPage extends Collection {
3725
3743
  current?: CollectionPage | URL | null;
3726
3744
  first?: CollectionPage | URL | null;
3727
3745
  last?: CollectionPage | URL | null;
3728
- items?: (Object | URL)[];
3746
+ items?: (Object | Link | URL)[];
3729
3747
  partOf?: Collection | URL | null;
3730
3748
  next?: CollectionPage | URL | null;
3731
3749
  prev?: CollectionPage | URL | null;
@@ -3789,7 +3807,7 @@ export declare class CollectionPage extends Collection {
3789
3807
  current?: CollectionPage | URL | null;
3790
3808
  first?: CollectionPage | URL | null;
3791
3809
  last?: CollectionPage | URL | null;
3792
- items?: (Object | URL)[];
3810
+ items?: (Object | Link | URL)[];
3793
3811
  partOf?: Collection | URL | null;
3794
3812
  next?: CollectionPage | URL | null;
3795
3813
  prev?: CollectionPage | URL | null;
@@ -4998,6 +5016,7 @@ export declare class Group extends Object {
4998
5016
  followers?: Collection | URL | null;
4999
5017
  liked?: Collection | URL | null;
5000
5018
  featured?: Collection | URL | null;
5019
+ featuredTags?: Collection | URL | null;
5001
5020
  streams?: (Collection | URL)[];
5002
5021
  endpoints?: Endpoints | null;
5003
5022
  discoverable?: boolean | null;
@@ -5073,6 +5092,7 @@ export declare class Group extends Object {
5073
5092
  followers?: Collection | URL | null;
5074
5093
  liked?: Collection | URL | null;
5075
5094
  featured?: Collection | URL | null;
5095
+ featuredTags?: Collection | URL | null;
5076
5096
  streams?: (Collection | URL)[];
5077
5097
  endpoints?: Endpoints | null;
5078
5098
  discoverable?: boolean | null;
@@ -5275,6 +5295,22 @@ export declare class Group extends Object {
5275
5295
  contextLoader?: DocumentLoader;
5276
5296
  suppressError?: boolean;
5277
5297
  }): Promise<Collection | null>;
5298
+ /**
5299
+ * Similar to
5300
+ * {@link Group.getFeaturedTags},
5301
+ * but returns its `@id` URL instead of the object itself.
5302
+ */
5303
+ get featuredTagsId(): URL | null;
5304
+ /** What is known in Mastodon as "featured hashtags", hashtags that are featured
5305
+ * at people's profiles, is implemented using an extra property `featuredTags`
5306
+ * on the actor object that points to a {@link Collection} of {@link Hashtag}
5307
+ * objects specifically.
5308
+ */
5309
+ getFeaturedTags(options?: {
5310
+ documentLoader?: DocumentLoader;
5311
+ contextLoader?: DocumentLoader;
5312
+ suppressError?: boolean;
5313
+ }): Promise<Collection | null>;
5278
5314
  /**
5279
5315
  * Similar to
5280
5316
  * {@link Group.getStreams},
@@ -5687,16 +5723,17 @@ export declare class Image extends Document {
5687
5723
  }): Promise<Image>;
5688
5724
  protected _getCustomInspectProxy(): Record<string, unknown>;
5689
5725
  }
5690
- /** Indicates that the `actor` likes, recommends or endorses the `object`.
5691
- * The `target` and `origin` typically have no defined meaning.
5726
+ /** Indicates that the actor is offering the object.
5727
+ * If specified, the target indicates the entity to which
5728
+ * the object is being offered.
5692
5729
  */
5693
- export declare class Like extends Activity {
5730
+ export declare class Offer extends Activity {
5694
5731
  /**
5695
- * The type URI of {@link Like}: `https://www.w3.org/ns/activitystreams#Like`.
5732
+ * The type URI of {@link Offer}: `https://www.w3.org/ns/activitystreams#Offer`.
5696
5733
  */
5697
5734
  static get typeId(): URL;
5698
5735
  /**
5699
- * Constructs a new instance of Like with the given values.
5736
+ * Constructs a new instance of Offer with the given values.
5700
5737
  * @param values The values to initialize the instance with.
5701
5738
  * @param options The options to use for initialization.
5702
5739
  */
@@ -5829,78 +5866,7 @@ export declare class Like extends Activity {
5829
5866
  }, options?: {
5830
5867
  documentLoader?: DocumentLoader;
5831
5868
  contextLoader?: DocumentLoader;
5832
- }): Like;
5833
- /**
5834
- * Converts this object to a JSON-LD structure.
5835
- * @returns The JSON-LD representation of this object.
5836
- */
5837
- toJsonLd(options?: {
5838
- expand?: boolean;
5839
- contextLoader?: DocumentLoader;
5840
- context?: string | Record<string, string> | (string | Record<string, string>)[];
5841
- }): Promise<unknown>;
5842
- /**
5843
- * Converts a JSON-LD structure to an object of this type.
5844
- * @param json The JSON-LD structure to convert.
5845
- * @returns The object of this type.
5846
- * @throws {TypeError} If the given `json` is invalid.
5847
- */
5848
- static fromJsonLd(json: unknown, options?: {
5849
- documentLoader?: DocumentLoader;
5850
- contextLoader?: DocumentLoader;
5851
- }): Promise<Like>;
5852
- protected _getCustomInspectProxy(): Record<string, unknown>;
5853
- }
5854
- /** A specialized {@link Link} that represents an @mention.
5855
- */
5856
- export declare class Mention extends Link {
5857
- /**
5858
- * The type URI of {@link Mention}: `https://www.w3.org/ns/activitystreams#Mention`.
5859
- */
5860
- static get typeId(): URL;
5861
- /**
5862
- * Constructs a new instance of Mention with the given values.
5863
- * @param values The values to initialize the instance with.
5864
- * @param options The options to use for initialization.
5865
- */
5866
- constructor(values: {
5867
- id?: URL | null;
5868
- href?: URL | null;
5869
- rel?: string | null;
5870
- rels?: (string)[];
5871
- mediaType?: string | null;
5872
- name?: string | LanguageString | null;
5873
- names?: ((string | LanguageString))[];
5874
- language?: LanguageTag | null;
5875
- height?: number | null;
5876
- width?: number | null;
5877
- previews?: (Link | Object | URL)[];
5878
- }, { documentLoader, contextLoader, }?: {
5879
- documentLoader?: DocumentLoader;
5880
- contextLoader?: DocumentLoader;
5881
- });
5882
- /**
5883
- * Clones this instance, optionally updating it with the given values.
5884
- * @param values The values to update the clone with.
5885
- * @options The options to use for cloning.
5886
- * @returns The cloned instance.
5887
- */
5888
- clone(values?: {
5889
- id?: URL | null;
5890
- href?: URL | null;
5891
- rel?: string | null;
5892
- rels?: (string)[];
5893
- mediaType?: string | null;
5894
- name?: string | LanguageString | null;
5895
- names?: ((string | LanguageString))[];
5896
- language?: LanguageTag | null;
5897
- height?: number | null;
5898
- width?: number | null;
5899
- previews?: (Link | Object | URL)[];
5900
- }, options?: {
5901
- documentLoader?: DocumentLoader;
5902
- contextLoader?: DocumentLoader;
5903
- }): Mention;
5869
+ }): Offer;
5904
5870
  /**
5905
5871
  * Converts this object to a JSON-LD structure.
5906
5872
  * @returns The JSON-LD representation of this object.
@@ -5919,19 +5885,19 @@ export declare class Mention extends Link {
5919
5885
  static fromJsonLd(json: unknown, options?: {
5920
5886
  documentLoader?: DocumentLoader;
5921
5887
  contextLoader?: DocumentLoader;
5922
- }): Promise<Mention>;
5888
+ }): Promise<Offer>;
5923
5889
  protected _getCustomInspectProxy(): Record<string, unknown>;
5924
5890
  }
5925
- /** Represents a short written work typically less than a single paragraph in
5926
- * length.
5891
+ /** A specialization of `Offer` in which the `actor` is extending an invitation
5892
+ * for the `object` to the `target`.
5927
5893
  */
5928
- export declare class Note extends Object {
5894
+ export declare class Invite extends Offer {
5929
5895
  /**
5930
- * The type URI of {@link Note}: `https://www.w3.org/ns/activitystreams#Note`.
5896
+ * The type URI of {@link Invite}: `https://www.w3.org/ns/activitystreams#Invite`.
5931
5897
  */
5932
5898
  static get typeId(): URL;
5933
5899
  /**
5934
- * Constructs a new instance of Note with the given values.
5900
+ * Constructs a new instance of Invite with the given values.
5935
5901
  * @param values The values to initialize the instance with.
5936
5902
  * @param options The options to use for initialization.
5937
5903
  */
@@ -5981,6 +5947,18 @@ export declare class Note extends Object {
5981
5947
  sensitive?: boolean | null;
5982
5948
  proof?: DataIntegrityProof | URL | null;
5983
5949
  proofs?: (DataIntegrityProof | URL)[];
5950
+ actor?: Application | Group | Organization | Person | Service | URL | null;
5951
+ actors?: (Application | Group | Organization | Person | Service | URL)[];
5952
+ object?: Object | URL | null;
5953
+ objects?: (Object | URL)[];
5954
+ target?: Object | URL | null;
5955
+ targets?: (Object | URL)[];
5956
+ result?: Object | URL | null;
5957
+ results?: (Object | URL)[];
5958
+ origin?: Object | URL | null;
5959
+ origins?: (Object | URL)[];
5960
+ instrument?: Object | URL | null;
5961
+ instruments?: (Object | URL)[];
5984
5962
  }, { documentLoader, contextLoader, }?: {
5985
5963
  documentLoader?: DocumentLoader;
5986
5964
  contextLoader?: DocumentLoader;
@@ -6037,10 +6015,22 @@ export declare class Note extends Object {
6037
6015
  sensitive?: boolean | null;
6038
6016
  proof?: DataIntegrityProof | URL | null;
6039
6017
  proofs?: (DataIntegrityProof | URL)[];
6018
+ actor?: Application | Group | Organization | Person | Service | URL | null;
6019
+ actors?: (Application | Group | Organization | Person | Service | URL)[];
6020
+ object?: Object | URL | null;
6021
+ objects?: (Object | URL)[];
6022
+ target?: Object | URL | null;
6023
+ targets?: (Object | URL)[];
6024
+ result?: Object | URL | null;
6025
+ results?: (Object | URL)[];
6026
+ origin?: Object | URL | null;
6027
+ origins?: (Object | URL)[];
6028
+ instrument?: Object | URL | null;
6029
+ instruments?: (Object | URL)[];
6040
6030
  }, options?: {
6041
6031
  documentLoader?: DocumentLoader;
6042
6032
  contextLoader?: DocumentLoader;
6043
- }): Note;
6033
+ }): Invite;
6044
6034
  /**
6045
6035
  * Converts this object to a JSON-LD structure.
6046
6036
  * @returns The JSON-LD representation of this object.
@@ -6059,20 +6049,19 @@ export declare class Note extends Object {
6059
6049
  static fromJsonLd(json: unknown, options?: {
6060
6050
  documentLoader?: DocumentLoader;
6061
6051
  contextLoader?: DocumentLoader;
6062
- }): Promise<Note>;
6052
+ }): Promise<Invite>;
6063
6053
  protected _getCustomInspectProxy(): Record<string, unknown>;
6064
6054
  }
6065
- /** Indicates that the actor is offering the object.
6066
- * If specified, the target indicates the entity to which
6067
- * the object is being offered.
6055
+ /** Indicates that the `actor` has joined the `object`.
6056
+ * The `target` and `origin` typically have no defined meaning.
6068
6057
  */
6069
- export declare class Offer extends Activity {
6058
+ export declare class Join extends Activity {
6070
6059
  /**
6071
- * The type URI of {@link Offer}: `https://www.w3.org/ns/activitystreams#Offer`.
6060
+ * The type URI of {@link Join}: `https://www.w3.org/ns/activitystreams#Join`.
6072
6061
  */
6073
6062
  static get typeId(): URL;
6074
6063
  /**
6075
- * Constructs a new instance of Offer with the given values.
6064
+ * Constructs a new instance of Join with the given values.
6076
6065
  * @param values The values to initialize the instance with.
6077
6066
  * @param options The options to use for initialization.
6078
6067
  */
@@ -6205,7 +6194,7 @@ export declare class Offer extends Activity {
6205
6194
  }, options?: {
6206
6195
  documentLoader?: DocumentLoader;
6207
6196
  contextLoader?: DocumentLoader;
6208
- }): Offer;
6197
+ }): Join;
6209
6198
  /**
6210
6199
  * Converts this object to a JSON-LD structure.
6211
6200
  * @returns The JSON-LD representation of this object.
@@ -6224,20 +6213,19 @@ export declare class Offer extends Activity {
6224
6213
  static fromJsonLd(json: unknown, options?: {
6225
6214
  documentLoader?: DocumentLoader;
6226
6215
  contextLoader?: DocumentLoader;
6227
- }): Promise<Offer>;
6216
+ }): Promise<Join>;
6228
6217
  protected _getCustomInspectProxy(): Record<string, unknown>;
6229
6218
  }
6230
- /** A subtype of {@link Collection} in which members of the logical collection
6231
- * are assumed to always be strictly ordered.
6219
+ /** Indicates that the `actor` has left the `object`.
6220
+ * The `target` and `origin` typically have no meaning.
6232
6221
  */
6233
- export declare class OrderedCollection extends Collection {
6234
- #private;
6222
+ export declare class Leave extends Activity {
6235
6223
  /**
6236
- * The type URI of {@link OrderedCollection}: `https://www.w3.org/ns/activitystreams#OrderedCollection`.
6224
+ * The type URI of {@link Leave}: `https://www.w3.org/ns/activitystreams#Leave`.
6237
6225
  */
6238
6226
  static get typeId(): URL;
6239
6227
  /**
6240
- * Constructs a new instance of OrderedCollection with the given values.
6228
+ * Constructs a new instance of Leave with the given values.
6241
6229
  * @param values The values to initialize the instance with.
6242
6230
  * @param options The options to use for initialization.
6243
6231
  */
@@ -6287,11 +6275,18 @@ export declare class OrderedCollection extends Collection {
6287
6275
  sensitive?: boolean | null;
6288
6276
  proof?: DataIntegrityProof | URL | null;
6289
6277
  proofs?: (DataIntegrityProof | URL)[];
6290
- totalItems?: number | null;
6291
- current?: CollectionPage | URL | null;
6292
- first?: CollectionPage | URL | null;
6293
- last?: CollectionPage | URL | null;
6294
- items?: (Object | URL)[];
6278
+ actor?: Application | Group | Organization | Person | Service | URL | null;
6279
+ actors?: (Application | Group | Organization | Person | Service | URL)[];
6280
+ object?: Object | URL | null;
6281
+ objects?: (Object | URL)[];
6282
+ target?: Object | URL | null;
6283
+ targets?: (Object | URL)[];
6284
+ result?: Object | URL | null;
6285
+ results?: (Object | URL)[];
6286
+ origin?: Object | URL | null;
6287
+ origins?: (Object | URL)[];
6288
+ instrument?: Object | URL | null;
6289
+ instruments?: (Object | URL)[];
6295
6290
  }, { documentLoader, contextLoader, }?: {
6296
6291
  documentLoader?: DocumentLoader;
6297
6292
  contextLoader?: DocumentLoader;
@@ -6348,29 +6343,22 @@ export declare class OrderedCollection extends Collection {
6348
6343
  sensitive?: boolean | null;
6349
6344
  proof?: DataIntegrityProof | URL | null;
6350
6345
  proofs?: (DataIntegrityProof | URL)[];
6351
- totalItems?: number | null;
6352
- current?: CollectionPage | URL | null;
6353
- first?: CollectionPage | URL | null;
6354
- last?: CollectionPage | URL | null;
6355
- items?: (Object | URL)[];
6346
+ actor?: Application | Group | Organization | Person | Service | URL | null;
6347
+ actors?: (Application | Group | Organization | Person | Service | URL)[];
6348
+ object?: Object | URL | null;
6349
+ objects?: (Object | URL)[];
6350
+ target?: Object | URL | null;
6351
+ targets?: (Object | URL)[];
6352
+ result?: Object | URL | null;
6353
+ results?: (Object | URL)[];
6354
+ origin?: Object | URL | null;
6355
+ origins?: (Object | URL)[];
6356
+ instrument?: Object | URL | null;
6357
+ instruments?: (Object | URL)[];
6356
6358
  }, options?: {
6357
6359
  documentLoader?: DocumentLoader;
6358
6360
  contextLoader?: DocumentLoader;
6359
- }): OrderedCollection;
6360
- /**
6361
- * Similar to
6362
- * {@link OrderedCollection.getItems},
6363
- * but returns their `@id`s instead of the objects themselves.
6364
- */
6365
- get itemIds(): URL[];
6366
- /** Identifies the items contained in a collection. The items might be ordered
6367
- * or unordered.
6368
- */
6369
- getItems(options?: {
6370
- documentLoader?: DocumentLoader;
6371
- contextLoader?: DocumentLoader;
6372
- suppressError?: boolean;
6373
- }): AsyncIterable<Object>;
6361
+ }): Leave;
6374
6362
  /**
6375
6363
  * Converts this object to a JSON-LD structure.
6376
6364
  * @returns The JSON-LD representation of this object.
@@ -6389,21 +6377,19 @@ export declare class OrderedCollection extends Collection {
6389
6377
  static fromJsonLd(json: unknown, options?: {
6390
6378
  documentLoader?: DocumentLoader;
6391
6379
  contextLoader?: DocumentLoader;
6392
- }): Promise<OrderedCollection>;
6380
+ }): Promise<Leave>;
6393
6381
  protected _getCustomInspectProxy(): Record<string, unknown>;
6394
6382
  }
6395
- /** Used to represent ordered subsets of items from an `OrderedCollection`.
6396
- * Refer to the Activity Streams 2.0 Core for a complete description of
6397
- * the `OrderedCollectionPage` object.
6383
+ /** Indicates that the `actor` likes, recommends or endorses the `object`.
6384
+ * The `target` and `origin` typically have no defined meaning.
6398
6385
  */
6399
- export declare class OrderedCollectionPage extends CollectionPage {
6400
- #private;
6386
+ export declare class Like extends Activity {
6401
6387
  /**
6402
- * The type URI of {@link OrderedCollectionPage}: `https://www.w3.org/ns/activitystreams#OrderedCollectionPage`.
6388
+ * The type URI of {@link Like}: `https://www.w3.org/ns/activitystreams#Like`.
6403
6389
  */
6404
6390
  static get typeId(): URL;
6405
6391
  /**
6406
- * Constructs a new instance of OrderedCollectionPage with the given values.
6392
+ * Constructs a new instance of Like with the given values.
6407
6393
  * @param values The values to initialize the instance with.
6408
6394
  * @param options The options to use for initialization.
6409
6395
  */
@@ -6453,15 +6439,18 @@ export declare class OrderedCollectionPage extends CollectionPage {
6453
6439
  sensitive?: boolean | null;
6454
6440
  proof?: DataIntegrityProof | URL | null;
6455
6441
  proofs?: (DataIntegrityProof | URL)[];
6456
- totalItems?: number | null;
6457
- current?: CollectionPage | URL | null;
6458
- first?: CollectionPage | URL | null;
6459
- last?: CollectionPage | URL | null;
6460
- items?: (Object | URL)[];
6461
- partOf?: Collection | URL | null;
6462
- next?: CollectionPage | URL | null;
6463
- prev?: CollectionPage | URL | null;
6464
- startIndex?: number | null;
6442
+ actor?: Application | Group | Organization | Person | Service | URL | null;
6443
+ actors?: (Application | Group | Organization | Person | Service | URL)[];
6444
+ object?: Object | URL | null;
6445
+ objects?: (Object | URL)[];
6446
+ target?: Object | URL | null;
6447
+ targets?: (Object | URL)[];
6448
+ result?: Object | URL | null;
6449
+ results?: (Object | URL)[];
6450
+ origin?: Object | URL | null;
6451
+ origins?: (Object | URL)[];
6452
+ instrument?: Object | URL | null;
6453
+ instruments?: (Object | URL)[];
6465
6454
  }, { documentLoader, contextLoader, }?: {
6466
6455
  documentLoader?: DocumentLoader;
6467
6456
  contextLoader?: DocumentLoader;
@@ -6518,22 +6507,724 @@ export declare class OrderedCollectionPage extends CollectionPage {
6518
6507
  sensitive?: boolean | null;
6519
6508
  proof?: DataIntegrityProof | URL | null;
6520
6509
  proofs?: (DataIntegrityProof | URL)[];
6521
- totalItems?: number | null;
6522
- current?: CollectionPage | URL | null;
6523
- first?: CollectionPage | URL | null;
6524
- last?: CollectionPage | URL | null;
6525
- items?: (Object | URL)[];
6526
- partOf?: Collection | URL | null;
6527
- next?: CollectionPage | URL | null;
6528
- prev?: CollectionPage | URL | null;
6529
- startIndex?: number | null;
6510
+ actor?: Application | Group | Organization | Person | Service | URL | null;
6511
+ actors?: (Application | Group | Organization | Person | Service | URL)[];
6512
+ object?: Object | URL | null;
6513
+ objects?: (Object | URL)[];
6514
+ target?: Object | URL | null;
6515
+ targets?: (Object | URL)[];
6516
+ result?: Object | URL | null;
6517
+ results?: (Object | URL)[];
6518
+ origin?: Object | URL | null;
6519
+ origins?: (Object | URL)[];
6520
+ instrument?: Object | URL | null;
6521
+ instruments?: (Object | URL)[];
6530
6522
  }, options?: {
6531
6523
  documentLoader?: DocumentLoader;
6532
6524
  contextLoader?: DocumentLoader;
6533
- }): OrderedCollectionPage;
6534
- /** A non-negative integer value identifying the relative position within
6535
- * the logical view of a strictly ordered collection.
6536
- */
6525
+ }): Like;
6526
+ /**
6527
+ * Converts this object to a JSON-LD structure.
6528
+ * @returns The JSON-LD representation of this object.
6529
+ */
6530
+ toJsonLd(options?: {
6531
+ expand?: boolean;
6532
+ contextLoader?: DocumentLoader;
6533
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
6534
+ }): Promise<unknown>;
6535
+ /**
6536
+ * Converts a JSON-LD structure to an object of this type.
6537
+ * @param json The JSON-LD structure to convert.
6538
+ * @returns The object of this type.
6539
+ * @throws {TypeError} If the given `json` is invalid.
6540
+ */
6541
+ static fromJsonLd(json: unknown, options?: {
6542
+ documentLoader?: DocumentLoader;
6543
+ contextLoader?: DocumentLoader;
6544
+ }): Promise<Like>;
6545
+ protected _getCustomInspectProxy(): Record<string, unknown>;
6546
+ }
6547
+ /** Indicates that the `actor` has listened to the `object`.
6548
+ */
6549
+ export declare class Listen extends Activity {
6550
+ /**
6551
+ * The type URI of {@link Listen}: `https://www.w3.org/ns/activitystreams#Listen`.
6552
+ */
6553
+ static get typeId(): URL;
6554
+ /**
6555
+ * Constructs a new instance of Listen with the given values.
6556
+ * @param values The values to initialize the instance with.
6557
+ * @param options The options to use for initialization.
6558
+ */
6559
+ constructor(values: {
6560
+ id?: URL | null;
6561
+ attachments?: (Object | Link | PropertyValue | URL)[];
6562
+ attribution?: Application | Group | Organization | Person | Service | URL | null;
6563
+ attributions?: (Application | Group | Organization | Person | Service | URL)[];
6564
+ audience?: Object | URL | null;
6565
+ audiences?: (Object | URL)[];
6566
+ content?: string | LanguageString | null;
6567
+ contents?: ((string | LanguageString))[];
6568
+ contexts?: (Object | Link | URL)[];
6569
+ name?: string | LanguageString | null;
6570
+ names?: ((string | LanguageString))[];
6571
+ endTime?: dntShim.Temporal.Instant | null;
6572
+ generators?: (Object | Link | URL)[];
6573
+ icon?: Image | URL | null;
6574
+ icons?: (Image | URL)[];
6575
+ image?: Image | URL | null;
6576
+ images?: (Image | URL)[];
6577
+ replyTarget?: Object | Link | URL | null;
6578
+ replyTargets?: (Object | Link | URL)[];
6579
+ location?: Object | Link | URL | null;
6580
+ locations?: (Object | Link | URL)[];
6581
+ preview?: Link | Object | URL | null;
6582
+ previews?: (Link | Object | URL)[];
6583
+ published?: dntShim.Temporal.Instant | null;
6584
+ replies?: Collection | URL | null;
6585
+ startTime?: dntShim.Temporal.Instant | null;
6586
+ summary?: string | LanguageString | null;
6587
+ summaries?: ((string | LanguageString))[];
6588
+ tags?: (Object | Link | URL)[];
6589
+ updated?: dntShim.Temporal.Instant | null;
6590
+ url?: URL | Link | null;
6591
+ urls?: ((URL | Link))[];
6592
+ to?: Object | URL | null;
6593
+ tos?: (Object | URL)[];
6594
+ bto?: Object | URL | null;
6595
+ btos?: (Object | URL)[];
6596
+ cc?: Object | URL | null;
6597
+ ccs?: (Object | URL)[];
6598
+ bcc?: Object | URL | null;
6599
+ bccs?: (Object | URL)[];
6600
+ mediaType?: string | null;
6601
+ duration?: dntShim.Temporal.Duration | null;
6602
+ sensitive?: boolean | null;
6603
+ proof?: DataIntegrityProof | URL | null;
6604
+ proofs?: (DataIntegrityProof | URL)[];
6605
+ actor?: Application | Group | Organization | Person | Service | URL | null;
6606
+ actors?: (Application | Group | Organization | Person | Service | URL)[];
6607
+ object?: Object | URL | null;
6608
+ objects?: (Object | URL)[];
6609
+ target?: Object | URL | null;
6610
+ targets?: (Object | URL)[];
6611
+ result?: Object | URL | null;
6612
+ results?: (Object | URL)[];
6613
+ origin?: Object | URL | null;
6614
+ origins?: (Object | URL)[];
6615
+ instrument?: Object | URL | null;
6616
+ instruments?: (Object | URL)[];
6617
+ }, { documentLoader, contextLoader, }?: {
6618
+ documentLoader?: DocumentLoader;
6619
+ contextLoader?: DocumentLoader;
6620
+ });
6621
+ /**
6622
+ * Clones this instance, optionally updating it with the given values.
6623
+ * @param values The values to update the clone with.
6624
+ * @options The options to use for cloning.
6625
+ * @returns The cloned instance.
6626
+ */
6627
+ clone(values?: {
6628
+ id?: URL | null;
6629
+ attachments?: (Object | Link | PropertyValue | URL)[];
6630
+ attribution?: Application | Group | Organization | Person | Service | URL | null;
6631
+ attributions?: (Application | Group | Organization | Person | Service | URL)[];
6632
+ audience?: Object | URL | null;
6633
+ audiences?: (Object | URL)[];
6634
+ content?: string | LanguageString | null;
6635
+ contents?: ((string | LanguageString))[];
6636
+ contexts?: (Object | Link | URL)[];
6637
+ name?: string | LanguageString | null;
6638
+ names?: ((string | LanguageString))[];
6639
+ endTime?: dntShim.Temporal.Instant | null;
6640
+ generators?: (Object | Link | URL)[];
6641
+ icon?: Image | URL | null;
6642
+ icons?: (Image | URL)[];
6643
+ image?: Image | URL | null;
6644
+ images?: (Image | URL)[];
6645
+ replyTarget?: Object | Link | URL | null;
6646
+ replyTargets?: (Object | Link | URL)[];
6647
+ location?: Object | Link | URL | null;
6648
+ locations?: (Object | Link | URL)[];
6649
+ preview?: Link | Object | URL | null;
6650
+ previews?: (Link | Object | URL)[];
6651
+ published?: dntShim.Temporal.Instant | null;
6652
+ replies?: Collection | URL | null;
6653
+ startTime?: dntShim.Temporal.Instant | null;
6654
+ summary?: string | LanguageString | null;
6655
+ summaries?: ((string | LanguageString))[];
6656
+ tags?: (Object | Link | URL)[];
6657
+ updated?: dntShim.Temporal.Instant | null;
6658
+ url?: URL | Link | null;
6659
+ urls?: ((URL | Link))[];
6660
+ to?: Object | URL | null;
6661
+ tos?: (Object | URL)[];
6662
+ bto?: Object | URL | null;
6663
+ btos?: (Object | URL)[];
6664
+ cc?: Object | URL | null;
6665
+ ccs?: (Object | URL)[];
6666
+ bcc?: Object | URL | null;
6667
+ bccs?: (Object | URL)[];
6668
+ mediaType?: string | null;
6669
+ duration?: dntShim.Temporal.Duration | null;
6670
+ sensitive?: boolean | null;
6671
+ proof?: DataIntegrityProof | URL | null;
6672
+ proofs?: (DataIntegrityProof | URL)[];
6673
+ actor?: Application | Group | Organization | Person | Service | URL | null;
6674
+ actors?: (Application | Group | Organization | Person | Service | URL)[];
6675
+ object?: Object | URL | null;
6676
+ objects?: (Object | URL)[];
6677
+ target?: Object | URL | null;
6678
+ targets?: (Object | URL)[];
6679
+ result?: Object | URL | null;
6680
+ results?: (Object | URL)[];
6681
+ origin?: Object | URL | null;
6682
+ origins?: (Object | URL)[];
6683
+ instrument?: Object | URL | null;
6684
+ instruments?: (Object | URL)[];
6685
+ }, options?: {
6686
+ documentLoader?: DocumentLoader;
6687
+ contextLoader?: DocumentLoader;
6688
+ }): Listen;
6689
+ /**
6690
+ * Converts this object to a JSON-LD structure.
6691
+ * @returns The JSON-LD representation of this object.
6692
+ */
6693
+ toJsonLd(options?: {
6694
+ expand?: boolean;
6695
+ contextLoader?: DocumentLoader;
6696
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
6697
+ }): Promise<unknown>;
6698
+ /**
6699
+ * Converts a JSON-LD structure to an object of this type.
6700
+ * @param json The JSON-LD structure to convert.
6701
+ * @returns The object of this type.
6702
+ * @throws {TypeError} If the given `json` is invalid.
6703
+ */
6704
+ static fromJsonLd(json: unknown, options?: {
6705
+ documentLoader?: DocumentLoader;
6706
+ contextLoader?: DocumentLoader;
6707
+ }): Promise<Listen>;
6708
+ protected _getCustomInspectProxy(): Record<string, unknown>;
6709
+ }
6710
+ /** A specialized {@link Link} that represents an @mention.
6711
+ */
6712
+ export declare class Mention extends Link {
6713
+ /**
6714
+ * The type URI of {@link Mention}: `https://www.w3.org/ns/activitystreams#Mention`.
6715
+ */
6716
+ static get typeId(): URL;
6717
+ /**
6718
+ * Constructs a new instance of Mention with the given values.
6719
+ * @param values The values to initialize the instance with.
6720
+ * @param options The options to use for initialization.
6721
+ */
6722
+ constructor(values: {
6723
+ id?: URL | null;
6724
+ href?: URL | null;
6725
+ rel?: string | null;
6726
+ rels?: (string)[];
6727
+ mediaType?: string | null;
6728
+ name?: string | LanguageString | null;
6729
+ names?: ((string | LanguageString))[];
6730
+ language?: LanguageTag | null;
6731
+ height?: number | null;
6732
+ width?: number | null;
6733
+ previews?: (Link | Object | URL)[];
6734
+ }, { documentLoader, contextLoader, }?: {
6735
+ documentLoader?: DocumentLoader;
6736
+ contextLoader?: DocumentLoader;
6737
+ });
6738
+ /**
6739
+ * Clones this instance, optionally updating it with the given values.
6740
+ * @param values The values to update the clone with.
6741
+ * @options The options to use for cloning.
6742
+ * @returns The cloned instance.
6743
+ */
6744
+ clone(values?: {
6745
+ id?: URL | null;
6746
+ href?: URL | null;
6747
+ rel?: string | null;
6748
+ rels?: (string)[];
6749
+ mediaType?: string | null;
6750
+ name?: string | LanguageString | null;
6751
+ names?: ((string | LanguageString))[];
6752
+ language?: LanguageTag | null;
6753
+ height?: number | null;
6754
+ width?: number | null;
6755
+ previews?: (Link | Object | URL)[];
6756
+ }, options?: {
6757
+ documentLoader?: DocumentLoader;
6758
+ contextLoader?: DocumentLoader;
6759
+ }): Mention;
6760
+ /**
6761
+ * Converts this object to a JSON-LD structure.
6762
+ * @returns The JSON-LD representation of this object.
6763
+ */
6764
+ toJsonLd(options?: {
6765
+ expand?: boolean;
6766
+ contextLoader?: DocumentLoader;
6767
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
6768
+ }): Promise<unknown>;
6769
+ /**
6770
+ * Converts a JSON-LD structure to an object of this type.
6771
+ * @param json The JSON-LD structure to convert.
6772
+ * @returns The object of this type.
6773
+ * @throws {TypeError} If the given `json` is invalid.
6774
+ */
6775
+ static fromJsonLd(json: unknown, options?: {
6776
+ documentLoader?: DocumentLoader;
6777
+ contextLoader?: DocumentLoader;
6778
+ }): Promise<Mention>;
6779
+ protected _getCustomInspectProxy(): Record<string, unknown>;
6780
+ }
6781
+ /** Represents a short written work typically less than a single paragraph in
6782
+ * length.
6783
+ */
6784
+ export declare class Note extends Object {
6785
+ /**
6786
+ * The type URI of {@link Note}: `https://www.w3.org/ns/activitystreams#Note`.
6787
+ */
6788
+ static get typeId(): URL;
6789
+ /**
6790
+ * Constructs a new instance of Note with the given values.
6791
+ * @param values The values to initialize the instance with.
6792
+ * @param options The options to use for initialization.
6793
+ */
6794
+ constructor(values: {
6795
+ id?: URL | null;
6796
+ attachments?: (Object | Link | PropertyValue | URL)[];
6797
+ attribution?: Application | Group | Organization | Person | Service | URL | null;
6798
+ attributions?: (Application | Group | Organization | Person | Service | URL)[];
6799
+ audience?: Object | URL | null;
6800
+ audiences?: (Object | URL)[];
6801
+ content?: string | LanguageString | null;
6802
+ contents?: ((string | LanguageString))[];
6803
+ contexts?: (Object | Link | URL)[];
6804
+ name?: string | LanguageString | null;
6805
+ names?: ((string | LanguageString))[];
6806
+ endTime?: dntShim.Temporal.Instant | null;
6807
+ generators?: (Object | Link | URL)[];
6808
+ icon?: Image | URL | null;
6809
+ icons?: (Image | URL)[];
6810
+ image?: Image | URL | null;
6811
+ images?: (Image | URL)[];
6812
+ replyTarget?: Object | Link | URL | null;
6813
+ replyTargets?: (Object | Link | URL)[];
6814
+ location?: Object | Link | URL | null;
6815
+ locations?: (Object | Link | URL)[];
6816
+ preview?: Link | Object | URL | null;
6817
+ previews?: (Link | Object | URL)[];
6818
+ published?: dntShim.Temporal.Instant | null;
6819
+ replies?: Collection | URL | null;
6820
+ startTime?: dntShim.Temporal.Instant | null;
6821
+ summary?: string | LanguageString | null;
6822
+ summaries?: ((string | LanguageString))[];
6823
+ tags?: (Object | Link | URL)[];
6824
+ updated?: dntShim.Temporal.Instant | null;
6825
+ url?: URL | Link | null;
6826
+ urls?: ((URL | Link))[];
6827
+ to?: Object | URL | null;
6828
+ tos?: (Object | URL)[];
6829
+ bto?: Object | URL | null;
6830
+ btos?: (Object | URL)[];
6831
+ cc?: Object | URL | null;
6832
+ ccs?: (Object | URL)[];
6833
+ bcc?: Object | URL | null;
6834
+ bccs?: (Object | URL)[];
6835
+ mediaType?: string | null;
6836
+ duration?: dntShim.Temporal.Duration | null;
6837
+ sensitive?: boolean | null;
6838
+ proof?: DataIntegrityProof | URL | null;
6839
+ proofs?: (DataIntegrityProof | URL)[];
6840
+ }, { documentLoader, contextLoader, }?: {
6841
+ documentLoader?: DocumentLoader;
6842
+ contextLoader?: DocumentLoader;
6843
+ });
6844
+ /**
6845
+ * Clones this instance, optionally updating it with the given values.
6846
+ * @param values The values to update the clone with.
6847
+ * @options The options to use for cloning.
6848
+ * @returns The cloned instance.
6849
+ */
6850
+ clone(values?: {
6851
+ id?: URL | null;
6852
+ attachments?: (Object | Link | PropertyValue | URL)[];
6853
+ attribution?: Application | Group | Organization | Person | Service | URL | null;
6854
+ attributions?: (Application | Group | Organization | Person | Service | URL)[];
6855
+ audience?: Object | URL | null;
6856
+ audiences?: (Object | URL)[];
6857
+ content?: string | LanguageString | null;
6858
+ contents?: ((string | LanguageString))[];
6859
+ contexts?: (Object | Link | URL)[];
6860
+ name?: string | LanguageString | null;
6861
+ names?: ((string | LanguageString))[];
6862
+ endTime?: dntShim.Temporal.Instant | null;
6863
+ generators?: (Object | Link | URL)[];
6864
+ icon?: Image | URL | null;
6865
+ icons?: (Image | URL)[];
6866
+ image?: Image | URL | null;
6867
+ images?: (Image | URL)[];
6868
+ replyTarget?: Object | Link | URL | null;
6869
+ replyTargets?: (Object | Link | URL)[];
6870
+ location?: Object | Link | URL | null;
6871
+ locations?: (Object | Link | URL)[];
6872
+ preview?: Link | Object | URL | null;
6873
+ previews?: (Link | Object | URL)[];
6874
+ published?: dntShim.Temporal.Instant | null;
6875
+ replies?: Collection | URL | null;
6876
+ startTime?: dntShim.Temporal.Instant | null;
6877
+ summary?: string | LanguageString | null;
6878
+ summaries?: ((string | LanguageString))[];
6879
+ tags?: (Object | Link | URL)[];
6880
+ updated?: dntShim.Temporal.Instant | null;
6881
+ url?: URL | Link | null;
6882
+ urls?: ((URL | Link))[];
6883
+ to?: Object | URL | null;
6884
+ tos?: (Object | URL)[];
6885
+ bto?: Object | URL | null;
6886
+ btos?: (Object | URL)[];
6887
+ cc?: Object | URL | null;
6888
+ ccs?: (Object | URL)[];
6889
+ bcc?: Object | URL | null;
6890
+ bccs?: (Object | URL)[];
6891
+ mediaType?: string | null;
6892
+ duration?: dntShim.Temporal.Duration | null;
6893
+ sensitive?: boolean | null;
6894
+ proof?: DataIntegrityProof | URL | null;
6895
+ proofs?: (DataIntegrityProof | URL)[];
6896
+ }, options?: {
6897
+ documentLoader?: DocumentLoader;
6898
+ contextLoader?: DocumentLoader;
6899
+ }): Note;
6900
+ /**
6901
+ * Converts this object to a JSON-LD structure.
6902
+ * @returns The JSON-LD representation of this object.
6903
+ */
6904
+ toJsonLd(options?: {
6905
+ expand?: boolean;
6906
+ contextLoader?: DocumentLoader;
6907
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
6908
+ }): Promise<unknown>;
6909
+ /**
6910
+ * Converts a JSON-LD structure to an object of this type.
6911
+ * @param json The JSON-LD structure to convert.
6912
+ * @returns The object of this type.
6913
+ * @throws {TypeError} If the given `json` is invalid.
6914
+ */
6915
+ static fromJsonLd(json: unknown, options?: {
6916
+ documentLoader?: DocumentLoader;
6917
+ contextLoader?: DocumentLoader;
6918
+ }): Promise<Note>;
6919
+ protected _getCustomInspectProxy(): Record<string, unknown>;
6920
+ }
6921
+ /** A subtype of {@link Collection} in which members of the logical collection
6922
+ * are assumed to always be strictly ordered.
6923
+ */
6924
+ export declare class OrderedCollection extends Collection {
6925
+ #private;
6926
+ /**
6927
+ * The type URI of {@link OrderedCollection}: `https://www.w3.org/ns/activitystreams#OrderedCollection`.
6928
+ */
6929
+ static get typeId(): URL;
6930
+ /**
6931
+ * Constructs a new instance of OrderedCollection with the given values.
6932
+ * @param values The values to initialize the instance with.
6933
+ * @param options The options to use for initialization.
6934
+ */
6935
+ constructor(values: {
6936
+ id?: URL | null;
6937
+ attachments?: (Object | Link | PropertyValue | URL)[];
6938
+ attribution?: Application | Group | Organization | Person | Service | URL | null;
6939
+ attributions?: (Application | Group | Organization | Person | Service | URL)[];
6940
+ audience?: Object | URL | null;
6941
+ audiences?: (Object | URL)[];
6942
+ content?: string | LanguageString | null;
6943
+ contents?: ((string | LanguageString))[];
6944
+ contexts?: (Object | Link | URL)[];
6945
+ name?: string | LanguageString | null;
6946
+ names?: ((string | LanguageString))[];
6947
+ endTime?: dntShim.Temporal.Instant | null;
6948
+ generators?: (Object | Link | URL)[];
6949
+ icon?: Image | URL | null;
6950
+ icons?: (Image | URL)[];
6951
+ image?: Image | URL | null;
6952
+ images?: (Image | URL)[];
6953
+ replyTarget?: Object | Link | URL | null;
6954
+ replyTargets?: (Object | Link | URL)[];
6955
+ location?: Object | Link | URL | null;
6956
+ locations?: (Object | Link | URL)[];
6957
+ preview?: Link | Object | URL | null;
6958
+ previews?: (Link | Object | URL)[];
6959
+ published?: dntShim.Temporal.Instant | null;
6960
+ replies?: Collection | URL | null;
6961
+ startTime?: dntShim.Temporal.Instant | null;
6962
+ summary?: string | LanguageString | null;
6963
+ summaries?: ((string | LanguageString))[];
6964
+ tags?: (Object | Link | URL)[];
6965
+ updated?: dntShim.Temporal.Instant | null;
6966
+ url?: URL | Link | null;
6967
+ urls?: ((URL | Link))[];
6968
+ to?: Object | URL | null;
6969
+ tos?: (Object | URL)[];
6970
+ bto?: Object | URL | null;
6971
+ btos?: (Object | URL)[];
6972
+ cc?: Object | URL | null;
6973
+ ccs?: (Object | URL)[];
6974
+ bcc?: Object | URL | null;
6975
+ bccs?: (Object | URL)[];
6976
+ mediaType?: string | null;
6977
+ duration?: dntShim.Temporal.Duration | null;
6978
+ sensitive?: boolean | null;
6979
+ proof?: DataIntegrityProof | URL | null;
6980
+ proofs?: (DataIntegrityProof | URL)[];
6981
+ totalItems?: number | null;
6982
+ current?: CollectionPage | URL | null;
6983
+ first?: CollectionPage | URL | null;
6984
+ last?: CollectionPage | URL | null;
6985
+ items?: (Object | Link | URL)[];
6986
+ }, { documentLoader, contextLoader, }?: {
6987
+ documentLoader?: DocumentLoader;
6988
+ contextLoader?: DocumentLoader;
6989
+ });
6990
+ /**
6991
+ * Clones this instance, optionally updating it with the given values.
6992
+ * @param values The values to update the clone with.
6993
+ * @options The options to use for cloning.
6994
+ * @returns The cloned instance.
6995
+ */
6996
+ clone(values?: {
6997
+ id?: URL | null;
6998
+ attachments?: (Object | Link | PropertyValue | URL)[];
6999
+ attribution?: Application | Group | Organization | Person | Service | URL | null;
7000
+ attributions?: (Application | Group | Organization | Person | Service | URL)[];
7001
+ audience?: Object | URL | null;
7002
+ audiences?: (Object | URL)[];
7003
+ content?: string | LanguageString | null;
7004
+ contents?: ((string | LanguageString))[];
7005
+ contexts?: (Object | Link | URL)[];
7006
+ name?: string | LanguageString | null;
7007
+ names?: ((string | LanguageString))[];
7008
+ endTime?: dntShim.Temporal.Instant | null;
7009
+ generators?: (Object | Link | URL)[];
7010
+ icon?: Image | URL | null;
7011
+ icons?: (Image | URL)[];
7012
+ image?: Image | URL | null;
7013
+ images?: (Image | URL)[];
7014
+ replyTarget?: Object | Link | URL | null;
7015
+ replyTargets?: (Object | Link | URL)[];
7016
+ location?: Object | Link | URL | null;
7017
+ locations?: (Object | Link | URL)[];
7018
+ preview?: Link | Object | URL | null;
7019
+ previews?: (Link | Object | URL)[];
7020
+ published?: dntShim.Temporal.Instant | null;
7021
+ replies?: Collection | URL | null;
7022
+ startTime?: dntShim.Temporal.Instant | null;
7023
+ summary?: string | LanguageString | null;
7024
+ summaries?: ((string | LanguageString))[];
7025
+ tags?: (Object | Link | URL)[];
7026
+ updated?: dntShim.Temporal.Instant | null;
7027
+ url?: URL | Link | null;
7028
+ urls?: ((URL | Link))[];
7029
+ to?: Object | URL | null;
7030
+ tos?: (Object | URL)[];
7031
+ bto?: Object | URL | null;
7032
+ btos?: (Object | URL)[];
7033
+ cc?: Object | URL | null;
7034
+ ccs?: (Object | URL)[];
7035
+ bcc?: Object | URL | null;
7036
+ bccs?: (Object | URL)[];
7037
+ mediaType?: string | null;
7038
+ duration?: dntShim.Temporal.Duration | null;
7039
+ sensitive?: boolean | null;
7040
+ proof?: DataIntegrityProof | URL | null;
7041
+ proofs?: (DataIntegrityProof | URL)[];
7042
+ totalItems?: number | null;
7043
+ current?: CollectionPage | URL | null;
7044
+ first?: CollectionPage | URL | null;
7045
+ last?: CollectionPage | URL | null;
7046
+ items?: (Object | Link | URL)[];
7047
+ }, options?: {
7048
+ documentLoader?: DocumentLoader;
7049
+ contextLoader?: DocumentLoader;
7050
+ }): OrderedCollection;
7051
+ /**
7052
+ * Similar to
7053
+ * {@link OrderedCollection.getItems},
7054
+ * but returns their `@id`s instead of the objects themselves.
7055
+ */
7056
+ get itemIds(): URL[];
7057
+ /** Identifies the items contained in a collection. The items might be ordered
7058
+ * or unordered.
7059
+ */
7060
+ getItems(options?: {
7061
+ documentLoader?: DocumentLoader;
7062
+ contextLoader?: DocumentLoader;
7063
+ suppressError?: boolean;
7064
+ }): AsyncIterable<Object | Link>;
7065
+ /**
7066
+ * Converts this object to a JSON-LD structure.
7067
+ * @returns The JSON-LD representation of this object.
7068
+ */
7069
+ toJsonLd(options?: {
7070
+ expand?: boolean;
7071
+ contextLoader?: DocumentLoader;
7072
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
7073
+ }): Promise<unknown>;
7074
+ /**
7075
+ * Converts a JSON-LD structure to an object of this type.
7076
+ * @param json The JSON-LD structure to convert.
7077
+ * @returns The object of this type.
7078
+ * @throws {TypeError} If the given `json` is invalid.
7079
+ */
7080
+ static fromJsonLd(json: unknown, options?: {
7081
+ documentLoader?: DocumentLoader;
7082
+ contextLoader?: DocumentLoader;
7083
+ }): Promise<OrderedCollection>;
7084
+ protected _getCustomInspectProxy(): Record<string, unknown>;
7085
+ }
7086
+ /** Used to represent ordered subsets of items from an `OrderedCollection`.
7087
+ * Refer to the Activity Streams 2.0 Core for a complete description of
7088
+ * the `OrderedCollectionPage` object.
7089
+ */
7090
+ export declare class OrderedCollectionPage extends CollectionPage {
7091
+ #private;
7092
+ /**
7093
+ * The type URI of {@link OrderedCollectionPage}: `https://www.w3.org/ns/activitystreams#OrderedCollectionPage`.
7094
+ */
7095
+ static get typeId(): URL;
7096
+ /**
7097
+ * Constructs a new instance of OrderedCollectionPage with the given values.
7098
+ * @param values The values to initialize the instance with.
7099
+ * @param options The options to use for initialization.
7100
+ */
7101
+ constructor(values: {
7102
+ id?: URL | null;
7103
+ attachments?: (Object | Link | PropertyValue | URL)[];
7104
+ attribution?: Application | Group | Organization | Person | Service | URL | null;
7105
+ attributions?: (Application | Group | Organization | Person | Service | URL)[];
7106
+ audience?: Object | URL | null;
7107
+ audiences?: (Object | URL)[];
7108
+ content?: string | LanguageString | null;
7109
+ contents?: ((string | LanguageString))[];
7110
+ contexts?: (Object | Link | URL)[];
7111
+ name?: string | LanguageString | null;
7112
+ names?: ((string | LanguageString))[];
7113
+ endTime?: dntShim.Temporal.Instant | null;
7114
+ generators?: (Object | Link | URL)[];
7115
+ icon?: Image | URL | null;
7116
+ icons?: (Image | URL)[];
7117
+ image?: Image | URL | null;
7118
+ images?: (Image | URL)[];
7119
+ replyTarget?: Object | Link | URL | null;
7120
+ replyTargets?: (Object | Link | URL)[];
7121
+ location?: Object | Link | URL | null;
7122
+ locations?: (Object | Link | URL)[];
7123
+ preview?: Link | Object | URL | null;
7124
+ previews?: (Link | Object | URL)[];
7125
+ published?: dntShim.Temporal.Instant | null;
7126
+ replies?: Collection | URL | null;
7127
+ startTime?: dntShim.Temporal.Instant | null;
7128
+ summary?: string | LanguageString | null;
7129
+ summaries?: ((string | LanguageString))[];
7130
+ tags?: (Object | Link | URL)[];
7131
+ updated?: dntShim.Temporal.Instant | null;
7132
+ url?: URL | Link | null;
7133
+ urls?: ((URL | Link))[];
7134
+ to?: Object | URL | null;
7135
+ tos?: (Object | URL)[];
7136
+ bto?: Object | URL | null;
7137
+ btos?: (Object | URL)[];
7138
+ cc?: Object | URL | null;
7139
+ ccs?: (Object | URL)[];
7140
+ bcc?: Object | URL | null;
7141
+ bccs?: (Object | URL)[];
7142
+ mediaType?: string | null;
7143
+ duration?: dntShim.Temporal.Duration | null;
7144
+ sensitive?: boolean | null;
7145
+ proof?: DataIntegrityProof | URL | null;
7146
+ proofs?: (DataIntegrityProof | URL)[];
7147
+ totalItems?: number | null;
7148
+ current?: CollectionPage | URL | null;
7149
+ first?: CollectionPage | URL | null;
7150
+ last?: CollectionPage | URL | null;
7151
+ items?: (Object | Link | URL)[];
7152
+ partOf?: Collection | URL | null;
7153
+ next?: CollectionPage | URL | null;
7154
+ prev?: CollectionPage | URL | null;
7155
+ startIndex?: number | null;
7156
+ }, { documentLoader, contextLoader, }?: {
7157
+ documentLoader?: DocumentLoader;
7158
+ contextLoader?: DocumentLoader;
7159
+ });
7160
+ /**
7161
+ * Clones this instance, optionally updating it with the given values.
7162
+ * @param values The values to update the clone with.
7163
+ * @options The options to use for cloning.
7164
+ * @returns The cloned instance.
7165
+ */
7166
+ clone(values?: {
7167
+ id?: URL | null;
7168
+ attachments?: (Object | Link | PropertyValue | URL)[];
7169
+ attribution?: Application | Group | Organization | Person | Service | URL | null;
7170
+ attributions?: (Application | Group | Organization | Person | Service | URL)[];
7171
+ audience?: Object | URL | null;
7172
+ audiences?: (Object | URL)[];
7173
+ content?: string | LanguageString | null;
7174
+ contents?: ((string | LanguageString))[];
7175
+ contexts?: (Object | Link | URL)[];
7176
+ name?: string | LanguageString | null;
7177
+ names?: ((string | LanguageString))[];
7178
+ endTime?: dntShim.Temporal.Instant | null;
7179
+ generators?: (Object | Link | URL)[];
7180
+ icon?: Image | URL | null;
7181
+ icons?: (Image | URL)[];
7182
+ image?: Image | URL | null;
7183
+ images?: (Image | URL)[];
7184
+ replyTarget?: Object | Link | URL | null;
7185
+ replyTargets?: (Object | Link | URL)[];
7186
+ location?: Object | Link | URL | null;
7187
+ locations?: (Object | Link | URL)[];
7188
+ preview?: Link | Object | URL | null;
7189
+ previews?: (Link | Object | URL)[];
7190
+ published?: dntShim.Temporal.Instant | null;
7191
+ replies?: Collection | URL | null;
7192
+ startTime?: dntShim.Temporal.Instant | null;
7193
+ summary?: string | LanguageString | null;
7194
+ summaries?: ((string | LanguageString))[];
7195
+ tags?: (Object | Link | URL)[];
7196
+ updated?: dntShim.Temporal.Instant | null;
7197
+ url?: URL | Link | null;
7198
+ urls?: ((URL | Link))[];
7199
+ to?: Object | URL | null;
7200
+ tos?: (Object | URL)[];
7201
+ bto?: Object | URL | null;
7202
+ btos?: (Object | URL)[];
7203
+ cc?: Object | URL | null;
7204
+ ccs?: (Object | URL)[];
7205
+ bcc?: Object | URL | null;
7206
+ bccs?: (Object | URL)[];
7207
+ mediaType?: string | null;
7208
+ duration?: dntShim.Temporal.Duration | null;
7209
+ sensitive?: boolean | null;
7210
+ proof?: DataIntegrityProof | URL | null;
7211
+ proofs?: (DataIntegrityProof | URL)[];
7212
+ totalItems?: number | null;
7213
+ current?: CollectionPage | URL | null;
7214
+ first?: CollectionPage | URL | null;
7215
+ last?: CollectionPage | URL | null;
7216
+ items?: (Object | Link | URL)[];
7217
+ partOf?: Collection | URL | null;
7218
+ next?: CollectionPage | URL | null;
7219
+ prev?: CollectionPage | URL | null;
7220
+ startIndex?: number | null;
7221
+ }, options?: {
7222
+ documentLoader?: DocumentLoader;
7223
+ contextLoader?: DocumentLoader;
7224
+ }): OrderedCollectionPage;
7225
+ /** A non-negative integer value identifying the relative position within
7226
+ * the logical view of a strictly ordered collection.
7227
+ */
6537
7228
  get startIndex(): number | null;
6538
7229
  /**
6539
7230
  * Converts this object to a JSON-LD structure.
@@ -6628,6 +7319,7 @@ export declare class Organization extends Object {
6628
7319
  followers?: Collection | URL | null;
6629
7320
  liked?: Collection | URL | null;
6630
7321
  featured?: Collection | URL | null;
7322
+ featuredTags?: Collection | URL | null;
6631
7323
  streams?: (Collection | URL)[];
6632
7324
  endpoints?: Endpoints | null;
6633
7325
  discoverable?: boolean | null;
@@ -6703,6 +7395,7 @@ export declare class Organization extends Object {
6703
7395
  followers?: Collection | URL | null;
6704
7396
  liked?: Collection | URL | null;
6705
7397
  featured?: Collection | URL | null;
7398
+ featuredTags?: Collection | URL | null;
6706
7399
  streams?: (Collection | URL)[];
6707
7400
  endpoints?: Endpoints | null;
6708
7401
  discoverable?: boolean | null;
@@ -6905,6 +7598,22 @@ export declare class Organization extends Object {
6905
7598
  contextLoader?: DocumentLoader;
6906
7599
  suppressError?: boolean;
6907
7600
  }): Promise<Collection | null>;
7601
+ /**
7602
+ * Similar to
7603
+ * {@link Organization.getFeaturedTags},
7604
+ * but returns its `@id` URL instead of the object itself.
7605
+ */
7606
+ get featuredTagsId(): URL | null;
7607
+ /** What is known in Mastodon as "featured hashtags", hashtags that are featured
7608
+ * at people's profiles, is implemented using an extra property `featuredTags`
7609
+ * on the actor object that points to a {@link Collection} of {@link Hashtag}
7610
+ * objects specifically.
7611
+ */
7612
+ getFeaturedTags(options?: {
7613
+ documentLoader?: DocumentLoader;
7614
+ contextLoader?: DocumentLoader;
7615
+ suppressError?: boolean;
7616
+ }): Promise<Collection | null>;
6908
7617
  /**
6909
7618
  * Similar to
6910
7619
  * {@link Organization.getStreams},
@@ -7176,6 +7885,7 @@ export declare class Person extends Object {
7176
7885
  followers?: Collection | URL | null;
7177
7886
  liked?: Collection | URL | null;
7178
7887
  featured?: Collection | URL | null;
7888
+ featuredTags?: Collection | URL | null;
7179
7889
  streams?: (Collection | URL)[];
7180
7890
  endpoints?: Endpoints | null;
7181
7891
  discoverable?: boolean | null;
@@ -7251,6 +7961,7 @@ export declare class Person extends Object {
7251
7961
  followers?: Collection | URL | null;
7252
7962
  liked?: Collection | URL | null;
7253
7963
  featured?: Collection | URL | null;
7964
+ featuredTags?: Collection | URL | null;
7254
7965
  streams?: (Collection | URL)[];
7255
7966
  endpoints?: Endpoints | null;
7256
7967
  discoverable?: boolean | null;
@@ -7453,6 +8164,22 @@ export declare class Person extends Object {
7453
8164
  contextLoader?: DocumentLoader;
7454
8165
  suppressError?: boolean;
7455
8166
  }): Promise<Collection | null>;
8167
+ /**
8168
+ * Similar to
8169
+ * {@link Person.getFeaturedTags},
8170
+ * but returns its `@id` URL instead of the object itself.
8171
+ */
8172
+ get featuredTagsId(): URL | null;
8173
+ /** What is known in Mastodon as "featured hashtags", hashtags that are featured
8174
+ * at people's profiles, is implemented using an extra property `featuredTags`
8175
+ * on the actor object that points to a {@link Collection} of {@link Hashtag}
8176
+ * objects specifically.
8177
+ */
8178
+ getFeaturedTags(options?: {
8179
+ documentLoader?: DocumentLoader;
8180
+ contextLoader?: DocumentLoader;
8181
+ suppressError?: boolean;
8182
+ }): Promise<Collection | null>;
7456
8183
  /**
7457
8184
  * Similar to
7458
8185
  * {@link Person.getStreams},
@@ -8681,6 +9408,7 @@ export declare class Service extends Object {
8681
9408
  followers?: Collection | URL | null;
8682
9409
  liked?: Collection | URL | null;
8683
9410
  featured?: Collection | URL | null;
9411
+ featuredTags?: Collection | URL | null;
8684
9412
  streams?: (Collection | URL)[];
8685
9413
  endpoints?: Endpoints | null;
8686
9414
  discoverable?: boolean | null;
@@ -8756,6 +9484,7 @@ export declare class Service extends Object {
8756
9484
  followers?: Collection | URL | null;
8757
9485
  liked?: Collection | URL | null;
8758
9486
  featured?: Collection | URL | null;
9487
+ featuredTags?: Collection | URL | null;
8759
9488
  streams?: (Collection | URL)[];
8760
9489
  endpoints?: Endpoints | null;
8761
9490
  discoverable?: boolean | null;
@@ -8958,6 +9687,22 @@ export declare class Service extends Object {
8958
9687
  contextLoader?: DocumentLoader;
8959
9688
  suppressError?: boolean;
8960
9689
  }): Promise<Collection | null>;
9690
+ /**
9691
+ * Similar to
9692
+ * {@link Service.getFeaturedTags},
9693
+ * but returns its `@id` URL instead of the object itself.
9694
+ */
9695
+ get featuredTagsId(): URL | null;
9696
+ /** What is known in Mastodon as "featured hashtags", hashtags that are featured
9697
+ * at people's profiles, is implemented using an extra property `featuredTags`
9698
+ * on the actor object that points to a {@link Collection} of {@link Hashtag}
9699
+ * objects specifically.
9700
+ */
9701
+ getFeaturedTags(options?: {
9702
+ documentLoader?: DocumentLoader;
9703
+ contextLoader?: DocumentLoader;
9704
+ suppressError?: boolean;
9705
+ }): Promise<Collection | null>;
8961
9706
  /**
8962
9707
  * Similar to
8963
9708
  * {@link Service.getStreams},