@fluidframework/runtime-utils 2.0.0-rc.4.0.6 → 2.0.0-rc.5.0.0

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 (88) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/api-extractor/api-extractor-lint-bundle.json +5 -0
  3. package/api-extractor/api-extractor-lint-legacy.cjs.json +5 -0
  4. package/api-extractor/api-extractor-lint-legacy.esm.json +5 -0
  5. package/api-extractor/api-extractor-lint-public.cjs.json +5 -0
  6. package/api-extractor/api-extractor-lint-public.esm.json +5 -0
  7. package/api-extractor.json +1 -1
  8. package/api-report/runtime-utils.alpha.api.md +128 -0
  9. package/api-report/runtime-utils.beta.api.md +44 -0
  10. package/api-report/runtime-utils.public.api.md +44 -0
  11. package/biome.jsonc +4 -0
  12. package/dist/dataStoreHandleContextUtils.d.ts +1 -1
  13. package/dist/dataStoreHandleContextUtils.d.ts.map +1 -1
  14. package/dist/dataStoreHandleContextUtils.js.map +1 -1
  15. package/dist/dataStoreHelpers.js.map +1 -1
  16. package/dist/deltaManager.d.ts +2 -2
  17. package/dist/deltaManager.d.ts.map +1 -1
  18. package/dist/deltaManager.js.map +1 -1
  19. package/dist/handles.d.ts +2 -1
  20. package/dist/handles.d.ts.map +1 -1
  21. package/dist/handles.js.map +1 -1
  22. package/dist/index.d.ts +1 -1
  23. package/dist/index.d.ts.map +1 -1
  24. package/dist/index.js.map +1 -1
  25. package/dist/objectstoragepartition.d.ts +1 -1
  26. package/dist/objectstoragepartition.d.ts.map +1 -1
  27. package/dist/objectstoragepartition.js.map +1 -1
  28. package/dist/objectstorageutils.d.ts +1 -1
  29. package/dist/objectstorageutils.d.ts.map +1 -1
  30. package/dist/objectstorageutils.js.map +1 -1
  31. package/dist/requestParser.js.map +1 -1
  32. package/dist/snapshotUtils.d.ts +1 -1
  33. package/dist/snapshotUtils.d.ts.map +1 -1
  34. package/dist/snapshotUtils.js.map +1 -1
  35. package/dist/summaryUtils.d.ts +8 -8
  36. package/dist/summaryUtils.d.ts.map +1 -1
  37. package/dist/summaryUtils.js +27 -27
  38. package/dist/summaryUtils.js.map +1 -1
  39. package/dist/unpackUsedRoutes.js.map +1 -1
  40. package/dist/utils.d.ts +1 -1
  41. package/dist/utils.d.ts.map +1 -1
  42. package/dist/utils.js.map +1 -1
  43. package/lib/dataStoreHandleContextUtils.d.ts +1 -1
  44. package/lib/dataStoreHandleContextUtils.d.ts.map +1 -1
  45. package/lib/dataStoreHandleContextUtils.js.map +1 -1
  46. package/lib/dataStoreHelpers.js.map +1 -1
  47. package/lib/deltaManager.d.ts +2 -2
  48. package/lib/deltaManager.d.ts.map +1 -1
  49. package/lib/deltaManager.js.map +1 -1
  50. package/lib/handles.d.ts +2 -1
  51. package/lib/handles.d.ts.map +1 -1
  52. package/lib/handles.js.map +1 -1
  53. package/lib/index.d.ts +1 -1
  54. package/lib/index.d.ts.map +1 -1
  55. package/lib/index.js +1 -1
  56. package/lib/index.js.map +1 -1
  57. package/lib/objectstoragepartition.d.ts +1 -1
  58. package/lib/objectstoragepartition.d.ts.map +1 -1
  59. package/lib/objectstoragepartition.js.map +1 -1
  60. package/lib/objectstorageutils.d.ts +1 -1
  61. package/lib/objectstorageutils.d.ts.map +1 -1
  62. package/lib/objectstorageutils.js.map +1 -1
  63. package/lib/requestParser.js.map +1 -1
  64. package/lib/snapshotUtils.d.ts +1 -1
  65. package/lib/snapshotUtils.d.ts.map +1 -1
  66. package/lib/snapshotUtils.js.map +1 -1
  67. package/lib/summaryUtils.d.ts +8 -8
  68. package/lib/summaryUtils.d.ts.map +1 -1
  69. package/lib/summaryUtils.js +5 -5
  70. package/lib/summaryUtils.js.map +1 -1
  71. package/lib/tsdoc-metadata.json +1 -1
  72. package/lib/unpackUsedRoutes.js.map +1 -1
  73. package/lib/utils.d.ts +1 -1
  74. package/lib/utils.d.ts.map +1 -1
  75. package/lib/utils.js.map +1 -1
  76. package/package.json +30 -21
  77. package/src/dataStoreHandleContextUtils.ts +2 -2
  78. package/src/deltaManager.ts +2 -2
  79. package/src/handles.ts +5 -5
  80. package/src/index.ts +4 -1
  81. package/src/objectstoragepartition.ts +1 -1
  82. package/src/objectstorageutils.ts +1 -1
  83. package/src/snapshotUtils.ts +1 -1
  84. package/src/summaryUtils.ts +24 -23
  85. package/src/utils.ts +4 -1
  86. package/tsconfig.json +2 -0
  87. package/tsdoc.json +4 -0
  88. package/api-report/runtime-utils.api.md +0 -254
package/src/index.ts CHANGED
@@ -21,7 +21,10 @@ export {
21
21
  FluidHandleBase,
22
22
  } from "./handles.js";
23
23
  export { ObjectStoragePartition } from "./objectstoragepartition.js";
24
- export { getNormalizedObjectStoragePathParts, listBlobsAtTreePath } from "./objectstorageutils.js";
24
+ export {
25
+ getNormalizedObjectStoragePathParts,
26
+ listBlobsAtTreePath,
27
+ } from "./objectstorageutils.js";
25
28
  export { RequestParser } from "./requestParser.js";
26
29
  export { RuntimeFactoryHelper } from "./runtimeFactoryHelper.js";
27
30
  export {
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { assert } from "@fluidframework/core-utils/internal";
7
- import { IChannelStorageService } from "@fluidframework/datastore-definitions";
7
+ import { IChannelStorageService } from "@fluidframework/datastore-definitions/internal";
8
8
 
9
9
  /**
10
10
  * Returns a new IChannelStorageService that resolves the given `path` as root.
@@ -3,7 +3,7 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { ITree } from "@fluidframework/protocol-definitions";
6
+ import { ITree } from "@fluidframework/driver-definitions/internal";
7
7
 
8
8
  /**
9
9
  * @internal
@@ -3,7 +3,7 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import type { ISnapshotTree } from "@fluidframework/protocol-definitions";
6
+ import type { ISnapshotTree } from "@fluidframework/driver-definitions/internal";
7
7
 
8
8
  /**
9
9
  * Utility function to check if any blobs under a snapshot tree is missing and if so, then return
@@ -10,29 +10,29 @@ import {
10
10
  fromBase64ToUtf8,
11
11
  } from "@fluid-internal/client-utils";
12
12
  import { ISnapshotTreeWithBlobContents } from "@fluidframework/container-definitions/internal";
13
- import type { TelemetryBaseEventPropertyType } from "@fluidframework/core-interfaces";
14
13
  import { assert, unreachableCase } from "@fluidframework/core-utils/internal";
15
- import {
16
- AttachmentTreeEntry,
17
- BlobTreeEntry,
18
- TreeTreeEntry,
19
- } from "@fluidframework/driver-utils/internal";
20
14
  import {
21
15
  ISummaryBlob,
22
16
  ISummaryTree,
23
- ITree,
24
- ITreeEntry,
25
17
  SummaryObject,
26
18
  SummaryType,
27
- TreeEntry,
28
- } from "@fluidframework/protocol-definitions";
19
+ } from "@fluidframework/driver-definitions";
20
+ import { ITree, ITreeEntry, TreeEntry } from "@fluidframework/driver-definitions/internal";
21
+ import {
22
+ AttachmentTreeEntry,
23
+ BlobTreeEntry,
24
+ TreeTreeEntry,
25
+ } from "@fluidframework/driver-utils/internal";
29
26
  import {
30
- IGarbageCollectionData,
31
27
  ISummaryStats,
32
28
  ISummaryTreeWithStats,
33
29
  ITelemetryContext,
34
- } from "@fluidframework/runtime-definitions";
35
- import { ISummarizeResult } from "@fluidframework/runtime-definitions/internal";
30
+ IGarbageCollectionData,
31
+ ISummarizeResult,
32
+ ITelemetryContextExt,
33
+ gcDataBlobKey,
34
+ } from "@fluidframework/runtime-definitions/internal";
35
+ import type { TelemetryEventPropertyTypeExt } from "@fluidframework/telemetry-utils/internal";
36
36
 
37
37
  /**
38
38
  * Combines summary stats by adding their totals together.
@@ -229,9 +229,7 @@ export function convertToSummaryTreeWithStats(
229
229
  case TreeEntry.Blob: {
230
230
  const blob = entry.value;
231
231
  const content =
232
- blob.encoding === "base64"
233
- ? IsoBuffer.from(blob.contents, "base64")
234
- : blob.contents;
232
+ blob.encoding === "base64" ? IsoBuffer.from(blob.contents, "base64") : blob.contents;
235
233
  builder.addBlob(entry.path, content);
236
234
  break;
237
235
  }
@@ -267,7 +265,10 @@ export function convertToSummaryTreeWithStats(
267
265
  * @param fullTree - true to never use handles, even if id is specified
268
266
  * @internal
269
267
  */
270
- export function convertToSummaryTree(snapshot: ITree, fullTree: boolean = false): ISummarizeResult {
268
+ export function convertToSummaryTree(
269
+ snapshot: ITree,
270
+ fullTree: boolean = false,
271
+ ): ISummarizeResult {
271
272
  // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
272
273
  if (snapshot.id && !fullTree) {
273
274
  const stats = mergeStats();
@@ -387,7 +388,7 @@ export function processAttachMessageGCData(
387
388
  snapshot: ITree | null,
388
389
  addedGCOutboundRoute: (fromNodeId: string, toPath: string) => void,
389
390
  ): boolean {
390
- const gcDataEntry = snapshot?.entries.find((e) => e.path === ".gcdata");
391
+ const gcDataEntry = snapshot?.entries.find((e) => e.path === gcDataBlobKey);
391
392
 
392
393
  // Old attach messages won't have GC Data
393
394
  // (And REALLY old DataStore Attach messages won't even have a snapshot!)
@@ -412,13 +413,13 @@ export function processAttachMessageGCData(
412
413
  /**
413
414
  * @internal
414
415
  */
415
- export class TelemetryContext implements ITelemetryContext {
416
- private readonly telemetry = new Map<string, TelemetryBaseEventPropertyType>();
416
+ export class TelemetryContext implements ITelemetryContext, ITelemetryContextExt {
417
+ private readonly telemetry = new Map<string, TelemetryEventPropertyTypeExt>();
417
418
 
418
419
  /**
419
420
  * {@inheritDoc @fluidframework/runtime-definitions#ITelemetryContext.set}
420
421
  */
421
- set(prefix: string, property: string, value: TelemetryBaseEventPropertyType): void {
422
+ set(prefix: string, property: string, value: TelemetryEventPropertyTypeExt): void {
422
423
  this.telemetry.set(`${prefix}${property}`, value);
423
424
  }
424
425
 
@@ -428,7 +429,7 @@ export class TelemetryContext implements ITelemetryContext {
428
429
  setMultiple(
429
430
  prefix: string,
430
431
  property: string,
431
- values: Record<string, TelemetryBaseEventPropertyType>,
432
+ values: Record<string, TelemetryEventPropertyTypeExt>,
432
433
  ): void {
433
434
  // Set the values individually so that they are logged as a flat list along with other properties.
434
435
  for (const key of Object.keys(values)) {
@@ -439,7 +440,7 @@ export class TelemetryContext implements ITelemetryContext {
439
440
  /**
440
441
  * {@inheritDoc @fluidframework/runtime-definitions#ITelemetryContext.get}
441
442
  */
442
- get(prefix: string, property: string): TelemetryBaseEventPropertyType {
443
+ get(prefix: string, property: string): TelemetryEventPropertyTypeExt {
443
444
  return this.telemetry.get(`${prefix}${property}`);
444
445
  }
445
446
 
package/src/utils.ts CHANGED
@@ -4,7 +4,10 @@
4
4
  */
5
5
 
6
6
  import { assert } from "@fluidframework/core-utils/internal";
7
- import { IDocumentAttributes, ISnapshotTree } from "@fluidframework/protocol-definitions";
7
+ import {
8
+ IDocumentAttributes,
9
+ ISnapshotTree,
10
+ } from "@fluidframework/driver-definitions/internal";
8
11
 
9
12
  /**
10
13
  * Reads a blob from storage and parses it from JSON.
package/tsconfig.json CHANGED
@@ -5,5 +5,7 @@
5
5
  "compilerOptions": {
6
6
  "rootDir": "./src",
7
7
  "outDir": "./lib",
8
+ "noUncheckedIndexedAccess": false,
9
+ "exactOptionalPropertyTypes": false,
8
10
  },
9
11
  }
package/tsdoc.json ADDED
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
3
+ "extends": ["../../../common/build/build-common/tsdoc-base.json"]
4
+ }
@@ -1,254 +0,0 @@
1
- ## API Report File for "@fluidframework/runtime-utils"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import { fluidHandleSymbol } from '@fluidframework/core-interfaces';
8
- import { IChannelStorageService } from '@fluidframework/datastore-definitions';
9
- import { IContainerContext } from '@fluidframework/container-definitions/internal';
10
- import { IContainerRuntime } from '@fluidframework/container-runtime-definitions/internal';
11
- import type { IDeltaManager } from '@fluidframework/container-definitions/internal';
12
- import type { IDeltaManagerErased } from '@fluidframework/datastore-definitions';
13
- import type { IDocumentMessage } from '@fluidframework/protocol-definitions';
14
- import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
15
- import { IFluidDataStoreRegistry } from '@fluidframework/runtime-definitions/internal';
16
- import { IFluidHandle } from '@fluidframework/core-interfaces';
17
- import { IFluidHandleContext } from '@fluidframework/core-interfaces';
18
- import type { IFluidHandleErased } from '@fluidframework/core-interfaces/internal';
19
- import type { IFluidHandleInternal } from '@fluidframework/core-interfaces/internal';
20
- import { IGarbageCollectionData } from '@fluidframework/runtime-definitions';
21
- import { IProvideFluidDataStoreRegistry } from '@fluidframework/runtime-definitions/internal';
22
- import { IRequest } from '@fluidframework/core-interfaces';
23
- import { IRequestHeader } from '@fluidframework/core-interfaces';
24
- import { IResponse } from '@fluidframework/core-interfaces';
25
- import { IRuntime } from '@fluidframework/container-definitions/internal';
26
- import { IRuntimeFactory } from '@fluidframework/container-definitions/internal';
27
- import type { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
28
- import { ISnapshotTree } from '@fluidframework/protocol-definitions';
29
- import { ISnapshotTreeWithBlobContents } from '@fluidframework/container-definitions/internal';
30
- import { ISummarizeResult } from '@fluidframework/runtime-definitions/internal';
31
- import { ISummaryBlob } from '@fluidframework/protocol-definitions';
32
- import { ISummaryStats } from '@fluidframework/runtime-definitions';
33
- import { ISummaryTree } from '@fluidframework/protocol-definitions';
34
- import { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions';
35
- import { ITelemetryContext } from '@fluidframework/runtime-definitions';
36
- import { ITree } from '@fluidframework/protocol-definitions';
37
- import { SummaryObject } from '@fluidframework/protocol-definitions';
38
- import { SummaryType } from '@fluidframework/protocol-definitions';
39
- import type { TelemetryBaseEventPropertyType } from '@fluidframework/core-interfaces';
40
-
41
- // @internal (undocumented)
42
- export function addBlobToSummary(summary: ISummaryTreeWithStats, key: string, content: string | Uint8Array): void;
43
-
44
- // @internal (undocumented)
45
- export function addSummarizeResultToSummary(summary: ISummaryTreeWithStats, key: string, summarizeResult: ISummarizeResult): void;
46
-
47
- // @internal (undocumented)
48
- export function calculateStats(summary: SummaryObject): ISummaryStats;
49
-
50
- // @internal
51
- export function convertSnapshotTreeToSummaryTree(snapshot: ISnapshotTreeWithBlobContents): ISummaryTreeWithStats;
52
-
53
- // @internal
54
- export function convertSummaryTreeToITree(summaryTree: ISummaryTree): ITree;
55
-
56
- // @internal
57
- export function convertToSummaryTree(snapshot: ITree, fullTree?: boolean): ISummarizeResult;
58
-
59
- // @alpha
60
- export function convertToSummaryTreeWithStats(snapshot: ITree, fullTree?: boolean): ISummaryTreeWithStats;
61
-
62
- // @alpha (undocumented)
63
- export const create404Response: (request: IRequest) => IResponse;
64
-
65
- // @internal (undocumented)
66
- export function createDataStoreFactory(type: string, factory: Factory | Promise<Factory>): IFluidDataStoreFactory & IFluidDataStoreRegistry;
67
-
68
- // @internal (undocumented)
69
- export function createResponseError(status: number, value: string, request: IRequest, headers?: {
70
- [key: string]: any;
71
- }): IResponse;
72
-
73
- // @internal
74
- export function encodeCompactIdToString(idArg: number | string, prefix?: string): string;
75
-
76
- // @internal (undocumented)
77
- export function exceptionToResponse(err: any): IResponse;
78
-
79
- // @internal (undocumented)
80
- export type Factory = IFluidDataStoreFactory & Partial<IProvideFluidDataStoreRegistry>;
81
-
82
- // @alpha
83
- export abstract class FluidHandleBase<T> implements IFluidHandleInternal<T> {
84
- // (undocumented)
85
- get [fluidHandleSymbol](): IFluidHandleErased<T>;
86
- // (undocumented)
87
- abstract absolutePath: string;
88
- // (undocumented)
89
- abstract attachGraph(): void;
90
- // (undocumented)
91
- abstract bind(handle: IFluidHandleInternal): void;
92
- // (undocumented)
93
- abstract get(): Promise<T>;
94
- get IFluidHandle(): IFluidHandleInternal;
95
- // (undocumented)
96
- abstract readonly isAttached: boolean;
97
- }
98
-
99
- // @internal
100
- export class GCDataBuilder implements IGarbageCollectionData {
101
- // (undocumented)
102
- addNode(id: string, outboundRoutes: string[]): void;
103
- // (undocumented)
104
- addNodes(gcNodes: {
105
- [id: string]: string[];
106
- }): void;
107
- addRouteToAllNodes(outboundRoute: string): void;
108
- // (undocumented)
109
- get gcNodes(): {
110
- [id: string]: string[];
111
- };
112
- // (undocumented)
113
- getGCData(): IGarbageCollectionData;
114
- prefixAndAddNodes(prefixId: string, gcNodes: {
115
- [id: string]: string[];
116
- }): void;
117
- }
118
-
119
- // @internal
120
- export function generateHandleContextPath(path: string, routeContext?: IFluidHandleContext): string;
121
-
122
- // @internal (undocumented)
123
- export function getBlobSize(content: ISummaryBlob["content"]): number;
124
-
125
- // @internal (undocumented)
126
- export function getNormalizedObjectStoragePathParts(path: string): string[];
127
-
128
- // @internal
129
- export interface ISerializedHandle {
130
- // (undocumented)
131
- type: "__fluid_handle__";
132
- // (undocumented)
133
- url: string;
134
- }
135
-
136
- // @internal
137
- export function isFluidHandle(value: unknown): value is IFluidHandle;
138
-
139
- // @internal
140
- export const isSerializedHandle: (value: any) => value is ISerializedHandle;
141
-
142
- // @internal
143
- export function isSnapshotFetchRequiredForLoadingGroupId(snapshotTree: ISnapshotTree, blobContents: Map<string, ArrayBuffer>): boolean;
144
-
145
- // @internal (undocumented)
146
- export function listBlobsAtTreePath(inputTree: ITree | undefined, path: string): Promise<string[]>;
147
-
148
- // @internal
149
- export function mergeStats(...stats: ISummaryStats[]): ISummaryStats;
150
-
151
- // @internal
152
- export class ObjectStoragePartition implements IChannelStorageService {
153
- constructor(storage: IChannelStorageService, path: string);
154
- // (undocumented)
155
- contains(path: string): Promise<boolean>;
156
- // (undocumented)
157
- list(path: string): Promise<string[]>;
158
- // (undocumented)
159
- readBlob(path: string): Promise<ArrayBufferLike>;
160
- }
161
-
162
- // @internal
163
- export function processAttachMessageGCData(snapshot: ITree | null, addedGCOutboundRoute: (fromNodeId: string, toPath: string) => void): boolean;
164
-
165
- // @internal
166
- export type ReadAndParseBlob = <T>(id: string) => Promise<T>;
167
-
168
- // @alpha
169
- export class RequestParser implements IRequest {
170
- protected constructor(request: Readonly<IRequest>);
171
- // (undocumented)
172
- static create(request: Readonly<IRequest>): RequestParser;
173
- createSubRequest(startingPathIndex: number): IRequest;
174
- static getPathParts(url: string): readonly string[];
175
- // (undocumented)
176
- get headers(): IRequestHeader | undefined;
177
- isLeaf(elements: number): boolean;
178
- get pathParts(): readonly string[];
179
- // (undocumented)
180
- readonly query: string;
181
- // (undocumented)
182
- get url(): string;
183
- }
184
-
185
- // @internal (undocumented)
186
- export function responseToException(response: IResponse, request: IRequest): Error;
187
-
188
- // @alpha (undocumented)
189
- export abstract class RuntimeFactoryHelper<T = IContainerRuntime> implements IRuntimeFactory {
190
- // (undocumented)
191
- hasInitialized(_runtime: T): Promise<void>;
192
- // (undocumented)
193
- instantiateFirstTime(_runtime: T): Promise<void>;
194
- // (undocumented)
195
- instantiateFromExisting(_runtime: T): Promise<void>;
196
- // (undocumented)
197
- instantiateRuntime(context: IContainerContext, existing: boolean): Promise<IRuntime>;
198
- // (undocumented)
199
- get IRuntimeFactory(): this;
200
- // (undocumented)
201
- abstract preInitialize(context: IContainerContext, existing: boolean): Promise<IRuntime & T>;
202
- }
203
-
204
- // @internal
205
- export function seqFromTree(tree: ISnapshotTree, readAndParseBlob: ReadAndParseBlob): Promise<number>;
206
-
207
- // @alpha (undocumented)
208
- export class SummaryTreeBuilder implements ISummaryTreeWithStats {
209
- constructor();
210
- // (undocumented)
211
- addAttachment(id: string): void;
212
- // (undocumented)
213
- addBlob(key: string, content: string | Uint8Array): void;
214
- // (undocumented)
215
- addHandle(key: string, handleType: SummaryType.Tree | SummaryType.Blob | SummaryType.Attachment, handle: string): void;
216
- // (undocumented)
217
- addWithStats(key: string, summarizeResult: ISummarizeResult): void;
218
- // (undocumented)
219
- getSummaryTree(): ISummaryTreeWithStats;
220
- // (undocumented)
221
- get stats(): Readonly<ISummaryStats>;
222
- // (undocumented)
223
- get summary(): ISummaryTree;
224
- }
225
-
226
- // @internal (undocumented)
227
- export class TelemetryContext implements ITelemetryContext {
228
- get(prefix: string, property: string): TelemetryBaseEventPropertyType;
229
- serialize(): string;
230
- set(prefix: string, property: string, value: TelemetryBaseEventPropertyType): void;
231
- setMultiple(prefix: string, property: string, values: Record<string, TelemetryBaseEventPropertyType>): void;
232
- }
233
-
234
- // @internal
235
- export function toDeltaManagerErased(deltaManager: IDeltaManager<ISequencedDocumentMessage, IDocumentMessage>): IDeltaManagerErased;
236
-
237
- // @alpha
238
- export function toDeltaManagerInternal(deltaManager: IDeltaManagerErased): IDeltaManager<ISequencedDocumentMessage, IDocumentMessage>;
239
-
240
- // @alpha
241
- export function toFluidHandleErased<T>(handle: IFluidHandleInternal<T>): IFluidHandleErased<T>;
242
-
243
- // @alpha
244
- export function toFluidHandleInternal<T>(handle: IFluidHandle<T>): IFluidHandleInternal<T>;
245
-
246
- // @internal
247
- export function unpackChildNodesUsedRoutes(usedRoutes: readonly string[]): Map<string, string[]>;
248
-
249
- // @internal (undocumented)
250
- export function utf8ByteLength(str: string): number;
251
-
252
- // (No @packageDocumentation comment for this package)
253
-
254
- ```