@synnaxlabs/client 0.26.1 → 0.27.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 (125) hide show
  1. package/.turbo/turbo-build.log +7 -7
  2. package/README.md +36 -10
  3. package/api/client.api.md +3077 -0
  4. package/api-extractor.json +7 -0
  5. package/dist/access/client.d.ts +0 -1
  6. package/dist/access/payload.d.ts +0 -1
  7. package/dist/auth/auth.d.ts +0 -1
  8. package/dist/channel/client.d.ts +6 -2
  9. package/dist/channel/client.d.ts.map +1 -1
  10. package/dist/channel/creator.d.ts +0 -1
  11. package/dist/channel/payload.d.ts +4 -1
  12. package/dist/channel/payload.d.ts.map +1 -1
  13. package/dist/channel/retriever.d.ts +0 -1
  14. package/dist/channel/writer.d.ts +0 -1
  15. package/dist/client.cjs +17 -17
  16. package/dist/client.d.ts +6 -7
  17. package/dist/client.d.ts.map +1 -1
  18. package/dist/client.js +2006 -1745
  19. package/dist/connection/checker.d.ts +0 -1
  20. package/dist/control/client.d.ts +0 -1
  21. package/dist/control/client.d.ts.map +1 -1
  22. package/dist/control/state.d.ts +0 -1
  23. package/dist/errors.d.ts +0 -1
  24. package/dist/framer/adapter.d.ts +0 -1
  25. package/dist/framer/client.d.ts +0 -1
  26. package/dist/framer/deleter.d.ts +0 -1
  27. package/dist/framer/frame.d.ts +11 -12
  28. package/dist/framer/iterator.d.ts +0 -1
  29. package/dist/framer/streamProxy.d.ts +0 -1
  30. package/dist/framer/streamer.d.ts +0 -1
  31. package/dist/framer/writer.d.ts +0 -1
  32. package/dist/framer/writer.d.ts.map +1 -1
  33. package/dist/hardware/client.d.ts +0 -1
  34. package/dist/hardware/device/client.d.ts +0 -1
  35. package/dist/hardware/device/payload.d.ts +0 -1
  36. package/dist/hardware/device/payload.d.ts.map +1 -1
  37. package/dist/hardware/rack/client.d.ts +0 -1
  38. package/dist/hardware/rack/payload.d.ts +0 -1
  39. package/dist/hardware/rack/payload.d.ts.map +1 -1
  40. package/dist/hardware/task/client.d.ts +0 -1
  41. package/dist/hardware/task/payload.d.ts +0 -1
  42. package/dist/hardware/task/payload.d.ts.map +1 -1
  43. package/dist/label/client.d.ts +8 -6
  44. package/dist/label/client.d.ts.map +1 -1
  45. package/dist/label/payload.d.ts +0 -1
  46. package/dist/label/retriever.d.ts +0 -1
  47. package/dist/label/retriever.d.ts.map +1 -1
  48. package/dist/label/writer.d.ts +32 -2
  49. package/dist/label/writer.d.ts.map +1 -1
  50. package/dist/ontology/client.d.ts +124 -11
  51. package/dist/ontology/client.d.ts.map +1 -1
  52. package/dist/ontology/group/client.d.ts +0 -1
  53. package/dist/ontology/group/group.d.ts +0 -1
  54. package/dist/ontology/group/payload.d.ts +0 -1
  55. package/dist/ontology/group/writer.d.ts +0 -1
  56. package/dist/ontology/payload.d.ts +5 -1
  57. package/dist/ontology/payload.d.ts.map +1 -1
  58. package/dist/ontology/writer.d.ts +4 -5
  59. package/dist/ontology/writer.d.ts.map +1 -1
  60. package/dist/ranger/alias.d.ts +0 -1
  61. package/dist/ranger/client.d.ts +55 -14
  62. package/dist/ranger/client.d.ts.map +1 -1
  63. package/dist/ranger/external.d.ts +1 -1
  64. package/dist/ranger/external.d.ts.map +1 -1
  65. package/dist/ranger/kv.d.ts +42 -5
  66. package/dist/ranger/kv.d.ts.map +1 -1
  67. package/dist/ranger/payload.d.ts +5 -2
  68. package/dist/ranger/payload.d.ts.map +1 -1
  69. package/dist/ranger/writer.d.ts +107 -2
  70. package/dist/ranger/writer.d.ts.map +1 -1
  71. package/dist/setupspecs.d.ts +0 -1
  72. package/dist/signals/observable.d.ts +0 -1
  73. package/dist/transport.d.ts +0 -1
  74. package/dist/user/client.d.ts +0 -1
  75. package/dist/user/payload.d.ts +0 -1
  76. package/dist/util/retrieve.d.ts +0 -1
  77. package/dist/util/telem.d.ts +0 -1
  78. package/dist/util/zod.d.ts +0 -1
  79. package/dist/workspace/client.d.ts +0 -1
  80. package/dist/workspace/lineplot/client.d.ts +0 -1
  81. package/dist/workspace/lineplot/payload.d.ts +0 -1
  82. package/dist/workspace/lineplot/retriever.d.ts +0 -1
  83. package/dist/workspace/lineplot/writer.d.ts +0 -1
  84. package/dist/workspace/payload.d.ts +0 -1
  85. package/dist/workspace/retriever.d.ts +0 -1
  86. package/dist/workspace/schematic/client.d.ts +0 -1
  87. package/dist/workspace/schematic/payload.d.ts +0 -1
  88. package/dist/workspace/schematic/retriever.d.ts +0 -1
  89. package/dist/workspace/schematic/writer.d.ts +0 -1
  90. package/dist/workspace/writer.d.ts +0 -1
  91. package/package.json +14 -12
  92. package/src/access/access.spec.ts +11 -11
  93. package/src/channel/batchRetriever.spec.ts +2 -0
  94. package/src/channel/channel.spec.ts +51 -31
  95. package/src/channel/client.ts +7 -0
  96. package/src/channel/payload.ts +1 -0
  97. package/src/client.ts +4 -3
  98. package/src/control/client.ts +9 -0
  99. package/src/errors.spec.ts +9 -0
  100. package/src/framer/frame.spec.ts +2 -2
  101. package/src/framer/frame.ts +22 -22
  102. package/src/framer/writer.ts +2 -1
  103. package/src/hardware/device/payload.ts +9 -0
  104. package/src/hardware/rack/payload.ts +9 -0
  105. package/src/hardware/task/payload.ts +9 -0
  106. package/src/label/client.ts +49 -19
  107. package/src/label/label.spec.ts +9 -0
  108. package/src/label/retriever.ts +2 -1
  109. package/src/label/writer.ts +11 -3
  110. package/src/ontology/client.ts +214 -13
  111. package/src/ontology/payload.ts +4 -0
  112. package/src/ontology/writer.ts +26 -12
  113. package/src/ranger/client.ts +204 -28
  114. package/src/ranger/external.ts +1 -1
  115. package/src/ranger/kv.ts +50 -11
  116. package/src/ranger/payload.ts +9 -5
  117. package/src/ranger/ranger.spec.ts +114 -49
  118. package/src/ranger/writer.ts +7 -2
  119. package/vite.config.ts +1 -1
  120. package/dist/ranger/active.d.ts +0 -11
  121. package/dist/ranger/active.d.ts.map +0 -1
  122. package/dist/ranger/range.d.ts +0 -32
  123. package/dist/ranger/range.d.ts.map +0 -1
  124. package/src/ranger/active.ts +0 -74
  125. package/src/ranger/range.ts +0 -98
@@ -0,0 +1,3077 @@
1
+ ## API Report File for "@synnaxlabs/client"
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 { AsyncTermSearcher } from '@synnaxlabs/x/search';
8
+ import { BaseTypedError } from '@synnaxlabs/freighter';
9
+ import { change } from '@synnaxlabs/x';
10
+ import { change as change_2 } from '@synnaxlabs/x/change';
11
+ import { control as control_2 } from '@synnaxlabs/x';
12
+ import { CrudeDataType } from '@synnaxlabs/x/telem';
13
+ import { CrudeDensity } from '@synnaxlabs/x/telem';
14
+ import { CrudeRate } from '@synnaxlabs/x/telem';
15
+ import { CrudeSeries } from '@synnaxlabs/x/telem';
16
+ import { CrudeSeries as CrudeSeries_2 } from '@synnaxlabs/x';
17
+ import { CrudeSize } from '@synnaxlabs/x/telem';
18
+ import { CrudeTimeRange } from '@synnaxlabs/x';
19
+ import { CrudeTimeRange as CrudeTimeRange_2 } from '@synnaxlabs/x/telem';
20
+ import { CrudeTimeSpan } from '@synnaxlabs/x/telem';
21
+ import { CrudeTimeStamp } from '@synnaxlabs/x/telem';
22
+ import { CrudeTimeStamp as CrudeTimeStamp_2 } from '@synnaxlabs/x';
23
+ import { DataType } from '@synnaxlabs/x/telem';
24
+ import { DataType as DataType_2 } from '@synnaxlabs/x';
25
+ import { Density } from '@synnaxlabs/x/telem';
26
+ import { Middleware } from '@synnaxlabs/freighter';
27
+ import { MultiSeries } from '@synnaxlabs/x/telem';
28
+ import { MultiSeries as MultiSeries_2 } from '@synnaxlabs/x';
29
+ import { NumericTelemValue } from '@synnaxlabs/x/telem';
30
+ import { observe } from '@synnaxlabs/x';
31
+ import { observe as observe_2 } from '@synnaxlabs/x/observe';
32
+ import { Primitive } from '@synnaxlabs/x';
33
+ import { Rate } from '@synnaxlabs/x/telem';
34
+ import { Series } from '@synnaxlabs/x/telem';
35
+ import { Size } from '@synnaxlabs/x/telem';
36
+ import { StreamClient } from '@synnaxlabs/freighter';
37
+ import { TelemValue } from '@synnaxlabs/x/telem';
38
+ import { TimeRange } from '@synnaxlabs/x/telem';
39
+ import { TimeRange as TimeRange_2 } from '@synnaxlabs/x';
40
+ import { TimeSpan } from '@synnaxlabs/x/telem';
41
+ import { TimeStamp } from '@synnaxlabs/x/telem';
42
+ import { TimeStamp as TimeStamp_2 } from '@synnaxlabs/x';
43
+ import { TimeStampStringFormat } from '@synnaxlabs/x/telem';
44
+ import { TypedArray } from '@synnaxlabs/x/telem';
45
+ import { TZInfo } from '@synnaxlabs/x/telem';
46
+ import { UnaryClient } from '@synnaxlabs/freighter';
47
+ import { UnknownRecord } from '@synnaxlabs/x';
48
+ import { UnknownRecord as UnknownRecord_2 } from '@synnaxlabs/x/record';
49
+ import { z } from 'zod';
50
+
51
+ // Warning: (ae-missing-release-tag) "Alias" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
52
+ //
53
+ // @public (undocumented)
54
+ interface Alias {
55
+ // (undocumented)
56
+ alias: string;
57
+ // (undocumented)
58
+ channel: channel.Key;
59
+ // (undocumented)
60
+ range: Key_3;
61
+ }
62
+
63
+ // Warning: (ae-missing-release-tag) "AliasChange" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
64
+ //
65
+ // @public (undocumented)
66
+ type AliasChange = change_2.Change<string, Alias>;
67
+
68
+ // Warning: (ae-missing-release-tag) "ALWAYS_INDEX_PERSIST_ON_AUTO_COMMIT" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
69
+ //
70
+ // @public (undocumented)
71
+ const ALWAYS_INDEX_PERSIST_ON_AUTO_COMMIT: TimeSpan;
72
+
73
+ // Warning: (ae-forgotten-export) The symbol "ParamAnalysisResult_2" needs to be exported by the entry point index.d.ts
74
+ // Warning: (ae-missing-release-tag) "analyzeChannelParams" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
75
+ //
76
+ // @public (undocumented)
77
+ const analyzeChannelParams: (channels: Params) => ParamAnalysisResult_2<KeyOrName, {
78
+ number: "keys";
79
+ string: "names";
80
+ }>;
81
+
82
+ // Warning: (ae-missing-release-tag) "analyzeParams" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
83
+ //
84
+ // @public (undocumented)
85
+ const analyzeParams_2: (params: Params_4) => ParamAnalysisResult_3;
86
+
87
+ // Warning: (ae-missing-release-tag) "AuthError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
88
+ //
89
+ // @public
90
+ export class AuthError extends BaseTypedError {
91
+ // (undocumented)
92
+ static readonly matches: (e: string | Error | unknown) => boolean;
93
+ // (undocumented)
94
+ static readonly TYPE: string;
95
+ // (undocumented)
96
+ type: string;
97
+ }
98
+
99
+ // Warning: (ae-missing-release-tag) "Authority" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
100
+ //
101
+ // @public (undocumented)
102
+ export const Authority: typeof control_2.Authority;
103
+
104
+ // Warning: (ae-missing-release-tag) "Authority" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
105
+ // Warning: (ae-missing-release-tag) "Authority" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
106
+ //
107
+ // @public (undocumented)
108
+ type Authority_2 = control_2.Authority;
109
+
110
+ // @public (undocumented)
111
+ const Authority_2: typeof control_2.Authority;
112
+
113
+ // Warning: (ae-missing-release-tag) "AUTO_SPAN" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
114
+ //
115
+ // @public (undocumented)
116
+ const AUTO_SPAN: TimeSpan;
117
+
118
+ // Warning: (ae-missing-release-tag) "BuiltinOntologyType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
119
+ //
120
+ // @public (undocumented)
121
+ const BuiltinOntologyType: ResourceType;
122
+
123
+ // Warning: (ae-missing-release-tag) "CacheRetriever" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
124
+ //
125
+ // @public (undocumented)
126
+ class CacheRetriever implements Retriever {
127
+ constructor(wrapped: Retriever);
128
+ // (undocumented)
129
+ delete(channels: Params): void;
130
+ // (undocumented)
131
+ page(offset: number, limit: number, options?: PageOptions): Promise<Payload[]>;
132
+ // (undocumented)
133
+ rename(keys: Key[], names: string[]): void;
134
+ // (undocumented)
135
+ retrieve(channels: Params, options?: RetrieveOptions): Promise<Payload[]>;
136
+ // (undocumented)
137
+ search(term: string, options?: RetrieveOptions): Promise<Payload[]>;
138
+ // (undocumented)
139
+ set(channels: Payload[]): void;
140
+ }
141
+
142
+ // Warning: (ae-missing-release-tag) "ChangeTracker" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
143
+ //
144
+ // @public
145
+ class ChangeTracker {
146
+ constructor(streamer: framer.Streamer, client: Client_2);
147
+ // (undocumented)
148
+ close(): Promise<void>;
149
+ // (undocumented)
150
+ static open(client: framer.Client, retriever: Client_2): Promise<ChangeTracker>;
151
+ readonly relationships: observe.Observable<RelationshipChange[]>;
152
+ readonly resources: observe.Observable<ResourceChange[]>;
153
+ }
154
+
155
+ // Warning: (ae-missing-release-tag) "Channel" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
156
+ //
157
+ // @public
158
+ export class Channel {
159
+ constructor({ dataType, rate, name, leaseholder, key, isIndex, index, internal, virtual, frameClient, alias, }: NewPayload & {
160
+ frameClient?: framer.Client;
161
+ density?: CrudeDensity;
162
+ });
163
+ readonly alias: string | undefined;
164
+ readonly dataType: DataType;
165
+ readonly index: Key;
166
+ readonly internal: boolean;
167
+ readonly isIndex: boolean;
168
+ readonly key: Key;
169
+ readonly leaseholder: number;
170
+ readonly name: string;
171
+ // (undocumented)
172
+ get ontologyID(): ontology.ID;
173
+ get payload(): Payload;
174
+ readonly rate: Rate;
175
+ read(tr: TimeRange): Promise<MultiSeries>;
176
+ readonly virtual: boolean;
177
+ write(start: CrudeTimeStamp, data: TypedArray): Promise<void>;
178
+ }
179
+
180
+ declare namespace channel {
181
+ export {
182
+ Channel,
183
+ Client_4 as Client,
184
+ keyZ_3 as keyZ,
185
+ Key,
186
+ Keys,
187
+ Name,
188
+ Names,
189
+ KeyOrName,
190
+ KeysOrNames,
191
+ Params,
192
+ payload,
193
+ Payload,
194
+ newPayload,
195
+ NewPayload,
196
+ ChannelOntologyType,
197
+ ontologyID,
198
+ RetrieveOptions,
199
+ PageOptions,
200
+ analyzeChannelParams,
201
+ Retriever,
202
+ ClusterRetriever,
203
+ CacheRetriever,
204
+ PromiseFns,
205
+ DebouncedBatchRetriever,
206
+ retrieveRequired,
207
+ DeleteProps,
208
+ RenameProps,
209
+ Writer_2 as Writer
210
+ }
211
+ }
212
+
213
+ // Warning: (ae-missing-release-tag) "ChannelOntologyType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
214
+ //
215
+ // @public (undocumented)
216
+ const ChannelOntologyType: ontology.ResourceType;
217
+
218
+ // Warning: (ae-missing-release-tag) "Checker" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
219
+ //
220
+ // @public
221
+ class Checker {
222
+ constructor(client: UnaryClient, pollFreq?: TimeSpan, name?: string);
223
+ check(): Promise<State>;
224
+ // (undocumented)
225
+ static readonly connectionStateZ: z.ZodObject<{
226
+ status: z.ZodEnum<["disconnected", "connecting", "connected", "failed"]>;
227
+ error: z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>;
228
+ message: z.ZodOptional<z.ZodString>;
229
+ clusterKey: z.ZodString;
230
+ }, "strip", z.ZodTypeAny, {
231
+ status: "disconnected" | "connecting" | "connected" | "failed";
232
+ clusterKey: string;
233
+ message?: string | undefined;
234
+ error?: Error | undefined;
235
+ }, {
236
+ status: "disconnected" | "connecting" | "connected" | "failed";
237
+ clusterKey: string;
238
+ message?: string | undefined;
239
+ error?: Error | undefined;
240
+ }>;
241
+ // (undocumented)
242
+ static readonly DEFAULT: State;
243
+ // (undocumented)
244
+ onChange(callback: (state: State) => void): void;
245
+ // (undocumented)
246
+ get state(): State;
247
+ stopChecking(): void;
248
+ }
249
+
250
+ // Warning: (ae-missing-release-tag) "Client" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
251
+ //
252
+ // @public (undocumented)
253
+ class Client {
254
+ constructor(stream: StreamClient, unary: UnaryClient, retriever: Retriever);
255
+ // (undocumented)
256
+ delete(channels: Params, timeRange: TimeRange_2): Promise<void>;
257
+ // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@synnaxlabs/client" does not have an export "IteratorConfig"
258
+ // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@synnaxlabs/client" does not have an export "Iterator"
259
+ openIterator(tr: CrudeTimeRange, channels: Params, opts?: IteratorConfig): Promise<Iterator_2>;
260
+ // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@synnaxlabs/client" does not have an export "Streamer"
261
+ openStreamer(channels: Params): Promise<Streamer>;
262
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
263
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
264
+ openStreamer(config: StreamerConfig | Params): Promise<Streamer>;
265
+ // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@synnaxlabs/client" does not have an export "Writer"
266
+ openWriter(config: WriterConfig | Params): Promise<Writer>;
267
+ // (undocumented)
268
+ read(tr: CrudeTimeRange, channel: KeyOrName): Promise<MultiSeries_2>;
269
+ // (undocumented)
270
+ read(tr: CrudeTimeRange, channels: Params): Promise<Frame>;
271
+ // (undocumented)
272
+ write(start: CrudeTimeStamp_2, channel: KeyOrName, data: CrudeSeries_2): Promise<void>;
273
+ // (undocumented)
274
+ write(start: CrudeTimeStamp_2, channels: KeysOrNames, data: CrudeSeries_2[]): Promise<void>;
275
+ // (undocumented)
276
+ write(start: CrudeTimeStamp_2, data: Record<KeyOrName, CrudeSeries_2>): Promise<void>;
277
+ }
278
+
279
+ // Warning: (ae-missing-release-tag) "Client" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
280
+ //
281
+ // @public (undocumented)
282
+ class Client_10 implements AsyncTermSearcher<string, Key_7, Workspace> {
283
+ constructor(client: UnaryClient);
284
+ // Warning: (ae-forgotten-export) The symbol "NewWorkspace" needs to be exported by the entry point index.d.ts
285
+ //
286
+ // (undocumented)
287
+ create(workspace: NewWorkspace): Promise<Workspace>;
288
+ // (undocumented)
289
+ delete(...keys: Key_7[]): Promise<void>;
290
+ // Warning: (ae-forgotten-export) The symbol "linePlot" needs to be exported by the entry point index.d.ts
291
+ //
292
+ // (undocumented)
293
+ readonly linePlot: linePlot.Client;
294
+ // (undocumented)
295
+ page(offset: number, limit: number): Promise<Workspace[]>;
296
+ // (undocumented)
297
+ rename(key: Key_7, name: string): Promise<void>;
298
+ // (undocumented)
299
+ retrieve(key: Key_7): Promise<Workspace>;
300
+ // (undocumented)
301
+ retrieve(keys: Key_7[]): Promise<Workspace[]>;
302
+ // (undocumented)
303
+ retrieveByAuthor(author: string): Promise<Workspace[]>;
304
+ // Warning: (ae-forgotten-export) The symbol "schematic" needs to be exported by the entry point index.d.ts
305
+ //
306
+ // (undocumented)
307
+ readonly schematic: schematic.Client;
308
+ // (undocumented)
309
+ search(term: string): Promise<Workspace[]>;
310
+ // (undocumented)
311
+ setLayout(key: Key_7, layout: UnknownRecord_2): Promise<void>;
312
+ // (undocumented)
313
+ readonly type = "workspace";
314
+ }
315
+
316
+ // Warning: (ae-missing-release-tag) "Client" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
317
+ //
318
+ // @public (undocumented)
319
+ class Client_13 {
320
+ constructor(tasks: task.Client, racks: rack.Client, devices: device.Client);
321
+ // (undocumented)
322
+ readonly devices: device.Client;
323
+ // (undocumented)
324
+ readonly racks: rack.Client;
325
+ // (undocumented)
326
+ readonly tasks: task.Client;
327
+ }
328
+
329
+ // Warning: (ae-missing-release-tag) "Client" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
330
+ //
331
+ // @public (undocumented)
332
+ class Client_14 implements AsyncTermSearcher<string, TaskKey, Payload_5> {
333
+ constructor(client: UnaryClient, frameClient: framer.Client);
334
+ // (undocumented)
335
+ create<C extends UnknownRecord_2 = UnknownRecord_2, D extends {} = UnknownRecord_2, T extends string = string>(task: NewTask<C, T>): Promise<Task<C, D, T>>;
336
+ // (undocumented)
337
+ create<C extends UnknownRecord_2 = UnknownRecord_2, D extends {} = UnknownRecord_2, T extends string = string>(tasks: NewTask<C, T>[]): Promise<Task<C, D, T>[]>;
338
+ // (undocumented)
339
+ delete(keys: bigint | bigint[]): Promise<void>;
340
+ // (undocumented)
341
+ list(options?: RetrieveOptions_3): Promise<Task[]>;
342
+ // (undocumented)
343
+ openStateObserver<D extends UnknownRecord_2 = UnknownRecord_2>(): Promise<StateObservable<D>>;
344
+ // (undocumented)
345
+ openTracker(): Promise<signals.Observable<string, string>>;
346
+ // (undocumented)
347
+ page(offset: number, limit: number): Promise<Payload_5[]>;
348
+ // (undocumented)
349
+ retrieve<C extends UnknownRecord_2 = UnknownRecord_2, D extends {} = UnknownRecord_2, T extends string = string>(rack: number, options?: RetrieveOptions_3): Promise<Task<C, D, T>[]>;
350
+ // (undocumented)
351
+ retrieve<C extends UnknownRecord_2 = UnknownRecord_2, D extends {} = UnknownRecord_2, T extends string = string>(keys: string[], options?: RetrieveOptions_3): Promise<Task<C, D, T>[]>;
352
+ // (undocumented)
353
+ retrieve<C extends UnknownRecord_2 = UnknownRecord_2, D extends {} = UnknownRecord_2, T extends string = string>(key: string, options?: RetrieveOptions_3): Promise<Task<C, D, T>>;
354
+ // (undocumented)
355
+ retrieveByName(name: string, rack?: number): Promise<Task>;
356
+ // (undocumented)
357
+ search(term: string): Promise<Payload_5[]>;
358
+ // (undocumented)
359
+ readonly type: string;
360
+ }
361
+
362
+ // Warning: (ae-missing-release-tag) "Client" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
363
+ //
364
+ // @public (undocumented)
365
+ class Client_15 implements AsyncTermSearcher<string, RackKey, Rack> {
366
+ constructor(client: UnaryClient, frameClient: framer.Client, taskClient: task.Client);
367
+ // (undocumented)
368
+ create(rack: NewRack): Promise<Rack>;
369
+ // (undocumented)
370
+ create(racks: NewRack[]): Promise<Rack[]>;
371
+ // (undocumented)
372
+ delete(keys: RackKey | RackKey[]): Promise<void>;
373
+ // (undocumented)
374
+ page(offset: number, limit: number): Promise<Rack[]>;
375
+ // (undocumented)
376
+ retrieve(key: string | RackKey): Promise<Rack>;
377
+ // (undocumented)
378
+ retrieve(keys: number[] | RackKey[]): Promise<Rack[]>;
379
+ // (undocumented)
380
+ search(term: string): Promise<Rack[]>;
381
+ // (undocumented)
382
+ readonly type: string;
383
+ }
384
+
385
+ // Warning: (ae-missing-release-tag) "Client" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
386
+ //
387
+ // @public (undocumented)
388
+ class Client_16 implements AsyncTermSearcher<string, DeviceKey, Device> {
389
+ constructor(client: UnaryClient, frameClient: framer.Client);
390
+ // (undocumented)
391
+ create(device: NewDevice): Promise<Device>;
392
+ // (undocumented)
393
+ create(devices: NewDevice[]): Promise<Device[]>;
394
+ // (undocumented)
395
+ delete(keys: string | string[]): Promise<void>;
396
+ // (undocumented)
397
+ newSearcherWithOptions(options: RetrieveOptions_4): AsyncTermSearcher<string, DeviceKey, Device>;
398
+ // (undocumented)
399
+ openDeviceTracker(): Promise<signals.Observable<string, Device>>;
400
+ // Warning: (ae-forgotten-export) The symbol "PageOptions_2" needs to be exported by the entry point index.d.ts
401
+ //
402
+ // (undocumented)
403
+ page(offset: number, limit: number, options?: PageOptions_2): Promise<Device[]>;
404
+ // (undocumented)
405
+ retrieve<P extends UnknownRecord = UnknownRecord>(key: string, options?: RetrieveOptions_4): Promise<Device<P>>;
406
+ // (undocumented)
407
+ retrieve<P extends UnknownRecord = UnknownRecord>(keys: string[], options?: RetrieveOptions_4): Promise<Array<Device<P>>>;
408
+ // (undocumented)
409
+ search(term: string, options?: RetrieveOptions_4): Promise<Device[]>;
410
+ // (undocumented)
411
+ readonly type = "device";
412
+ }
413
+
414
+ // Warning: (ae-missing-release-tag) "Client" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
415
+ //
416
+ // @public (undocumented)
417
+ class Client_17 {
418
+ constructor(framer: framer.Client);
419
+ // (undocumented)
420
+ openStateTracker(): Promise<StateTracker>;
421
+ }
422
+
423
+ // Warning: (ae-missing-release-tag) "Client" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
424
+ //
425
+ // @public
426
+ class Client_2 implements AsyncTermSearcher<string, string, Resource> {
427
+ constructor(unary: UnaryClient, framer: framer.Client);
428
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
429
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
430
+ addChildren(id: CrudeID, ...children: CrudeID[]): Promise<void>;
431
+ // (undocumented)
432
+ groups: group.Client;
433
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
434
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
435
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
436
+ moveChildren(from: CrudeID, to: CrudeID, ...children: CrudeID[]): Promise<void>;
437
+ // (undocumented)
438
+ newSearcherWithOptions(options: RetrieveOptions_2): AsyncTermSearcher<string, string, Resource>;
439
+ openChangeTracker(): Promise<ChangeTracker>;
440
+ // (undocumented)
441
+ openDependentTracker(parent: ID, initial: Resource[], type?: string, direction?: RelationshipDirection): Promise<observe.ObservableAsyncCloseable<Resource[]>>;
442
+ page(offset: number, limit: number, options?: RetrieveOptions_2): Promise<Resource[]>;
443
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
444
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
445
+ removeChildren(id: CrudeID, ...children: CrudeID[]): Promise<void>;
446
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
447
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
448
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
449
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
450
+ // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
451
+ // Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
452
+ retrieve(id: CrudeID, options?: RetrieveOptions_2): Promise<Resource>;
453
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
454
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
455
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
456
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
457
+ // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
458
+ // Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
459
+ retrieve(ids: CrudeID[], options?: RetrieveOptions_2): Promise<Resource[]>;
460
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
461
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
462
+ retrieveChildren(ids: CrudeID | CrudeID[], options?: RetrieveOptions_2): Promise<Resource[]>;
463
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
464
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
465
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
466
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
467
+ retrieveParents(ids: CrudeID | CrudeID[], options?: RetrieveOptions_2): Promise<Resource[]>;
468
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
469
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
470
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
471
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
472
+ search(term: string, options?: RetrieveOptions_2): Promise<Resource[]>;
473
+ // (undocumented)
474
+ readonly type: string;
475
+ }
476
+
477
+ // Warning: (ae-missing-release-tag) "Client" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
478
+ //
479
+ // @public
480
+ class Client_4 implements AsyncTermSearcher<string, Key, Channel> {
481
+ constructor(frameClient: framer.Client, retriever: Retriever, client: UnaryClient, writer: Writer_2);
482
+ // Warning: (tsdoc-tag-should-not-have-braces) The TSDoc tag "@see" is not an inline tag; it must not be enclosed in "{ }" braces
483
+ // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
484
+ // Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
485
+ // Warning: (ae-forgotten-export) The symbol "CreateOptions" needs to be exported by the entry point index.d.ts
486
+ create(channel: NewPayload, options?: CreateOptions): Promise<Channel>;
487
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
488
+ create(channels: NewPayload[], options?: CreateOptions): Promise<Channel[]>;
489
+ // (undocumented)
490
+ createDebouncedBatchRetriever(deb?: number): Retriever;
491
+ delete(channels: Params): Promise<void>;
492
+ // (undocumented)
493
+ newSearcherWithOptions(options: RetrieveOptions): AsyncTermSearcher<string, Key, Channel>;
494
+ // (undocumented)
495
+ page(offset: number, limit: number, options?: Omit<RetrieveOptions, "limit" | "offset">): Promise<Channel[]>;
496
+ // (undocumented)
497
+ rename(key: Key, name: string): Promise<void>;
498
+ // (undocumented)
499
+ rename(keys: Key[], names: string[]): Promise<void>;
500
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
501
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
502
+ // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
503
+ // Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
504
+ // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
505
+ // Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
506
+ retrieve(channel: KeyOrName, options?: RetrieveOptions): Promise<Channel>;
507
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
508
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
509
+ retrieve(channels: Params, options?: RetrieveOptions): Promise<Channel[]>;
510
+ // Warning: (ae-forgotten-export) The symbol "group" needs to be exported by the entry point index.d.ts
511
+ //
512
+ // (undocumented)
513
+ retrieveGroup(): Promise<group.Group>;
514
+ // (undocumented)
515
+ readonly retriever: Retriever;
516
+ // (undocumented)
517
+ search(term: string, options?: RetrieveOptions): Promise<Channel[]>;
518
+ // (undocumented)
519
+ readonly type = "channel";
520
+ // (undocumented)
521
+ readonly writer: Writer_2;
522
+ }
523
+
524
+ // Warning: (ae-missing-release-tag) "Client" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
525
+ //
526
+ // @public (undocumented)
527
+ class Client_5 implements AsyncTermSearcher<string, Key_4, Label> {
528
+ constructor(client: UnaryClient, frameClient: framer.Client, ontology: ontology.Client);
529
+ // (undocumented)
530
+ create(label: NewLabelPayload): Promise<Label>;
531
+ // (undocumented)
532
+ create(labels: NewLabelPayload[]): Promise<Label[]>;
533
+ // (undocumented)
534
+ delete(key: Key_4): Promise<void>;
535
+ // (undocumented)
536
+ delete(keys: Key_4[]): Promise<void>;
537
+ // (undocumented)
538
+ label(id: ontology.CrudeID, labels: Key_4[], opts?: SetOptions): Promise<void>;
539
+ // (undocumented)
540
+ openChangeTracker(): Promise<signals.Observable<string, Label>>;
541
+ // (undocumented)
542
+ page(offset: number, limit: number): Promise<Label[]>;
543
+ // (undocumented)
544
+ removeLabels(id: ontology.CrudeID, labels: Key_4[]): Promise<void>;
545
+ // (undocumented)
546
+ retrieve(key: Key_4): Promise<Label>;
547
+ // (undocumented)
548
+ retrieve(keys: Key_4[]): Promise<Label[]>;
549
+ // (undocumented)
550
+ retrieveFor(id: ontology.CrudeID): Promise<Label[]>;
551
+ // (undocumented)
552
+ search(term: string): Promise<Label[]>;
553
+ // (undocumented)
554
+ trackLabelsOf(id: ontology.CrudeID): Promise<observe.ObservableAsyncCloseable<Label[]>>;
555
+ // (undocumented)
556
+ readonly type: string;
557
+ }
558
+
559
+ // Warning: (ae-missing-release-tag) "Client" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
560
+ //
561
+ // @public (undocumented)
562
+ class Client_6 implements AsyncTermSearcher<string, Key_3, Range_2> {
563
+ constructor(frameClient: framer.Client, writer: Writer_4, unary: UnaryClient, channels: Retriever, labelClient: label.Client, ontologyClient: ontology.Client);
564
+ // (undocumented)
565
+ create(range: NewPayload_2, options?: CreateOptions_2): Promise<Range_2>;
566
+ // (undocumented)
567
+ create(ranges: NewPayload_2[], options?: CreateOptions_2): Promise<Range_2[]>;
568
+ // (undocumented)
569
+ delete(key: Key_3 | Keys_3): Promise<void>;
570
+ // (undocumented)
571
+ getKV(range: Key_3): KV;
572
+ // (undocumented)
573
+ openTracker(): Promise<signals.Observable<string, Range_2>>;
574
+ // (undocumented)
575
+ page(offset: number, limit: number): Promise<Range_2[]>;
576
+ // (undocumented)
577
+ rename(key: Key_3, name: Name_3): Promise<void>;
578
+ // (undocumented)
579
+ resourcesToRanges(resources: Resource[]): Range_2[];
580
+ // (undocumented)
581
+ retrieve(range: CrudeTimeRange): Promise<Range_2[]>;
582
+ // (undocumented)
583
+ retrieve(range: Key_3 | Name_3): Promise<Range_2>;
584
+ // (undocumented)
585
+ retrieve(range: Keys_3 | Names_3): Promise<Range_2[]>;
586
+ // (undocumented)
587
+ retrieveParent(range: Key_3): Promise<Range_2 | null>;
588
+ // (undocumented)
589
+ search(term: string): Promise<Range_2[]>;
590
+ // (undocumented)
591
+ sugar(payloads: Payload_3[]): Range_2[];
592
+ // (undocumented)
593
+ readonly type: string;
594
+ }
595
+
596
+ // Warning: (ae-missing-release-tag) "ClusterOntologyType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
597
+ //
598
+ // @public (undocumented)
599
+ const ClusterOntologyType: ResourceType;
600
+
601
+ // Warning: (ae-missing-release-tag) "ClusterRetriever" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
602
+ //
603
+ // @public (undocumented)
604
+ class ClusterRetriever implements Retriever {
605
+ constructor(client: UnaryClient);
606
+ // (undocumented)
607
+ page(offset: number, limit: number, options?: PageOptions): Promise<Payload[]>;
608
+ // (undocumented)
609
+ retrieve(channels: Params, options?: RetrieveOptions): Promise<Payload[]>;
610
+ // (undocumented)
611
+ search(term: string, options?: RetrieveOptions): Promise<Payload[]>;
612
+ }
613
+
614
+ // Warning: (ae-missing-release-tag) "commandZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
615
+ //
616
+ // @public (undocumented)
617
+ const commandZ: z.ZodObject<{
618
+ task: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodBigInt, string, bigint>, z.ZodEffects<z.ZodNumber, string, number>]>;
619
+ type: z.ZodString;
620
+ key: z.ZodString;
621
+ args: z.ZodType<UnknownRecord>;
622
+ }, "strip", z.ZodTypeAny, {
623
+ type: string;
624
+ key: string;
625
+ task: string;
626
+ args: UnknownRecord;
627
+ }, {
628
+ type: string;
629
+ key: string;
630
+ task: string | number | bigint;
631
+ args: UnknownRecord;
632
+ }>;
633
+
634
+ declare namespace connection {
635
+ export {
636
+ status_2 as status,
637
+ Status,
638
+ state,
639
+ State,
640
+ Checker
641
+ }
642
+ }
643
+
644
+ // Warning: (ae-missing-release-tag) "ContiguityError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
645
+ //
646
+ // @public
647
+ export class ContiguityError extends BaseTypedError {
648
+ // (undocumented)
649
+ static readonly matches: (e: string | Error | unknown) => boolean;
650
+ // (undocumented)
651
+ static readonly TYPE: string;
652
+ // (undocumented)
653
+ type: string;
654
+ }
655
+
656
+ declare namespace control {
657
+ export {
658
+ Client_17 as Client,
659
+ Authority_2 as Authority,
660
+ Transfer,
661
+ State_3 as State,
662
+ Subject,
663
+ stateZ_2 as stateZ,
664
+ transferString,
665
+ StateTracker
666
+ }
667
+ }
668
+
669
+ // Warning: (ae-forgotten-export) The symbol "CreateRequest" needs to be exported by the entry point index.d.ts
670
+ // Warning: (ae-missing-release-tag) "CreateOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
671
+ //
672
+ // @public (undocumented)
673
+ type CreateOptions_2 = Pick<CreateRequest, "parent">;
674
+
675
+ export { CrudeDataType }
676
+
677
+ export { CrudeDensity }
678
+
679
+ // Warning: (ae-missing-release-tag) "CrudeFrame" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
680
+ //
681
+ // @public (undocumented)
682
+ type CrudeFrame = Frame | FramePayload | Map<KeyOrName, Series[] | Series> | Record<KeyOrName, Series[] | Series>;
683
+
684
+ // Warning: (ae-missing-release-tag) "CrudeID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
685
+ //
686
+ // @public (undocumented)
687
+ type CrudeID = {
688
+ type: ResourceType;
689
+ key: string;
690
+ } | string;
691
+
692
+ // Warning: (ae-missing-release-tag) "crudeIDZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
693
+ //
694
+ // @public (undocumented)
695
+ const crudeIDZ: z.ZodUnion<[z.ZodEffects<z.ZodString, {
696
+ type: ResourceType;
697
+ key: string;
698
+ }, string>, z.ZodObject<{
699
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
700
+ key: z.ZodString;
701
+ }, "strip", z.ZodTypeAny, {
702
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
703
+ key: string;
704
+ }, {
705
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
706
+ key: string;
707
+ }>]>;
708
+
709
+ export { CrudeRate }
710
+
711
+ export { CrudeSize }
712
+
713
+ export { CrudeTimeSpan }
714
+
715
+ export { CrudeTimeStamp }
716
+
717
+ // Warning: (ae-missing-release-tag) "CrudeWriterMode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
718
+ //
719
+ // @public (undocumented)
720
+ type CrudeWriterMode = "persist" | "stream" | "persistStream" | WriterMode;
721
+
722
+ export { DataType }
723
+
724
+ // Warning: (ae-missing-release-tag) "DebouncedBatchRetriever" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
725
+ //
726
+ // @public (undocumented)
727
+ class DebouncedBatchRetriever implements Retriever {
728
+ constructor(wrapped: Retriever, deb: number);
729
+ // (undocumented)
730
+ page(offset: number, limit: number, options?: RetrieveOptions): Promise<Payload[]>;
731
+ // (undocumented)
732
+ retrieve(channels: Params): Promise<Payload[]>;
733
+ // (undocumented)
734
+ run(): Promise<void>;
735
+ // (undocumented)
736
+ search(term: string, options?: RetrieveOptions): Promise<Payload[]>;
737
+ }
738
+
739
+ // Warning: (ae-missing-release-tag) "Decoder" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
740
+ //
741
+ // @public (undocumented)
742
+ type Decoder<K, V> = (variant: change_2.Variant, data: Series) => Array<change_2.Change<K, V>>;
743
+
744
+ // Warning: (ae-forgotten-export) The symbol "deleteReqZ" needs to be exported by the entry point index.d.ts
745
+ // Warning: (ae-missing-release-tag) "DeleteProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
746
+ //
747
+ // @public (undocumented)
748
+ type DeleteProps = z.input<typeof deleteReqZ>;
749
+
750
+ // Warning: (ae-forgotten-export) The symbol "deleteReqZ_2" needs to be exported by the entry point index.d.ts
751
+ // Warning: (ae-missing-release-tag) "DeleteRequest" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
752
+ //
753
+ // @public (undocumented)
754
+ type DeleteRequest = z.infer<typeof deleteReqZ_2>;
755
+
756
+ export { Density }
757
+
758
+ // Warning: (ae-missing-release-tag) "DependentTracker" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
759
+ //
760
+ // @public
761
+ class DependentTracker extends observe.Observer<Resource[]> implements observe.ObservableAsyncCloseable<Resource[]> {
762
+ // (undocumented)
763
+ close(): Promise<void>;
764
+ // (undocumented)
765
+ static open(from: ID, client: Client_2, framer: framer.Client, initial: Resource[], type?: string, direction?: RelationshipDirection): Promise<DependentTracker>;
766
+ }
767
+
768
+ // Warning: (ae-missing-release-tag) "Device" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
769
+ //
770
+ // @public (undocumented)
771
+ type Device<P extends UnknownRecord = UnknownRecord> = Omit<z.output<typeof deviceZ>, "properties"> & {
772
+ properties: P;
773
+ };
774
+
775
+ declare namespace device {
776
+ export {
777
+ RetrieveOptions_4 as RetrieveOptions,
778
+ Client_16 as Client,
779
+ deviceKeyZ,
780
+ deviceZ,
781
+ Device,
782
+ DeviceKey,
783
+ newDeviceZ,
784
+ NewDevice,
785
+ DeviceOntologyType_2 as DeviceOntologyType,
786
+ ontologyID_10 as ontologyID
787
+ }
788
+ }
789
+
790
+ // Warning: (ae-missing-release-tag) "DeviceKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
791
+ //
792
+ // @public (undocumented)
793
+ type DeviceKey = z.infer<typeof deviceKeyZ>;
794
+
795
+ // Warning: (ae-missing-release-tag) "deviceKeyZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
796
+ //
797
+ // @public (undocumented)
798
+ const deviceKeyZ: z.ZodString;
799
+
800
+ // Warning: (ae-missing-release-tag) "DeviceOntologyType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
801
+ //
802
+ // @public (undocumented)
803
+ const DeviceOntologyType: ontology.ResourceType;
804
+
805
+ // Warning: (ae-missing-release-tag) "DeviceOntologyType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
806
+ //
807
+ // @public (undocumented)
808
+ const DeviceOntologyType_2: ontology.ResourceType;
809
+
810
+ // Warning: (ae-missing-release-tag) "deviceZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
811
+ //
812
+ // @public (undocumented)
813
+ const deviceZ: z.ZodObject<{
814
+ key: z.ZodString;
815
+ rack: z.ZodNumber;
816
+ name: z.ZodString;
817
+ make: z.ZodString;
818
+ model: z.ZodString;
819
+ location: z.ZodString;
820
+ configured: z.ZodOptional<z.ZodBoolean>;
821
+ properties: z.ZodType<UnknownRecord>;
822
+ }, "strip", z.ZodTypeAny, {
823
+ name: string;
824
+ key: string;
825
+ rack: number;
826
+ make: string;
827
+ model: string;
828
+ location: string;
829
+ properties: UnknownRecord;
830
+ configured?: boolean | undefined;
831
+ }, {
832
+ name: string;
833
+ key: string;
834
+ rack: number;
835
+ make: string;
836
+ model: string;
837
+ location: string;
838
+ properties: UnknownRecord;
839
+ configured?: boolean | undefined;
840
+ }>;
841
+
842
+ // Warning: (ae-missing-release-tag) "Frame" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
843
+ //
844
+ // @public
845
+ export class Frame {
846
+ constructor(columnsOrData?: Params | CrudeFrame, series?: Series | Series[]);
847
+ // (undocumented)
848
+ at(index: number, required: true): Record<KeyOrName, TelemValue>;
849
+ // (undocumented)
850
+ at(index: number, required?: false): Record<KeyOrName, TelemValue | undefined>;
851
+ // (undocumented)
852
+ get byteLength(): Size;
853
+ // Warning: (ae-forgotten-export) The symbol "ColumnType" needs to be exported by the entry point index.d.ts
854
+ //
855
+ // (undocumented)
856
+ get colType(): ColumnType;
857
+ // (undocumented)
858
+ readonly columns: Keys | Names;
859
+ // (undocumented)
860
+ concat(frame: Frame): Frame;
861
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
862
+ //
863
+ // (undocumented)
864
+ filter(fn: (k: KeyOrName, arr: Series, i: number) => boolean): Frame;
865
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
866
+ forEach(fn: (k: KeyOrName, arr: Series, i: number) => void): void;
867
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
868
+ //
869
+ // (undocumented)
870
+ get(key: KeyOrName): MultiSeries;
871
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
872
+ //
873
+ // (undocumented)
874
+ get(keys: Keys | Names): Frame;
875
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
876
+ //
877
+ // (undocumented)
878
+ has(channel: KeyOrName): boolean;
879
+ // (undocumented)
880
+ get isHorizontal(): boolean;
881
+ // (undocumented)
882
+ get isSquare(): boolean;
883
+ // (undocumented)
884
+ get isVertical(): boolean;
885
+ // (undocumented)
886
+ get isWeaklyAligned(): boolean;
887
+ // (undocumented)
888
+ get keys(): Keys;
889
+ // (undocumented)
890
+ latest(): Record<string, TelemValue | undefined>;
891
+ // (undocumented)
892
+ get length(): number;
893
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
894
+ //
895
+ // (undocumented)
896
+ map(fn: (k: KeyOrName, arr: Series, i: number) => [KeyOrName, Series]): Frame;
897
+ // (undocumented)
898
+ get names(): Names;
899
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
900
+ // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
901
+ push(key: KeyOrName, ...v: Series[]): void;
902
+ push(frame: Frame): void;
903
+ // (undocumented)
904
+ readonly series: Series[];
905
+ // (undocumented)
906
+ timeRange(col?: KeyOrName): TimeRange;
907
+ // (undocumented)
908
+ get timeRanges(): TimeRange[];
909
+ // (undocumented)
910
+ toPayload(): FramePayload;
911
+ // (undocumented)
912
+ get uniqueColumns(): Keys | Names;
913
+ // (undocumented)
914
+ get uniqueKeys(): Keys;
915
+ // (undocumented)
916
+ get uniqueNames(): Names;
917
+ }
918
+
919
+ // Warning: (ae-missing-release-tag) "FramePayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
920
+ //
921
+ // @public (undocumented)
922
+ type FramePayload = z.infer<typeof frameZ>;
923
+
924
+ declare namespace framer {
925
+ export {
926
+ Client,
927
+ CrudeFrame,
928
+ Frame,
929
+ series,
930
+ SeriesPayload,
931
+ frameZ,
932
+ FramePayload,
933
+ seriesFromPayload,
934
+ seriesToPayload,
935
+ AUTO_SPAN,
936
+ IteratorConfig,
937
+ Iterator_2 as Iterator,
938
+ StreamerConfig,
939
+ Streamer,
940
+ ObservableStreamer,
941
+ WriterMode,
942
+ CrudeWriterMode,
943
+ ALWAYS_INDEX_PERSIST_ON_AUTO_COMMIT,
944
+ WriterConfig,
945
+ Writer
946
+ }
947
+ }
948
+
949
+ // Warning: (ae-missing-release-tag) "frameZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
950
+ //
951
+ // @public (undocumented)
952
+ const frameZ: z.ZodObject<{
953
+ keys: z.ZodUnion<[z.ZodEffects<z.ZodNull, number[], null>, z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>]>;
954
+ series: z.ZodUnion<[z.ZodEffects<z.ZodNull, {
955
+ dataType: DataType;
956
+ data: ArrayBuffer | SharedArrayBuffer;
957
+ timeRange?: TimeRange | undefined;
958
+ alignment?: bigint | undefined;
959
+ }[], null>, z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
960
+ timeRange: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
961
+ start: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
962
+ value: z.ZodBigInt;
963
+ }, "strip", z.ZodTypeAny, {
964
+ value: bigint;
965
+ }, {
966
+ value: bigint;
967
+ }>, TimeStamp, {
968
+ value: bigint;
969
+ }>, z.ZodEffects<z.ZodString, TimeStamp, string>, z.ZodEffects<z.ZodType<Number, z.ZodTypeDef, Number>, TimeStamp, Number>, z.ZodEffects<z.ZodNumber, TimeStamp, number>, z.ZodType<TimeStamp, z.ZodTypeDef, TimeStamp>]>;
970
+ end: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
971
+ value: z.ZodBigInt;
972
+ }, "strip", z.ZodTypeAny, {
973
+ value: bigint;
974
+ }, {
975
+ value: bigint;
976
+ }>, TimeStamp, {
977
+ value: bigint;
978
+ }>, z.ZodEffects<z.ZodString, TimeStamp, string>, z.ZodEffects<z.ZodType<Number, z.ZodTypeDef, Number>, TimeStamp, Number>, z.ZodEffects<z.ZodNumber, TimeStamp, number>, z.ZodType<TimeStamp, z.ZodTypeDef, TimeStamp>]>;
979
+ }, "strip", z.ZodTypeAny, {
980
+ start: TimeStamp;
981
+ end: TimeStamp;
982
+ }, {
983
+ start: string | number | Number | TimeStamp | {
984
+ value: bigint;
985
+ };
986
+ end: string | number | Number | TimeStamp | {
987
+ value: bigint;
988
+ };
989
+ }>, TimeRange, {
990
+ start: string | number | Number | TimeStamp | {
991
+ value: bigint;
992
+ };
993
+ end: string | number | Number | TimeStamp | {
994
+ value: bigint;
995
+ };
996
+ }>, z.ZodType<TimeRange, z.ZodTypeDef, TimeRange>]>>;
997
+ alignment: z.ZodOptional<z.ZodUnion<[z.ZodBigInt, z.ZodEffects<z.ZodString, bigint, string>]>>;
998
+ dataType: z.ZodUnion<[z.ZodEffects<z.ZodString, DataType, string>, z.ZodType<DataType, z.ZodTypeDef, DataType>]>;
999
+ data: z.ZodEffects<z.ZodString, ArrayBuffer | SharedArrayBuffer, string>;
1000
+ }, "strip", z.ZodTypeAny, {
1001
+ dataType: DataType;
1002
+ data: ArrayBuffer | SharedArrayBuffer;
1003
+ timeRange?: TimeRange | undefined;
1004
+ alignment?: bigint | undefined;
1005
+ }, {
1006
+ dataType: string | DataType;
1007
+ data: string;
1008
+ timeRange?: TimeRange | {
1009
+ start: string | number | Number | TimeStamp | {
1010
+ value: bigint;
1011
+ };
1012
+ end: string | number | Number | TimeStamp | {
1013
+ value: bigint;
1014
+ };
1015
+ } | undefined;
1016
+ alignment?: string | bigint | undefined;
1017
+ }>, "many">>>]>;
1018
+ }, "strip", z.ZodTypeAny, {
1019
+ keys: number[];
1020
+ series: {
1021
+ dataType: DataType;
1022
+ data: ArrayBuffer | SharedArrayBuffer;
1023
+ timeRange?: TimeRange | undefined;
1024
+ alignment?: bigint | undefined;
1025
+ }[];
1026
+ }, {
1027
+ keys?: number[] | null | undefined;
1028
+ series?: {
1029
+ dataType: string | DataType;
1030
+ data: string;
1031
+ timeRange?: TimeRange | {
1032
+ start: string | number | Number | TimeStamp | {
1033
+ value: bigint;
1034
+ };
1035
+ end: string | number | Number | TimeStamp | {
1036
+ value: bigint;
1037
+ };
1038
+ } | undefined;
1039
+ alignment?: string | bigint | undefined;
1040
+ }[] | null | undefined;
1041
+ }>;
1042
+
1043
+ // Warning: (ae-forgotten-export) The symbol "getReqZ" needs to be exported by the entry point index.d.ts
1044
+ // Warning: (ae-missing-release-tag) "GetRequest" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1045
+ //
1046
+ // @public (undocumented)
1047
+ type GetRequest = z.infer<typeof getReqZ>;
1048
+
1049
+ declare namespace hardware {
1050
+ export {
1051
+ Client_13 as Client
1052
+ }
1053
+ }
1054
+
1055
+ // Warning: (ae-missing-release-tag) "ID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1056
+ //
1057
+ // @public (undocumented)
1058
+ class ID {
1059
+ constructor(args: z.input<typeof crudeIDZ> | ID);
1060
+ // (undocumented)
1061
+ key: string;
1062
+ // (undocumented)
1063
+ get payload(): z.infer<typeof idZ>;
1064
+ // (undocumented)
1065
+ toString(): string;
1066
+ // (undocumented)
1067
+ type: ResourceType;
1068
+ // (undocumented)
1069
+ static readonly z: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, {
1070
+ type: ResourceType;
1071
+ key: string;
1072
+ }, string>, z.ZodObject<{
1073
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
1074
+ key: z.ZodString;
1075
+ }, "strip", z.ZodTypeAny, {
1076
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
1077
+ key: string;
1078
+ }, {
1079
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
1080
+ key: string;
1081
+ }>]>, z.ZodType<ID, z.ZodTypeDef, ID>]>, ID, string | ID | {
1082
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
1083
+ key: string;
1084
+ }>;
1085
+ }
1086
+
1087
+ // Warning: (ae-missing-release-tag) "IDPayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1088
+ //
1089
+ // @public (undocumented)
1090
+ type IDPayload = z.infer<typeof idZ>;
1091
+
1092
+ // Warning: (ae-missing-release-tag) "idZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1093
+ //
1094
+ // @public (undocumented)
1095
+ const idZ: z.ZodObject<{
1096
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
1097
+ key: z.ZodString;
1098
+ }, "strip", z.ZodTypeAny, {
1099
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
1100
+ key: string;
1101
+ }, {
1102
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
1103
+ key: string;
1104
+ }>;
1105
+
1106
+ // Warning: (ae-missing-release-tag) "Iterator" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1107
+ //
1108
+ // @public
1109
+ class Iterator_2 {
1110
+ // (undocumented)
1111
+ [Symbol.asyncIterator](): AsyncIterator<Frame, any, undefined>;
1112
+ close(): Promise<void>;
1113
+ next(span?: CrudeTimeSpan): Promise<boolean>;
1114
+ // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@synnaxlabs/client" does not have an export "IteratorConfig"
1115
+ static _open(tr: CrudeTimeRange_2, channels: Params, retriever: Retriever, client: StreamClient, opts?: IteratorConfig): Promise<Iterator_2>;
1116
+ prev(span?: CrudeTimeSpan): Promise<boolean>;
1117
+ seekFirst(): Promise<boolean>;
1118
+ seekGE(stamp: CrudeTimeStamp): Promise<boolean>;
1119
+ seekLast(): Promise<boolean>;
1120
+ seekLE(stamp: CrudeTimeStamp): Promise<boolean>;
1121
+ // (undocumented)
1122
+ valid(): Promise<boolean>;
1123
+ // (undocumented)
1124
+ value: Frame;
1125
+ }
1126
+
1127
+ // Warning: (ae-missing-release-tag) "IteratorConfig" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1128
+ //
1129
+ // @public (undocumented)
1130
+ interface IteratorConfig {
1131
+ // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@synnaxlabs/client" does not have an export "AUTO_SPAN"
1132
+ chunkSize?: number;
1133
+ }
1134
+
1135
+ // Warning: (ae-missing-release-tag) "Key" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1136
+ //
1137
+ // @public (undocumented)
1138
+ type Key = number;
1139
+
1140
+ // Warning: (ae-missing-release-tag) "Key" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1141
+ //
1142
+ // @public (undocumented)
1143
+ type Key_3 = z.infer<typeof keyZ_2>;
1144
+
1145
+ // Warning: (ae-missing-release-tag) "Key" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1146
+ //
1147
+ // @public (undocumented)
1148
+ type Key_4 = z.infer<typeof keyZ_4>;
1149
+
1150
+ // Warning: (ae-missing-release-tag) "Key" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1151
+ //
1152
+ // @public (undocumented)
1153
+ type Key_7 = z.infer<typeof keyZ_7>;
1154
+
1155
+ // Warning: (ae-missing-release-tag) "KeyOrName" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1156
+ //
1157
+ // @public (undocumented)
1158
+ type KeyOrName = Key | Name;
1159
+
1160
+ // Warning: (ae-missing-release-tag) "Keys" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1161
+ //
1162
+ // @public (undocumented)
1163
+ type Keys = number[];
1164
+
1165
+ // Warning: (ae-missing-release-tag) "Keys" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1166
+ //
1167
+ // @public (undocumented)
1168
+ type Keys_3 = Key_3[];
1169
+
1170
+ // Warning: (ae-missing-release-tag) "KeysOrNames" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1171
+ //
1172
+ // @public (undocumented)
1173
+ type KeysOrNames = Keys | Names;
1174
+
1175
+ // Warning: (ae-missing-release-tag) "keyZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1176
+ //
1177
+ // @public (undocumented)
1178
+ const keyZ_2: z.ZodString;
1179
+
1180
+ // Warning: (ae-missing-release-tag) "keyZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1181
+ //
1182
+ // @public (undocumented)
1183
+ const keyZ_3: z.ZodNumber;
1184
+
1185
+ // Warning: (ae-missing-release-tag) "keyZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1186
+ //
1187
+ // @public (undocumented)
1188
+ const keyZ_4: z.ZodString;
1189
+
1190
+ // Warning: (ae-missing-release-tag) "keyZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1191
+ //
1192
+ // @public (undocumented)
1193
+ const keyZ_7: z.ZodString;
1194
+
1195
+ // Warning: (ae-missing-release-tag) "KV" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1196
+ //
1197
+ // @public (undocumented)
1198
+ class KV {
1199
+ constructor(rng: Key_3, client: UnaryClient, frameClient: framer.Client);
1200
+ // (undocumented)
1201
+ delete(key: string | string[]): Promise<void>;
1202
+ // (undocumented)
1203
+ get(key: string): Promise<string>;
1204
+ // (undocumented)
1205
+ get(keys: string[]): Promise<Record<string, string>>;
1206
+ // (undocumented)
1207
+ list(): Promise<Record<string, string>>;
1208
+ // (undocumented)
1209
+ openTracker(): Promise<signals.Observable<string, KVPair>>;
1210
+ // (undocumented)
1211
+ set(key: string, value: string): Promise<void>;
1212
+ // (undocumented)
1213
+ set(kv: Record<string, string>): Promise<void>;
1214
+ }
1215
+
1216
+ // Warning: (ae-forgotten-export) The symbol "kvPairZ" needs to be exported by the entry point index.d.ts
1217
+ // Warning: (ae-missing-release-tag) "KVPair" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1218
+ //
1219
+ // @public (undocumented)
1220
+ type KVPair = z.infer<typeof kvPairZ>;
1221
+
1222
+ // Warning: (ae-missing-release-tag) "Label" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1223
+ //
1224
+ // @public (undocumented)
1225
+ type Label = z.infer<typeof labelZ>;
1226
+
1227
+ declare namespace label {
1228
+ export {
1229
+ Client_5 as Client,
1230
+ keyZ_4 as keyZ,
1231
+ Key_4 as Key,
1232
+ Params_3 as Params,
1233
+ labelZ,
1234
+ Label,
1235
+ LabelOntologyType,
1236
+ ontologyID_2 as ontologyID,
1237
+ Retriever_2 as Retriever,
1238
+ newLabelPayloadZ,
1239
+ NewLabelPayload,
1240
+ SetOptions,
1241
+ Writer_3 as Writer
1242
+ }
1243
+ }
1244
+
1245
+ // Warning: (ae-missing-release-tag) "LabelOntologyType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1246
+ //
1247
+ // @public (undocumented)
1248
+ const LabelOntologyType: ontology.ResourceType;
1249
+
1250
+ // Warning: (ae-missing-release-tag) "labelZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1251
+ //
1252
+ // @public (undocumented)
1253
+ const labelZ: z.ZodObject<{
1254
+ key: z.ZodString;
1255
+ name: z.ZodString;
1256
+ color: z.ZodString;
1257
+ }, "strip", z.ZodTypeAny, {
1258
+ name: string;
1259
+ key: string;
1260
+ color: string;
1261
+ }, {
1262
+ name: string;
1263
+ key: string;
1264
+ color: string;
1265
+ }>;
1266
+
1267
+ // Warning: (ae-missing-release-tag) "MultipleFoundError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1268
+ //
1269
+ // @public (undocumented)
1270
+ export class MultipleFoundError extends QueryError {
1271
+ // (undocumented)
1272
+ static readonly matches: (e: string | Error | unknown) => boolean;
1273
+ // (undocumented)
1274
+ static readonly TYPE: string;
1275
+ // (undocumented)
1276
+ type: string;
1277
+ }
1278
+
1279
+ export { MultiSeries }
1280
+
1281
+ // Warning: (ae-missing-release-tag) "Name" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1282
+ //
1283
+ // @public (undocumented)
1284
+ type Name = string;
1285
+
1286
+ // Warning: (ae-missing-release-tag) "Name" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1287
+ //
1288
+ // @public (undocumented)
1289
+ type Name_3 = string;
1290
+
1291
+ // Warning: (ae-missing-release-tag) "Names" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1292
+ //
1293
+ // @public (undocumented)
1294
+ type Names = string[];
1295
+
1296
+ // Warning: (ae-missing-release-tag) "Names" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1297
+ //
1298
+ // @public (undocumented)
1299
+ type Names_3 = Name_3[];
1300
+
1301
+ // Warning: (ae-missing-release-tag) "NewDevice" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1302
+ //
1303
+ // @public (undocumented)
1304
+ type NewDevice<P extends UnknownRecord = UnknownRecord> = Omit<z.input<typeof newDeviceZ>, "properties"> & {
1305
+ properties: P;
1306
+ };
1307
+
1308
+ // Warning: (ae-missing-release-tag) "newDeviceZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1309
+ //
1310
+ // @public (undocumented)
1311
+ const newDeviceZ: z.ZodObject<z.objectUtil.extendShape<{
1312
+ key: z.ZodString;
1313
+ rack: z.ZodNumber;
1314
+ name: z.ZodString;
1315
+ make: z.ZodString;
1316
+ model: z.ZodString;
1317
+ location: z.ZodString;
1318
+ configured: z.ZodOptional<z.ZodBoolean>;
1319
+ properties: z.ZodType<UnknownRecord>;
1320
+ }, {
1321
+ properties: z.ZodEffects<z.ZodUnknown, string, unknown>;
1322
+ }>, "strip", z.ZodTypeAny, {
1323
+ name: string;
1324
+ key: string;
1325
+ rack: number;
1326
+ make: string;
1327
+ model: string;
1328
+ location: string;
1329
+ properties: string;
1330
+ configured?: boolean | undefined;
1331
+ }, {
1332
+ name: string;
1333
+ key: string;
1334
+ rack: number;
1335
+ make: string;
1336
+ model: string;
1337
+ location: string;
1338
+ configured?: boolean | undefined;
1339
+ properties?: unknown;
1340
+ }>;
1341
+
1342
+ // Warning: (ae-missing-release-tag) "NewLabelPayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1343
+ //
1344
+ // @public (undocumented)
1345
+ type NewLabelPayload = z.infer<typeof newLabelPayloadZ>;
1346
+
1347
+ // Warning: (ae-missing-release-tag) "newLabelPayloadZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1348
+ //
1349
+ // @public (undocumented)
1350
+ const newLabelPayloadZ: z.ZodObject<z.objectUtil.extendShape<{
1351
+ key: z.ZodString;
1352
+ name: z.ZodString;
1353
+ color: z.ZodString;
1354
+ }, {
1355
+ key: z.ZodOptional<z.ZodString>;
1356
+ }>, "strip", z.ZodTypeAny, {
1357
+ name: string;
1358
+ color: string;
1359
+ key?: string | undefined;
1360
+ }, {
1361
+ name: string;
1362
+ color: string;
1363
+ key?: string | undefined;
1364
+ }>;
1365
+
1366
+ // Warning: (ae-missing-release-tag) "NewPayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1367
+ //
1368
+ // @public (undocumented)
1369
+ type NewPayload = z.input<typeof newPayload>;
1370
+
1371
+ // Warning: (ae-missing-release-tag) "newPayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1372
+ //
1373
+ // @public (undocumented)
1374
+ const newPayload: z.ZodObject<z.objectUtil.extendShape<{
1375
+ name: z.ZodString;
1376
+ key: z.ZodNumber;
1377
+ rate: z.ZodUnion<[z.ZodEffects<z.ZodNumber, Rate, number>, z.ZodEffects<z.ZodType<Number, z.ZodTypeDef, Number>, Rate, Number>, z.ZodType<Rate, z.ZodTypeDef, Rate>]>;
1378
+ dataType: z.ZodUnion<[z.ZodEffects<z.ZodString, DataType, string>, z.ZodType<DataType, z.ZodTypeDef, DataType>]>;
1379
+ leaseholder: z.ZodNumber;
1380
+ index: z.ZodNumber;
1381
+ isIndex: z.ZodBoolean;
1382
+ internal: z.ZodBoolean;
1383
+ virtual: z.ZodBoolean;
1384
+ alias: z.ZodOptional<z.ZodString>;
1385
+ }, {
1386
+ key: z.ZodOptional<z.ZodNumber>;
1387
+ leaseholder: z.ZodOptional<z.ZodNumber>;
1388
+ index: z.ZodOptional<z.ZodNumber>;
1389
+ rate: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodNumber, Rate, number>, z.ZodEffects<z.ZodType<Number, z.ZodTypeDef, Number>, Rate, Number>, z.ZodType<Rate, z.ZodTypeDef, Rate>]>>>;
1390
+ isIndex: z.ZodOptional<z.ZodBoolean>;
1391
+ internal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1392
+ virtual: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1393
+ }>, "strip", z.ZodTypeAny, {
1394
+ virtual: boolean;
1395
+ internal: boolean;
1396
+ name: string;
1397
+ rate: Rate;
1398
+ dataType: DataType;
1399
+ leaseholder?: number | undefined;
1400
+ isIndex?: boolean | undefined;
1401
+ key?: number | undefined;
1402
+ index?: number | undefined;
1403
+ alias?: string | undefined;
1404
+ }, {
1405
+ name: string;
1406
+ dataType: string | DataType;
1407
+ leaseholder?: number | undefined;
1408
+ virtual?: boolean | undefined;
1409
+ isIndex?: boolean | undefined;
1410
+ internal?: boolean | undefined;
1411
+ key?: number | undefined;
1412
+ rate?: number | Number | Rate | undefined;
1413
+ index?: number | undefined;
1414
+ alias?: string | undefined;
1415
+ }>;
1416
+
1417
+ // Warning: (ae-missing-release-tag) "NewPayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1418
+ //
1419
+ // @public (undocumented)
1420
+ type NewPayload_2 = z.input<typeof newPayloadZ>;
1421
+
1422
+ // Warning: (ae-missing-release-tag) "newPayloadZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1423
+ //
1424
+ // @public (undocumented)
1425
+ const newPayloadZ: z.ZodObject<z.objectUtil.extendShape<{
1426
+ key: z.ZodString;
1427
+ name: z.ZodString;
1428
+ timeRange: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1429
+ start: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1430
+ value: z.ZodBigInt;
1431
+ }, "strip", z.ZodTypeAny, {
1432
+ value: bigint;
1433
+ }, {
1434
+ value: bigint;
1435
+ }>, TimeStamp, {
1436
+ value: bigint;
1437
+ }>, z.ZodEffects<z.ZodString, TimeStamp, string>, z.ZodEffects<z.ZodType<Number, z.ZodTypeDef, Number>, TimeStamp, Number>, z.ZodEffects<z.ZodNumber, TimeStamp, number>, z.ZodType<TimeStamp, z.ZodTypeDef, TimeStamp>]>;
1438
+ end: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1439
+ value: z.ZodBigInt;
1440
+ }, "strip", z.ZodTypeAny, {
1441
+ value: bigint;
1442
+ }, {
1443
+ value: bigint;
1444
+ }>, TimeStamp, {
1445
+ value: bigint;
1446
+ }>, z.ZodEffects<z.ZodString, TimeStamp, string>, z.ZodEffects<z.ZodType<Number, z.ZodTypeDef, Number>, TimeStamp, Number>, z.ZodEffects<z.ZodNumber, TimeStamp, number>, z.ZodType<TimeStamp, z.ZodTypeDef, TimeStamp>]>;
1447
+ }, "strip", z.ZodTypeAny, {
1448
+ start: TimeStamp;
1449
+ end: TimeStamp;
1450
+ }, {
1451
+ start: string | number | Number | TimeStamp | {
1452
+ value: bigint;
1453
+ };
1454
+ end: string | number | Number | TimeStamp | {
1455
+ value: bigint;
1456
+ };
1457
+ }>, TimeRange, {
1458
+ start: string | number | Number | TimeStamp | {
1459
+ value: bigint;
1460
+ };
1461
+ end: string | number | Number | TimeStamp | {
1462
+ value: bigint;
1463
+ };
1464
+ }>, z.ZodType<TimeRange, z.ZodTypeDef, TimeRange>]>;
1465
+ color: z.ZodOptional<z.ZodString>;
1466
+ }, {
1467
+ key: z.ZodOptional<z.ZodString>;
1468
+ }>, "strip", z.ZodTypeAny, {
1469
+ name: string;
1470
+ timeRange: TimeRange;
1471
+ key?: string | undefined;
1472
+ color?: string | undefined;
1473
+ }, {
1474
+ name: string;
1475
+ timeRange: TimeRange | {
1476
+ start: string | number | Number | TimeStamp | {
1477
+ value: bigint;
1478
+ };
1479
+ end: string | number | Number | TimeStamp | {
1480
+ value: bigint;
1481
+ };
1482
+ };
1483
+ key?: string | undefined;
1484
+ color?: string | undefined;
1485
+ }>;
1486
+
1487
+ // Warning: (ae-missing-release-tag) "NewRack" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1488
+ //
1489
+ // @public (undocumented)
1490
+ type NewRack = z.input<typeof newRackZ>;
1491
+
1492
+ // Warning: (ae-missing-release-tag) "newRackZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1493
+ //
1494
+ // @public (undocumented)
1495
+ const newRackZ: z.ZodObject<{
1496
+ name: z.ZodString;
1497
+ key: z.ZodOptional<z.ZodNumber>;
1498
+ }, "strip", z.ZodTypeAny, {
1499
+ name: string;
1500
+ key?: number | undefined;
1501
+ }, {
1502
+ name: string;
1503
+ key?: number | undefined;
1504
+ }>;
1505
+
1506
+ // Warning: (ae-missing-release-tag) "NewTask" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1507
+ //
1508
+ // @public (undocumented)
1509
+ type NewTask<C extends UnknownRecord = UnknownRecord, T extends string = string> = Omit<z.input<typeof newTaskZ>, "config" | "state"> & {
1510
+ type: T;
1511
+ config: C;
1512
+ };
1513
+
1514
+ // Warning: (ae-missing-release-tag) "newTaskZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1515
+ //
1516
+ // @public (undocumented)
1517
+ const newTaskZ: z.ZodObject<z.objectUtil.extendShape<Omit<{
1518
+ key: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodBigInt, string, bigint>, z.ZodEffects<z.ZodNumber, string, number>]>;
1519
+ name: z.ZodString;
1520
+ type: z.ZodString;
1521
+ internal: z.ZodOptional<z.ZodBoolean>;
1522
+ config: z.ZodType<UnknownRecord>;
1523
+ state: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1524
+ task: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodBigInt, string, bigint>, z.ZodEffects<z.ZodNumber, string, number>]>;
1525
+ variant: z.ZodString;
1526
+ key: z.ZodOptional<z.ZodString>;
1527
+ details: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodEffects<z.ZodString, any, string>]>, z.ZodArray<z.ZodUnknown, "many">]>, z.ZodNull]>;
1528
+ }, "strip", z.ZodTypeAny, {
1529
+ variant: string;
1530
+ task: string;
1531
+ key?: string | undefined;
1532
+ details?: any;
1533
+ }, {
1534
+ variant: string;
1535
+ task: string | number | bigint;
1536
+ details: string | unknown[] | Record<string, unknown> | null;
1537
+ key?: string | undefined;
1538
+ }>>>;
1539
+ }, "key">, {
1540
+ key: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodBigInt, string, bigint>, z.ZodEffects<z.ZodNumber, string, number>]>, string, string | number | bigint>>;
1541
+ config: z.ZodEffects<z.ZodUnknown, string, unknown>;
1542
+ }>, "strip", z.ZodTypeAny, {
1543
+ type: string;
1544
+ name: string;
1545
+ config: string;
1546
+ internal?: boolean | undefined;
1547
+ key?: string | undefined;
1548
+ state?: {
1549
+ variant: string;
1550
+ task: string;
1551
+ key?: string | undefined;
1552
+ details?: any;
1553
+ } | null | undefined;
1554
+ }, {
1555
+ type: string;
1556
+ name: string;
1557
+ internal?: boolean | undefined;
1558
+ key?: string | number | bigint | undefined;
1559
+ config?: unknown;
1560
+ state?: {
1561
+ variant: string;
1562
+ task: string | number | bigint;
1563
+ details: string | unknown[] | Record<string, unknown> | null;
1564
+ key?: string | undefined;
1565
+ } | null | undefined;
1566
+ }>;
1567
+
1568
+ // Warning: (ae-missing-release-tag) "NodeOntologyType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1569
+ //
1570
+ // @public (undocumented)
1571
+ const NodeOntologyType: ResourceType;
1572
+
1573
+ // Warning: (ae-missing-release-tag) "NotFoundError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1574
+ //
1575
+ // @public (undocumented)
1576
+ export class NotFoundError extends QueryError {
1577
+ // (undocumented)
1578
+ static readonly matches: (e: string | Error | unknown) => boolean;
1579
+ // (undocumented)
1580
+ static readonly TYPE: string;
1581
+ // (undocumented)
1582
+ type: string;
1583
+ }
1584
+
1585
+ export { NumericTelemValue }
1586
+
1587
+ // Warning: (ae-missing-release-tag) "Observable" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1588
+ //
1589
+ // @public (undocumented)
1590
+ interface Observable<K, V> extends observe_2.ObservableAsyncCloseable<Array<change_2.Change<K, V>>> {
1591
+ }
1592
+
1593
+ // Warning: (ae-missing-release-tag) "ObservableStreamer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1594
+ //
1595
+ // @public (undocumented)
1596
+ class ObservableStreamer<V = Frame> extends observe.Observer<Frame, V> implements observe.ObservableAsyncCloseable<V> {
1597
+ constructor(streamer: Streamer, transform?: observe.Transform<Frame, V>);
1598
+ // (undocumented)
1599
+ close(): Promise<void>;
1600
+ }
1601
+
1602
+ declare namespace ontology {
1603
+ export {
1604
+ RetrieveOptions_2 as RetrieveOptions,
1605
+ parseIDs,
1606
+ Client_2 as Client,
1607
+ ChangeTracker,
1608
+ DependentTracker,
1609
+ ResourceChange,
1610
+ ResourceSet,
1611
+ ResourceDelete,
1612
+ RelationshipChange,
1613
+ RelationshipSet,
1614
+ RelationshipDelete,
1615
+ ResourceType,
1616
+ BuiltinOntologyType,
1617
+ ClusterOntologyType,
1618
+ NodeOntologyType,
1619
+ idZ,
1620
+ IDPayload,
1621
+ stringIDZ,
1622
+ crudeIDZ,
1623
+ CrudeID,
1624
+ ID,
1625
+ Root,
1626
+ schemaFieldZ,
1627
+ SchemaField,
1628
+ schemaZ,
1629
+ Schema,
1630
+ resourceSchemaZ,
1631
+ Resource,
1632
+ RelationshipDirection,
1633
+ relationshipSchemaZ,
1634
+ Relationship,
1635
+ parseRelationship
1636
+ }
1637
+ }
1638
+
1639
+ // Warning: (ae-missing-release-tag) "ontologyID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1640
+ //
1641
+ // @public (undocumented)
1642
+ const ontologyID: (key: Key) => ontology.ID;
1643
+
1644
+ // Warning: (ae-missing-release-tag) "ontologyID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1645
+ //
1646
+ // @public (undocumented)
1647
+ const ontologyID_10: (key: DeviceKey) => ontology.ID;
1648
+
1649
+ // Warning: (ae-missing-release-tag) "ontologyID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1650
+ //
1651
+ // @public (undocumented)
1652
+ const ontologyID_2: (key: Key_4) => ontology.ID;
1653
+
1654
+ // Warning: (ae-missing-release-tag) "ontologyID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1655
+ //
1656
+ // @public (undocumented)
1657
+ const ontologyID_7: (key: Key_7) => ontology.ID;
1658
+
1659
+ // Warning: (ae-missing-release-tag) "ontologyID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1660
+ //
1661
+ // @public (undocumented)
1662
+ const ontologyID_8: (key: TaskKey) => ontology.ID;
1663
+
1664
+ // Warning: (ae-missing-release-tag) "ontologyID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1665
+ //
1666
+ // @public (undocumented)
1667
+ const ontologyID_9: (key: RackKey) => ontology.ID;
1668
+
1669
+ // Warning: (ae-missing-release-tag) "openObservable" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1670
+ //
1671
+ // @public (undocumented)
1672
+ const openObservable: <K, V>(client: framer.Client, setChannel: channel.Key | channel.Name, deleteChannel: channel.Key | channel.Name, codec: Decoder<K, V>) => Promise<Observable<K, V>>;
1673
+
1674
+ // Warning: (ae-missing-release-tag) "PageOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1675
+ //
1676
+ // @public (undocumented)
1677
+ type PageOptions = Omit<RetrieveOptions, "offset" | "limit">;
1678
+
1679
+ // Warning: (ae-missing-release-tag) "ParamAnalysisResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1680
+ //
1681
+ // @public (undocumented)
1682
+ type ParamAnalysisResult_3 = {
1683
+ single: true;
1684
+ variant: "keys";
1685
+ normalized: Keys_3;
1686
+ actual: Key_3;
1687
+ empty: never;
1688
+ } | {
1689
+ single: true;
1690
+ variant: "names";
1691
+ normalized: Names_3;
1692
+ actual: Name_3;
1693
+ empty: never;
1694
+ } | {
1695
+ single: false;
1696
+ variant: "keys";
1697
+ normalized: Keys_3;
1698
+ actual: Keys_3;
1699
+ empty: boolean;
1700
+ } | {
1701
+ single: false;
1702
+ variant: "names";
1703
+ normalized: Names_3;
1704
+ actual: Names_3;
1705
+ empty: boolean;
1706
+ };
1707
+
1708
+ // Warning: (ae-missing-release-tag) "Params" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1709
+ //
1710
+ // @public (undocumented)
1711
+ type Params = Key | Name | Keys | Names;
1712
+
1713
+ // Warning: (ae-missing-release-tag) "Params" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1714
+ //
1715
+ // @public (undocumented)
1716
+ type Params_3 = Key_4 | Key_4[];
1717
+
1718
+ // Warning: (ae-missing-release-tag) "Params" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1719
+ //
1720
+ // @public (undocumented)
1721
+ type Params_4 = Key_3 | Name_3 | Keys_3 | Names_3;
1722
+
1723
+ // Warning: (ae-missing-release-tag) "Params" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1724
+ //
1725
+ // @public (undocumented)
1726
+ type Params_8 = Key_7 | Key_7[];
1727
+
1728
+ // Warning: (ae-missing-release-tag) "parseIDs" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1729
+ //
1730
+ // @public (undocumented)
1731
+ const parseIDs: (ids: CrudeID | CrudeID[] | string | string[]) => IDPayload[];
1732
+
1733
+ // Warning: (ae-missing-release-tag) "parseRelationship" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1734
+ //
1735
+ // @public (undocumented)
1736
+ const parseRelationship: (str: string) => Relationship;
1737
+
1738
+ // Warning: (ae-missing-release-tag) "Payload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1739
+ //
1740
+ // @public (undocumented)
1741
+ type Payload = z.infer<typeof payload>;
1742
+
1743
+ // Warning: (ae-missing-release-tag) "payload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1744
+ //
1745
+ // @public (undocumented)
1746
+ const payload: z.ZodObject<{
1747
+ name: z.ZodString;
1748
+ key: z.ZodNumber;
1749
+ rate: z.ZodUnion<[z.ZodEffects<z.ZodNumber, Rate, number>, z.ZodEffects<z.ZodType<Number, z.ZodTypeDef, Number>, Rate, Number>, z.ZodType<Rate, z.ZodTypeDef, Rate>]>;
1750
+ dataType: z.ZodUnion<[z.ZodEffects<z.ZodString, DataType, string>, z.ZodType<DataType, z.ZodTypeDef, DataType>]>;
1751
+ leaseholder: z.ZodNumber;
1752
+ index: z.ZodNumber;
1753
+ isIndex: z.ZodBoolean;
1754
+ internal: z.ZodBoolean;
1755
+ virtual: z.ZodBoolean;
1756
+ alias: z.ZodOptional<z.ZodString>;
1757
+ }, "strip", z.ZodTypeAny, {
1758
+ leaseholder: number;
1759
+ virtual: boolean;
1760
+ isIndex: boolean;
1761
+ internal: boolean;
1762
+ name: string;
1763
+ key: number;
1764
+ rate: Rate;
1765
+ dataType: DataType;
1766
+ index: number;
1767
+ alias?: string | undefined;
1768
+ }, {
1769
+ leaseholder: number;
1770
+ virtual: boolean;
1771
+ isIndex: boolean;
1772
+ internal: boolean;
1773
+ name: string;
1774
+ key: number;
1775
+ rate: number | Number | Rate;
1776
+ dataType: string | DataType;
1777
+ index: number;
1778
+ alias?: string | undefined;
1779
+ }>;
1780
+
1781
+ // Warning: (ae-missing-release-tag) "Payload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1782
+ //
1783
+ // @public (undocumented)
1784
+ type Payload_3 = z.infer<typeof payloadZ>;
1785
+
1786
+ // Warning: (ae-missing-release-tag) "Payload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1787
+ //
1788
+ // @public (undocumented)
1789
+ type Payload_5<C extends UnknownRecord = UnknownRecord, D extends {} = UnknownRecord, T extends string = string> = Omit<z.output<typeof taskZ>, "config" | "type" | "state"> & {
1790
+ type: T;
1791
+ config: C;
1792
+ state?: State_2<D> | null;
1793
+ };
1794
+
1795
+ // Warning: (ae-missing-release-tag) "payloadZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1796
+ //
1797
+ // @public (undocumented)
1798
+ const payloadZ: z.ZodObject<{
1799
+ key: z.ZodString;
1800
+ name: z.ZodString;
1801
+ timeRange: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1802
+ start: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1803
+ value: z.ZodBigInt;
1804
+ }, "strip", z.ZodTypeAny, {
1805
+ value: bigint;
1806
+ }, {
1807
+ value: bigint;
1808
+ }>, TimeStamp, {
1809
+ value: bigint;
1810
+ }>, z.ZodEffects<z.ZodString, TimeStamp, string>, z.ZodEffects<z.ZodType<Number, z.ZodTypeDef, Number>, TimeStamp, Number>, z.ZodEffects<z.ZodNumber, TimeStamp, number>, z.ZodType<TimeStamp, z.ZodTypeDef, TimeStamp>]>;
1811
+ end: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1812
+ value: z.ZodBigInt;
1813
+ }, "strip", z.ZodTypeAny, {
1814
+ value: bigint;
1815
+ }, {
1816
+ value: bigint;
1817
+ }>, TimeStamp, {
1818
+ value: bigint;
1819
+ }>, z.ZodEffects<z.ZodString, TimeStamp, string>, z.ZodEffects<z.ZodType<Number, z.ZodTypeDef, Number>, TimeStamp, Number>, z.ZodEffects<z.ZodNumber, TimeStamp, number>, z.ZodType<TimeStamp, z.ZodTypeDef, TimeStamp>]>;
1820
+ }, "strip", z.ZodTypeAny, {
1821
+ start: TimeStamp;
1822
+ end: TimeStamp;
1823
+ }, {
1824
+ start: string | number | Number | TimeStamp | {
1825
+ value: bigint;
1826
+ };
1827
+ end: string | number | Number | TimeStamp | {
1828
+ value: bigint;
1829
+ };
1830
+ }>, TimeRange, {
1831
+ start: string | number | Number | TimeStamp | {
1832
+ value: bigint;
1833
+ };
1834
+ end: string | number | Number | TimeStamp | {
1835
+ value: bigint;
1836
+ };
1837
+ }>, z.ZodType<TimeRange, z.ZodTypeDef, TimeRange>]>;
1838
+ color: z.ZodOptional<z.ZodString>;
1839
+ }, "strip", z.ZodTypeAny, {
1840
+ name: string;
1841
+ key: string;
1842
+ timeRange: TimeRange;
1843
+ color?: string | undefined;
1844
+ }, {
1845
+ name: string;
1846
+ key: string;
1847
+ timeRange: TimeRange | {
1848
+ start: string | number | Number | TimeStamp | {
1849
+ value: bigint;
1850
+ };
1851
+ end: string | number | Number | TimeStamp | {
1852
+ value: bigint;
1853
+ };
1854
+ };
1855
+ color?: string | undefined;
1856
+ }>;
1857
+
1858
+ // Warning: (ae-missing-release-tag) "PromiseFns" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1859
+ //
1860
+ // @public (undocumented)
1861
+ interface PromiseFns<T> {
1862
+ // (undocumented)
1863
+ reject: (reason?: any) => void;
1864
+ // (undocumented)
1865
+ resolve: (value: T) => void;
1866
+ }
1867
+
1868
+ // Warning: (ae-missing-release-tag) "QueryError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1869
+ //
1870
+ // @public
1871
+ export class QueryError extends BaseTypedError {
1872
+ // (undocumented)
1873
+ static readonly matches: (e: string | Error | unknown) => boolean;
1874
+ // (undocumented)
1875
+ static readonly TYPE: string;
1876
+ // (undocumented)
1877
+ type: string;
1878
+ }
1879
+
1880
+ // Warning: (ae-missing-release-tag) "Rack" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1881
+ //
1882
+ // @public (undocumented)
1883
+ class Rack {
1884
+ constructor(key: number, name: string, client: task.Client);
1885
+ // (undocumented)
1886
+ createTask<C extends UnknownRecord, D extends {} = UnknownRecord, T extends string = string>(task: task.NewTask<C, T>): Promise<task.Task<C, D, T>>;
1887
+ // (undocumented)
1888
+ deleteTask(task: bigint): Promise<void>;
1889
+ // (undocumented)
1890
+ key: number;
1891
+ // (undocumented)
1892
+ listTasks(): Promise<task.Task[]>;
1893
+ // (undocumented)
1894
+ name: string;
1895
+ // (undocumented)
1896
+ retrieveTaskByName(name: string): Promise<task.Task>;
1897
+ }
1898
+
1899
+ declare namespace rack {
1900
+ export {
1901
+ Client_15 as Client,
1902
+ Rack,
1903
+ rackKeyZ,
1904
+ RackKey,
1905
+ rackZ,
1906
+ RackPayload,
1907
+ newRackZ,
1908
+ NewRack,
1909
+ RackOntologyType,
1910
+ ontologyID_9 as ontologyID
1911
+ }
1912
+ }
1913
+
1914
+ // Warning: (ae-missing-release-tag) "RackKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1915
+ //
1916
+ // @public (undocumented)
1917
+ type RackKey = z.infer<typeof rackKeyZ>;
1918
+
1919
+ // Warning: (ae-missing-release-tag) "rackKeyZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1920
+ //
1921
+ // @public (undocumented)
1922
+ const rackKeyZ: z.ZodNumber;
1923
+
1924
+ // Warning: (ae-missing-release-tag) "RackOntologyType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1925
+ //
1926
+ // @public (undocumented)
1927
+ const RackOntologyType: ontology.ResourceType;
1928
+
1929
+ // Warning: (ae-missing-release-tag) "RackPayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1930
+ //
1931
+ // @public (undocumented)
1932
+ type RackPayload = z.infer<typeof rackZ>;
1933
+
1934
+ // Warning: (ae-missing-release-tag) "rackZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1935
+ //
1936
+ // @public (undocumented)
1937
+ const rackZ: z.ZodObject<{
1938
+ key: z.ZodNumber;
1939
+ name: z.ZodString;
1940
+ }, "strip", z.ZodTypeAny, {
1941
+ name: string;
1942
+ key: number;
1943
+ }, {
1944
+ name: string;
1945
+ key: number;
1946
+ }>;
1947
+
1948
+ // Warning: (ae-missing-release-tag) "Range" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1949
+ //
1950
+ // @public (undocumented)
1951
+ class Range_2 {
1952
+ // Warning: (ae-forgotten-export) The symbol "Aliaser" needs to be exported by the entry point index.d.ts
1953
+ constructor(name: string, timeRange: TimeRange_2 | undefined, key: string, color: string | undefined, _frameClient: framer.Client, _kv: KV, _aliaser: Aliaser, _channels: Retriever, _labelClient: label.Client, _ontologyClient: ontology.Client, _rangeClient: Client_6);
1954
+ // (undocumented)
1955
+ addLabel(...labels: label.Key[]): Promise<void>;
1956
+ // (undocumented)
1957
+ readonly channels: Retriever;
1958
+ // (undocumented)
1959
+ readonly color: string | undefined;
1960
+ // (undocumented)
1961
+ deleteAlias(...channels: Key[]): Promise<void>;
1962
+ // (undocumented)
1963
+ key: string;
1964
+ // (undocumented)
1965
+ readonly kv: KV;
1966
+ // (undocumented)
1967
+ labels(): Promise<Label[]>;
1968
+ // (undocumented)
1969
+ listAliases(): Promise<Record<Key, string>>;
1970
+ // (undocumented)
1971
+ name: string;
1972
+ // (undocumented)
1973
+ get ontologyID(): ontology.ID;
1974
+ // (undocumented)
1975
+ openAliasTracker(): Promise<signals.Observable<string, Alias>>;
1976
+ // (undocumented)
1977
+ openChildRangeTracker(): Promise<observe.ObservableAsyncCloseable<Range_2[]>>;
1978
+ // (undocumented)
1979
+ openParentRangeTracker(): Promise<observe.ObservableAsyncCloseable<Range_2> | null>;
1980
+ // (undocumented)
1981
+ get payload(): Payload_3;
1982
+ // (undocumented)
1983
+ read(channel: Key_3 | Name_3): Promise<Series>;
1984
+ // (undocumented)
1985
+ read(channels: Params_4): Promise<framer.Frame>;
1986
+ // (undocumented)
1987
+ removeLabel(...labels: label.Key[]): Promise<void>;
1988
+ // (undocumented)
1989
+ resolveAlias(alias: string): Promise<Key>;
1990
+ // (undocumented)
1991
+ retrieveChildren(): Promise<Range_2[]>;
1992
+ // (undocumented)
1993
+ retrieveParent(): Promise<Range_2 | null>;
1994
+ // (undocumented)
1995
+ setAlias(channel: Key | Name_3, alias: string): Promise<void>;
1996
+ // (undocumented)
1997
+ readonly timeRange: TimeRange_2;
1998
+ }
1999
+
2000
+ // Warning: (ae-missing-release-tag) "rangeAliasOntologyID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2001
+ //
2002
+ // @public (undocumented)
2003
+ const rangeAliasOntologyID: (key: Key_3) => ontology.ID;
2004
+
2005
+ // Warning: (ae-missing-release-tag) "RangeAliasOntologyType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2006
+ //
2007
+ // @public (undocumented)
2008
+ const RangeAliasOntologyType: ontology.ResourceType;
2009
+
2010
+ // Warning: (ae-missing-release-tag) "rangeOntologyID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2011
+ //
2012
+ // @public (undocumented)
2013
+ const rangeOntologyID: (key: Key_3) => ontology.ID;
2014
+
2015
+ // Warning: (ae-missing-release-tag) "RangeOntologyType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2016
+ //
2017
+ // @public (undocumented)
2018
+ const RangeOntologyType: ontology.ResourceType;
2019
+
2020
+ declare namespace ranger {
2021
+ export {
2022
+ Alias,
2023
+ AliasChange,
2024
+ Range_2 as Range,
2025
+ RetrieveRequest_2 as RetrieveRequest,
2026
+ Client_6 as Client,
2027
+ GetRequest,
2028
+ SetRequest,
2029
+ DeleteRequest,
2030
+ KVPair,
2031
+ KV,
2032
+ keyZ_2 as keyZ,
2033
+ Key_3 as Key,
2034
+ Name_3 as Name,
2035
+ Keys_3 as Keys,
2036
+ Names_3 as Names,
2037
+ Params_4 as Params,
2038
+ payloadZ,
2039
+ Payload_3 as Payload,
2040
+ newPayloadZ,
2041
+ NewPayload_2 as NewPayload,
2042
+ ParamAnalysisResult_3 as ParamAnalysisResult,
2043
+ analyzeParams_2 as analyzeParams,
2044
+ RangeOntologyType,
2045
+ RangeAliasOntologyType,
2046
+ rangeOntologyID,
2047
+ rangeAliasOntologyID,
2048
+ CreateOptions_2 as CreateOptions,
2049
+ Writer_4 as Writer
2050
+ }
2051
+ }
2052
+
2053
+ export { Rate }
2054
+
2055
+ // Warning: (ae-missing-release-tag) "Relationship" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2056
+ //
2057
+ // @public (undocumented)
2058
+ type Relationship = z.infer<typeof relationshipSchemaZ>;
2059
+
2060
+ // Warning: (ae-missing-release-tag) "RelationshipChange" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2061
+ //
2062
+ // @public (undocumented)
2063
+ type RelationshipChange = change.Change<Relationship, undefined>;
2064
+
2065
+ // Warning: (ae-missing-release-tag) "RelationshipDelete" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2066
+ //
2067
+ // @public (undocumented)
2068
+ type RelationshipDelete = change.Delete<Relationship, undefined>;
2069
+
2070
+ // Warning: (ae-missing-release-tag) "RelationshipDirection" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2071
+ //
2072
+ // @public (undocumented)
2073
+ type RelationshipDirection = "from" | "to";
2074
+
2075
+ // Warning: (ae-missing-release-tag) "relationshipSchemaZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2076
+ //
2077
+ // @public (undocumented)
2078
+ const relationshipSchemaZ: z.ZodObject<{
2079
+ from: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, {
2080
+ type: ResourceType;
2081
+ key: string;
2082
+ }, string>, z.ZodObject<{
2083
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
2084
+ key: z.ZodString;
2085
+ }, "strip", z.ZodTypeAny, {
2086
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
2087
+ key: string;
2088
+ }, {
2089
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
2090
+ key: string;
2091
+ }>]>, z.ZodType<ID, z.ZodTypeDef, ID>]>, ID, string | ID | {
2092
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
2093
+ key: string;
2094
+ }>;
2095
+ type: z.ZodString;
2096
+ to: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, {
2097
+ type: ResourceType;
2098
+ key: string;
2099
+ }, string>, z.ZodObject<{
2100
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
2101
+ key: z.ZodString;
2102
+ }, "strip", z.ZodTypeAny, {
2103
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
2104
+ key: string;
2105
+ }, {
2106
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
2107
+ key: string;
2108
+ }>]>, z.ZodType<ID, z.ZodTypeDef, ID>]>, ID, string | ID | {
2109
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
2110
+ key: string;
2111
+ }>;
2112
+ }, "strip", z.ZodTypeAny, {
2113
+ type: string;
2114
+ from: ID;
2115
+ to: ID;
2116
+ }, {
2117
+ type: string;
2118
+ from: string | ID | {
2119
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
2120
+ key: string;
2121
+ };
2122
+ to: string | ID | {
2123
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
2124
+ key: string;
2125
+ };
2126
+ }>;
2127
+
2128
+ // Warning: (ae-missing-release-tag) "RelationshipSet" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2129
+ //
2130
+ // @public (undocumented)
2131
+ type RelationshipSet = change.Set<Relationship, undefined>;
2132
+
2133
+ // Warning: (ae-forgotten-export) The symbol "renameReqZ" needs to be exported by the entry point index.d.ts
2134
+ // Warning: (ae-missing-release-tag) "RenameProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2135
+ //
2136
+ // @public (undocumented)
2137
+ type RenameProps = z.input<typeof renameReqZ>;
2138
+
2139
+ // Warning: (ae-missing-release-tag) "Resource" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2140
+ //
2141
+ // @public (undocumented)
2142
+ type Resource<T extends UnknownRecord = UnknownRecord> = Omit<z.output<typeof resourceSchemaZ>, "data"> & {
2143
+ data?: T | null;
2144
+ };
2145
+
2146
+ // Warning: (ae-missing-release-tag) "ResourceChange" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2147
+ //
2148
+ // @public (undocumented)
2149
+ type ResourceChange = change.Change<ID, Resource>;
2150
+
2151
+ // Warning: (ae-missing-release-tag) "ResourceDelete" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2152
+ //
2153
+ // @public (undocumented)
2154
+ type ResourceDelete = change.Delete<ID, Resource>;
2155
+
2156
+ // Warning: (ae-missing-release-tag) "resourceSchemaZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2157
+ //
2158
+ // @public (undocumented)
2159
+ const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
2160
+ id: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, {
2161
+ type: ResourceType;
2162
+ key: string;
2163
+ }, string>, z.ZodObject<{
2164
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
2165
+ key: z.ZodString;
2166
+ }, "strip", z.ZodTypeAny, {
2167
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
2168
+ key: string;
2169
+ }, {
2170
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
2171
+ key: string;
2172
+ }>]>, z.ZodType<ID, z.ZodTypeDef, ID>]>, ID, string | ID | {
2173
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
2174
+ key: string;
2175
+ }>;
2176
+ name: z.ZodString;
2177
+ schema: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2178
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
2179
+ fields: z.ZodRecord<z.ZodString, z.ZodObject<{
2180
+ type: z.ZodNumber;
2181
+ }, "strip", z.ZodTypeAny, {
2182
+ type: number;
2183
+ }, {
2184
+ type: number;
2185
+ }>>;
2186
+ }, "strip", z.ZodTypeAny, {
2187
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
2188
+ fields: Record<string, {
2189
+ type: number;
2190
+ }>;
2191
+ }, {
2192
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
2193
+ fields: Record<string, {
2194
+ type: number;
2195
+ }>;
2196
+ }>>>;
2197
+ data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2198
+ }, "strip", z.ZodTypeAny, {
2199
+ name: string;
2200
+ id: ID;
2201
+ data?: Record<string, unknown> | null | undefined;
2202
+ schema?: {
2203
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
2204
+ fields: Record<string, {
2205
+ type: number;
2206
+ }>;
2207
+ } | null | undefined;
2208
+ }, {
2209
+ name: string;
2210
+ id: string | ID | {
2211
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
2212
+ key: string;
2213
+ };
2214
+ data?: Record<string, unknown> | null | undefined;
2215
+ schema?: {
2216
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
2217
+ fields: Record<string, {
2218
+ type: number;
2219
+ }>;
2220
+ } | null | undefined;
2221
+ }>, {
2222
+ name: string;
2223
+ id: ID;
2224
+ data?: Record<string, unknown> | null | undefined;
2225
+ schema?: {
2226
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
2227
+ fields: Record<string, {
2228
+ type: number;
2229
+ }>;
2230
+ } | null | undefined;
2231
+ key: string;
2232
+ }, {
2233
+ name: string;
2234
+ id: string | ID | {
2235
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
2236
+ key: string;
2237
+ };
2238
+ data?: Record<string, unknown> | null | undefined;
2239
+ schema?: {
2240
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
2241
+ fields: Record<string, {
2242
+ type: number;
2243
+ }>;
2244
+ } | null | undefined;
2245
+ }>;
2246
+
2247
+ // Warning: (ae-missing-release-tag) "ResourceSet" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2248
+ //
2249
+ // @public (undocumented)
2250
+ type ResourceSet = change.Set<ID, Resource>;
2251
+
2252
+ // Warning: (ae-forgotten-export) The symbol "resourceTypeZ" needs to be exported by the entry point index.d.ts
2253
+ // Warning: (ae-missing-release-tag) "ResourceType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2254
+ //
2255
+ // @public (undocumented)
2256
+ type ResourceType = z.infer<typeof resourceTypeZ>;
2257
+
2258
+ // Warning: (ae-forgotten-export) The symbol "Request_2" needs to be exported by the entry point index.d.ts
2259
+ // Warning: (ae-missing-release-tag) "RetrieveOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2260
+ //
2261
+ // @public (undocumented)
2262
+ type RetrieveOptions = Omit<Request_2, "keys" | "names" | "search">;
2263
+
2264
+ // Warning: (ae-forgotten-export) The symbol "RetrieveRequest" needs to be exported by the entry point index.d.ts
2265
+ // Warning: (ae-missing-release-tag) "RetrieveOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2266
+ //
2267
+ // @public (undocumented)
2268
+ type RetrieveOptions_2 = Pick<RetrieveRequest, "includeSchema" | "excludeFieldData">;
2269
+
2270
+ // Warning: (ae-missing-release-tag) "RetrieveOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2271
+ //
2272
+ // @public (undocumented)
2273
+ type RetrieveOptions_3 = Pick<RetrieveRequest_3, "rack" | "offset" | "limit" | "includeState">;
2274
+
2275
+ // Warning: (ae-forgotten-export) The symbol "RetrieveRequest_4" needs to be exported by the entry point index.d.ts
2276
+ // Warning: (ae-missing-release-tag) "RetrieveOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2277
+ //
2278
+ // @public (undocumented)
2279
+ type RetrieveOptions_4 = Pick<RetrieveRequest_4, "limit" | "offset" | "makes">;
2280
+
2281
+ // Warning: (ae-missing-release-tag) "Retriever" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2282
+ //
2283
+ // @public (undocumented)
2284
+ interface Retriever {
2285
+ // (undocumented)
2286
+ page: (offset: number, limit: number, opts?: PageOptions) => Promise<Payload[]>;
2287
+ // (undocumented)
2288
+ retrieve: (channels: Params, opts?: RetrieveOptions) => Promise<Payload[]>;
2289
+ // (undocumented)
2290
+ search: (term: string, opts?: RetrieveOptions) => Promise<Payload[]>;
2291
+ }
2292
+
2293
+ // Warning: (ae-missing-release-tag) "Retriever" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2294
+ //
2295
+ // @public (undocumented)
2296
+ class Retriever_2 {
2297
+ constructor(client: UnaryClient);
2298
+ // (undocumented)
2299
+ page(offset: number, limit: number): Promise<Label[]>;
2300
+ // (undocumented)
2301
+ retrieve(params: Params_3): Promise<Label[]>;
2302
+ // (undocumented)
2303
+ retrieveFor(id: ontology.ID): Promise<Label[]>;
2304
+ // (undocumented)
2305
+ search(term: string): Promise<Label[]>;
2306
+ }
2307
+
2308
+ // Warning: (ae-forgotten-export) The symbol "retrieveReqZ_2" needs to be exported by the entry point index.d.ts
2309
+ // Warning: (ae-missing-release-tag) "RetrieveRequest" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2310
+ //
2311
+ // @public (undocumented)
2312
+ type RetrieveRequest_2 = z.infer<typeof retrieveReqZ_2>;
2313
+
2314
+ // Warning: (ae-forgotten-export) The symbol "retrieveReqZ_3" needs to be exported by the entry point index.d.ts
2315
+ // Warning: (ae-missing-release-tag) "RetrieveRequest" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2316
+ //
2317
+ // @public (undocumented)
2318
+ type RetrieveRequest_3 = z.infer<typeof retrieveReqZ_3>;
2319
+
2320
+ // Warning: (ae-missing-release-tag) "retrieveRequired" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2321
+ //
2322
+ // @public (undocumented)
2323
+ const retrieveRequired: (r: Retriever, params: Params) => Promise<Payload[]>;
2324
+
2325
+ // Warning: (ae-missing-release-tag) "Root" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2326
+ //
2327
+ // @public (undocumented)
2328
+ const Root: ID;
2329
+
2330
+ // Warning: (ae-missing-release-tag) "RouteError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2331
+ //
2332
+ // @public
2333
+ export class RouteError extends BaseTypedError {
2334
+ constructor(message: string, path: string);
2335
+ // (undocumented)
2336
+ static readonly matches: (e: string | Error | unknown) => boolean;
2337
+ // (undocumented)
2338
+ path: string;
2339
+ // (undocumented)
2340
+ static readonly TYPE: string;
2341
+ // (undocumented)
2342
+ type: string;
2343
+ }
2344
+
2345
+ // Warning: (ae-missing-release-tag) "Schema" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2346
+ //
2347
+ // @public (undocumented)
2348
+ type Schema = z.infer<typeof schemaZ>;
2349
+
2350
+ // Warning: (ae-missing-release-tag) "SchemaField" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2351
+ //
2352
+ // @public (undocumented)
2353
+ type SchemaField = z.infer<typeof schemaFieldZ>;
2354
+
2355
+ // Warning: (ae-missing-release-tag) "schemaFieldZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2356
+ //
2357
+ // @public (undocumented)
2358
+ const schemaFieldZ: z.ZodObject<{
2359
+ type: z.ZodNumber;
2360
+ }, "strip", z.ZodTypeAny, {
2361
+ type: number;
2362
+ }, {
2363
+ type: number;
2364
+ }>;
2365
+
2366
+ // Warning: (ae-missing-release-tag) "schemaZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2367
+ //
2368
+ // @public (undocumented)
2369
+ const schemaZ: z.ZodObject<{
2370
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
2371
+ fields: z.ZodRecord<z.ZodString, z.ZodObject<{
2372
+ type: z.ZodNumber;
2373
+ }, "strip", z.ZodTypeAny, {
2374
+ type: number;
2375
+ }, {
2376
+ type: number;
2377
+ }>>;
2378
+ }, "strip", z.ZodTypeAny, {
2379
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
2380
+ fields: Record<string, {
2381
+ type: number;
2382
+ }>;
2383
+ }, {
2384
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
2385
+ fields: Record<string, {
2386
+ type: number;
2387
+ }>;
2388
+ }>;
2389
+
2390
+ export { Series }
2391
+
2392
+ // Warning: (ae-missing-release-tag) "series" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2393
+ //
2394
+ // @public (undocumented)
2395
+ const series: z.ZodObject<{
2396
+ timeRange: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2397
+ start: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2398
+ value: z.ZodBigInt;
2399
+ }, "strip", z.ZodTypeAny, {
2400
+ value: bigint;
2401
+ }, {
2402
+ value: bigint;
2403
+ }>, TimeStamp, {
2404
+ value: bigint;
2405
+ }>, z.ZodEffects<z.ZodString, TimeStamp, string>, z.ZodEffects<z.ZodType<Number, z.ZodTypeDef, Number>, TimeStamp, Number>, z.ZodEffects<z.ZodNumber, TimeStamp, number>, z.ZodType<TimeStamp, z.ZodTypeDef, TimeStamp>]>;
2406
+ end: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2407
+ value: z.ZodBigInt;
2408
+ }, "strip", z.ZodTypeAny, {
2409
+ value: bigint;
2410
+ }, {
2411
+ value: bigint;
2412
+ }>, TimeStamp, {
2413
+ value: bigint;
2414
+ }>, z.ZodEffects<z.ZodString, TimeStamp, string>, z.ZodEffects<z.ZodType<Number, z.ZodTypeDef, Number>, TimeStamp, Number>, z.ZodEffects<z.ZodNumber, TimeStamp, number>, z.ZodType<TimeStamp, z.ZodTypeDef, TimeStamp>]>;
2415
+ }, "strip", z.ZodTypeAny, {
2416
+ start: TimeStamp;
2417
+ end: TimeStamp;
2418
+ }, {
2419
+ start: string | number | Number | TimeStamp | {
2420
+ value: bigint;
2421
+ };
2422
+ end: string | number | Number | TimeStamp | {
2423
+ value: bigint;
2424
+ };
2425
+ }>, TimeRange, {
2426
+ start: string | number | Number | TimeStamp | {
2427
+ value: bigint;
2428
+ };
2429
+ end: string | number | Number | TimeStamp | {
2430
+ value: bigint;
2431
+ };
2432
+ }>, z.ZodType<TimeRange, z.ZodTypeDef, TimeRange>]>>;
2433
+ alignment: z.ZodOptional<z.ZodUnion<[z.ZodBigInt, z.ZodEffects<z.ZodString, bigint, string>]>>;
2434
+ dataType: z.ZodUnion<[z.ZodEffects<z.ZodString, DataType, string>, z.ZodType<DataType, z.ZodTypeDef, DataType>]>;
2435
+ data: z.ZodEffects<z.ZodString, ArrayBuffer | SharedArrayBuffer, string>;
2436
+ }, "strip", z.ZodTypeAny, {
2437
+ dataType: DataType;
2438
+ data: ArrayBuffer | SharedArrayBuffer;
2439
+ timeRange?: TimeRange | undefined;
2440
+ alignment?: bigint | undefined;
2441
+ }, {
2442
+ dataType: string | DataType;
2443
+ data: string;
2444
+ timeRange?: TimeRange | {
2445
+ start: string | number | Number | TimeStamp | {
2446
+ value: bigint;
2447
+ };
2448
+ end: string | number | Number | TimeStamp | {
2449
+ value: bigint;
2450
+ };
2451
+ } | undefined;
2452
+ alignment?: string | bigint | undefined;
2453
+ }>;
2454
+
2455
+ // Warning: (ae-missing-release-tag) "seriesFromPayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2456
+ //
2457
+ // @public (undocumented)
2458
+ const seriesFromPayload: (series: SeriesPayload) => Series;
2459
+
2460
+ // Warning: (ae-missing-release-tag) "SeriesPayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2461
+ //
2462
+ // @public (undocumented)
2463
+ type SeriesPayload = z.infer<typeof series>;
2464
+
2465
+ // Warning: (ae-missing-release-tag) "seriesToPayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2466
+ //
2467
+ // @public (undocumented)
2468
+ const seriesToPayload: (series: Series) => SeriesPayload;
2469
+
2470
+ // Warning: (ae-forgotten-export) The symbol "SetReq" needs to be exported by the entry point index.d.ts
2471
+ // Warning: (ae-missing-release-tag) "SetOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2472
+ //
2473
+ // @public (undocumented)
2474
+ type SetOptions = Pick<SetReq, "replace">;
2475
+
2476
+ // Warning: (ae-forgotten-export) The symbol "setReqZ_2" needs to be exported by the entry point index.d.ts
2477
+ // Warning: (ae-missing-release-tag) "SetRequest" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2478
+ //
2479
+ // @public (undocumented)
2480
+ type SetRequest = z.infer<typeof setReqZ_2>;
2481
+
2482
+ declare namespace signals {
2483
+ export {
2484
+ Decoder,
2485
+ Observable,
2486
+ openObservable
2487
+ }
2488
+ }
2489
+
2490
+ // Warning: (ae-missing-release-tag) "State" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2491
+ //
2492
+ // @public (undocumented)
2493
+ type State = z.infer<typeof state>;
2494
+
2495
+ // Warning: (ae-missing-release-tag) "state" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2496
+ //
2497
+ // @public (undocumented)
2498
+ const state: z.ZodObject<{
2499
+ status: z.ZodEnum<["disconnected", "connecting", "connected", "failed"]>;
2500
+ error: z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>;
2501
+ message: z.ZodOptional<z.ZodString>;
2502
+ clusterKey: z.ZodString;
2503
+ }, "strip", z.ZodTypeAny, {
2504
+ status: "disconnected" | "connecting" | "connected" | "failed";
2505
+ clusterKey: string;
2506
+ message?: string | undefined;
2507
+ error?: Error | undefined;
2508
+ }, {
2509
+ status: "disconnected" | "connecting" | "connected" | "failed";
2510
+ clusterKey: string;
2511
+ message?: string | undefined;
2512
+ error?: Error | undefined;
2513
+ }>;
2514
+
2515
+ // Warning: (ae-missing-release-tag) "State" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2516
+ //
2517
+ // @public (undocumented)
2518
+ type State_2<D extends {} = UnknownRecord> = Omit<z.infer<typeof stateZ>, "details"> & {
2519
+ details?: D;
2520
+ };
2521
+
2522
+ // Warning: (ae-missing-release-tag) "State" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2523
+ //
2524
+ // @public (undocumented)
2525
+ type State_3 = control_2.State<Key>;
2526
+
2527
+ // Warning: (ae-missing-release-tag) "StateObservable" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2528
+ //
2529
+ // @public (undocumented)
2530
+ type StateObservable<D extends UnknownRecord = UnknownRecord> = observe.ObservableAsyncCloseable<State_2<D>>;
2531
+
2532
+ // Warning: (ae-missing-release-tag) "StateTracker" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2533
+ //
2534
+ // @public (undocumented)
2535
+ class StateTracker extends framer.ObservableStreamer<Transfer[]> implements observe_2.ObservableAsyncCloseable<Transfer[]> {
2536
+ constructor(streamer: Streamer);
2537
+ // (undocumented)
2538
+ readonly states: Map<Key, State_3>;
2539
+ // (undocumented)
2540
+ subjects(): Subject[];
2541
+ }
2542
+
2543
+ // Warning: (ae-missing-release-tag) "stateZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2544
+ //
2545
+ // @public (undocumented)
2546
+ const stateZ: z.ZodObject<{
2547
+ task: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodBigInt, string, bigint>, z.ZodEffects<z.ZodNumber, string, number>]>;
2548
+ variant: z.ZodString;
2549
+ key: z.ZodOptional<z.ZodString>;
2550
+ details: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodEffects<z.ZodString, any, string>]>, z.ZodArray<z.ZodUnknown, "many">]>, z.ZodNull]>;
2551
+ }, "strip", z.ZodTypeAny, {
2552
+ variant: string;
2553
+ task: string;
2554
+ key?: string | undefined;
2555
+ details?: any;
2556
+ }, {
2557
+ variant: string;
2558
+ task: string | number | bigint;
2559
+ details: string | unknown[] | Record<string, unknown> | null;
2560
+ key?: string | undefined;
2561
+ }>;
2562
+
2563
+ // Warning: (ae-missing-release-tag) "stateZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2564
+ //
2565
+ // @public (undocumented)
2566
+ const stateZ_2: z.ZodObject<{
2567
+ subject: z.ZodObject<{
2568
+ name: z.ZodString;
2569
+ key: z.ZodString;
2570
+ }, "strip", z.ZodTypeAny, {
2571
+ key: string;
2572
+ name: string;
2573
+ }, {
2574
+ key: string;
2575
+ name: string;
2576
+ }>;
2577
+ resource: z.ZodNumber;
2578
+ authority: z.ZodUnion<[z.ZodType<control_2.Authority, z.ZodTypeDef, control_2.Authority>, z.ZodEffects<z.ZodNumber, control_2.Authority, number>, z.ZodEffects<z.ZodType<Number, z.ZodTypeDef, Number>, control_2.Authority, Number>]>;
2579
+ }, "strip", z.ZodTypeAny, {
2580
+ subject: {
2581
+ key: string;
2582
+ name: string;
2583
+ };
2584
+ resource: number;
2585
+ authority: control_2.Authority;
2586
+ }, {
2587
+ subject: {
2588
+ key: string;
2589
+ name: string;
2590
+ };
2591
+ resource: number;
2592
+ authority: number | Number | control_2.Authority;
2593
+ }>;
2594
+
2595
+ // Warning: (ae-missing-release-tag) "Status" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2596
+ //
2597
+ // @public (undocumented)
2598
+ type Status = z.infer<typeof status_2>;
2599
+
2600
+ // Warning: (ae-missing-release-tag) "status" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2601
+ //
2602
+ // @public (undocumented)
2603
+ const status_2: z.ZodEnum<["disconnected", "connecting", "connected", "failed"]>;
2604
+
2605
+ // Warning: (ae-missing-release-tag) "Streamer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2606
+ //
2607
+ // @public (undocumented)
2608
+ class Streamer implements AsyncIterator<Frame>, AsyncIterable<Frame> {
2609
+ // (undocumented)
2610
+ [Symbol.asyncIterator](): AsyncIterator<Frame, any, undefined>;
2611
+ // (undocumented)
2612
+ close(): void;
2613
+ // (undocumented)
2614
+ get keys(): Key[];
2615
+ // (undocumented)
2616
+ next(): Promise<IteratorResult<Frame, any>>;
2617
+ // (undocumented)
2618
+ static _open(retriever: Retriever, client: StreamClient, { channels, from }: StreamerConfig): Promise<Streamer>;
2619
+ // (undocumented)
2620
+ read(): Promise<Frame>;
2621
+ // (undocumented)
2622
+ update(params: Params): Promise<void>;
2623
+ }
2624
+
2625
+ // Warning: (ae-missing-release-tag) "StreamerConfig" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2626
+ //
2627
+ // @public (undocumented)
2628
+ interface StreamerConfig {
2629
+ // (undocumented)
2630
+ channels: Params;
2631
+ // (undocumented)
2632
+ from?: CrudeTimeStamp;
2633
+ }
2634
+
2635
+ // Warning: (ae-missing-release-tag) "stringIDZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2636
+ //
2637
+ // @public (undocumented)
2638
+ const stringIDZ: z.ZodEffects<z.ZodString, {
2639
+ type: ResourceType;
2640
+ key: string;
2641
+ }, string>;
2642
+
2643
+ // Warning: (ae-missing-release-tag) "Subject" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2644
+ //
2645
+ // @public (undocumented)
2646
+ type Subject = control_2.Subject;
2647
+
2648
+ // Warning: (tsdoc-undefined-tag) The TSDoc tag "@property" is not defined in this configuration
2649
+ // Warning: (tsdoc-undefined-tag) The TSDoc tag "@property" is not defined in this configuration
2650
+ // Warning: (tsdoc-undefined-tag) The TSDoc tag "@property" is not defined in this configuration
2651
+ // Warning: (tsdoc-undefined-tag) The TSDoc tag "@property" is not defined in this configuration
2652
+ // Warning: (ae-missing-release-tag) "Synnax" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2653
+ //
2654
+ // @public
2655
+ export class Synnax extends framer.Client {
2656
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
2657
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
2658
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
2659
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
2660
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
2661
+ // Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
2662
+ constructor(props_: SynnaxProps);
2663
+ // Warning: (ae-forgotten-export) The symbol "access" needs to be exported by the entry point index.d.ts
2664
+ //
2665
+ // (undocumented)
2666
+ readonly access: access.Client;
2667
+ // Warning: (ae-forgotten-export) The symbol "auth" needs to be exported by the entry point index.d.ts
2668
+ //
2669
+ // (undocumented)
2670
+ readonly auth: auth.Client | undefined;
2671
+ // (undocumented)
2672
+ readonly channels: channel.Client;
2673
+ // (undocumented)
2674
+ close(): void;
2675
+ // (undocumented)
2676
+ readonly connectivity: connection.Checker;
2677
+ // (undocumented)
2678
+ static readonly connectivity: typeof connection.Checker;
2679
+ // (undocumented)
2680
+ readonly control: control.Client;
2681
+ // (undocumented)
2682
+ readonly createdAt: TimeStamp;
2683
+ // (undocumented)
2684
+ readonly hardware: hardware.Client;
2685
+ // (undocumented)
2686
+ get key(): string;
2687
+ // (undocumented)
2688
+ readonly labels: label.Client;
2689
+ // (undocumented)
2690
+ readonly ontology: ontology.Client;
2691
+ // Warning: (ae-forgotten-export) The symbol "ParsedSynnaxProps" needs to be exported by the entry point index.d.ts
2692
+ //
2693
+ // (undocumented)
2694
+ readonly props: ParsedSynnaxProps;
2695
+ // (undocumented)
2696
+ readonly ranges: ranger.Client;
2697
+ // Warning: (ae-forgotten-export) The symbol "user" needs to be exported by the entry point index.d.ts
2698
+ //
2699
+ // (undocumented)
2700
+ readonly user: user.Client;
2701
+ // (undocumented)
2702
+ readonly workspaces: workspace.Client;
2703
+ }
2704
+
2705
+ // Warning: (ae-missing-release-tag) "SynnaxProps" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2706
+ //
2707
+ // @public (undocumented)
2708
+ export type SynnaxProps = z.input<typeof synnaxPropsZ>;
2709
+
2710
+ // Warning: (ae-missing-release-tag) "synnaxPropsZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2711
+ //
2712
+ // @public (undocumented)
2713
+ export const synnaxPropsZ: z.ZodObject<{
2714
+ host: z.ZodString;
2715
+ port: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2716
+ username: z.ZodString;
2717
+ password: z.ZodString;
2718
+ connectivityPollFrequency: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2719
+ value: z.ZodBigInt;
2720
+ }, "strip", z.ZodTypeAny, {
2721
+ value: bigint;
2722
+ }, {
2723
+ value: bigint;
2724
+ }>, TimeSpan, {
2725
+ value: bigint;
2726
+ }>, z.ZodEffects<z.ZodString, TimeSpan, string>, z.ZodEffects<z.ZodType<Number, z.ZodTypeDef, Number>, TimeSpan, Number>, z.ZodEffects<z.ZodNumber, TimeSpan, number>, z.ZodType<TimeSpan, z.ZodTypeDef, TimeSpan>]>>;
2727
+ secure: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2728
+ name: z.ZodOptional<z.ZodString>;
2729
+ }, "strip", z.ZodTypeAny, {
2730
+ username: string;
2731
+ password: string;
2732
+ host: string;
2733
+ port: string | number;
2734
+ connectivityPollFrequency: TimeSpan;
2735
+ secure: boolean;
2736
+ name?: string | undefined;
2737
+ }, {
2738
+ username: string;
2739
+ password: string;
2740
+ host: string;
2741
+ port: string | number;
2742
+ name?: string | undefined;
2743
+ connectivityPollFrequency?: string | number | Number | TimeSpan | {
2744
+ value: bigint;
2745
+ } | undefined;
2746
+ secure?: boolean | undefined;
2747
+ }>;
2748
+
2749
+ // Warning: (ae-missing-release-tag) "Task" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2750
+ //
2751
+ // @public (undocumented)
2752
+ class Task<C extends UnknownRecord_2 = UnknownRecord_2, D extends {} = UnknownRecord_2, T extends string = string> {
2753
+ constructor(key: TaskKey, name: string, type: T, config: C, frameClient: framer.Client, internal?: boolean, state?: State_2<D> | null);
2754
+ // (undocumented)
2755
+ readonly config: C;
2756
+ // (undocumented)
2757
+ executeCommand(type: string, args?: UnknownRecord_2): Promise<string>;
2758
+ // (undocumented)
2759
+ executeCommandSync<D extends UnknownRecord_2 = UnknownRecord_2>(type: string, args: UnknownRecord_2, timeout: CrudeTimeSpan): Promise<State_2<D>>;
2760
+ // (undocumented)
2761
+ readonly internal: boolean;
2762
+ // (undocumented)
2763
+ readonly key: TaskKey;
2764
+ // (undocumented)
2765
+ readonly name: string;
2766
+ // (undocumented)
2767
+ openStateObserver<D extends UnknownRecord_2 = UnknownRecord_2>(): Promise<StateObservable<D>>;
2768
+ // (undocumented)
2769
+ get payload(): Payload_5<C, D>;
2770
+ // (undocumented)
2771
+ state?: State_2<D>;
2772
+ // (undocumented)
2773
+ readonly type: T;
2774
+ }
2775
+
2776
+ declare namespace task {
2777
+ export {
2778
+ Task,
2779
+ RetrieveRequest_3 as RetrieveRequest,
2780
+ RetrieveOptions_3 as RetrieveOptions,
2781
+ Client_14 as Client,
2782
+ taskKeyZ,
2783
+ TaskKey,
2784
+ stateZ,
2785
+ State_2 as State,
2786
+ taskZ,
2787
+ newTaskZ,
2788
+ NewTask,
2789
+ Payload_5 as Payload,
2790
+ commandZ,
2791
+ StateObservable,
2792
+ DeviceOntologyType,
2793
+ ontologyID_8 as ontologyID
2794
+ }
2795
+ }
2796
+
2797
+ // Warning: (ae-missing-release-tag) "TaskKey" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2798
+ //
2799
+ // @public (undocumented)
2800
+ type TaskKey = z.infer<typeof taskKeyZ>;
2801
+
2802
+ // Warning: (ae-missing-release-tag) "taskKeyZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2803
+ //
2804
+ // @public (undocumented)
2805
+ const taskKeyZ: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodBigInt, string, bigint>, z.ZodEffects<z.ZodNumber, string, number>]>;
2806
+
2807
+ // Warning: (ae-missing-release-tag) "taskZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2808
+ //
2809
+ // @public (undocumented)
2810
+ const taskZ: z.ZodObject<{
2811
+ key: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodBigInt, string, bigint>, z.ZodEffects<z.ZodNumber, string, number>]>;
2812
+ name: z.ZodString;
2813
+ type: z.ZodString;
2814
+ internal: z.ZodOptional<z.ZodBoolean>;
2815
+ config: z.ZodType<UnknownRecord>;
2816
+ state: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2817
+ task: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodBigInt, string, bigint>, z.ZodEffects<z.ZodNumber, string, number>]>;
2818
+ variant: z.ZodString;
2819
+ key: z.ZodOptional<z.ZodString>;
2820
+ details: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodEffects<z.ZodString, any, string>]>, z.ZodArray<z.ZodUnknown, "many">]>, z.ZodNull]>;
2821
+ }, "strip", z.ZodTypeAny, {
2822
+ variant: string;
2823
+ task: string;
2824
+ key?: string | undefined;
2825
+ details?: any;
2826
+ }, {
2827
+ variant: string;
2828
+ task: string | number | bigint;
2829
+ details: string | unknown[] | Record<string, unknown> | null;
2830
+ key?: string | undefined;
2831
+ }>>>;
2832
+ }, "strip", z.ZodTypeAny, {
2833
+ type: string;
2834
+ name: string;
2835
+ key: string;
2836
+ config: UnknownRecord;
2837
+ internal?: boolean | undefined;
2838
+ state?: {
2839
+ variant: string;
2840
+ task: string;
2841
+ key?: string | undefined;
2842
+ details?: any;
2843
+ } | null | undefined;
2844
+ }, {
2845
+ type: string;
2846
+ name: string;
2847
+ key: string | number | bigint;
2848
+ config: UnknownRecord;
2849
+ internal?: boolean | undefined;
2850
+ state?: {
2851
+ variant: string;
2852
+ task: string | number | bigint;
2853
+ details: string | unknown[] | Record<string, unknown> | null;
2854
+ key?: string | undefined;
2855
+ } | null | undefined;
2856
+ }>;
2857
+
2858
+ export { TelemValue }
2859
+
2860
+ export { TimeRange }
2861
+
2862
+ export { TimeSpan }
2863
+
2864
+ export { TimeStamp }
2865
+
2866
+ export { TimeStampStringFormat }
2867
+
2868
+ // Warning: (ae-missing-release-tag) "Transfer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2869
+ //
2870
+ // @public (undocumented)
2871
+ type Transfer = control_2.Transfer<Key>;
2872
+
2873
+ // Warning: (ae-missing-release-tag) "transferString" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2874
+ //
2875
+ // @public (undocumented)
2876
+ const transferString: (t: Transfer) => string;
2877
+
2878
+ export { TypedArray }
2879
+
2880
+ export { TZInfo }
2881
+
2882
+ // Warning: (ae-missing-release-tag) "UnexpectedError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2883
+ //
2884
+ // @public
2885
+ export class UnexpectedError extends BaseTypedError {
2886
+ constructor(message: string);
2887
+ // (undocumented)
2888
+ static readonly matches: (e: string | Error | unknown) => boolean;
2889
+ // (undocumented)
2890
+ static readonly TYPE: string;
2891
+ // (undocumented)
2892
+ type: string;
2893
+ }
2894
+
2895
+ // Warning: (ae-missing-release-tag) "ValidationError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2896
+ //
2897
+ // @public
2898
+ export class ValidationError extends BaseTypedError {
2899
+ // (undocumented)
2900
+ static readonly matches: (e: string | Error | unknown) => boolean;
2901
+ // (undocumented)
2902
+ static readonly TYPE: string;
2903
+ // (undocumented)
2904
+ type: string;
2905
+ }
2906
+
2907
+ // Warning: (ae-missing-release-tag) "Workspace" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2908
+ //
2909
+ // @public (undocumented)
2910
+ type Workspace = z.infer<typeof workspaceZ>;
2911
+
2912
+ declare namespace workspace {
2913
+ export {
2914
+ Client_10 as Client,
2915
+ keyZ_7 as keyZ,
2916
+ Key_7 as Key,
2917
+ Params_8 as Params,
2918
+ workspaceZ,
2919
+ workspaceRemoteZ,
2920
+ Workspace,
2921
+ WorkspaceOntologyType,
2922
+ ontologyID_7 as ontologyID
2923
+ }
2924
+ }
2925
+
2926
+ // Warning: (ae-missing-release-tag) "WorkspaceOntologyType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2927
+ //
2928
+ // @public (undocumented)
2929
+ const WorkspaceOntologyType: ontology.ResourceType;
2930
+
2931
+ // Warning: (ae-missing-release-tag) "workspaceRemoteZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2932
+ //
2933
+ // @public (undocumented)
2934
+ const workspaceRemoteZ: z.ZodObject<z.objectUtil.extendShape<Omit<{
2935
+ name: z.ZodString;
2936
+ key: z.ZodString;
2937
+ layout: z.ZodUnion<[z.ZodRecord<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodSymbol]>, z.ZodUnknown>, z.ZodEffects<z.ZodString, UnknownRecord_2, string>]>;
2938
+ }, "layout">, {
2939
+ layout: z.ZodEffects<z.ZodString, UnknownRecord_2, string>;
2940
+ }>, "strip", z.ZodTypeAny, {
2941
+ name: string;
2942
+ key: string;
2943
+ layout: UnknownRecord_2;
2944
+ }, {
2945
+ name: string;
2946
+ key: string;
2947
+ layout: string;
2948
+ }>;
2949
+
2950
+ // Warning: (ae-missing-release-tag) "workspaceZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2951
+ //
2952
+ // @public (undocumented)
2953
+ const workspaceZ: z.ZodObject<{
2954
+ name: z.ZodString;
2955
+ key: z.ZodString;
2956
+ layout: z.ZodUnion<[z.ZodRecord<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodSymbol]>, z.ZodUnknown>, z.ZodEffects<z.ZodString, UnknownRecord_2, string>]>;
2957
+ }, "strip", z.ZodTypeAny, {
2958
+ name: string;
2959
+ key: string;
2960
+ layout: UnknownRecord_2 | Record<string | number | symbol, unknown>;
2961
+ }, {
2962
+ name: string;
2963
+ key: string;
2964
+ layout: string | Record<string | number | symbol, unknown>;
2965
+ }>;
2966
+
2967
+ // Warning: (ae-missing-release-tag) "Writer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2968
+ //
2969
+ // @public
2970
+ class Writer {
2971
+ close(): Promise<void>;
2972
+ commit(): Promise<boolean>;
2973
+ // (undocumented)
2974
+ error(): Promise<Error | null>;
2975
+ // Warning: (ae-forgotten-export) The symbol "Request_3" needs to be exported by the entry point index.d.ts
2976
+ // Warning: (ae-forgotten-export) The symbol "Response_2" needs to be exported by the entry point index.d.ts
2977
+ //
2978
+ // (undocumented)
2979
+ execute(req: Request_3): Promise<Response_2>;
2980
+ // (undocumented)
2981
+ static _open(retriever: Retriever, client: StreamClient, { channels, start, authorities, controlSubject: subject, mode, errOnUnauthorized, enableAutoCommit, autoIndexPersistInterval, }: WriterConfig): Promise<Writer>;
2982
+ // (undocumented)
2983
+ setAuthority(value: number): Promise<boolean>;
2984
+ // (undocumented)
2985
+ setAuthority(key: KeyOrName, authority: control_2.Authority): Promise<boolean>;
2986
+ // (undocumented)
2987
+ setAuthority(value: Record<KeyOrName, control_2.Authority>): Promise<boolean>;
2988
+ // (undocumented)
2989
+ write(channel: KeyOrName, data: CrudeSeries): Promise<boolean>;
2990
+ // (undocumented)
2991
+ write(channel: KeysOrNames, data: CrudeSeries[]): Promise<boolean>;
2992
+ // (undocumented)
2993
+ write(frame: CrudeFrame | Record<KeyOrName, CrudeSeries>): Promise<boolean>;
2994
+ // (undocumented)
2995
+ write(channelsOrData: Params | Record<KeyOrName, CrudeSeries> | CrudeFrame, series?: CrudeSeries | CrudeSeries[]): Promise<boolean>;
2996
+ }
2997
+
2998
+ // Warning: (ae-missing-release-tag) "Writer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2999
+ //
3000
+ // @public (undocumented)
3001
+ class Writer_2 {
3002
+ constructor(client: UnaryClient, cache: CacheRetriever);
3003
+ // (undocumented)
3004
+ create(channels: NewPayload[]): Promise<Payload[]>;
3005
+ // (undocumented)
3006
+ delete(props: DeleteProps): Promise<void>;
3007
+ // (undocumented)
3008
+ rename(keys: Key[], names: string[]): Promise<void>;
3009
+ }
3010
+
3011
+ // Warning: (ae-missing-release-tag) "Writer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
3012
+ //
3013
+ // @public (undocumented)
3014
+ class Writer_3 {
3015
+ constructor(client: UnaryClient);
3016
+ // (undocumented)
3017
+ create(labels: NewLabelPayload | NewLabelPayload[]): Promise<Label[]>;
3018
+ // (undocumented)
3019
+ delete(keys: Key_4 | Key_4[]): Promise<void>;
3020
+ // (undocumented)
3021
+ remove(id: ontology.ID, labels: Key_4[]): Promise<void>;
3022
+ // (undocumented)
3023
+ set(id: ontology.ID, labels: Key_4[], { replace }?: SetOptions): Promise<void>;
3024
+ }
3025
+
3026
+ // Warning: (ae-missing-release-tag) "Writer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
3027
+ //
3028
+ // @public (undocumented)
3029
+ class Writer_4 {
3030
+ constructor(client: UnaryClient);
3031
+ // (undocumented)
3032
+ client: UnaryClient;
3033
+ // (undocumented)
3034
+ create(ranges: NewPayload_2[], options?: CreateOptions_2): Promise<Payload_3[]>;
3035
+ // (undocumented)
3036
+ delete(keys: string[]): Promise<void>;
3037
+ // (undocumented)
3038
+ rename(key: string, name: string): Promise<void>;
3039
+ }
3040
+
3041
+ // Warning: (ae-missing-release-tag) "WriterConfig" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
3042
+ //
3043
+ // @public (undocumented)
3044
+ interface WriterConfig {
3045
+ // (undocumented)
3046
+ authorities?: control_2.Authority | control_2.Authority[];
3047
+ // (undocumented)
3048
+ autoIndexPersistInterval?: TimeSpan;
3049
+ // (undocumented)
3050
+ channels: Params;
3051
+ // (undocumented)
3052
+ controlSubject?: control_2.Subject;
3053
+ // (undocumented)
3054
+ enableAutoCommit?: boolean;
3055
+ // (undocumented)
3056
+ errOnUnauthorized?: boolean;
3057
+ // (undocumented)
3058
+ mode?: CrudeWriterMode;
3059
+ // (undocumented)
3060
+ start?: CrudeTimeStamp;
3061
+ }
3062
+
3063
+ // Warning: (ae-missing-release-tag) "WriterMode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
3064
+ //
3065
+ // @public (undocumented)
3066
+ enum WriterMode {
3067
+ // (undocumented)
3068
+ Persist = 2,
3069
+ // (undocumented)
3070
+ PersistStream = 1,
3071
+ // (undocumented)
3072
+ Stream = 3
3073
+ }
3074
+
3075
+ // (No @packageDocumentation comment for this package)
3076
+
3077
+ ```