@pepperdash/mobile-control-react-app-core 1.20.6 → 1.20.8

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 (27) hide show
  1. package/dist/mobile-control-react-app-core.es.js +1124 -1064
  2. package/dist/mobile-control-react-app-core.umd.js +10 -10
  3. package/dist/store/appConfig/appConfig.hooks.d.ts +4 -109
  4. package/dist/store/appConfig/appConfig.hooks.d.ts.map +1 -1
  5. package/dist/store/appConfig/appConfig.selectors.d.ts +109 -4
  6. package/dist/store/appConfig/appConfig.selectors.d.ts.map +1 -1
  7. package/dist/store/devices/devices.hooks.d.ts +12 -55
  8. package/dist/store/devices/devices.hooks.d.ts.map +1 -1
  9. package/dist/store/devices/devices.selectors.d.ts +55 -12
  10. package/dist/store/devices/devices.selectors.d.ts.map +1 -1
  11. package/dist/store/index.d.ts +6 -1
  12. package/dist/store/index.d.ts.map +1 -1
  13. package/dist/store/rooms/rooms.hooks.d.ts +25 -541
  14. package/dist/store/rooms/rooms.hooks.d.ts.map +1 -1
  15. package/dist/store/rooms/rooms.selectors.d.ts +664 -25
  16. package/dist/store/rooms/rooms.selectors.d.ts.map +1 -1
  17. package/dist/store/runtimeConfig/runtime.hooks.d.ts +10 -269
  18. package/dist/store/runtimeConfig/runtime.hooks.d.ts.map +1 -1
  19. package/dist/store/runtimeConfig/runtime.selectors.d.ts +269 -10
  20. package/dist/store/runtimeConfig/runtime.selectors.d.ts.map +1 -1
  21. package/dist/store/ui/{uiSelectors.d.ts → ui.hooks.d.ts} +1 -1
  22. package/dist/store/ui/ui.hooks.d.ts.map +1 -0
  23. package/dist/store/ui/ui.selectors.d.ts +164 -0
  24. package/dist/store/ui/ui.selectors.d.ts.map +1 -0
  25. package/dist/utils/WebsocketProvider.d.ts.map +1 -1
  26. package/package.json +1 -1
  27. package/dist/store/ui/uiSelectors.d.ts.map +0 -1
@@ -1,32 +1,671 @@
1
- import { RoomVolumeType } from 'src/lib/types';
2
- import { DisplayState, LevelControlsState, RoomConfiguration, RoomState } from "src/lib/types/state/state";
3
- export declare function useRoomConfiguration(roomKey: string): RoomConfiguration | undefined;
4
- export declare function useGetAllRooms(): Record<string, RoomState>;
5
- export declare function useRoomState<T extends RoomState = RoomState>(roomKey: string): T | undefined;
6
- /** Alternate for useRoomState */
7
- export declare const useGetRoom: typeof useRoomState;
8
- export declare const useRoomName: (roomKey: string) => string | undefined;
9
- export declare const useRoomVolume: (roomKey: string, volumeKey: RoomVolumeType) => import("src/lib/types").Volume | undefined;
10
- export declare const useRoomLevelControls: (roomKey: string) => LevelControlsState;
11
- export declare const useRoomSourceList: (roomKey: string) => Record<string, import("src/lib/types").SourceListItem> | undefined;
12
- export declare const useRoomAudioControlPointList: (roomKey: string) => import("src/lib/types").AudioControlPointListItem | undefined;
13
- export declare const useRoomDestinations: (roomKey: string) => Record<import("src/lib/types").DestinationTypes, string> | undefined;
14
- export declare const useRoomDestinationList: (roomKey: string) => Record<string, import("src/lib/types").DestinationListItem> | undefined;
15
- export declare const useRoomEnvironmentalDevices: (roomKey: string) => import("src/lib/types").EnvironmentalDeviceConfiguration[] | undefined;
16
- export declare const useRoomProgramAudioDestinationKey: (roomKey: string) => string | undefined;
17
- export declare const useRoomCodecContentDestinationKey: (roomKey: string) => string | undefined;
18
- export declare const useRoomInCall: (roomKey: string) => boolean | undefined;
19
- export declare const useRoomIsWarmingUp: (roomKey: string) => boolean | undefined;
20
- export declare const useRoomIsCoolingDown: (roomKey: string) => boolean | undefined;
21
- export declare const useRoomIsOn: (roomKey: string) => boolean | undefined;
22
- export declare const useRoomAdvancedSharingActive: (roomKey: string) => boolean | undefined;
23
- export declare const useRoomShareState: (roomKey: string) => import("src/lib/types").ShareState | undefined;
1
+ import { DisplayState, RootState } from 'src/lib';
2
+ export declare const selectRoomConfiguration: (roomKey: string) => ((state: {
3
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
4
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
5
+ rooms: Record<string, import("src/lib").RoomState>;
6
+ devices: Record<string, import("src/lib").DeviceState>;
7
+ ui: import("src/lib").UiConfigState;
8
+ }) => import("src/lib").RoomConfiguration | undefined) & {
9
+ clearCache: () => void;
10
+ resultsCount: () => number;
11
+ resetResultsCount: () => void;
12
+ } & {
13
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => import("src/lib").RoomConfiguration | undefined;
14
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => import("src/lib").RoomConfiguration | undefined) & {
15
+ clearCache: () => void;
16
+ resultsCount: () => number;
17
+ resetResultsCount: () => void;
18
+ };
19
+ lastResult: () => import("src/lib").RoomConfiguration | undefined;
20
+ dependencies: [(state: RootState) => Record<string, import("src/lib").RoomState>];
21
+ recomputations: () => number;
22
+ resetRecomputations: () => void;
23
+ dependencyRecomputations: () => number;
24
+ resetDependencyRecomputations: () => void;
25
+ } & {
26
+ argsMemoize: typeof import("reselect").weakMapMemoize;
27
+ memoize: typeof import("reselect").weakMapMemoize;
28
+ };
29
+ export declare const selectRooms: ((state: {
30
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
31
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
32
+ rooms: Record<string, import("src/lib").RoomState>;
33
+ devices: Record<string, import("src/lib").DeviceState>;
34
+ ui: import("src/lib").UiConfigState;
35
+ }) => Record<string, import("src/lib").RoomState>) & {
36
+ clearCache: () => void;
37
+ resultsCount: () => number;
38
+ resetResultsCount: () => void;
39
+ } & {
40
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => Record<string, import("src/lib").RoomState>;
41
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => Record<string, import("src/lib").RoomState>) & {
42
+ clearCache: () => void;
43
+ resultsCount: () => number;
44
+ resetResultsCount: () => void;
45
+ };
46
+ lastResult: () => Record<string, import("src/lib").RoomState>;
47
+ dependencies: [(state: RootState) => Record<string, import("src/lib").RoomState>];
48
+ recomputations: () => number;
49
+ resetRecomputations: () => void;
50
+ dependencyRecomputations: () => number;
51
+ resetDependencyRecomputations: () => void;
52
+ } & {
53
+ argsMemoize: typeof import("reselect").weakMapMemoize;
54
+ memoize: typeof import("reselect").weakMapMemoize;
55
+ };
56
+ export declare const selectRoomByKey: (roomKey: string) => ((state: {
57
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
58
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
59
+ rooms: Record<string, import("src/lib").RoomState>;
60
+ devices: Record<string, import("src/lib").DeviceState>;
61
+ ui: import("src/lib").UiConfigState;
62
+ }) => import("src/lib").RoomState | undefined) & {
63
+ clearCache: () => void;
64
+ resultsCount: () => number;
65
+ resetResultsCount: () => void;
66
+ } & {
67
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => import("src/lib").RoomState | undefined;
68
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => import("src/lib").RoomState | undefined) & {
69
+ clearCache: () => void;
70
+ resultsCount: () => number;
71
+ resetResultsCount: () => void;
72
+ };
73
+ lastResult: () => import("src/lib").RoomState | undefined;
74
+ dependencies: [(state: RootState) => Record<string, import("src/lib").RoomState>];
75
+ recomputations: () => number;
76
+ resetRecomputations: () => void;
77
+ dependencyRecomputations: () => number;
78
+ resetDependencyRecomputations: () => void;
79
+ } & {
80
+ argsMemoize: typeof import("reselect").weakMapMemoize;
81
+ memoize: typeof import("reselect").weakMapMemoize;
82
+ };
83
+ export declare const selectRoomName: (roomKey: string) => ((state: {
84
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
85
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
86
+ rooms: Record<string, import("src/lib").RoomState>;
87
+ devices: Record<string, import("src/lib").DeviceState>;
88
+ ui: import("src/lib").UiConfigState;
89
+ }) => string | undefined) & {
90
+ clearCache: () => void;
91
+ resultsCount: () => number;
92
+ resetResultsCount: () => void;
93
+ } & {
94
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => string | undefined;
95
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => string | undefined) & {
96
+ clearCache: () => void;
97
+ resultsCount: () => number;
98
+ resetResultsCount: () => void;
99
+ };
100
+ lastResult: () => string | undefined;
101
+ dependencies: [(state: RootState) => Record<string, import("src/lib").RoomState>];
102
+ recomputations: () => number;
103
+ resetRecomputations: () => void;
104
+ dependencyRecomputations: () => number;
105
+ resetDependencyRecomputations: () => void;
106
+ } & {
107
+ argsMemoize: typeof import("reselect").weakMapMemoize;
108
+ memoize: typeof import("reselect").weakMapMemoize;
109
+ };
110
+ export declare const selectRoomVolume: (roomKey: string, volumeKey: string) => ((state: {
111
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
112
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
113
+ rooms: Record<string, import("src/lib").RoomState>;
114
+ devices: Record<string, import("src/lib").DeviceState>;
115
+ ui: import("src/lib").UiConfigState;
116
+ }) => import("src/lib").Volume | undefined) & {
117
+ clearCache: () => void;
118
+ resultsCount: () => number;
119
+ resetResultsCount: () => void;
120
+ } & {
121
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => import("src/lib").Volume | undefined;
122
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => import("src/lib").Volume | undefined) & {
123
+ clearCache: () => void;
124
+ resultsCount: () => number;
125
+ resetResultsCount: () => void;
126
+ };
127
+ lastResult: () => import("src/lib").Volume | undefined;
128
+ dependencies: [(state: RootState) => Record<string, import("src/lib").RoomState>];
129
+ recomputations: () => number;
130
+ resetRecomputations: () => void;
131
+ dependencyRecomputations: () => number;
132
+ resetDependencyRecomputations: () => void;
133
+ } & {
134
+ argsMemoize: typeof import("reselect").weakMapMemoize;
135
+ memoize: typeof import("reselect").weakMapMemoize;
136
+ };
137
+ export declare const selectRoomLevelControls: (roomKey: string) => ((state: {
138
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
139
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
140
+ rooms: Record<string, import("src/lib").RoomState>;
141
+ devices: Record<string, import("src/lib").DeviceState>;
142
+ ui: import("src/lib").UiConfigState;
143
+ }) => import("src/lib").RoomState | undefined) & {
144
+ clearCache: () => void;
145
+ resultsCount: () => number;
146
+ resetResultsCount: () => void;
147
+ } & {
148
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => import("src/lib").RoomState | undefined;
149
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => import("src/lib").RoomState | undefined) & {
150
+ clearCache: () => void;
151
+ resultsCount: () => number;
152
+ resetResultsCount: () => void;
153
+ };
154
+ lastResult: () => import("src/lib").RoomState | undefined;
155
+ dependencies: [(state: RootState) => Record<string, import("src/lib").RoomState>];
156
+ recomputations: () => number;
157
+ resetRecomputations: () => void;
158
+ dependencyRecomputations: () => number;
159
+ resetDependencyRecomputations: () => void;
160
+ } & {
161
+ argsMemoize: typeof import("reselect").weakMapMemoize;
162
+ memoize: typeof import("reselect").weakMapMemoize;
163
+ };
164
+ export declare const selectRoomSourceList: (roomKey: string) => ((state: {
165
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
166
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
167
+ rooms: Record<string, import("src/lib").RoomState>;
168
+ devices: Record<string, import("src/lib").DeviceState>;
169
+ ui: import("src/lib").UiConfigState;
170
+ }) => Record<string, import("src/lib").SourceListItem> | undefined) & {
171
+ clearCache: () => void;
172
+ resultsCount: () => number;
173
+ resetResultsCount: () => void;
174
+ } & {
175
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => Record<string, import("src/lib").SourceListItem> | undefined;
176
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => Record<string, import("src/lib").SourceListItem> | undefined) & {
177
+ clearCache: () => void;
178
+ resultsCount: () => number;
179
+ resetResultsCount: () => void;
180
+ };
181
+ lastResult: () => Record<string, import("src/lib").SourceListItem> | undefined;
182
+ dependencies: [(state: RootState) => Record<string, import("src/lib").RoomState>];
183
+ recomputations: () => number;
184
+ resetRecomputations: () => void;
185
+ dependencyRecomputations: () => number;
186
+ resetDependencyRecomputations: () => void;
187
+ } & {
188
+ argsMemoize: typeof import("reselect").weakMapMemoize;
189
+ memoize: typeof import("reselect").weakMapMemoize;
190
+ };
191
+ export declare const selectRoomAudioControlPointList: (roomKey: string) => ((state: {
192
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
193
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
194
+ rooms: Record<string, import("src/lib").RoomState>;
195
+ devices: Record<string, import("src/lib").DeviceState>;
196
+ ui: import("src/lib").UiConfigState;
197
+ }) => import("src/lib").AudioControlPointListItem | undefined) & {
198
+ clearCache: () => void;
199
+ resultsCount: () => number;
200
+ resetResultsCount: () => void;
201
+ } & {
202
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => import("src/lib").AudioControlPointListItem | undefined;
203
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => import("src/lib").AudioControlPointListItem | undefined) & {
204
+ clearCache: () => void;
205
+ resultsCount: () => number;
206
+ resetResultsCount: () => void;
207
+ };
208
+ lastResult: () => import("src/lib").AudioControlPointListItem | undefined;
209
+ dependencies: [(state: RootState) => Record<string, import("src/lib").RoomState>];
210
+ recomputations: () => number;
211
+ resetRecomputations: () => void;
212
+ dependencyRecomputations: () => number;
213
+ resetDependencyRecomputations: () => void;
214
+ } & {
215
+ argsMemoize: typeof import("reselect").weakMapMemoize;
216
+ memoize: typeof import("reselect").weakMapMemoize;
217
+ };
218
+ export declare const selectRoomDestinations: (roomKey: string) => ((state: {
219
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
220
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
221
+ rooms: Record<string, import("src/lib").RoomState>;
222
+ devices: Record<string, import("src/lib").DeviceState>;
223
+ ui: import("src/lib").UiConfigState;
224
+ }) => Record<import("src/lib").DestinationTypes, string> | undefined) & {
225
+ clearCache: () => void;
226
+ resultsCount: () => number;
227
+ resetResultsCount: () => void;
228
+ } & {
229
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => Record<import("src/lib").DestinationTypes, string> | undefined;
230
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => Record<import("src/lib").DestinationTypes, string> | undefined) & {
231
+ clearCache: () => void;
232
+ resultsCount: () => number;
233
+ resetResultsCount: () => void;
234
+ };
235
+ lastResult: () => Record<import("src/lib").DestinationTypes, string> | undefined;
236
+ dependencies: [(state: RootState) => Record<string, import("src/lib").RoomState>];
237
+ recomputations: () => number;
238
+ resetRecomputations: () => void;
239
+ dependencyRecomputations: () => number;
240
+ resetDependencyRecomputations: () => void;
241
+ } & {
242
+ argsMemoize: typeof import("reselect").weakMapMemoize;
243
+ memoize: typeof import("reselect").weakMapMemoize;
244
+ };
245
+ export declare const selectRoomDestinationList: (roomKey: string) => ((state: {
246
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
247
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
248
+ rooms: Record<string, import("src/lib").RoomState>;
249
+ devices: Record<string, import("src/lib").DeviceState>;
250
+ ui: import("src/lib").UiConfigState;
251
+ }) => Record<string, import("src/lib").DestinationListItem> | undefined) & {
252
+ clearCache: () => void;
253
+ resultsCount: () => number;
254
+ resetResultsCount: () => void;
255
+ } & {
256
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => Record<string, import("src/lib").DestinationListItem> | undefined;
257
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => Record<string, import("src/lib").DestinationListItem> | undefined) & {
258
+ clearCache: () => void;
259
+ resultsCount: () => number;
260
+ resetResultsCount: () => void;
261
+ };
262
+ lastResult: () => Record<string, import("src/lib").DestinationListItem> | undefined;
263
+ dependencies: [(state: RootState) => Record<string, import("src/lib").RoomState>];
264
+ recomputations: () => number;
265
+ resetRecomputations: () => void;
266
+ dependencyRecomputations: () => number;
267
+ resetDependencyRecomputations: () => void;
268
+ } & {
269
+ argsMemoize: typeof import("reselect").weakMapMemoize;
270
+ memoize: typeof import("reselect").weakMapMemoize;
271
+ };
272
+ export declare const selectRoomEnvironmentalDevices: (roomKey: string) => ((state: {
273
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
274
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
275
+ rooms: Record<string, import("src/lib").RoomState>;
276
+ devices: Record<string, import("src/lib").DeviceState>;
277
+ ui: import("src/lib").UiConfigState;
278
+ }) => import("src/lib").EnvironmentalDeviceConfiguration[] | undefined) & {
279
+ clearCache: () => void;
280
+ resultsCount: () => number;
281
+ resetResultsCount: () => void;
282
+ } & {
283
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => import("src/lib").EnvironmentalDeviceConfiguration[] | undefined;
284
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => import("src/lib").EnvironmentalDeviceConfiguration[] | undefined) & {
285
+ clearCache: () => void;
286
+ resultsCount: () => number;
287
+ resetResultsCount: () => void;
288
+ };
289
+ lastResult: () => import("src/lib").EnvironmentalDeviceConfiguration[] | undefined;
290
+ dependencies: [(state: RootState) => Record<string, import("src/lib").RoomState>];
291
+ recomputations: () => number;
292
+ resetRecomputations: () => void;
293
+ dependencyRecomputations: () => number;
294
+ resetDependencyRecomputations: () => void;
295
+ } & {
296
+ argsMemoize: typeof import("reselect").weakMapMemoize;
297
+ memoize: typeof import("reselect").weakMapMemoize;
298
+ };
299
+ export declare const selectRoomProgramAudioDestinationKey: (roomKey: string) => ((state: {
300
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
301
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
302
+ rooms: Record<string, import("src/lib").RoomState>;
303
+ devices: Record<string, import("src/lib").DeviceState>;
304
+ ui: import("src/lib").UiConfigState;
305
+ }) => string | undefined) & {
306
+ clearCache: () => void;
307
+ resultsCount: () => number;
308
+ resetResultsCount: () => void;
309
+ } & {
310
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => string | undefined;
311
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => string | undefined) & {
312
+ clearCache: () => void;
313
+ resultsCount: () => number;
314
+ resetResultsCount: () => void;
315
+ };
316
+ lastResult: () => string | undefined;
317
+ dependencies: [(state: RootState) => Record<string, import("src/lib").RoomState>];
318
+ recomputations: () => number;
319
+ resetRecomputations: () => void;
320
+ dependencyRecomputations: () => number;
321
+ resetDependencyRecomputations: () => void;
322
+ } & {
323
+ argsMemoize: typeof import("reselect").weakMapMemoize;
324
+ memoize: typeof import("reselect").weakMapMemoize;
325
+ };
326
+ export declare const selectRoomCodecContentDestinationKey: (roomKey: string) => ((state: {
327
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
328
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
329
+ rooms: Record<string, import("src/lib").RoomState>;
330
+ devices: Record<string, import("src/lib").DeviceState>;
331
+ ui: import("src/lib").UiConfigState;
332
+ }) => string | undefined) & {
333
+ clearCache: () => void;
334
+ resultsCount: () => number;
335
+ resetResultsCount: () => void;
336
+ } & {
337
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => string | undefined;
338
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => string | undefined) & {
339
+ clearCache: () => void;
340
+ resultsCount: () => number;
341
+ resetResultsCount: () => void;
342
+ };
343
+ lastResult: () => string | undefined;
344
+ dependencies: [(state: RootState) => Record<string, import("src/lib").RoomState>];
345
+ recomputations: () => number;
346
+ resetRecomputations: () => void;
347
+ dependencyRecomputations: () => number;
348
+ resetDependencyRecomputations: () => void;
349
+ } & {
350
+ argsMemoize: typeof import("reselect").weakMapMemoize;
351
+ memoize: typeof import("reselect").weakMapMemoize;
352
+ };
353
+ export declare const selectRoomInCall: (roomKey: string) => ((state: {
354
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
355
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
356
+ rooms: Record<string, import("src/lib").RoomState>;
357
+ devices: Record<string, import("src/lib").DeviceState>;
358
+ ui: import("src/lib").UiConfigState;
359
+ }) => boolean | undefined) & {
360
+ clearCache: () => void;
361
+ resultsCount: () => number;
362
+ resetResultsCount: () => void;
363
+ } & {
364
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => boolean | undefined;
365
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => boolean | undefined) & {
366
+ clearCache: () => void;
367
+ resultsCount: () => number;
368
+ resetResultsCount: () => void;
369
+ };
370
+ lastResult: () => boolean | undefined;
371
+ dependencies: [(state: RootState) => Record<string, import("src/lib").RoomState>];
372
+ recomputations: () => number;
373
+ resetRecomputations: () => void;
374
+ dependencyRecomputations: () => number;
375
+ resetDependencyRecomputations: () => void;
376
+ } & {
377
+ argsMemoize: typeof import("reselect").weakMapMemoize;
378
+ memoize: typeof import("reselect").weakMapMemoize;
379
+ };
380
+ export declare const selectRoomIsWarmingUp: (roomKey: string) => ((state: {
381
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
382
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
383
+ rooms: Record<string, import("src/lib").RoomState>;
384
+ devices: Record<string, import("src/lib").DeviceState>;
385
+ ui: import("src/lib").UiConfigState;
386
+ }) => boolean | undefined) & {
387
+ clearCache: () => void;
388
+ resultsCount: () => number;
389
+ resetResultsCount: () => void;
390
+ } & {
391
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => boolean | undefined;
392
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => boolean | undefined) & {
393
+ clearCache: () => void;
394
+ resultsCount: () => number;
395
+ resetResultsCount: () => void;
396
+ };
397
+ lastResult: () => boolean | undefined;
398
+ dependencies: [(state: RootState) => Record<string, import("src/lib").RoomState>];
399
+ recomputations: () => number;
400
+ resetRecomputations: () => void;
401
+ dependencyRecomputations: () => number;
402
+ resetDependencyRecomputations: () => void;
403
+ } & {
404
+ argsMemoize: typeof import("reselect").weakMapMemoize;
405
+ memoize: typeof import("reselect").weakMapMemoize;
406
+ };
407
+ export declare const selectRoomIsCoolingDown: (roomKey: string) => ((state: {
408
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
409
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
410
+ rooms: Record<string, import("src/lib").RoomState>;
411
+ devices: Record<string, import("src/lib").DeviceState>;
412
+ ui: import("src/lib").UiConfigState;
413
+ }) => boolean | undefined) & {
414
+ clearCache: () => void;
415
+ resultsCount: () => number;
416
+ resetResultsCount: () => void;
417
+ } & {
418
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => boolean | undefined;
419
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => boolean | undefined) & {
420
+ clearCache: () => void;
421
+ resultsCount: () => number;
422
+ resetResultsCount: () => void;
423
+ };
424
+ lastResult: () => boolean | undefined;
425
+ dependencies: [(state: RootState) => Record<string, import("src/lib").RoomState>];
426
+ recomputations: () => number;
427
+ resetRecomputations: () => void;
428
+ dependencyRecomputations: () => number;
429
+ resetDependencyRecomputations: () => void;
430
+ } & {
431
+ argsMemoize: typeof import("reselect").weakMapMemoize;
432
+ memoize: typeof import("reselect").weakMapMemoize;
433
+ };
434
+ export declare const selectRoomIsOn: (roomKey: string) => ((state: {
435
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
436
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
437
+ rooms: Record<string, import("src/lib").RoomState>;
438
+ devices: Record<string, import("src/lib").DeviceState>;
439
+ ui: import("src/lib").UiConfigState;
440
+ }) => boolean | undefined) & {
441
+ clearCache: () => void;
442
+ resultsCount: () => number;
443
+ resetResultsCount: () => void;
444
+ } & {
445
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => boolean | undefined;
446
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => boolean | undefined) & {
447
+ clearCache: () => void;
448
+ resultsCount: () => number;
449
+ resetResultsCount: () => void;
450
+ };
451
+ lastResult: () => boolean | undefined;
452
+ dependencies: [(state: RootState) => Record<string, import("src/lib").RoomState>];
453
+ recomputations: () => number;
454
+ resetRecomputations: () => void;
455
+ dependencyRecomputations: () => number;
456
+ resetDependencyRecomputations: () => void;
457
+ } & {
458
+ argsMemoize: typeof import("reselect").weakMapMemoize;
459
+ memoize: typeof import("reselect").weakMapMemoize;
460
+ };
461
+ export declare const selectRoomAdvancedSharingActive: (roomKey: string) => ((state: {
462
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
463
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
464
+ rooms: Record<string, import("src/lib").RoomState>;
465
+ devices: Record<string, import("src/lib").DeviceState>;
466
+ ui: import("src/lib").UiConfigState;
467
+ }) => boolean | undefined) & {
468
+ clearCache: () => void;
469
+ resultsCount: () => number;
470
+ resetResultsCount: () => void;
471
+ } & {
472
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => boolean | undefined;
473
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => boolean | undefined) & {
474
+ clearCache: () => void;
475
+ resultsCount: () => number;
476
+ resetResultsCount: () => void;
477
+ };
478
+ lastResult: () => boolean | undefined;
479
+ dependencies: [(state: RootState) => Record<string, import("src/lib").RoomState>];
480
+ recomputations: () => number;
481
+ resetRecomputations: () => void;
482
+ dependencyRecomputations: () => number;
483
+ resetDependencyRecomputations: () => void;
484
+ } & {
485
+ argsMemoize: typeof import("reselect").weakMapMemoize;
486
+ memoize: typeof import("reselect").weakMapMemoize;
487
+ };
488
+ export declare const selectRoomShareState: (roomKey: string) => ((state: {
489
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
490
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
491
+ rooms: Record<string, import("src/lib").RoomState>;
492
+ devices: Record<string, import("src/lib").DeviceState>;
493
+ ui: import("src/lib").UiConfigState;
494
+ }) => import("src/lib").ShareState | undefined) & {
495
+ clearCache: () => void;
496
+ resultsCount: () => number;
497
+ resetResultsCount: () => void;
498
+ } & {
499
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => import("src/lib").ShareState | undefined;
500
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => import("src/lib").ShareState | undefined) & {
501
+ clearCache: () => void;
502
+ resultsCount: () => number;
503
+ resetResultsCount: () => void;
504
+ };
505
+ lastResult: () => import("src/lib").ShareState | undefined;
506
+ dependencies: [(state: RootState) => Record<string, import("src/lib").RoomState>];
507
+ recomputations: () => number;
508
+ resetRecomputations: () => void;
509
+ dependencyRecomputations: () => number;
510
+ resetDependencyRecomputations: () => void;
511
+ } & {
512
+ argsMemoize: typeof import("reselect").weakMapMemoize;
513
+ memoize: typeof import("reselect").weakMapMemoize;
514
+ };
515
+ export declare const selectZoomRoomControllerKey: (roomKey: string) => ((state: {
516
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
517
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
518
+ rooms: Record<string, import("src/lib").RoomState>;
519
+ devices: Record<string, import("src/lib").DeviceState>;
520
+ ui: import("src/lib").UiConfigState;
521
+ }) => string | undefined) & {
522
+ clearCache: () => void;
523
+ resultsCount: () => number;
524
+ resetResultsCount: () => void;
525
+ } & {
526
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => string | undefined;
527
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").RoomState>) => string | undefined) & {
528
+ clearCache: () => void;
529
+ resultsCount: () => number;
530
+ resetResultsCount: () => void;
531
+ };
532
+ lastResult: () => string | undefined;
533
+ dependencies: [(state: RootState) => Record<string, import("src/lib").RoomState>];
534
+ recomputations: () => number;
535
+ resetRecomputations: () => void;
536
+ dependencyRecomputations: () => number;
537
+ resetDependencyRecomputations: () => void;
538
+ } & {
539
+ argsMemoize: typeof import("reselect").weakMapMemoize;
540
+ memoize: typeof import("reselect").weakMapMemoize;
541
+ };
24
542
  /**
25
543
  * Get the display states for the room
26
544
  * Exludes the programAudio and codecContent destinations
27
545
  * @param roomKey
28
546
  * @returns the display states for the room's displays
29
547
  */
30
- export declare const useGetRoomDisplayStates: (roomKey: string) => DisplayState[] | undefined;
31
- export declare const useGetZoomRoomControllerKey: (roomKey: string) => string | undefined;
548
+ export declare const selectRoomDisplayStates: ((state: {
549
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
550
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
551
+ rooms: Record<string, import("src/lib").RoomState>;
552
+ devices: Record<string, import("src/lib").DeviceState>;
553
+ ui: import("src/lib").UiConfigState;
554
+ }, roomKey: string) => DisplayState[] | undefined) & {
555
+ clearCache: () => void;
556
+ resultsCount: () => number;
557
+ resetResultsCount: () => void;
558
+ } & {
559
+ resultFunc: (resultFuncArgs_0: string, resultFuncArgs_1: ((state: {
560
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
561
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
562
+ rooms: Record<string, import("src/lib").RoomState>;
563
+ devices: Record<string, import("src/lib").DeviceState>;
564
+ ui: import("src/lib").UiConfigState;
565
+ }) => Record<string, import("src/lib").DeviceState>) & {
566
+ clearCache: () => void;
567
+ resultsCount: () => number;
568
+ resetResultsCount: () => void;
569
+ } & {
570
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").DeviceState>) => Record<string, import("src/lib").DeviceState>;
571
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").DeviceState>) => Record<string, import("src/lib").DeviceState>) & {
572
+ clearCache: () => void;
573
+ resultsCount: () => number;
574
+ resetResultsCount: () => void;
575
+ };
576
+ lastResult: () => Record<string, import("src/lib").DeviceState>;
577
+ dependencies: [(state: {
578
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
579
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
580
+ rooms: Record<string, import("src/lib").RoomState>;
581
+ devices: Record<string, import("src/lib").DeviceState>;
582
+ ui: import("src/lib").UiConfigState;
583
+ }) => Record<string, import("src/lib").DeviceState>];
584
+ recomputations: () => number;
585
+ resetRecomputations: () => void;
586
+ dependencyRecomputations: () => number;
587
+ resetDependencyRecomputations: () => void;
588
+ } & {
589
+ argsMemoize: typeof import("reselect").weakMapMemoize;
590
+ memoize: typeof import("reselect").weakMapMemoize;
591
+ }, resultFuncArgs_2: Record<import("src/lib").DestinationTypes, string> | undefined) => DisplayState[] | undefined;
592
+ memoizedResultFunc: ((resultFuncArgs_0: string, resultFuncArgs_1: ((state: {
593
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
594
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
595
+ rooms: Record<string, import("src/lib").RoomState>;
596
+ devices: Record<string, import("src/lib").DeviceState>;
597
+ ui: import("src/lib").UiConfigState;
598
+ }) => Record<string, import("src/lib").DeviceState>) & {
599
+ clearCache: () => void;
600
+ resultsCount: () => number;
601
+ resetResultsCount: () => void;
602
+ } & {
603
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").DeviceState>) => Record<string, import("src/lib").DeviceState>;
604
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").DeviceState>) => Record<string, import("src/lib").DeviceState>) & {
605
+ clearCache: () => void;
606
+ resultsCount: () => number;
607
+ resetResultsCount: () => void;
608
+ };
609
+ lastResult: () => Record<string, import("src/lib").DeviceState>;
610
+ dependencies: [(state: {
611
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
612
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
613
+ rooms: Record<string, import("src/lib").RoomState>;
614
+ devices: Record<string, import("src/lib").DeviceState>;
615
+ ui: import("src/lib").UiConfigState;
616
+ }) => Record<string, import("src/lib").DeviceState>];
617
+ recomputations: () => number;
618
+ resetRecomputations: () => void;
619
+ dependencyRecomputations: () => number;
620
+ resetDependencyRecomputations: () => void;
621
+ } & {
622
+ argsMemoize: typeof import("reselect").weakMapMemoize;
623
+ memoize: typeof import("reselect").weakMapMemoize;
624
+ }, resultFuncArgs_2: Record<import("src/lib").DestinationTypes, string> | undefined) => DisplayState[] | undefined) & {
625
+ clearCache: () => void;
626
+ resultsCount: () => number;
627
+ resetResultsCount: () => void;
628
+ };
629
+ lastResult: () => DisplayState[] | undefined;
630
+ dependencies: [(state: RootState, roomKey: string) => string, () => ((state: {
631
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
632
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
633
+ rooms: Record<string, import("src/lib").RoomState>;
634
+ devices: Record<string, import("src/lib").DeviceState>;
635
+ ui: import("src/lib").UiConfigState;
636
+ }) => Record<string, import("src/lib").DeviceState>) & {
637
+ clearCache: () => void;
638
+ resultsCount: () => number;
639
+ resetResultsCount: () => void;
640
+ } & {
641
+ resultFunc: (resultFuncArgs_0: Record<string, import("src/lib").DeviceState>) => Record<string, import("src/lib").DeviceState>;
642
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("src/lib").DeviceState>) => Record<string, import("src/lib").DeviceState>) & {
643
+ clearCache: () => void;
644
+ resultsCount: () => number;
645
+ resetResultsCount: () => void;
646
+ };
647
+ lastResult: () => Record<string, import("src/lib").DeviceState>;
648
+ dependencies: [(state: {
649
+ appConfig: import("../appConfig/appConfig.slice").AppConfigState;
650
+ runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
651
+ rooms: Record<string, import("src/lib").RoomState>;
652
+ devices: Record<string, import("src/lib").DeviceState>;
653
+ ui: import("src/lib").UiConfigState;
654
+ }) => Record<string, import("src/lib").DeviceState>];
655
+ recomputations: () => number;
656
+ resetRecomputations: () => void;
657
+ dependencyRecomputations: () => number;
658
+ resetDependencyRecomputations: () => void;
659
+ } & {
660
+ argsMemoize: typeof import("reselect").weakMapMemoize;
661
+ memoize: typeof import("reselect").weakMapMemoize;
662
+ }, (state: RootState, roomKey: string) => Record<import("src/lib").DestinationTypes, string> | undefined];
663
+ recomputations: () => number;
664
+ resetRecomputations: () => void;
665
+ dependencyRecomputations: () => number;
666
+ resetDependencyRecomputations: () => void;
667
+ } & {
668
+ argsMemoize: typeof import("reselect").weakMapMemoize;
669
+ memoize: typeof import("reselect").weakMapMemoize;
670
+ };
32
671
  //# sourceMappingURL=rooms.selectors.d.ts.map