@fluidframework/runtime-definitions 1.4.0-121020 → 2.0.0-dev-rc.1.0.0.224419

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 (55) hide show
  1. package/.eslintrc.cjs +12 -0
  2. package/CHANGELOG.md +330 -0
  3. package/README.md +43 -7
  4. package/api-extractor-lint.json +4 -0
  5. package/api-extractor.json +2 -2
  6. package/api-report/runtime-definitions.api.md +474 -0
  7. package/dist/attribution.d.ts +71 -0
  8. package/dist/attribution.d.ts.map +1 -0
  9. package/dist/attribution.js +7 -0
  10. package/dist/attribution.js.map +1 -0
  11. package/dist/dataStoreContext.d.ts +114 -61
  12. package/dist/dataStoreContext.d.ts.map +1 -1
  13. package/dist/dataStoreContext.js +27 -5
  14. package/dist/dataStoreContext.js.map +1 -1
  15. package/dist/dataStoreFactory.d.ts +7 -0
  16. package/dist/dataStoreFactory.d.ts.map +1 -1
  17. package/dist/dataStoreFactory.js +3 -0
  18. package/dist/dataStoreFactory.js.map +1 -1
  19. package/dist/dataStoreRegistry.d.ts +14 -4
  20. package/dist/dataStoreRegistry.d.ts.map +1 -1
  21. package/dist/dataStoreRegistry.js +3 -0
  22. package/dist/dataStoreRegistry.js.map +1 -1
  23. package/dist/garbageCollection.d.ts +35 -10
  24. package/dist/garbageCollection.d.ts.map +1 -1
  25. package/dist/garbageCollection.js +25 -3
  26. package/dist/garbageCollection.js.map +1 -1
  27. package/dist/index.d.ts +52 -6
  28. package/dist/index.d.ts.map +1 -1
  29. package/dist/index.js +26 -16
  30. package/dist/index.js.map +1 -1
  31. package/dist/protocol.d.ts +10 -3
  32. package/dist/protocol.d.ts.map +1 -1
  33. package/dist/protocol.js.map +1 -1
  34. package/dist/runtime-definitions-alpha.d.ts +993 -0
  35. package/dist/runtime-definitions-beta.d.ts +264 -0
  36. package/dist/runtime-definitions-public.d.ts +264 -0
  37. package/dist/runtime-definitions-untrimmed.d.ts +1068 -0
  38. package/dist/summary.d.ts +138 -70
  39. package/dist/summary.d.ts.map +1 -1
  40. package/dist/summary.js +13 -1
  41. package/dist/summary.js.map +1 -1
  42. package/dist/tsdoc-metadata.json +11 -0
  43. package/package.json +96 -41
  44. package/prettier.config.cjs +8 -0
  45. package/src/aliasing.md +42 -0
  46. package/src/attribution.ts +78 -0
  47. package/src/dataStoreContext.ts +432 -388
  48. package/src/dataStoreFactory.ts +21 -11
  49. package/src/dataStoreRegistry.ts +18 -6
  50. package/src/garbageCollection.ts +38 -15
  51. package/src/index.ts +111 -6
  52. package/src/protocol.ts +46 -38
  53. package/src/summary.ts +298 -225
  54. package/tsconfig.json +10 -12
  55. package/.eslintrc.js +0 -13
@@ -0,0 +1,264 @@
1
+ import { AttachState } from '@fluidframework/container-definitions';
2
+ import { FluidObject } from '@fluidframework/core-interfaces';
3
+ import { IAudience } from '@fluidframework/container-definitions';
4
+ import { IClientDetails } from '@fluidframework/protocol-definitions';
5
+ import { IdCompressor } from '@fluidframework/id-compressor';
6
+ import { IdCreationRange } from '@fluidframework/id-compressor';
7
+ import { IDeltaManager } from '@fluidframework/container-definitions';
8
+ import { IDisposable } from '@fluidframework/core-interfaces';
9
+ import { IDocumentMessage } from '@fluidframework/protocol-definitions';
10
+ import { IDocumentStorageService } from '@fluidframework/driver-definitions';
11
+ import { IEvent } from '@fluidframework/core-interfaces';
12
+ import { IEventProvider } from '@fluidframework/core-interfaces';
13
+ import { IFluidHandle } from '@fluidframework/core-interfaces';
14
+ import { IIdCompressor } from '@fluidframework/id-compressor';
15
+ import { IIdCompressorCore } from '@fluidframework/id-compressor';
16
+ import { ILoaderOptions } from '@fluidframework/container-definitions';
17
+ import { IProvideFluidHandleContext } from '@fluidframework/core-interfaces';
18
+ import { IQuorumClients } from '@fluidframework/protocol-definitions';
19
+ import { IRequest } from '@fluidframework/core-interfaces';
20
+ import { IResponse } from '@fluidframework/core-interfaces';
21
+ import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
22
+ import { ISignalMessage } from '@fluidframework/protocol-definitions';
23
+ import { ISnapshotTree } from '@fluidframework/protocol-definitions';
24
+ import { ISummaryTree } from '@fluidframework/protocol-definitions';
25
+ import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
26
+ import { ITree } from '@fluidframework/protocol-definitions';
27
+ import type { IUser } from '@fluidframework/protocol-definitions';
28
+ import { OpSpaceCompressedId } from '@fluidframework/id-compressor';
29
+ import { SerializedIdCompressor } from '@fluidframework/id-compressor';
30
+ import { SerializedIdCompressorWithNoSession } from '@fluidframework/id-compressor';
31
+ import { SerializedIdCompressorWithOngoingSession } from '@fluidframework/id-compressor';
32
+ import { SessionId } from '@fluidframework/id-compressor';
33
+ import { SessionSpaceCompressedId } from '@fluidframework/id-compressor';
34
+ import { StableId } from '@fluidframework/id-compressor';
35
+ import { SummaryTree } from '@fluidframework/protocol-definitions';
36
+ import { TelemetryEventPropertyType } from '@fluidframework/core-interfaces';
37
+
38
+ /* Excluded from this release type: AliasResult */
39
+
40
+ /* Excluded from this release type: AttributionInfo */
41
+
42
+ /* Excluded from this release type: AttributionKey */
43
+
44
+ /* Excluded from this release type: blobCountPropertyName */
45
+
46
+ /* Excluded from this release type: channelsTreeName */
47
+
48
+ /* Excluded from this release type: CreateChildSummarizerNodeFn */
49
+
50
+ /* Excluded from this release type: CreateChildSummarizerNodeParam */
51
+
52
+ /* Excluded from this release type: CreateSummarizerNodeSource */
53
+
54
+ /* Excluded from this release type: DetachedAttributionKey */
55
+
56
+ /* Excluded from this release type: FluidDataStoreRegistryEntry */
57
+
58
+ /* Excluded from this release type: FlushMode */
59
+
60
+ /* Excluded from this release type: FlushModeExperimental */
61
+
62
+ /* Excluded from this release type: gcBlobPrefix */
63
+
64
+ /* Excluded from this release type: gcDeletedBlobKey */
65
+
66
+ /* Excluded from this release type: gcTombstoneBlobKey */
67
+
68
+ /* Excluded from this release type: gcTreeKey */
69
+
70
+ /* Excluded from this release type: IAttachMessage */
71
+
72
+ /* Excluded from this release type: IContainerRuntimeBase */
73
+
74
+ /* Excluded from this release type: IContainerRuntimeBaseEvents */
75
+
76
+ /* Excluded from this release type: IDataStore */
77
+
78
+ /* Excluded from this release type: IdCompressor */
79
+
80
+ /* Excluded from this release type: IdCreationRange */
81
+
82
+ /* Excluded from this release type: IDocumentStorageService */
83
+
84
+ /* Excluded from this release type: IEnvelope */
85
+
86
+ /**
87
+ * @experimental - Can be deleted/changed at any time
88
+ * Contains the necessary information to allow DDSes to do incremental summaries
89
+ * @public
90
+ */
91
+ export declare interface IExperimentalIncrementalSummaryContext {
92
+ /**
93
+ * The sequence number of the summary generated that will be sent to the server.
94
+ */
95
+ summarySequenceNumber: number;
96
+ /**
97
+ * The sequence number of the most recent summary that was acknowledged by the server.
98
+ */
99
+ latestSummarySequenceNumber: number;
100
+ /**
101
+ * The path to the runtime/datastore/dds that is used to generate summary handles
102
+ * Note: Summary handles are nodes of the summary tree that point to previous parts of the last successful summary
103
+ * instead of being a blob or tree node
104
+ *
105
+ * This path contains the id of the data store and dds which should not be leaked to layers below them. Ideally,
106
+ * a layer should not know its own id. This is important for channel unification work and there has been a lot of
107
+ * work to remove these kinds of leakages. Some still exist, which have to be fixed but we should not be adding
108
+ * more dependencies.
109
+ */
110
+ summaryPath: string;
111
+ }
112
+
113
+ /* Excluded from this release type: IFluidDataStoreChannel */
114
+
115
+ /* Excluded from this release type: IFluidDataStoreContext */
116
+
117
+ /* Excluded from this release type: IFluidDataStoreContextDetached */
118
+
119
+ /* Excluded from this release type: IFluidDataStoreContextEvents */
120
+
121
+ /* Excluded from this release type: IFluidDataStoreFactory */
122
+
123
+ /* Excluded from this release type: IFluidDataStoreRegistry */
124
+
125
+ /**
126
+ * Garbage collection data returned by nodes in a Container.
127
+ * Used for running GC in the Container.
128
+ * @public
129
+ */
130
+ export declare interface IGarbageCollectionData {
131
+ /**
132
+ * The GC nodes of a Fluid object in the Container. Each node has an id and a set of routes to other GC nodes.
133
+ */
134
+ gcNodes: {
135
+ [id: string]: string[];
136
+ };
137
+ }
138
+
139
+ /* Excluded from this release type: IGarbageCollectionDetailsBase */
140
+ export { IIdCompressor }
141
+
142
+ /* Excluded from this release type: IIdCompressorCore */
143
+
144
+ /**
145
+ * Represents ISignalMessage with its type.
146
+ * @public
147
+ */
148
+ export declare interface IInboundSignalMessage extends ISignalMessage {
149
+ type: string;
150
+ }
151
+
152
+ /* Excluded from this release type: InboundAttachMessage */
153
+
154
+ /* Excluded from this release type: IProvideFluidDataStoreFactory */
155
+
156
+ /* Excluded from this release type: IProvideFluidDataStoreRegistry */
157
+
158
+ /* Excluded from this release type: ISignalEnvelope */
159
+
160
+ /* Excluded from this release type: ISummarizeInternalResult */
161
+
162
+ /* Excluded from this release type: ISummarizeResult */
163
+
164
+ /* Excluded from this release type: ISummarizerNode */
165
+
166
+ /* Excluded from this release type: ISummarizerNodeConfig */
167
+
168
+ /* Excluded from this release type: ISummarizerNodeConfigWithGC */
169
+
170
+ /* Excluded from this release type: ISummarizerNodeWithGC */
171
+
172
+ /**
173
+ * Contains the aggregation data from a Tree/Subtree.
174
+ * @public
175
+ */
176
+ export declare interface ISummaryStats {
177
+ treeNodeCount: number;
178
+ blobNodeCount: number;
179
+ handleNodeCount: number;
180
+ totalBlobSize: number;
181
+ unreferencedBlobSize: number;
182
+ }
183
+
184
+ /**
185
+ * Represents the summary tree for a node along with the statistics for that tree.
186
+ * For example, for a given data store, it contains the data for data store along with a subtree for
187
+ * each of its DDS.
188
+ * Any component that implements IChannelContext, IFluidDataStoreChannel or extends SharedObject
189
+ * will be taking part of the summarization process.
190
+ * @public
191
+ */
192
+ export declare interface ISummaryTreeWithStats {
193
+ /**
194
+ * Represents an aggregation of node counts and blob sizes associated to the current summary information
195
+ */
196
+ stats: ISummaryStats;
197
+ /**
198
+ * A recursive data structure that will be converted to a snapshot tree and uploaded
199
+ * to the backend.
200
+ */
201
+ summary: ISummaryTree;
202
+ }
203
+
204
+ /**
205
+ * Contains telemetry data relevant to summarization workflows.
206
+ * This object is expected to be modified directly by various summarize methods.
207
+ * @public
208
+ */
209
+ export declare interface ITelemetryContext {
210
+ /**
211
+ * Sets value for telemetry data being tracked.
212
+ * @param prefix - unique prefix to tag this data with (ex: "fluid:map:")
213
+ * @param property - property name of the telemetry data being tracked (ex: "DirectoryCount")
214
+ * @param value - value to attribute to this summary telemetry data
215
+ */
216
+ set(prefix: string, property: string, value: TelemetryEventPropertyType): void;
217
+ /**
218
+ * Sets multiple values for telemetry data being tracked.
219
+ * @param prefix - unique prefix to tag this data with (ex: "fluid:summarize:")
220
+ * @param property - property name of the telemetry data being tracked (ex: "Options")
221
+ * @param values - A set of values to attribute to this summary telemetry data.
222
+ */
223
+ setMultiple(prefix: string, property: string, values: Record<string, TelemetryEventPropertyType>): void;
224
+ /**
225
+ * Get the telemetry data being tracked
226
+ * @param prefix - unique prefix for this data (ex: "fluid:map:")
227
+ * @param property - property name of the telemetry data being tracked (ex: "DirectoryCount")
228
+ * @returns undefined if item not found
229
+ */
230
+ get(prefix: string, property: string): TelemetryEventPropertyType;
231
+ /**
232
+ * Returns a serialized version of all the telemetry data.
233
+ * Should be used when logging in telemetry events.
234
+ */
235
+ serialize(): string;
236
+ }
237
+
238
+ /* Excluded from this release type: LocalAttributionKey */
239
+
240
+ /* Excluded from this release type: NamedFluidDataStoreRegistryEntries */
241
+
242
+ /* Excluded from this release type: NamedFluidDataStoreRegistryEntry */
243
+
244
+ /* Excluded from this release type: OpAttributionKey */
245
+ export { OpSpaceCompressedId }
246
+
247
+ /* Excluded from this release type: SerializedIdCompressor */
248
+
249
+ /* Excluded from this release type: SerializedIdCompressorWithNoSession */
250
+
251
+ /* Excluded from this release type: SerializedIdCompressorWithOngoingSession */
252
+ export { SessionId }
253
+
254
+ export { SessionSpaceCompressedId }
255
+
256
+ export { StableId }
257
+
258
+ /* Excluded from this release type: SummarizeInternalFn */
259
+
260
+ /* Excluded from this release type: totalBlobSizePropertyName */
261
+
262
+ /* Excluded from this release type: VisibilityState */
263
+
264
+ export { }
@@ -0,0 +1,264 @@
1
+ import { AttachState } from '@fluidframework/container-definitions';
2
+ import { FluidObject } from '@fluidframework/core-interfaces';
3
+ import { IAudience } from '@fluidframework/container-definitions';
4
+ import { IClientDetails } from '@fluidframework/protocol-definitions';
5
+ import { IdCompressor } from '@fluidframework/id-compressor';
6
+ import { IdCreationRange } from '@fluidframework/id-compressor';
7
+ import { IDeltaManager } from '@fluidframework/container-definitions';
8
+ import { IDisposable } from '@fluidframework/core-interfaces';
9
+ import { IDocumentMessage } from '@fluidframework/protocol-definitions';
10
+ import { IDocumentStorageService } from '@fluidframework/driver-definitions';
11
+ import { IEvent } from '@fluidframework/core-interfaces';
12
+ import { IEventProvider } from '@fluidframework/core-interfaces';
13
+ import { IFluidHandle } from '@fluidframework/core-interfaces';
14
+ import { IIdCompressor } from '@fluidframework/id-compressor';
15
+ import { IIdCompressorCore } from '@fluidframework/id-compressor';
16
+ import { ILoaderOptions } from '@fluidframework/container-definitions';
17
+ import { IProvideFluidHandleContext } from '@fluidframework/core-interfaces';
18
+ import { IQuorumClients } from '@fluidframework/protocol-definitions';
19
+ import { IRequest } from '@fluidframework/core-interfaces';
20
+ import { IResponse } from '@fluidframework/core-interfaces';
21
+ import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
22
+ import { ISignalMessage } from '@fluidframework/protocol-definitions';
23
+ import { ISnapshotTree } from '@fluidframework/protocol-definitions';
24
+ import { ISummaryTree } from '@fluidframework/protocol-definitions';
25
+ import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
26
+ import { ITree } from '@fluidframework/protocol-definitions';
27
+ import type { IUser } from '@fluidframework/protocol-definitions';
28
+ import { OpSpaceCompressedId } from '@fluidframework/id-compressor';
29
+ import { SerializedIdCompressor } from '@fluidframework/id-compressor';
30
+ import { SerializedIdCompressorWithNoSession } from '@fluidframework/id-compressor';
31
+ import { SerializedIdCompressorWithOngoingSession } from '@fluidframework/id-compressor';
32
+ import { SessionId } from '@fluidframework/id-compressor';
33
+ import { SessionSpaceCompressedId } from '@fluidframework/id-compressor';
34
+ import { StableId } from '@fluidframework/id-compressor';
35
+ import { SummaryTree } from '@fluidframework/protocol-definitions';
36
+ import { TelemetryEventPropertyType } from '@fluidframework/core-interfaces';
37
+
38
+ /* Excluded from this release type: AliasResult */
39
+
40
+ /* Excluded from this release type: AttributionInfo */
41
+
42
+ /* Excluded from this release type: AttributionKey */
43
+
44
+ /* Excluded from this release type: blobCountPropertyName */
45
+
46
+ /* Excluded from this release type: channelsTreeName */
47
+
48
+ /* Excluded from this release type: CreateChildSummarizerNodeFn */
49
+
50
+ /* Excluded from this release type: CreateChildSummarizerNodeParam */
51
+
52
+ /* Excluded from this release type: CreateSummarizerNodeSource */
53
+
54
+ /* Excluded from this release type: DetachedAttributionKey */
55
+
56
+ /* Excluded from this release type: FluidDataStoreRegistryEntry */
57
+
58
+ /* Excluded from this release type: FlushMode */
59
+
60
+ /* Excluded from this release type: FlushModeExperimental */
61
+
62
+ /* Excluded from this release type: gcBlobPrefix */
63
+
64
+ /* Excluded from this release type: gcDeletedBlobKey */
65
+
66
+ /* Excluded from this release type: gcTombstoneBlobKey */
67
+
68
+ /* Excluded from this release type: gcTreeKey */
69
+
70
+ /* Excluded from this release type: IAttachMessage */
71
+
72
+ /* Excluded from this release type: IContainerRuntimeBase */
73
+
74
+ /* Excluded from this release type: IContainerRuntimeBaseEvents */
75
+
76
+ /* Excluded from this release type: IDataStore */
77
+
78
+ /* Excluded from this release type: IdCompressor */
79
+
80
+ /* Excluded from this release type: IdCreationRange */
81
+
82
+ /* Excluded from this release type: IDocumentStorageService */
83
+
84
+ /* Excluded from this release type: IEnvelope */
85
+
86
+ /**
87
+ * @experimental - Can be deleted/changed at any time
88
+ * Contains the necessary information to allow DDSes to do incremental summaries
89
+ * @public
90
+ */
91
+ export declare interface IExperimentalIncrementalSummaryContext {
92
+ /**
93
+ * The sequence number of the summary generated that will be sent to the server.
94
+ */
95
+ summarySequenceNumber: number;
96
+ /**
97
+ * The sequence number of the most recent summary that was acknowledged by the server.
98
+ */
99
+ latestSummarySequenceNumber: number;
100
+ /**
101
+ * The path to the runtime/datastore/dds that is used to generate summary handles
102
+ * Note: Summary handles are nodes of the summary tree that point to previous parts of the last successful summary
103
+ * instead of being a blob or tree node
104
+ *
105
+ * This path contains the id of the data store and dds which should not be leaked to layers below them. Ideally,
106
+ * a layer should not know its own id. This is important for channel unification work and there has been a lot of
107
+ * work to remove these kinds of leakages. Some still exist, which have to be fixed but we should not be adding
108
+ * more dependencies.
109
+ */
110
+ summaryPath: string;
111
+ }
112
+
113
+ /* Excluded from this release type: IFluidDataStoreChannel */
114
+
115
+ /* Excluded from this release type: IFluidDataStoreContext */
116
+
117
+ /* Excluded from this release type: IFluidDataStoreContextDetached */
118
+
119
+ /* Excluded from this release type: IFluidDataStoreContextEvents */
120
+
121
+ /* Excluded from this release type: IFluidDataStoreFactory */
122
+
123
+ /* Excluded from this release type: IFluidDataStoreRegistry */
124
+
125
+ /**
126
+ * Garbage collection data returned by nodes in a Container.
127
+ * Used for running GC in the Container.
128
+ * @public
129
+ */
130
+ export declare interface IGarbageCollectionData {
131
+ /**
132
+ * The GC nodes of a Fluid object in the Container. Each node has an id and a set of routes to other GC nodes.
133
+ */
134
+ gcNodes: {
135
+ [id: string]: string[];
136
+ };
137
+ }
138
+
139
+ /* Excluded from this release type: IGarbageCollectionDetailsBase */
140
+ export { IIdCompressor }
141
+
142
+ /* Excluded from this release type: IIdCompressorCore */
143
+
144
+ /**
145
+ * Represents ISignalMessage with its type.
146
+ * @public
147
+ */
148
+ export declare interface IInboundSignalMessage extends ISignalMessage {
149
+ type: string;
150
+ }
151
+
152
+ /* Excluded from this release type: InboundAttachMessage */
153
+
154
+ /* Excluded from this release type: IProvideFluidDataStoreFactory */
155
+
156
+ /* Excluded from this release type: IProvideFluidDataStoreRegistry */
157
+
158
+ /* Excluded from this release type: ISignalEnvelope */
159
+
160
+ /* Excluded from this release type: ISummarizeInternalResult */
161
+
162
+ /* Excluded from this release type: ISummarizeResult */
163
+
164
+ /* Excluded from this release type: ISummarizerNode */
165
+
166
+ /* Excluded from this release type: ISummarizerNodeConfig */
167
+
168
+ /* Excluded from this release type: ISummarizerNodeConfigWithGC */
169
+
170
+ /* Excluded from this release type: ISummarizerNodeWithGC */
171
+
172
+ /**
173
+ * Contains the aggregation data from a Tree/Subtree.
174
+ * @public
175
+ */
176
+ export declare interface ISummaryStats {
177
+ treeNodeCount: number;
178
+ blobNodeCount: number;
179
+ handleNodeCount: number;
180
+ totalBlobSize: number;
181
+ unreferencedBlobSize: number;
182
+ }
183
+
184
+ /**
185
+ * Represents the summary tree for a node along with the statistics for that tree.
186
+ * For example, for a given data store, it contains the data for data store along with a subtree for
187
+ * each of its DDS.
188
+ * Any component that implements IChannelContext, IFluidDataStoreChannel or extends SharedObject
189
+ * will be taking part of the summarization process.
190
+ * @public
191
+ */
192
+ export declare interface ISummaryTreeWithStats {
193
+ /**
194
+ * Represents an aggregation of node counts and blob sizes associated to the current summary information
195
+ */
196
+ stats: ISummaryStats;
197
+ /**
198
+ * A recursive data structure that will be converted to a snapshot tree and uploaded
199
+ * to the backend.
200
+ */
201
+ summary: ISummaryTree;
202
+ }
203
+
204
+ /**
205
+ * Contains telemetry data relevant to summarization workflows.
206
+ * This object is expected to be modified directly by various summarize methods.
207
+ * @public
208
+ */
209
+ export declare interface ITelemetryContext {
210
+ /**
211
+ * Sets value for telemetry data being tracked.
212
+ * @param prefix - unique prefix to tag this data with (ex: "fluid:map:")
213
+ * @param property - property name of the telemetry data being tracked (ex: "DirectoryCount")
214
+ * @param value - value to attribute to this summary telemetry data
215
+ */
216
+ set(prefix: string, property: string, value: TelemetryEventPropertyType): void;
217
+ /**
218
+ * Sets multiple values for telemetry data being tracked.
219
+ * @param prefix - unique prefix to tag this data with (ex: "fluid:summarize:")
220
+ * @param property - property name of the telemetry data being tracked (ex: "Options")
221
+ * @param values - A set of values to attribute to this summary telemetry data.
222
+ */
223
+ setMultiple(prefix: string, property: string, values: Record<string, TelemetryEventPropertyType>): void;
224
+ /**
225
+ * Get the telemetry data being tracked
226
+ * @param prefix - unique prefix for this data (ex: "fluid:map:")
227
+ * @param property - property name of the telemetry data being tracked (ex: "DirectoryCount")
228
+ * @returns undefined if item not found
229
+ */
230
+ get(prefix: string, property: string): TelemetryEventPropertyType;
231
+ /**
232
+ * Returns a serialized version of all the telemetry data.
233
+ * Should be used when logging in telemetry events.
234
+ */
235
+ serialize(): string;
236
+ }
237
+
238
+ /* Excluded from this release type: LocalAttributionKey */
239
+
240
+ /* Excluded from this release type: NamedFluidDataStoreRegistryEntries */
241
+
242
+ /* Excluded from this release type: NamedFluidDataStoreRegistryEntry */
243
+
244
+ /* Excluded from this release type: OpAttributionKey */
245
+ export { OpSpaceCompressedId }
246
+
247
+ /* Excluded from this release type: SerializedIdCompressor */
248
+
249
+ /* Excluded from this release type: SerializedIdCompressorWithNoSession */
250
+
251
+ /* Excluded from this release type: SerializedIdCompressorWithOngoingSession */
252
+ export { SessionId }
253
+
254
+ export { SessionSpaceCompressedId }
255
+
256
+ export { StableId }
257
+
258
+ /* Excluded from this release type: SummarizeInternalFn */
259
+
260
+ /* Excluded from this release type: totalBlobSizePropertyName */
261
+
262
+ /* Excluded from this release type: VisibilityState */
263
+
264
+ export { }