@fedify/fedify 2.0.0-dev.1690 → 2.0.0-dev.1726

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 (116) hide show
  1. package/dist/{actor-Be0ThtXy.cjs → actor-Bn2RCpws.cjs} +187 -187
  2. package/dist/{actor-DuCeRiNh.js → actor-dO7jHa6A.js} +1 -1
  3. package/dist/{actor-ChbPLm6n.js → actor-menZmmiI.js} +187 -187
  4. package/dist/{authdocloader-OSn_teLV.cjs → authdocloader-CEqdZdT7.cjs} +3 -3
  5. package/dist/{authdocloader-CrxhFL8e.js → authdocloader-CZsCIRLV.js} +3 -3
  6. package/dist/{authdocloader-Brax1A32.js → authdocloader-DevmXsTo.js} +3 -3
  7. package/dist/{builder-CYOcDUkj.js → builder-CGF1vv7G.js} +8 -8
  8. package/dist/{client-CnOdwLLN.js → client-BfzV3u96.js} +1 -1
  9. package/dist/compat/mod.d.cts +2 -2
  10. package/dist/compat/mod.d.ts +2 -2
  11. package/dist/compat/transformers.test.js +16 -16
  12. package/dist/{context-ByZprN0S.d.ts → context-B1X8-X33.d.ts} +120 -93
  13. package/dist/{context-C5BsZkDr.d.cts → context-DYCJXr7J.d.cts} +120 -93
  14. package/dist/{docloader-CCqXeagZ.cjs → docloader-Buh0Ah9G.cjs} +1 -1
  15. package/dist/{docloader-XK3y2jn5.js → docloader-DOmINJ1U.js} +1 -1
  16. package/dist/{esm-DnIzfEj0.js → esm-BODOj_Oi.js} +1 -1
  17. package/dist/federation/builder.test.js +5 -5
  18. package/dist/federation/collection.test.js +3 -3
  19. package/dist/federation/handler.test.js +17 -17
  20. package/dist/federation/idempotency.test.js +17 -17
  21. package/dist/federation/inbox.test.js +4 -4
  22. package/dist/federation/keycache.test.js +4 -4
  23. package/dist/federation/kv.test.js +3 -3
  24. package/dist/federation/middleware.test.js +24 -24
  25. package/dist/federation/mod.cjs +10 -10
  26. package/dist/federation/mod.d.cts +2 -2
  27. package/dist/federation/mod.d.ts +2 -2
  28. package/dist/federation/mod.js +10 -10
  29. package/dist/federation/mq.test.js +3 -3
  30. package/dist/federation/negotiation.test.js +3 -3
  31. package/dist/federation/retry.test.js +3 -3
  32. package/dist/federation/router.test.js +3 -3
  33. package/dist/federation/send.test.js +10 -10
  34. package/dist/{http-C7vbQwbz.cjs → http-BmbMWfmh.cjs} +3 -3
  35. package/dist/{http-BNOYnVsU.js → http-Danw_xTY.js} +2 -2
  36. package/dist/{http-BxbM8sEy.js → http-gHyCrTrX.js} +3 -3
  37. package/dist/{inbox-BRru9pX3.js → inbox-Blp5F74G.js} +1 -1
  38. package/dist/{key-DK_nfU4I.js → key-B2cp5-JF.js} +3 -3
  39. package/dist/{key-Z6ceKnZC.cjs → key-BR1W25rw.cjs} +2 -2
  40. package/dist/{key-jyNTxCvK.js → key-BnjofJ4e.js} +2 -2
  41. package/dist/{key-1KXru8Ug.js → key-CIIkeide.js} +2 -2
  42. package/dist/key-DhflzsBJ.cjs +10 -0
  43. package/dist/{key-B3uag-rz.js → key-WES6wszI.js} +4 -4
  44. package/dist/{keycache-CN61iGVj.js → keycache-Covv8lvK.js} +1 -1
  45. package/dist/{keys-BPdFKgiy.js → keys-DZ1bqhJz.js} +1 -1
  46. package/dist/{ld-Dv8DNNAT.js → ld-C7KL1MK2.js} +2 -2
  47. package/dist/{lookup-hnMAAU5r.cjs → lookup-CDOxr8vw.cjs} +1 -1
  48. package/dist/{lookup-BPviO8ij.js → lookup-D8tCnUj2.js} +1 -1
  49. package/dist/{lookup-pV0JOsuV.js → lookup-VSVPBU3J.js} +1 -1
  50. package/dist/middleware-9KSLASn7.js +17 -0
  51. package/dist/{middleware-BmoOlgc1.cjs → middleware-C60xXvWx.cjs} +40 -45
  52. package/dist/middleware-CH0PNtaj.cjs +17 -0
  53. package/dist/middleware-CrzCnpdt.js +26 -0
  54. package/dist/{middleware-Bz_A2jeJ.js → middleware-DXOZ6_ST.js} +40 -45
  55. package/dist/{middleware-DY9B2lL8.js → middleware-HKKY6sAX.js} +39 -44
  56. package/dist/{mod-D6hQoxC5.d.ts → mod-DcKxhFQ8.d.ts} +1 -1
  57. package/dist/{mod-8DMWKtQE.d.cts → mod-twdvV2hR.d.cts} +1 -1
  58. package/dist/mod.cjs +10 -10
  59. package/dist/mod.d.cts +3 -3
  60. package/dist/mod.d.ts +3 -3
  61. package/dist/mod.js +10 -10
  62. package/dist/nodeinfo/client.test.js +5 -5
  63. package/dist/nodeinfo/handler.test.js +16 -16
  64. package/dist/nodeinfo/mod.cjs +2 -2
  65. package/dist/nodeinfo/mod.js +2 -2
  66. package/dist/nodeinfo/types.test.js +3 -3
  67. package/dist/{owner-e3FYDhsk.js → owner-COcyel6J.js} +2 -2
  68. package/dist/{proof-B-eqv0Ug.cjs → proof-CMJcrQoM.cjs} +3 -3
  69. package/dist/{proof-6gFMwMNJ.js → proof-Cpk853lc.js} +2 -2
  70. package/dist/{proof-DfgvA3al.js → proof-D6pbnNx2.js} +3 -3
  71. package/dist/runtime/authdocloader.test.js +9 -9
  72. package/dist/runtime/docloader.test.js +4 -4
  73. package/dist/runtime/key.test.js +5 -5
  74. package/dist/runtime/langstr.test.js +3 -3
  75. package/dist/runtime/link.test.js +3 -3
  76. package/dist/runtime/mod.cjs +6 -6
  77. package/dist/runtime/mod.js +6 -6
  78. package/dist/runtime/multibase/multibase.test.js +3 -3
  79. package/dist/runtime/url.test.js +3 -3
  80. package/dist/{send-Tl9NOnmO.js → send-C7A7_big.js} +2 -2
  81. package/dist/sig/http.test.js +8 -8
  82. package/dist/sig/key.test.js +6 -6
  83. package/dist/sig/ld.test.js +7 -7
  84. package/dist/sig/mod.cjs +6 -6
  85. package/dist/sig/mod.js +6 -6
  86. package/dist/sig/owner.test.js +7 -7
  87. package/dist/sig/proof.test.js +7 -7
  88. package/dist/testing/docloader.test.js +3 -3
  89. package/dist/testing/mod.d.ts +119 -86
  90. package/dist/testing/mod.js +3 -3
  91. package/dist/{testing-BWNCAbL-.js → testing-e8Kpb1uV.js} +2 -2
  92. package/dist/{type-C69ZBu7f.js → type-D_8QzkEn.js} +186 -186
  93. package/dist/{types-DqxyTxOf.js → types-Db4ukgX8.js} +1 -1
  94. package/dist/{types-zqdWZh4O.cjs → types-LjTL4QMx.cjs} +1 -1
  95. package/dist/vocab/actor.test.js +5 -5
  96. package/dist/vocab/lookup.test.js +4 -4
  97. package/dist/vocab/mod.cjs +4 -4
  98. package/dist/vocab/mod.js +4 -4
  99. package/dist/vocab/type.test.js +3 -3
  100. package/dist/vocab/vocab.test.js +4 -4
  101. package/dist/{vocab-BWoeZsME.js → vocab-CJHF7Q71.js} +3 -3
  102. package/dist/{vocab-B39-pFl9.cjs → vocab-DLHpZwOW.cjs} +3 -3
  103. package/dist/webfinger/handler.test.js +16 -16
  104. package/dist/webfinger/lookup.test.js +4 -4
  105. package/dist/webfinger/mod.cjs +2 -2
  106. package/dist/webfinger/mod.js +2 -2
  107. package/dist/x/cfworkers.test.js +3 -3
  108. package/dist/x/hono.d.cts +1 -1
  109. package/dist/x/hono.d.ts +1 -1
  110. package/dist/x/sveltekit.d.cts +1 -1
  111. package/dist/x/sveltekit.d.ts +1 -1
  112. package/package.json +1 -1
  113. package/dist/key-BiBmb1Yy.cjs +0 -10
  114. package/dist/middleware-CI0-zw4U.js +0 -26
  115. package/dist/middleware-QNK-W-jE.cjs +0 -17
  116. package/dist/middleware-_vjt6FWU.js +0 -17
@@ -3,9 +3,9 @@
3
3
  const { URLPattern } = require("urlpattern-polyfill");
4
4
 
5
5
  const require_chunk = require('./chunk-DqRYRqnO.cjs');
6
- const require_docloader = require('./docloader-CCqXeagZ.cjs');
7
- const require_key = require('./key-Z6ceKnZC.cjs');
8
- const require_http = require('./http-C7vbQwbz.cjs');
6
+ const require_docloader = require('./docloader-Buh0Ah9G.cjs');
7
+ const require_key = require('./key-BR1W25rw.cjs');
8
+ const require_http = require('./http-BmbMWfmh.cjs');
9
9
  const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
10
10
 
11
11
  //#region src/runtime/authdocloader.ts
@@ -2,9 +2,9 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./docloader-XK3y2jn5.js";
6
- import { validateCryptoKey } from "./key-jyNTxCvK.js";
7
- import { doubleKnock } from "./http-BxbM8sEy.js";
5
+ import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./docloader-DOmINJ1U.js";
6
+ import { validateCryptoKey } from "./key-BnjofJ4e.js";
7
+ import { doubleKnock } from "./http-gHyCrTrX.js";
8
8
  import { getLogger } from "@logtape/logtape";
9
9
 
10
10
  //#region src/runtime/authdocloader.ts
@@ -3,9 +3,9 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./type-C69ZBu7f.js";
7
- import { validateCryptoKey } from "./key-1KXru8Ug.js";
8
- import { doubleKnock } from "./http-BNOYnVsU.js";
6
+ import { UrlError, createRequest, getRemoteDocument, logRequest, validatePublicUrl } from "./type-D_8QzkEn.js";
7
+ import { validateCryptoKey } from "./key-CIIkeide.js";
8
+ import { doubleKnock } from "./http-Danw_xTY.js";
9
9
  import { getLogger } from "@logtape/logtape";
10
10
 
11
11
  //#region src/runtime/authdocloader.ts
@@ -3,9 +3,9 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { deno_default, getTypeId } from "./type-C69ZBu7f.js";
7
- import { Router, RouterError } from "./lookup-pV0JOsuV.js";
8
- import { InboxListenerSet } from "./inbox-BRru9pX3.js";
6
+ import { deno_default, getTypeId } from "./type-D_8QzkEn.js";
7
+ import { Router, RouterError } from "./lookup-VSVPBU3J.js";
8
+ import { InboxListenerSet } from "./inbox-Blp5F74G.js";
9
9
  import { getLogger } from "@logtape/logtape";
10
10
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
11
11
 
@@ -43,7 +43,7 @@ var FederationBuilderImpl = class {
43
43
  this.collectionTypeIds = {};
44
44
  }
45
45
  async build(options) {
46
- const { FederationImpl } = await import("./middleware-CI0-zw4U.js");
46
+ const { FederationImpl } = await import("./middleware-CrzCnpdt.js");
47
47
  const f = new FederationImpl(options);
48
48
  const trailingSlashInsensitiveValue = f.router.trailingSlashInsensitive;
49
49
  f.router = this.router.clone();
@@ -496,11 +496,11 @@ var FederationBuilderImpl = class {
496
496
  };
497
497
  return setters;
498
498
  }
499
- setCollectionDispatcher(name, ...args) {
500
- return this.#setCustomCollectionDispatcher(name, "collection", ...args);
499
+ setCollectionDispatcher(name, itemType, path, dispatcher) {
500
+ return this.#setCustomCollectionDispatcher(name, "collection", itemType, path, dispatcher);
501
501
  }
502
- setOrderedCollectionDispatcher(name, ...args) {
503
- return this.#setCustomCollectionDispatcher(name, "orderedCollection", ...args);
502
+ setOrderedCollectionDispatcher(name, itemType, path, dispatcher) {
503
+ return this.#setCustomCollectionDispatcher(name, "orderedCollection", itemType, path, dispatcher);
504
504
  }
505
505
  #setCustomCollectionDispatcher(name, collectionType, itemType, path, dispatcher) {
506
506
  const strName = String(name);
@@ -3,7 +3,7 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { getUserAgent } from "./type-C69ZBu7f.js";
6
+ import { getUserAgent } from "./type-D_8QzkEn.js";
7
7
  import { getLogger } from "@logtape/logtape";
8
8
 
9
9
  //#region src/nodeinfo/client.ts
@@ -7,7 +7,7 @@ import "../http-D-e6AFwR.cjs";
7
7
  import "../owner-BN_tO3cY.cjs";
8
8
  import "../mod-CxkWO3Mg.cjs";
9
9
  import "../mod-jQ4OODsl.cjs";
10
- import { ActivityTransformer } from "../context-C5BsZkDr.cjs";
10
+ import { ActivityTransformer } from "../context-DYCJXr7J.cjs";
11
11
  import "../mq-B7R1Q-M5.cjs";
12
- import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-8DMWKtQE.cjs";
12
+ import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-twdvV2hR.cjs";
13
13
  export { ActivityTransformer, actorDehydrator, autoIdAssigner, getDefaultActivityTransformers };
@@ -9,7 +9,7 @@ import "../http-D6Uj2x2y.js";
9
9
  import "../owner-hd9lvQcP.js";
10
10
  import "../mod-DlU8ISoa.js";
11
11
  import "../mod-DBzN0aCM.js";
12
- import { ActivityTransformer } from "../context-ByZprN0S.js";
12
+ import { ActivityTransformer } from "../context-B1X8-X33.js";
13
13
  import "../mq-CRGm1e_F.js";
14
- import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-D6hQoxC5.js";
14
+ import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "../mod-DcKxhFQ8.js";
15
15
  export { ActivityTransformer, actorDehydrator, autoIdAssigner, getDefaultActivityTransformers };
@@ -3,30 +3,30 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { Follow, Person } from "../type-C69ZBu7f.js";
6
+ import { Follow, Person } from "../type-D_8QzkEn.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
9
  import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
10
10
  import { MemoryKvStore } from "../kv-CRZrzyXm.js";
11
- import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-DY9B2lL8.js";
12
- import "../client-CnOdwLLN.js";
13
- import "../lookup-pV0JOsuV.js";
11
+ import { FederationImpl, actorDehydrator, autoIdAssigner } from "../middleware-HKKY6sAX.js";
12
+ import "../client-BfzV3u96.js";
13
+ import "../lookup-VSVPBU3J.js";
14
14
  import "../types-BSuWJsOm.js";
15
- import "../actor-DuCeRiNh.js";
16
- import "../key-1KXru8Ug.js";
17
- import "../http-BNOYnVsU.js";
18
- import "../authdocloader-Brax1A32.js";
19
- import "../ld-Dv8DNNAT.js";
20
- import "../owner-e3FYDhsk.js";
21
- import "../proof-6gFMwMNJ.js";
22
- import "../inbox-BRru9pX3.js";
23
- import "../builder-CYOcDUkj.js";
15
+ import "../actor-dO7jHa6A.js";
16
+ import "../key-CIIkeide.js";
17
+ import "../http-Danw_xTY.js";
18
+ import "../authdocloader-DevmXsTo.js";
19
+ import "../ld-C7KL1MK2.js";
20
+ import "../owner-COcyel6J.js";
21
+ import "../proof-Cpk853lc.js";
22
+ import "../inbox-Blp5F74G.js";
23
+ import "../builder-CGF1vv7G.js";
24
24
  import "../collection-CcnIw1qY.js";
25
- import "../keycache-CN61iGVj.js";
25
+ import "../keycache-Covv8lvK.js";
26
26
  import "../negotiation-5NPJL6zp.js";
27
27
  import "../retry-D4GJ670a.js";
28
- import "../send-Tl9NOnmO.js";
29
- import { test } from "../testing-BWNCAbL-.js";
28
+ import "../send-C7A7_big.js";
29
+ import { test } from "../testing-e8Kpb1uV.js";
30
30
 
31
31
  //#region src/compat/transformers.test.ts
32
32
  const federation = new FederationImpl({ kv: new MemoryKvStore() });
@@ -283,7 +283,7 @@ type ObjectAuthorizePredicate<TContextData, TParam extends string> = (context: R
283
283
  * the entire collection without pagination.
284
284
  * @since 1.8.0
285
285
  */
286
- type CustomCollectionDispatcher<TItem, TParams extends Record<string, string>, TContext extends Context<TContextData>, TContextData> = (context: TContext, values: TParams, cursor: string | null) => PageItems<TItem> | null | Promise<PageItems<TItem> | null>;
286
+ type CustomCollectionDispatcher<TItem, TParam extends string, TContext extends Context<TContextData>, TContextData> = (context: TContext, values: Record<TParam, string>, cursor: string | null) => PageItems<TItem> | null | Promise<PageItems<TItem> | null>;
287
287
  /**
288
288
  * A callback that counts the number of items in a custom collection.
289
289
  *
@@ -293,7 +293,7 @@ type CustomCollectionDispatcher<TItem, TParams extends Record<string, string>, T
293
293
  * @param values The parameters of the requested URL.
294
294
  * @since 1.8.0
295
295
  */
296
- type CustomCollectionCounter<TParams extends Record<string, string>, TContextData> = (context: RequestContext<TContextData>, values: TParams) => number | bigint | null | Promise<number | bigint | null>;
296
+ type CustomCollectionCounter<TParam extends string, TContextData> = (context: RequestContext<TContextData>, values: Record<TParam, string>) => number | bigint | null | Promise<number | bigint | null>;
297
297
  /**
298
298
  * A callback that returns a cursor for a custom collection.
299
299
  *
@@ -306,7 +306,7 @@ type CustomCollectionCounter<TParams extends Record<string, string>, TContextDat
306
306
  * @param values The parameters of the requested URL.
307
307
  * @since 1.8.0
308
308
  */
309
- type CustomCollectionCursor<TParams extends Record<string, string>, TContext extends Context<TContextData>, TContextData> = (context: TContext, values: TParams) => string | null | Promise<string | null>;
309
+ type CustomCollectionCursor<TParam extends string, TContext extends Context<TContextData>, TContextData> = (context: TContext, values: Record<TParam, string>) => string | null | Promise<string | null>;
310
310
  //#endregion
311
311
  //#region src/federation/handler.d.ts
312
312
 
@@ -704,7 +704,7 @@ interface Federatable<TContextData> {
704
704
  * @returns An object with methods to set other actor dispatcher callbacks.
705
705
  * @throws {RouterError} Thrown if the path pattern is invalid.
706
706
  */
707
- setActorDispatcher(path: `${string}{identifier}${string}` | `${string}{handle}${string}`, dispatcher: ActorDispatcher<TContextData>): ActorCallbackSetters<TContextData>;
707
+ setActorDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}` | `${string}${Rfc6570Expression<"handle">}${string}`, dispatcher: ActorDispatcher<TContextData>): ActorCallbackSetters<TContextData>;
708
708
  /**
709
709
  * Registers an object dispatcher.
710
710
  *
@@ -768,7 +768,7 @@ interface Federatable<TContextData> {
768
768
  */
769
769
  setObjectDispatcher<TObject extends Object$1, TParam extends string>(cls: (new (...args: any[]) => TObject) & {
770
770
  typeId: URL;
771
- }, path: `${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
771
+ }, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
772
772
  /**
773
773
  * Registers an object dispatcher.
774
774
  *
@@ -784,7 +784,7 @@ interface Federatable<TContextData> {
784
784
  */
785
785
  setObjectDispatcher<TObject extends Object$1, TParam extends string>(cls: (new (...args: any[]) => TObject) & {
786
786
  typeId: URL;
787
- }, path: `${string}{${TParam}}${string}{${TParam}}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
787
+ }, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
788
788
  /**
789
789
  * Registers an object dispatcher.
790
790
  *
@@ -800,7 +800,7 @@ interface Federatable<TContextData> {
800
800
  */
801
801
  setObjectDispatcher<TObject extends Object$1, TParam extends string>(cls: (new (...args: any[]) => TObject) & {
802
802
  typeId: URL;
803
- }, path: `${string}{${TParam}}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
803
+ }, path: `${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
804
804
  /**
805
805
  * Registers an inbox dispatcher.
806
806
  *
@@ -812,7 +812,7 @@ interface Federatable<TContextData> {
812
812
  * @param dispatcher An inbox dispatcher callback to register.
813
813
  * @throws {@link RouterError} Thrown if the path pattern is invalid.
814
814
  */
815
- setInboxDispatcher(path: `${string}{identifier}${string}` | `${string}{handle}${string}`, dispatcher: CollectionDispatcher<Activity, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
815
+ setInboxDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}` | `${string}${Rfc6570Expression<"handle">}${string}`, dispatcher: CollectionDispatcher<Activity, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
816
816
  /**
817
817
  * Registers an outbox dispatcher.
818
818
  *
@@ -836,7 +836,7 @@ interface Federatable<TContextData> {
836
836
  * @param dispatcher An outbox dispatcher callback to register.
837
837
  * @throws {@link RouterError} Thrown if the path pattern is invalid.
838
838
  */
839
- setOutboxDispatcher(path: `${string}{identifier}${string}` | `${string}{handle}${string}`, dispatcher: CollectionDispatcher<Activity, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
839
+ setOutboxDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}` | `${string}${Rfc6570Expression<"handle">}${string}`, dispatcher: CollectionDispatcher<Activity, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
840
840
  /**
841
841
  * Registers a following collection dispatcher.
842
842
  * @param path The URI path pattern for the following collection. The syntax
@@ -848,7 +848,7 @@ interface Federatable<TContextData> {
848
848
  * callbacks.
849
849
  * @throws {RouterError} Thrown if the path pattern is invalid.
850
850
  */
851
- setFollowingDispatcher(path: `${string}{identifier}${string}` | `${string}{handle}${string}`, dispatcher: CollectionDispatcher<Actor | URL, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
851
+ setFollowingDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}` | `${string}${Rfc6570Expression<"handle">}${string}`, dispatcher: CollectionDispatcher<Actor | URL, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
852
852
  /**
853
853
  * Registers a followers collection dispatcher.
854
854
  * @param path The URI path pattern for the followers collection. The syntax
@@ -860,7 +860,7 @@ interface Federatable<TContextData> {
860
860
  * callbacks.
861
861
  * @throws {@link RouterError} Thrown if the path pattern is invalid.
862
862
  */
863
- setFollowersDispatcher(path: `${string}{identifier}${string}` | `${string}{handle}${string}`, dispatcher: CollectionDispatcher<Recipient, Context<TContextData>, TContextData, URL>): CollectionCallbackSetters<Context<TContextData>, TContextData, URL>;
863
+ setFollowersDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}` | `${string}${Rfc6570Expression<"handle">}${string}`, dispatcher: CollectionDispatcher<Recipient, Context<TContextData>, TContextData, URL>): CollectionCallbackSetters<Context<TContextData>, TContextData, URL>;
864
864
  /**
865
865
  * Registers a liked collection dispatcher.
866
866
  * @param path The URI path pattern for the liked collection. The syntax
@@ -872,7 +872,7 @@ interface Federatable<TContextData> {
872
872
  * callbacks.
873
873
  * @throws {@link RouterError} Thrown if the path pattern is invalid.
874
874
  */
875
- setLikedDispatcher(path: `${string}{identifier}${string}` | `${string}{handle}${string}`, dispatcher: CollectionDispatcher<Object$1 | URL, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
875
+ setLikedDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}` | `${string}${Rfc6570Expression<"handle">}${string}`, dispatcher: CollectionDispatcher<Object$1 | URL, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
876
876
  /**
877
877
  * Registers a featured collection dispatcher.
878
878
  * @param path The URI path pattern for the featured collection. The syntax
@@ -884,7 +884,7 @@ interface Federatable<TContextData> {
884
884
  * callbacks.
885
885
  * @throws {@link RouterError} Thrown if the path pattern is invalid.
886
886
  */
887
- setFeaturedDispatcher(path: `${string}{identifier}${string}` | `${string}{handle}${string}`, dispatcher: CollectionDispatcher<Object$1, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
887
+ setFeaturedDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}` | `${string}${Rfc6570Expression<"handle">}${string}`, dispatcher: CollectionDispatcher<Object$1, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
888
888
  /**
889
889
  * Registers a featured tags collection dispatcher.
890
890
  * @param path The URI path pattern for the featured tags collection.
@@ -896,7 +896,7 @@ interface Federatable<TContextData> {
896
896
  * callbacks.
897
897
  * @throws {@link RouterError} Thrown if the path pattern is invalid.
898
898
  */
899
- setFeaturedTagsDispatcher(path: `${string}{identifier}${string}` | `${string}{handle}${string}`, dispatcher: CollectionDispatcher<Hashtag, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
899
+ setFeaturedTagsDispatcher(path: `${string}${Rfc6570Expression<"identifier">}${string}` | `${string}${Rfc6570Expression<"handle">}${string}`, dispatcher: CollectionDispatcher<Hashtag, RequestContext<TContextData>, TContextData, void>): CollectionCallbackSetters<RequestContext<TContextData>, TContextData, void>;
900
900
  /**
901
901
  * Assigns the URL path for the inbox and starts setting inbox listeners.
902
902
  *
@@ -926,7 +926,7 @@ interface Federatable<TContextData> {
926
926
  * @returns An object to register inbox listeners.
927
927
  * @throws {RouteError} Thrown if the path pattern is invalid.
928
928
  */
929
- setInboxListeners(inboxPath: `${string}{identifier}${string}` | `${string}{handle}${string}`, sharedInboxPath?: string): InboxListenerSetters<TContextData>;
929
+ setInboxListeners(inboxPath: `${string}${Rfc6570Expression<"identifier">}${string}` | `${string}${Rfc6570Expression<"handle">}${string}`, sharedInboxPath?: string): InboxListenerSetters<TContextData>;
930
930
  /**
931
931
  * Registers a collection of objects dispatcher.
932
932
  *
@@ -941,7 +941,60 @@ interface Federatable<TContextData> {
941
941
  * The path must have one or more variables.
942
942
  * @param dispatcher A collection dispatcher callback to register.
943
943
  */
944
- setCollectionDispatcher<TObject extends Object$1, TParams extends Record<string, string>>(name: string | symbol, itemType: ConstructorWithTypeId<TObject>, path: ParamsKeyPath<TParams>, dispatcher: CustomCollectionDispatcher<TObject, TParams, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParams, RequestContext<TContextData>, TContextData>;
944
+ setCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType: (new (...args: any[]) => TObject) & {
945
+ typeId: URL;
946
+ }, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
947
+ /**
948
+ * Registers a collection of objects dispatcher.
949
+ *
950
+ * @template TContextData The context data to pass to the {@link Context}.
951
+ * @template TObject The type of objects to dispatch.
952
+ * @template TParam The parameter names of the requested URL.
953
+ * @param name A unique name for the collection dispatcher.
954
+ * @param itemType The Activity Vocabulary class of the object to dispatch.
955
+ * @param path The URI path pattern for the collection dispatcher.
956
+ * The syntax is based on URI Template
957
+ * ([RFC 6570](https://tools.ietf.org/html/rfc6570)).
958
+ * The path must have one or more variables.
959
+ * @param dispatcher A collection dispatcher callback to register.
960
+ */
961
+ setCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType: (new (...args: any[]) => TObject) & {
962
+ typeId: URL;
963
+ }, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
964
+ /**
965
+ * Registers a collection of objects dispatcher.
966
+ *
967
+ * @template TContextData The context data to pass to the {@link Context}.
968
+ * @template TObject The type of objects to dispatch.
969
+ * @template TParam The parameter names of the requested URL.
970
+ * @param name A unique name for the collection dispatcher.
971
+ * @param itemType The Activity Vocabulary class of the object to dispatch.
972
+ * @param path The URI path pattern for the collection dispatcher.
973
+ * The syntax is based on URI Template
974
+ * ([RFC 6570](https://tools.ietf.org/html/rfc6570)).
975
+ * The path must have one or more variables.
976
+ * @param dispatcher A collection dispatcher callback to register.
977
+ */
978
+ setCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType: (new (...args: any[]) => TObject) & {
979
+ typeId: URL;
980
+ }, path: `${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
981
+ /**
982
+ * Registers an ordered collection of objects dispatcher.
983
+ *
984
+ * @template TContextData The context data to pass to the {@link Context}.
985
+ * @template TObject The type of objects to dispatch.
986
+ * @template TParam The parameter names of the requested URL.
987
+ * @param name A unique name for the collection dispatcher.
988
+ * @param itemType The Activity Vocabulary class of the object to dispatch.
989
+ * @param path The URI path pattern for the collection dispatcher.
990
+ * The syntax is based on URI Template
991
+ * ([RFC 6570](https://tools.ietf.org/html/rfc6570)).
992
+ * The path must have one or more variables.
993
+ * @param dispatcher A collection dispatcher callback to register.
994
+ */
995
+ setOrderedCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType: (new (...args: any[]) => TObject) & {
996
+ typeId: URL;
997
+ }, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
945
998
  /**
946
999
  * Registers an ordered collection of objects dispatcher.
947
1000
  *
@@ -956,7 +1009,26 @@ interface Federatable<TContextData> {
956
1009
  * The path must have one or more variables.
957
1010
  * @param dispatcher A collection dispatcher callback to register.
958
1011
  */
959
- setOrderedCollectionDispatcher<TObject extends Object$1, TParams extends Record<string, string>>(name: string | symbol, itemType: ConstructorWithTypeId<TObject>, path: ParamsKeyPath<TParams>, dispatcher: CustomCollectionDispatcher<TObject, TParams, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParams, RequestContext<TContextData>, TContextData>;
1012
+ setOrderedCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType: (new (...args: any[]) => TObject) & {
1013
+ typeId: URL;
1014
+ }, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
1015
+ /**
1016
+ * Registers an ordered collection of objects dispatcher.
1017
+ *
1018
+ * @template TContextData The context data to pass to the {@link Context}.
1019
+ * @template TObject The type of objects to dispatch.
1020
+ * @template TParam The parameter names of the requested URL.
1021
+ * @param name A unique name for the collection dispatcher.
1022
+ * @param itemType The Activity Vocabulary class of the object to dispatch.
1023
+ * @param path The URI path pattern for the collection dispatcher.
1024
+ * The syntax is based on URI Template
1025
+ * ([RFC 6570](https://tools.ietf.org/html/rfc6570)).
1026
+ * The path must have one or more variables.
1027
+ * @param dispatcher A collection dispatcher callback to register.
1028
+ */
1029
+ setOrderedCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType: (new (...args: any[]) => TObject) & {
1030
+ typeId: URL;
1031
+ }, path: `${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
960
1032
  }
961
1033
  /**
962
1034
  * An object that registers federation-related business logic and dispatches
@@ -1092,12 +1164,6 @@ interface FederationOptions<TContextData> {
1092
1164
  * @since 1.4.0
1093
1165
  */
1094
1166
  contextLoaderFactory?: DocumentLoaderFactory;
1095
- /**
1096
- * A custom JSON-LD context loader. By default, this uses the same loader
1097
- * as the document loader.
1098
- * @deprecated Use {@link contextLoaderFactory} instead.
1099
- */
1100
- contextLoader?: DocumentLoader;
1101
1167
  /**
1102
1168
  * A factory function that creates an authenticated document loader for a
1103
1169
  * given identity. This is used for fetching documents that require
@@ -1434,38 +1500,38 @@ interface FederationFetchOptions<TContextData> {
1434
1500
  /**
1435
1501
  * Additional settings for a custom collection dispatcher.
1436
1502
  *
1437
- * @template TParams The type of the parameters in the URL path.
1503
+ * @template TParam The type of the parameters in the URL path.
1438
1504
  * @template TContext The type of the context. {@link Context} or
1439
1505
  * {@link RequestContext}.
1440
1506
  * @template TContextData The context data to pass to the {@link Context}.
1441
1507
  * @template TFilter The type of filter for the collection.
1442
1508
  */
1443
- interface CustomCollectionCallbackSetters<TParams extends Record<string, string>, TContext extends Context<TContextData>, TContextData> {
1509
+ interface CustomCollectionCallbackSetters<TParam extends string, TContext extends Context<TContextData>, TContextData> {
1444
1510
  /**
1445
1511
  * Sets the counter for the custom collection.
1446
1512
  * @param counter A callback that returns the number of items in the custom collection.
1447
1513
  * @returns The setters object so that settings can be chained.
1448
1514
  */
1449
- setCounter(counter: CustomCollectionCounter<TParams, TContextData>): CustomCollectionCallbackSetters<TParams, TContext, TContextData>;
1515
+ setCounter(counter: CustomCollectionCounter<TParam, TContextData>): CustomCollectionCallbackSetters<TParam, TContext, TContextData>;
1450
1516
  /**
1451
1517
  * Sets the first cursor for the custom collection.
1452
1518
  * @param cursor The cursor for the first item in the custom collection.
1453
1519
  * @returns The setters object so that settings can be chained.
1454
1520
  */
1455
- setFirstCursor(cursor: CustomCollectionCursor<TParams, TContext, TContextData>): CustomCollectionCallbackSetters<TParams, TContext, TContextData>;
1521
+ setFirstCursor(cursor: CustomCollectionCursor<TParam, TContext, TContextData>): CustomCollectionCallbackSetters<TParam, TContext, TContextData>;
1456
1522
  /**
1457
1523
  * Sets the last cursor for the custom collection.
1458
1524
  * @param cursor The cursor for the last item in the custom collection.
1459
1525
  * @returns The setters object so that settings can be chained.
1460
1526
  */
1461
- setLastCursor(cursor: CustomCollectionCursor<TParams, TContext, TContextData>): CustomCollectionCallbackSetters<TParams, TContext, TContextData>;
1527
+ setLastCursor(cursor: CustomCollectionCursor<TParam, TContext, TContextData>): CustomCollectionCallbackSetters<TParam, TContext, TContextData>;
1462
1528
  /**
1463
1529
  * Specifies the conditions under which requests are authorized.
1464
1530
  * @param predicate A callback that returns whether a request is authorized.
1465
1531
  * @returns The setters object so that settings can be chained.
1466
1532
  * @since 0.7.0
1467
1533
  */
1468
- authorize(predicate: ObjectAuthorizePredicate<TContextData, string>): CustomCollectionCallbackSetters<TParams, TContext, TContextData>;
1534
+ authorize(predicate: ObjectAuthorizePredicate<TContextData, string>): CustomCollectionCallbackSetters<TParam, TContext, TContextData>;
1469
1535
  }
1470
1536
  /**
1471
1537
  * Represents an object with a type ID, which is either a constructor or an
@@ -1477,73 +1543,34 @@ type ConstructorWithTypeId<TObject extends Object$1> = (new (...args: any[]) =>
1477
1543
  typeId: URL;
1478
1544
  };
1479
1545
  /**
1480
- * Represents a path from the key of parameter objects.
1481
- * @param Params - A record of parameters where keys are parameter names and
1482
- * values are their string representations.
1483
- * @returns A string representing the path with all parameters.
1484
- * @example
1485
- * ```ts
1486
- * type UserPostPath = ParamsKeyPath<{ userId: string; postId: string }>;
1487
- * let userPostPath: UserPostPath;
1488
- * // userPostPath = "/posts/{postId}"; // invalid - does not contain `{userId}`
1489
- * // userPostPath = "/users/{userId}"; // invalid - does not contain `{postId}`
1490
- * userPostPath = "/users/{userId}/posts/{postId}"; // valid
1491
- * userPostPath = "/posts/{postId}/users/{userId}"; // valid
1492
- * ```
1493
- */
1494
- type ParamsKeyPath<Params extends Record<string, string>> = ParamsPath<Extract<keyof Params, string>> & string;
1495
- /**
1496
- * Represents a path with multiple parameters.
1497
- * All permutations of the parameters are included in the union type.
1498
- * The path must have all parameters in the form of `{paramName}`.
1499
- * @param Params - A union of parameter names.
1500
- * @returns A string representing the path with all parameters.
1501
- * @example
1502
- * ```ts
1503
- * type UserPostPath = ParamsPath<"userId" | "postId">;
1504
- * // = `${string}{userId}${string}` & `${string}{postId}${string}`
1505
- * // =
1506
- * // | `${string}{userId}${string}{postId}${string}`
1507
- * // | `${string}{postId}${string}{userId}${string}`
1508
- * let userPostPath: UserPostPath;
1509
- * userPostPath = "/users/posts"; // ❌ invalid
1510
- * userPostPath = "/users/{userId}"; // ❌ invalid
1511
- * userPostPath = "/posts/{postId}"; // ❌ invalid
1512
- * userPostPath = "/users/{userId}/posts/{postId}"; // ✅ valid
1513
- * userPostPath = "/posts/{postId}/users/{userId}"; // ✅ valid
1514
- */
1515
- type ParamsPath<Params extends string> = UnionToIntersection<ParamPath<Params>>;
1516
- /**
1517
- * Represents a path with a single parameter.
1518
- * The path must have at least one of the parameters in the form of `{paramName}`.
1519
- * @param Param - The name of the parameter.
1520
- * @returns A string representing the path with the parameter.
1521
- * @example
1522
- * ```ts
1523
- * type UserPostPath = ParamPath<"userId" | "postId">;
1524
- * // = `${string}{userId}${string}` | `${string}{postId}${string}`
1525
- * let userPostPath: UserPostPath;
1526
- * userPostPath = "/users/posts"; // ❌ invalid
1527
- * userPostPath = "/users/{userId}"; // ✅ valid
1528
- * userPostPath = "/posts/{postId}"; // ✅ valid
1529
- * userPostPath = "/users/{userId}/posts/{postId}"; // ✅ valid
1530
- * userPostPath = "/posts/{postId}/users/{userId}"; // ✅ valid
1531
- */
1532
- type ParamPath<Param extends string> = `${string}{${Param}}${string}`;
1533
- /**
1534
- * Converts union types to intersection types.
1546
+ * Defines a union of all valid RFC 6570 URI Template expressions for a given
1547
+ * parameter name.
1535
1548
  *
1536
- * @template U - The union type to convert.
1537
- * @returns The intersection type of the union.
1549
+ * RFC 6570 specifies a syntax for URI templates, allowing for variable
1550
+ * expansion. This type captures all Level 1-4 operator expressions for a
1551
+ * single, named variable.
1552
+ *
1553
+ * The supported expression types are:
1554
+ * - `{Param}`: Simple string expansion
1555
+ * - `+{Param}`: Reserved string expansion
1556
+ * - `#{Param}`: Fragment expansion
1557
+ * - `{.Param}`: Label expansion with a dot-prefix
1558
+ * - `{/Param}`: Path segment expansion
1559
+ * - `{;Param}`: Path-style parameter expansion
1560
+ * - `{?Param}`: Query component expansion
1561
+ * - `{&Param}`: Query continuation expansion
1562
+ *
1563
+ * @template Param The name of the parameter to be used in the expressions.
1538
1564
  * @example
1539
1565
  * ```ts
1540
- * type A = { a: string };
1541
- * type B = { b: number };
1542
- * type AorB = A | B;
1543
- * type AandB = UnionToIntersection<AorB>;
1544
- * // AandB = { a: string; b: number }
1566
+ * type UserIdExpression = Rfc6570Expression<"userId">;
1567
+ *
1568
+ * // The variable `userPath` can be assigned any of the valid expressions.
1569
+ * const userPath: UserIdExpression = "{/userId}";
1570
+ * ```
1571
+ * @see {@link https://tools.ietf.org/html/rfc6570} for the full specification.
1545
1572
  */
1546
- type UnionToIntersection<U> = (U extends unknown ? (x: U) => void : never) extends ((x: infer I) => void) ? I : never;
1573
+ type Rfc6570Expression<Param extends string> = `{${Param}}` | `{+${Param}}` | `{#${Param}}` | `{.${Param}}` | `{/${Param}}` | `{;${Param}}` | `{?${Param}}` | `{&${Param}}`;
1547
1574
  //#endregion
1548
1575
  //#region src/federation/context.d.ts
1549
1576
  /**
@@ -2314,4 +2341,4 @@ interface ActorKeyPair extends CryptoKeyPair {
2314
2341
  multikey: Multikey;
2315
2342
  }
2316
2343
  //#endregion
2317
- export { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, IdempotencyKeyCallback, IdempotencyStrategy, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParamsKeyPath, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable };
2344
+ export { ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateFederationOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, Federatable, Federation, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, ForwardActivityOptions, GetSignedKeyOptions, IdempotencyKeyCallback, IdempotencyStrategy, InboxContext, InboxErrorHandler, InboxListener, InboxListenerSetters, Message, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboxErrorHandler, PageItems, ParseUriResult, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, SharedInboxKeyDispatcher, WebFingerLinksDispatcher, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, digest, respondWithObject, respondWithObjectIfAcceptable };