@whereby.com/core 0.36.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4691 @@
1
+ import * as _reduxjs_toolkit from '@reduxjs/toolkit';
2
+ import { ActionCreatorWithPayload, AsyncThunk, PayloadAction, AsyncThunkPayloadCreator, TypedStartListening, TypedAddListener, Selector } from '@reduxjs/toolkit';
3
+ import * as redux_thunk from 'redux-thunk';
4
+ import { AxiosRequestConfig } from 'axios';
5
+ import { EventEmitter } from 'events';
6
+ import * as redux from 'redux';
7
+ import * as _whereby_com_media from '@whereby.com/media';
8
+ import { RoleName, ChatMessage as ChatMessage$1, BreakoutConfig, getDeviceData, SignalClient, RtcStreamAddedPayload, AudioEnableRequest, VideoEnableRequest, RtcManagerCreatedPayload, RtcClientConnectionStatusChangedPayload, RtcManager, RtcManagerDispatcher, RtcEvents, AudioEnabledEvent, AudioEnableRequestedEvent, BreakoutGroupJoinedEvent, BreakoutSessionUpdatedEvent, ClientLeftEvent, ClientKickedEvent, ClientMetadataReceivedEvent, ClientUnableToJoinEvent, CloudRecordingStartedEvent, KnockerLeftEvent, KnockAcceptedEvent, KnockRejectedEvent, NewClientEvent, RoomJoinedEvent, RoomKnockedEvent, RoomLockedEvent, RoomSessionEndedEvent, ScreenshareStartedEvent, ScreenshareStoppedEvent, SpotlightAddedEvent, SpotlightRemovedEvent, VideoEnabledEvent, VideoEnableRequestedEvent, LiveTranscriptionStartedEvent, LiveTranscriptionStoppedEvent, ServerSocket, Spotlight } from '@whereby.com/media';
9
+ import * as immer from 'immer';
10
+ import * as reselect from 'reselect';
11
+
12
+ type Json = string | number | boolean | null | Array<Json> | {
13
+ [key: string]: Json;
14
+ };
15
+ interface ResponseOptions {
16
+ data?: Json;
17
+ headers?: Record<string, unknown>;
18
+ status?: number;
19
+ statusText?: string;
20
+ url?: string | null;
21
+ }
22
+ declare class Response {
23
+ data: Json;
24
+ headers: Record<string, unknown>;
25
+ status: number;
26
+ statusText: string;
27
+ url: string | null;
28
+ constructor(initialValues?: ResponseOptions);
29
+ }
30
+
31
+ declare class EmbeddedFreeTierStatus {
32
+ isExhausted: boolean;
33
+ renewsAt: Date;
34
+ totalMinutesLimit: number;
35
+ totalMinutesUsed: number;
36
+ constructor({ isExhausted, renewsAt, totalMinutesLimit, totalMinutesUsed, }: {
37
+ isExhausted: boolean;
38
+ renewsAt: Date;
39
+ totalMinutesLimit: number;
40
+ totalMinutesUsed: number;
41
+ });
42
+ static fromJson(data: Record<string, unknown>): EmbeddedFreeTierStatus;
43
+ }
44
+
45
+ interface AccountProps {
46
+ basePlanId: string | null;
47
+ isDeactivated: boolean;
48
+ isOnTrial: boolean;
49
+ onTrialUntil: Date | null;
50
+ trialStatus: string | null;
51
+ embeddedFreeTierStatus: EmbeddedFreeTierStatus | null;
52
+ }
53
+ declare class Account {
54
+ basePlanId: string | null;
55
+ embeddedFreeTierStatus: EmbeddedFreeTierStatus | null;
56
+ isDeactivated: boolean;
57
+ isOnTrial: boolean;
58
+ onTrialUntil: Date | null;
59
+ trialStatus: string | null;
60
+ constructor({ basePlanId, embeddedFreeTierStatus, isDeactivated, isOnTrial, onTrialUntil, trialStatus, }: AccountProps);
61
+ static fromJson(data: Record<string, unknown>): Account;
62
+ }
63
+
64
+ interface OrganizationPermissionAction {
65
+ isAllowed: boolean;
66
+ isSupported: boolean;
67
+ }
68
+ interface FullOrganizationPermissions {
69
+ images: {
70
+ logoImageUrl: {
71
+ set: OrganizationPermissionAction;
72
+ reset: OrganizationPermissionAction;
73
+ };
74
+ roomBackgroundImageUrl: {
75
+ set: OrganizationPermissionAction;
76
+ reset: OrganizationPermissionAction;
77
+ };
78
+ roomKnockPageBackgroundImageUrl: {
79
+ set: OrganizationPermissionAction;
80
+ reset: OrganizationPermissionAction;
81
+ };
82
+ };
83
+ invitations: {
84
+ add: OrganizationPermissionAction;
85
+ delete: OrganizationPermissionAction;
86
+ list: OrganizationPermissionAction;
87
+ };
88
+ roles: {
89
+ set: OrganizationPermissionAction;
90
+ remove: OrganizationPermissionAction;
91
+ removeSelf: OrganizationPermissionAction;
92
+ list: OrganizationPermissionAction;
93
+ };
94
+ users: {
95
+ signUpWithoutInvitation: OrganizationPermissionAction;
96
+ };
97
+ rooms: {
98
+ customize: OrganizationPermissionAction;
99
+ customizeSelf: OrganizationPermissionAction;
100
+ list: OrganizationPermissionAction;
101
+ lock: OrganizationPermissionAction;
102
+ unclaim: OrganizationPermissionAction;
103
+ unclaimSelf: OrganizationPermissionAction;
104
+ };
105
+ subscriptions: {
106
+ add: OrganizationPermissionAction;
107
+ list: OrganizationPermissionAction;
108
+ payLatestInvoice: OrganizationPermissionAction;
109
+ updatePlan: OrganizationPermissionAction;
110
+ };
111
+ browserExtension: {
112
+ install: OrganizationPermissionAction;
113
+ };
114
+ }
115
+ type OrganizationPermissions = Partial<FullOrganizationPermissions>;
116
+ interface OrganizationLimits {
117
+ maxNumberOfInvitationsAndUsers: number | null;
118
+ maxNumberOfClaimedRooms: number | null;
119
+ maxRoomLimitPerOrganization: number | null;
120
+ trialMinutesLimit: number | null;
121
+ includedUnits: number | null;
122
+ }
123
+ interface OrganizationOnboardingSurvey {
124
+ name: string;
125
+ value: unknown;
126
+ }
127
+ type OrganizationPreferences = Record<string, boolean | string | null | number>;
128
+ declare class Organization {
129
+ static GLOBAL_ORGANIZATION_ID: string;
130
+ organizationId: string;
131
+ organizationName: string;
132
+ subdomain: string;
133
+ permissions: OrganizationPermissions;
134
+ limits: OrganizationLimits;
135
+ account: Account | null;
136
+ logoImageUrl: string | null;
137
+ roomBackgroundImageUrl: string | null;
138
+ roomBackgroundThumbnailUrl: string | null;
139
+ roomKnockPageBackgroundImageUrl: string | null;
140
+ roomKnockPageBackgroundThumbnailUrl: string | null;
141
+ preferences: OrganizationPreferences | null;
142
+ onboardingSurvey: OrganizationOnboardingSurvey | null;
143
+ type: string | null;
144
+ constructor(properties: {
145
+ account: Account | null;
146
+ organizationId: string;
147
+ organizationName: string;
148
+ subdomain: string;
149
+ permissions: OrganizationPermissions;
150
+ limits: OrganizationLimits;
151
+ logoImageUrl: string | null;
152
+ roomBackgroundImageUrl: string | null;
153
+ roomBackgroundThumbnailUrl: string | null;
154
+ roomKnockPageBackgroundImageUrl: string | null;
155
+ roomKnockPageBackgroundThumbnailUrl: string | null;
156
+ preferences: OrganizationPreferences | null;
157
+ onboardingSurvey: OrganizationOnboardingSurvey | null;
158
+ type: string | null;
159
+ });
160
+ static fromJson(data: Json): Organization;
161
+ }
162
+
163
+ type HttpClientRequestConfig = AxiosRequestConfig | {
164
+ [key: string]: unknown;
165
+ };
166
+ interface IHttpClient {
167
+ request(url: string, options: HttpClientRequestConfig): Promise<Response>;
168
+ }
169
+ declare class HttpClient implements IHttpClient {
170
+ _baseUrl: string;
171
+ constructor({ baseUrl }: {
172
+ baseUrl: string;
173
+ });
174
+ private _requestAxios;
175
+ request(url: string, options: HttpClientRequestConfig): Promise<Response>;
176
+ }
177
+
178
+ declare class MultipartHttpClient implements IHttpClient {
179
+ _httpClient: IHttpClient;
180
+ constructor({ httpClient }: {
181
+ httpClient: IHttpClient;
182
+ });
183
+ static dataToFormData(data: Record<string, string>): FormData;
184
+ request(url: string, options?: HttpClientRequestConfig): Promise<Response>;
185
+ }
186
+
187
+ interface CredentialsOptions {
188
+ uuid: string;
189
+ hmac: string;
190
+ userId?: string;
191
+ }
192
+ declare class Credentials {
193
+ credentials: {
194
+ uuid: CredentialsOptions["uuid"];
195
+ };
196
+ hmac: CredentialsOptions["hmac"];
197
+ userId: CredentialsOptions["userId"];
198
+ constructor(uuid: CredentialsOptions["uuid"], hmac: CredentialsOptions["hmac"], userId?: CredentialsOptions["userId"]);
199
+ toJson(): Json;
200
+ static fromJson(json: Json): Credentials;
201
+ }
202
+
203
+ interface AuthenticatedHttpClientOptions {
204
+ httpClient: HttpClient;
205
+ fetchDeviceCredentials: () => Promise<Credentials | null>;
206
+ }
207
+ declare class AuthenticatedHttpClient {
208
+ private _httpClient;
209
+ private _fetchDeviceCredentials;
210
+ constructor({ httpClient, fetchDeviceCredentials }: AuthenticatedHttpClientOptions);
211
+ request(url: string, options: HttpClientRequestConfig): Promise<Response>;
212
+ }
213
+ interface ApiClientOptions {
214
+ baseUrl?: string;
215
+ fetchDeviceCredentials?: AuthenticatedHttpClientOptions["fetchDeviceCredentials"];
216
+ }
217
+ declare class ApiClient {
218
+ authenticatedHttpClient: AuthenticatedHttpClient;
219
+ authenticatedFormDataHttpClient: MultipartHttpClient;
220
+ constructor({ baseUrl, fetchDeviceCredentials, }?: ApiClientOptions);
221
+ request(url: string, options: HttpClientRequestConfig): Promise<Response>;
222
+ requestMultipart(url: string, options: HttpClientRequestConfig): Promise<Response>;
223
+ }
224
+
225
+ declare class DeviceService {
226
+ _apiClient: ApiClient;
227
+ constructor({ apiClient }: {
228
+ apiClient: ApiClient;
229
+ });
230
+ getCredentials(): Promise<Credentials | null>;
231
+ }
232
+
233
+ interface AbstractStore {
234
+ loadOrDefault(defaultValue: Json): Promise<Json>;
235
+ save(value: Json): Promise<void>;
236
+ }
237
+
238
+ declare class CredentialsService extends EventEmitter {
239
+ _deviceService: DeviceService;
240
+ _credentialsStore: AbstractStore;
241
+ credentialsPromise?: Promise<Credentials | null>;
242
+ constructor({ deviceService, credentialsStore, }: {
243
+ deviceService: DeviceService;
244
+ credentialsStore: AbstractStore;
245
+ });
246
+ static create({ baseUrl, storeName, storeType, }: {
247
+ baseUrl: string;
248
+ storeName?: string;
249
+ storeType?: "localStorage" | "chromeStorage";
250
+ }): CredentialsService;
251
+ _fetchNewCredentialsFromApi(): Promise<Credentials | null>;
252
+ getCurrentCredentials(): Promise<Credentials | null>;
253
+ getCredentials(): Promise<Credentials | null>;
254
+ saveCredentials(credentials: Credentials): Promise<Credentials>;
255
+ setUserId(userId: string | null): Promise<void>;
256
+ }
257
+
258
+ type UserConsentAction = "accepted" | "rejected" | null;
259
+ type ConsentGrantRequest = {
260
+ readonly consentRevisionId: string;
261
+ readonly action: UserConsentAction;
262
+ };
263
+
264
+ declare class OrganizationService {
265
+ _apiClient: ApiClient;
266
+ constructor({ apiClient }: {
267
+ apiClient: ApiClient;
268
+ });
269
+ createOrganization({ organizationName, subdomain, owner, }: {
270
+ organizationName: string;
271
+ subdomain: string;
272
+ owner: {
273
+ email: string;
274
+ displayName: string;
275
+ verificationCode: string;
276
+ consents?: ReadonlyArray<ConsentGrantRequest>;
277
+ } | {
278
+ idToken: string;
279
+ displayName: string;
280
+ consents?: ReadonlyArray<ConsentGrantRequest>;
281
+ };
282
+ }): Promise<string>;
283
+ getOrganizationBySubdomain(subdomain: string): Promise<Organization | null>;
284
+ getOrganizationByOrganizationId(organizationId: string): Promise<Organization | null>;
285
+ getOrganizationsByContactPoint(options: {
286
+ email: string;
287
+ code: string;
288
+ } | {
289
+ phoneNumber: string;
290
+ code: string;
291
+ }): Promise<ReadonlyArray<Organization>>;
292
+ getOrganizationsByIdToken({ idToken }: {
293
+ idToken: string;
294
+ }): Promise<ReadonlyArray<Organization>>;
295
+ getOrganizationsByLoggedInUser(): Promise<ReadonlyArray<Organization>>;
296
+ getSubdomainAvailability(subdomain: string): Promise<{
297
+ status: string;
298
+ }>;
299
+ updatePreferences({ organizationId, preferences, }: {
300
+ organizationId: string;
301
+ preferences: OrganizationPreferences;
302
+ }): Promise<undefined>;
303
+ deleteOrganization({ organizationId }: {
304
+ organizationId: string;
305
+ }): Promise<undefined>;
306
+ }
307
+
308
+ interface StickyReaction {
309
+ reaction: string;
310
+ timestamp: string;
311
+ }
312
+ interface RoomParticipantData {
313
+ displayName: string;
314
+ id: string;
315
+ stream?: MediaStream;
316
+ isAudioEnabled: boolean;
317
+ isVideoEnabled: boolean;
318
+ breakoutGroup: string | null;
319
+ stickyReaction?: StickyReaction | null;
320
+ isDialIn: boolean;
321
+ }
322
+ declare class RoomParticipant {
323
+ readonly displayName: string;
324
+ readonly id: string;
325
+ readonly stream?: MediaStream;
326
+ readonly isAudioEnabled: boolean;
327
+ readonly isLocalParticipant: boolean;
328
+ readonly isVideoEnabled: boolean;
329
+ readonly breakoutGroup: string | null;
330
+ readonly stickyReaction?: StickyReaction | null;
331
+ readonly isDialIn: boolean;
332
+ constructor({ displayName, id, stream, isAudioEnabled, isVideoEnabled, breakoutGroup, stickyReaction, isDialIn, }: RoomParticipantData);
333
+ }
334
+ type StreamState = "new_accept" | "to_accept" | "old_accept" | "done_accept" | "to_unaccept" | "done_unaccept" | "auto";
335
+ interface Stream {
336
+ id: string;
337
+ state: StreamState;
338
+ }
339
+ interface RemoteParticipant {
340
+ id: string;
341
+ displayName: string;
342
+ deviceId: string;
343
+ roleName: RoleName;
344
+ isAudioEnabled: boolean;
345
+ isVideoEnabled: boolean;
346
+ isLocalParticipant: boolean;
347
+ breakoutGroup: string | null;
348
+ stream: (MediaStream & {
349
+ inboundId?: string;
350
+ }) | null;
351
+ streams: Stream[];
352
+ newJoiner: boolean;
353
+ presentationStream: (MediaStream & {
354
+ inboundId?: string;
355
+ }) | null;
356
+ externalId: string | null;
357
+ stickyReaction?: StickyReaction | null;
358
+ isDialIn: boolean;
359
+ }
360
+ declare class LocalParticipant extends RoomParticipant {
361
+ readonly isLocalParticipant = true;
362
+ constructor({ displayName, id, stream, isAudioEnabled, isVideoEnabled, breakoutGroup, stickyReaction, isDialIn, }: RoomParticipantData);
363
+ }
364
+ interface WaitingParticipant {
365
+ id: string;
366
+ displayName: string | null;
367
+ }
368
+ interface Screenshare {
369
+ participantId: string;
370
+ id: string;
371
+ hasAudioTrack: boolean;
372
+ breakoutGroup: string | null;
373
+ stream?: MediaStream;
374
+ isLocal: boolean;
375
+ }
376
+
377
+ interface WaitingParticipantsState {
378
+ waitingParticipants: WaitingParticipant[];
379
+ }
380
+ declare const waitingParticipantsSliceInitialState: WaitingParticipantsState;
381
+ declare const waitingParticipantsSlice: _reduxjs_toolkit.Slice<WaitingParticipantsState, {}, "waitingParticipants", "waitingParticipants", _reduxjs_toolkit.SliceSelectors<WaitingParticipantsState>>;
382
+ declare const doAcceptWaitingParticipant: (args: {
383
+ participantId: string;
384
+ }) => AppThunk;
385
+ declare const doRejectWaitingParticipant: (args: {
386
+ participantId: string;
387
+ }) => AppThunk;
388
+ declare const selectWaitingParticipantsRaw: (state: RootState) => WaitingParticipantsState;
389
+ declare const selectWaitingParticipants: (state: RootState) => WaitingParticipant[];
390
+
391
+ interface StreamingState {
392
+ isStreaming: boolean;
393
+ error: unknown;
394
+ startedAt?: number;
395
+ }
396
+ declare const streamingSliceInitialState: StreamingState;
397
+ declare const streamingSlice: _reduxjs_toolkit.Slice<StreamingState, {
398
+ doHandleStreamingStarted: (state: immer.WritableDraft<StreamingState>) => {
399
+ isStreaming: true;
400
+ error: null;
401
+ startedAt: number;
402
+ };
403
+ doHandleStreamingStopped: (state: immer.WritableDraft<StreamingState>) => {
404
+ isStreaming: false;
405
+ error: unknown;
406
+ startedAt?: number | undefined;
407
+ };
408
+ }, "streaming", "streaming", _reduxjs_toolkit.SliceSelectors<StreamingState>>;
409
+ declare const doHandleStreamingStarted: _reduxjs_toolkit.ActionCreatorWithoutPayload<"streaming/doHandleStreamingStarted">;
410
+ declare const doHandleStreamingStopped: _reduxjs_toolkit.ActionCreatorWithoutPayload<"streaming/doHandleStreamingStopped">;
411
+ declare const selectStreamingRaw: (state: RootState) => StreamingState;
412
+
413
+ type RtcAnalyticsCustomEvent = {
414
+ actions: Array<ActionCreatorWithPayload<any> | AsyncThunk<any, any, ThunkConfig>["fulfilled"]> | null;
415
+ rtcEventName: string;
416
+ getValue: (state: RootState) => unknown;
417
+ getOutput: (value: unknown) => unknown;
418
+ };
419
+ declare const rtcAnalyticsCustomEvents: {
420
+ [key: string]: RtcAnalyticsCustomEvent;
421
+ };
422
+ interface rtcAnalyticsState {
423
+ reportedValues: {
424
+ [key: string]: unknown;
425
+ };
426
+ }
427
+ declare const rtcAnalyticsSliceInitialState: rtcAnalyticsState;
428
+ declare const rtcAnalyticsSlice: _reduxjs_toolkit.Slice<rtcAnalyticsState, {
429
+ updateReportedValues(state: immer.WritableDraft<rtcAnalyticsState>, action: PayloadAction<{
430
+ rtcEventName: string;
431
+ value: unknown;
432
+ }>): {
433
+ reportedValues: {
434
+ [x: string]: unknown;
435
+ };
436
+ };
437
+ }, "rtcAnalytics", "rtcAnalytics", _reduxjs_toolkit.SliceSelectors<rtcAnalyticsState>>;
438
+ declare const doRtcAnalyticsCustomEventsInitialize: (args: void) => AppThunk;
439
+ declare const updateReportedValues: ActionCreatorWithPayload<{
440
+ rtcEventName: string;
441
+ value: unknown;
442
+ }, "rtcAnalytics/updateReportedValues">;
443
+
444
+ type ChatMessage = Pick<ChatMessage$1, "senderId" | "timestamp" | "text">;
445
+ interface ChatState {
446
+ chatMessages: ChatMessage[];
447
+ }
448
+ declare const chatSliceInitialState: ChatState;
449
+ declare const chatSlice: _reduxjs_toolkit.Slice<ChatState, {}, "chat", "chat", _reduxjs_toolkit.SliceSelectors<ChatState>>;
450
+ declare const doSendChatMessage: (args: {
451
+ text: string;
452
+ isBroadcast?: boolean;
453
+ }) => AppThunk;
454
+ declare const selectChatRaw: (state: RootState) => ChatState;
455
+ declare const selectChatMessages: (state: RootState) => ChatMessage[];
456
+
457
+ interface NotificationEvent<Type = string, PropsType = unknown> {
458
+ type: Type;
459
+ message: string;
460
+ props: PropsType;
461
+ timestamp: number;
462
+ }
463
+ type Notification<Type, PropsType> = Omit<NotificationEvent<Type, PropsType>, "timestamp">;
464
+ interface RequestAudioEventProps {
465
+ client: RemoteParticipant;
466
+ enable: boolean;
467
+ }
468
+ type RequestAudioEvent = NotificationEvent<"requestAudioEnable" | "requestAudioDisable", RequestAudioEventProps>;
469
+ interface RequestVideoEventProps {
470
+ client: RemoteParticipant;
471
+ enable: boolean;
472
+ }
473
+ type RequestVideoEvent = NotificationEvent<"requestVideoEnable" | "requestVideoDisable", RequestVideoEventProps>;
474
+ interface ChatMessageEventProps {
475
+ client: RemoteParticipant;
476
+ chatMessage: ChatMessage;
477
+ }
478
+ type ChatMessageEvent = NotificationEvent<"chatMessageReceived", ChatMessageEventProps>;
479
+ interface SignalStatusEventProps {
480
+ }
481
+ type SignalStatusEvent = NotificationEvent<"signalTrouble" | "signalOk", SignalStatusEventProps>;
482
+ interface SignalClientEventProps {
483
+ }
484
+ type SignalClientEvent = NotificationEvent<"clientUnableToJoinFullRoom", SignalClientEventProps>;
485
+ interface StickyReactionEventProps {
486
+ client: RemoteParticipant;
487
+ stickyReaction?: {
488
+ reaction: string;
489
+ timestamp: string;
490
+ } | null;
491
+ }
492
+ type StickyReactionEvent = NotificationEvent<"remoteHandRaised" | "remoteHandLowered", StickyReactionEventProps>;
493
+ type NotificationEventTypes = {
494
+ ["requestAudioEnable"]: RequestAudioEvent;
495
+ ["requestAudioDisable"]: RequestAudioEvent;
496
+ ["chatMessageReceived"]: ChatMessageEvent;
497
+ ["remoteHandRaised"]: StickyReactionEvent;
498
+ ["remoteHandLowered"]: StickyReactionEvent;
499
+ ["signalTrouble"]: SignalStatusEvent;
500
+ ["signalOk"]: SignalStatusEvent;
501
+ ["clientUnableToJoinFullRoom"]: SignalClientEvent;
502
+ ["requestVideoEnable"]: RequestVideoEvent;
503
+ ["requestVideoDisable"]: RequestVideoEvent;
504
+ };
505
+ type NotificationEvents = NotificationEventTypes[keyof NotificationEventTypes];
506
+ type NotificationEventMap = {
507
+ "*": [NotificationEvents];
508
+ } & {
509
+ [Type in keyof NotificationEventTypes]: [NotificationEventTypes[Type]];
510
+ };
511
+
512
+ type NotificationsEventEmitter = EventEmitter<NotificationEventMap>;
513
+ interface NotificationsState {
514
+ emitter: NotificationsEventEmitter;
515
+ events: Array<NotificationEvent>;
516
+ }
517
+ declare const initialNotificationsState: NotificationsState;
518
+ declare const notificationsSlice: _reduxjs_toolkit.Slice<NotificationsState, {
519
+ addNotification: (state: immer.WritableDraft<NotificationsState>, action: PayloadAction<NotificationEvent>) => {
520
+ events: immer.WritableDraft<NotificationEvent<string, unknown>>[];
521
+ emitter: immer.WritableDraft<NotificationsEventEmitter>;
522
+ };
523
+ doClearNotifications: (state: immer.WritableDraft<NotificationsState>) => {
524
+ events: never[];
525
+ emitter: immer.WritableDraft<NotificationsEventEmitter>;
526
+ };
527
+ }, "notifications", "notifications", _reduxjs_toolkit.SliceSelectors<NotificationsState>>;
528
+ declare const doClearNotifications: _reduxjs_toolkit.ActionCreatorWithoutPayload<"notifications/doClearNotifications">;
529
+ declare const doSetNotification: (args: NotificationEvents) => AppThunk;
530
+ declare const selectNotificationsRaw: (state: RootState) => NotificationsState;
531
+ declare const selectNotificationsEvents: (state: RootState) => NotificationEvent<string, unknown>[];
532
+ declare const selectNotificationsEmitter: (state: RootState) => NotificationsEventEmitter;
533
+
534
+ interface LocalScreenshareState {
535
+ status: "inactive" | "starting" | "active";
536
+ stream: MediaStream | null;
537
+ error: unknown | null;
538
+ }
539
+ declare const localScreenshareSliceInitialState: LocalScreenshareState;
540
+ declare const localScreenshareSlice: _reduxjs_toolkit.Slice<LocalScreenshareState, {
541
+ stopScreenshare(state: immer.WritableDraft<LocalScreenshareState>, action: PayloadAction<{
542
+ stream: MediaStream;
543
+ }>): {
544
+ status: "inactive";
545
+ stream: null;
546
+ error: unknown | null;
547
+ };
548
+ }, "localScreenshare", "localScreenshare", _reduxjs_toolkit.SliceSelectors<LocalScreenshareState>>;
549
+ declare const stopScreenshare: _reduxjs_toolkit.ActionCreatorWithPayload<{
550
+ stream: MediaStream;
551
+ }, "localScreenshare/stopScreenshare">;
552
+ declare const doStartScreenshare: _reduxjs_toolkit.AsyncThunk<{
553
+ stream: MediaStream;
554
+ }, undefined, ThunkConfig>;
555
+ declare const doStopScreenshare: (args: void) => AppThunk;
556
+ declare const selectLocalScreenshareRaw: (state: RootState) => LocalScreenshareState;
557
+ declare const selectLocalScreenshareStatus: (state: RootState) => "inactive" | "starting" | "active";
558
+ declare const selectLocalScreenshareStream: (state: RootState) => MediaStream | null;
559
+
560
+ interface LocalParticipantState extends LocalParticipant {
561
+ isScreenSharing: boolean;
562
+ roleName: RoleName;
563
+ clientClaim?: string;
564
+ breakoutGroupAssigned: string;
565
+ }
566
+ declare const localParticipantSliceInitialState: LocalParticipantState;
567
+ declare const localParticipantSlice: _reduxjs_toolkit.Slice<LocalParticipantState, {
568
+ setDisplayName: (state: immer.WritableDraft<LocalParticipantState>, action: PayloadAction<{
569
+ displayName: string;
570
+ }>) => {
571
+ displayName: string;
572
+ isScreenSharing: boolean;
573
+ roleName: RoleName;
574
+ clientClaim?: string | undefined;
575
+ breakoutGroupAssigned: string;
576
+ isLocalParticipant: true;
577
+ id: string;
578
+ stream?: immer.WritableDraft<MediaStream> | undefined;
579
+ isAudioEnabled: boolean;
580
+ isVideoEnabled: boolean;
581
+ breakoutGroup: string | null;
582
+ stickyReaction?: immer.WritableDraft<StickyReaction> | null | undefined;
583
+ isDialIn: boolean;
584
+ };
585
+ setBreakoutGroupAssigned: (state: immer.WritableDraft<LocalParticipantState>, action: PayloadAction<{
586
+ breakoutGroupAssigned: string;
587
+ }>) => {
588
+ breakoutGroupAssigned: string;
589
+ isScreenSharing: boolean;
590
+ roleName: RoleName;
591
+ clientClaim?: string | undefined;
592
+ isLocalParticipant: true;
593
+ displayName: string;
594
+ id: string;
595
+ stream?: immer.WritableDraft<MediaStream> | undefined;
596
+ isAudioEnabled: boolean;
597
+ isVideoEnabled: boolean;
598
+ breakoutGroup: string | null;
599
+ stickyReaction?: immer.WritableDraft<StickyReaction> | null | undefined;
600
+ isDialIn: boolean;
601
+ };
602
+ }, "localParticipant", "localParticipant", _reduxjs_toolkit.SliceSelectors<LocalParticipantState>>;
603
+ declare const setDisplayName: _reduxjs_toolkit.ActionCreatorWithPayload<{
604
+ displayName: string;
605
+ }, "localParticipant/setDisplayName">;
606
+ declare const setBreakoutGroupAssigned: _reduxjs_toolkit.ActionCreatorWithPayload<{
607
+ breakoutGroupAssigned: string;
608
+ }, "localParticipant/setBreakoutGroupAssigned">;
609
+ declare const doSetDisplayName: (args: {
610
+ displayName: string;
611
+ }) => AppThunk;
612
+ declare const doEnableAudio: _reduxjs_toolkit.AsyncThunk<boolean, {
613
+ enabled: boolean;
614
+ }, ThunkConfig>;
615
+ declare const doEnableVideo: _reduxjs_toolkit.AsyncThunk<boolean, {
616
+ enabled: boolean;
617
+ }, ThunkConfig>;
618
+ declare const doSetLocalStickyReaction: _reduxjs_toolkit.AsyncThunk<{
619
+ reaction: string;
620
+ timestamp: string;
621
+ } | null, {
622
+ enabled?: boolean;
623
+ }, ThunkConfig>;
624
+ declare const doSendClientMetadata: (args: void) => AppThunk;
625
+
626
+ interface CloudRecordingState {
627
+ isRecording: boolean;
628
+ error: unknown;
629
+ status?: "recording" | "requested" | "error";
630
+ startedAt?: number;
631
+ }
632
+ declare const initialCloudRecordingState: CloudRecordingState;
633
+ declare const cloudRecordingSlice: _reduxjs_toolkit.Slice<CloudRecordingState, {
634
+ recordingRequestStarted: (state: immer.WritableDraft<CloudRecordingState>) => {
635
+ status: "requested";
636
+ isRecording: boolean;
637
+ error: unknown;
638
+ startedAt?: number | undefined;
639
+ };
640
+ }, "cloudRecording", "cloudRecording", _reduxjs_toolkit.SliceSelectors<CloudRecordingState>>;
641
+ declare const recordingRequestStarted: _reduxjs_toolkit.ActionCreatorWithoutPayload<"cloudRecording/recordingRequestStarted">;
642
+ declare const doStartCloudRecording: (args: void) => AppThunk;
643
+ declare const doStopCloudRecording: (args: void) => AppThunk;
644
+ declare const selectCloudRecordingRaw: (state: RootState) => CloudRecordingState;
645
+ declare const selectCloudRecordingStatus: (state: RootState) => "error" | "recording" | "requested" | undefined;
646
+ declare const selectCloudRecordingStartedAt: (state: RootState) => number | undefined;
647
+ declare const selectCloudRecordingError: (state: RootState) => unknown;
648
+ declare const selectIsCloudRecording: (state: RootState) => boolean;
649
+
650
+ interface AppConfig {
651
+ isNodeSdk?: boolean;
652
+ isDialIn?: boolean;
653
+ ignoreBreakoutGroups?: boolean;
654
+ displayName: string;
655
+ localMediaOptions?: LocalMediaOptions;
656
+ roomKey: string | null;
657
+ roomUrl: string;
658
+ userAgent?: string;
659
+ externalId: string | null;
660
+ }
661
+ interface AppState {
662
+ isNodeSdk: boolean;
663
+ isActive: boolean;
664
+ isDialIn: boolean;
665
+ ignoreBreakoutGroups: boolean;
666
+ roomUrl: string | null;
667
+ roomName: string | null;
668
+ displayName: string | null;
669
+ userAgent: string | null;
670
+ externalId: string | null;
671
+ initialConfig?: AppConfig;
672
+ }
673
+ declare const initialState: AppState;
674
+ declare const appSlice: _reduxjs_toolkit.Slice<AppState, {
675
+ doAppStart: (state: immer.WritableDraft<AppState>, action: PayloadAction<AppConfig>) => {
676
+ roomName: string;
677
+ initialConfig: {
678
+ isNodeSdk?: boolean;
679
+ isDialIn?: boolean;
680
+ ignoreBreakoutGroups?: boolean;
681
+ displayName: string;
682
+ localMediaOptions?: LocalMediaOptions;
683
+ roomKey: string | null;
684
+ roomUrl: string;
685
+ userAgent?: string;
686
+ externalId: string | null;
687
+ };
688
+ isActive: true;
689
+ isNodeSdk: boolean;
690
+ isDialIn: boolean;
691
+ ignoreBreakoutGroups: boolean;
692
+ displayName: string;
693
+ localMediaOptions?: LocalMediaOptions;
694
+ roomKey: string | null;
695
+ roomUrl: string;
696
+ userAgent: string | null;
697
+ externalId: string | null;
698
+ };
699
+ doAppStop: (state: immer.WritableDraft<AppState>) => {
700
+ isActive: false;
701
+ isNodeSdk: boolean;
702
+ isDialIn: boolean;
703
+ ignoreBreakoutGroups: boolean;
704
+ roomUrl: string | null;
705
+ roomName: string | null;
706
+ displayName: string | null;
707
+ userAgent: string | null;
708
+ externalId: string | null;
709
+ initialConfig?: immer.WritableDraft<AppConfig> | undefined;
710
+ };
711
+ }, "app", "app", _reduxjs_toolkit.SliceSelectors<AppState>>;
712
+ declare const doAppStop: _reduxjs_toolkit.ActionCreatorWithoutPayload<"app/doAppStop">;
713
+ declare const doAppStart: _reduxjs_toolkit.ActionCreatorWithPayload<AppConfig, "app/doAppStart">;
714
+ declare const selectAppRaw: (state: RootState) => AppState;
715
+ declare const selectAppIsActive: (state: RootState) => boolean;
716
+ declare const selectAppIsDialIn: (state: RootState) => boolean;
717
+ declare const selectAppRoomName: (state: RootState) => string | null;
718
+ declare const selectAppRoomUrl: (state: RootState) => string | null;
719
+ declare const selectAppDisplayName: (state: RootState) => string | null;
720
+ declare const selectAppUserAgent: (state: RootState) => string | null;
721
+ declare const selectAppExternalId: (state: RootState) => string | null;
722
+ declare const selectAppIsNodeSdk: (state: RootState) => boolean;
723
+ declare const selectAppInitialConfig: (state: RootState) => AppConfig | undefined;
724
+ declare const selectAppIgnoreBreakoutGroups: (state: RootState) => boolean;
725
+
726
+ interface AuthorizationState {
727
+ roomKey: string | null;
728
+ roleName: RoleName;
729
+ }
730
+ declare const authorizationSliceInitialState: AuthorizationState;
731
+ declare const authorizationSlice: _reduxjs_toolkit.Slice<AuthorizationState, {
732
+ setRoomKey: (state: immer.WritableDraft<AuthorizationState>, action: PayloadAction<string | null>) => {
733
+ roomKey: string | null;
734
+ roleName: RoleName;
735
+ };
736
+ }, "authorization", "authorization", _reduxjs_toolkit.SliceSelectors<AuthorizationState>>;
737
+ declare const setRoomKey: _reduxjs_toolkit.ActionCreatorWithPayload<string | null, "authorization/setRoomKey">;
738
+ declare const selectRoomKey: (state: RootState) => string | null;
739
+ declare const selectAuthorizationRoleName: (state: RootState) => RoleName;
740
+ declare const selectIsAuthorizedToLockRoom: ((state: {
741
+ app: AppState;
742
+ authorization: AuthorizationState;
743
+ breakout: BreakoutState;
744
+ chat: ChatState;
745
+ cloudRecording: CloudRecordingState;
746
+ connectionMonitor: ConnectionMonitorState;
747
+ deviceCredentials: DeviceCredentialsState;
748
+ localMedia: LocalMediaState;
749
+ localParticipant: LocalParticipantState;
750
+ localScreenshare: LocalScreenshareState;
751
+ notifications: NotificationsState;
752
+ organization: OrganizationState;
753
+ remoteParticipants: RemoteParticipantState;
754
+ room: RoomState;
755
+ roomConnection: RoomConnectionState;
756
+ rtcAnalytics: rtcAnalyticsState;
757
+ rtcConnection: RtcConnectionState;
758
+ signalConnection: SignalConnectionState;
759
+ spotlights: SpotlightsState;
760
+ streaming: StreamingState;
761
+ waitingParticipants: WaitingParticipantsState;
762
+ }) => boolean) & {
763
+ clearCache: () => void;
764
+ resultsCount: () => number;
765
+ resetResultsCount: () => void;
766
+ } & {
767
+ resultFunc: (resultFuncArgs_0: RoleName) => boolean;
768
+ memoizedResultFunc: ((resultFuncArgs_0: RoleName) => boolean) & {
769
+ clearCache: () => void;
770
+ resultsCount: () => number;
771
+ resetResultsCount: () => void;
772
+ };
773
+ lastResult: () => boolean;
774
+ dependencies: [(state: RootState) => RoleName];
775
+ recomputations: () => number;
776
+ resetRecomputations: () => void;
777
+ dependencyRecomputations: () => number;
778
+ resetDependencyRecomputations: () => void;
779
+ } & {
780
+ argsMemoize: typeof reselect.weakMapMemoize;
781
+ memoize: typeof reselect.weakMapMemoize;
782
+ };
783
+ declare const selectIsAuthorizedToRequestAudioEnable: ((state: {
784
+ app: AppState;
785
+ authorization: AuthorizationState;
786
+ breakout: BreakoutState;
787
+ chat: ChatState;
788
+ cloudRecording: CloudRecordingState;
789
+ connectionMonitor: ConnectionMonitorState;
790
+ deviceCredentials: DeviceCredentialsState;
791
+ localMedia: LocalMediaState;
792
+ localParticipant: LocalParticipantState;
793
+ localScreenshare: LocalScreenshareState;
794
+ notifications: NotificationsState;
795
+ organization: OrganizationState;
796
+ remoteParticipants: RemoteParticipantState;
797
+ room: RoomState;
798
+ roomConnection: RoomConnectionState;
799
+ rtcAnalytics: rtcAnalyticsState;
800
+ rtcConnection: RtcConnectionState;
801
+ signalConnection: SignalConnectionState;
802
+ spotlights: SpotlightsState;
803
+ streaming: StreamingState;
804
+ waitingParticipants: WaitingParticipantsState;
805
+ }) => boolean) & {
806
+ clearCache: () => void;
807
+ resultsCount: () => number;
808
+ resetResultsCount: () => void;
809
+ } & {
810
+ resultFunc: (resultFuncArgs_0: RoleName) => boolean;
811
+ memoizedResultFunc: ((resultFuncArgs_0: RoleName) => boolean) & {
812
+ clearCache: () => void;
813
+ resultsCount: () => number;
814
+ resetResultsCount: () => void;
815
+ };
816
+ lastResult: () => boolean;
817
+ dependencies: [(state: RootState) => RoleName];
818
+ recomputations: () => number;
819
+ resetRecomputations: () => void;
820
+ dependencyRecomputations: () => number;
821
+ resetDependencyRecomputations: () => void;
822
+ } & {
823
+ argsMemoize: typeof reselect.weakMapMemoize;
824
+ memoize: typeof reselect.weakMapMemoize;
825
+ };
826
+ declare const selectIsAuthorizedToRequestVideoEnable: ((state: {
827
+ app: AppState;
828
+ authorization: AuthorizationState;
829
+ breakout: BreakoutState;
830
+ chat: ChatState;
831
+ cloudRecording: CloudRecordingState;
832
+ connectionMonitor: ConnectionMonitorState;
833
+ deviceCredentials: DeviceCredentialsState;
834
+ localMedia: LocalMediaState;
835
+ localParticipant: LocalParticipantState;
836
+ localScreenshare: LocalScreenshareState;
837
+ notifications: NotificationsState;
838
+ organization: OrganizationState;
839
+ remoteParticipants: RemoteParticipantState;
840
+ room: RoomState;
841
+ roomConnection: RoomConnectionState;
842
+ rtcAnalytics: rtcAnalyticsState;
843
+ rtcConnection: RtcConnectionState;
844
+ signalConnection: SignalConnectionState;
845
+ spotlights: SpotlightsState;
846
+ streaming: StreamingState;
847
+ waitingParticipants: WaitingParticipantsState;
848
+ }) => boolean) & {
849
+ clearCache: () => void;
850
+ resultsCount: () => number;
851
+ resetResultsCount: () => void;
852
+ } & {
853
+ resultFunc: (resultFuncArgs_0: RoleName) => boolean;
854
+ memoizedResultFunc: ((resultFuncArgs_0: RoleName) => boolean) & {
855
+ clearCache: () => void;
856
+ resultsCount: () => number;
857
+ resetResultsCount: () => void;
858
+ };
859
+ lastResult: () => boolean;
860
+ dependencies: [(state: RootState) => RoleName];
861
+ recomputations: () => number;
862
+ resetRecomputations: () => void;
863
+ dependencyRecomputations: () => number;
864
+ resetDependencyRecomputations: () => void;
865
+ } & {
866
+ argsMemoize: typeof reselect.weakMapMemoize;
867
+ memoize: typeof reselect.weakMapMemoize;
868
+ };
869
+ declare const selectIsAuthorizedToKickClient: ((state: {
870
+ app: AppState;
871
+ authorization: AuthorizationState;
872
+ breakout: BreakoutState;
873
+ chat: ChatState;
874
+ cloudRecording: CloudRecordingState;
875
+ connectionMonitor: ConnectionMonitorState;
876
+ deviceCredentials: DeviceCredentialsState;
877
+ localMedia: LocalMediaState;
878
+ localParticipant: LocalParticipantState;
879
+ localScreenshare: LocalScreenshareState;
880
+ notifications: NotificationsState;
881
+ organization: OrganizationState;
882
+ remoteParticipants: RemoteParticipantState;
883
+ room: RoomState;
884
+ roomConnection: RoomConnectionState;
885
+ rtcAnalytics: rtcAnalyticsState;
886
+ rtcConnection: RtcConnectionState;
887
+ signalConnection: SignalConnectionState;
888
+ spotlights: SpotlightsState;
889
+ streaming: StreamingState;
890
+ waitingParticipants: WaitingParticipantsState;
891
+ }) => boolean) & {
892
+ clearCache: () => void;
893
+ resultsCount: () => number;
894
+ resetResultsCount: () => void;
895
+ } & {
896
+ resultFunc: (resultFuncArgs_0: RoleName) => boolean;
897
+ memoizedResultFunc: ((resultFuncArgs_0: RoleName) => boolean) & {
898
+ clearCache: () => void;
899
+ resultsCount: () => number;
900
+ resetResultsCount: () => void;
901
+ };
902
+ lastResult: () => boolean;
903
+ dependencies: [(state: RootState) => RoleName];
904
+ recomputations: () => number;
905
+ resetRecomputations: () => void;
906
+ dependencyRecomputations: () => number;
907
+ resetDependencyRecomputations: () => void;
908
+ } & {
909
+ argsMemoize: typeof reselect.weakMapMemoize;
910
+ memoize: typeof reselect.weakMapMemoize;
911
+ };
912
+ declare const selectIsAuthorizedToEndMeeting: ((state: {
913
+ app: AppState;
914
+ authorization: AuthorizationState;
915
+ breakout: BreakoutState;
916
+ chat: ChatState;
917
+ cloudRecording: CloudRecordingState;
918
+ connectionMonitor: ConnectionMonitorState;
919
+ deviceCredentials: DeviceCredentialsState;
920
+ localMedia: LocalMediaState;
921
+ localParticipant: LocalParticipantState;
922
+ localScreenshare: LocalScreenshareState;
923
+ notifications: NotificationsState;
924
+ organization: OrganizationState;
925
+ remoteParticipants: RemoteParticipantState;
926
+ room: RoomState;
927
+ roomConnection: RoomConnectionState;
928
+ rtcAnalytics: rtcAnalyticsState;
929
+ rtcConnection: RtcConnectionState;
930
+ signalConnection: SignalConnectionState;
931
+ spotlights: SpotlightsState;
932
+ streaming: StreamingState;
933
+ waitingParticipants: WaitingParticipantsState;
934
+ }) => boolean) & {
935
+ clearCache: () => void;
936
+ resultsCount: () => number;
937
+ resetResultsCount: () => void;
938
+ } & {
939
+ resultFunc: (resultFuncArgs_0: RoleName) => boolean;
940
+ memoizedResultFunc: ((resultFuncArgs_0: RoleName) => boolean) & {
941
+ clearCache: () => void;
942
+ resultsCount: () => number;
943
+ resetResultsCount: () => void;
944
+ };
945
+ lastResult: () => boolean;
946
+ dependencies: [(state: RootState) => RoleName];
947
+ recomputations: () => number;
948
+ resetRecomputations: () => void;
949
+ dependencyRecomputations: () => number;
950
+ resetDependencyRecomputations: () => void;
951
+ } & {
952
+ argsMemoize: typeof reselect.weakMapMemoize;
953
+ memoize: typeof reselect.weakMapMemoize;
954
+ };
955
+ declare const selectIsAuthorizedToAskToSpeak: ((state: {
956
+ app: AppState;
957
+ authorization: AuthorizationState;
958
+ breakout: BreakoutState;
959
+ chat: ChatState;
960
+ cloudRecording: CloudRecordingState;
961
+ connectionMonitor: ConnectionMonitorState;
962
+ deviceCredentials: DeviceCredentialsState;
963
+ localMedia: LocalMediaState;
964
+ localParticipant: LocalParticipantState;
965
+ localScreenshare: LocalScreenshareState;
966
+ notifications: NotificationsState;
967
+ organization: OrganizationState;
968
+ remoteParticipants: RemoteParticipantState;
969
+ room: RoomState;
970
+ roomConnection: RoomConnectionState;
971
+ rtcAnalytics: rtcAnalyticsState;
972
+ rtcConnection: RtcConnectionState;
973
+ signalConnection: SignalConnectionState;
974
+ spotlights: SpotlightsState;
975
+ streaming: StreamingState;
976
+ waitingParticipants: WaitingParticipantsState;
977
+ }) => boolean) & {
978
+ clearCache: () => void;
979
+ resultsCount: () => number;
980
+ resetResultsCount: () => void;
981
+ } & {
982
+ resultFunc: (resultFuncArgs_0: RoleName) => boolean;
983
+ memoizedResultFunc: ((resultFuncArgs_0: RoleName) => boolean) & {
984
+ clearCache: () => void;
985
+ resultsCount: () => number;
986
+ resetResultsCount: () => void;
987
+ };
988
+ lastResult: () => boolean;
989
+ dependencies: [(state: RootState) => RoleName];
990
+ recomputations: () => number;
991
+ resetRecomputations: () => void;
992
+ dependencyRecomputations: () => number;
993
+ resetDependencyRecomputations: () => void;
994
+ } & {
995
+ argsMemoize: typeof reselect.weakMapMemoize;
996
+ memoize: typeof reselect.weakMapMemoize;
997
+ };
998
+ declare const selectIsAuthorizedToSpotlight: ((state: {
999
+ app: AppState;
1000
+ authorization: AuthorizationState;
1001
+ breakout: BreakoutState;
1002
+ chat: ChatState;
1003
+ cloudRecording: CloudRecordingState;
1004
+ connectionMonitor: ConnectionMonitorState;
1005
+ deviceCredentials: DeviceCredentialsState;
1006
+ localMedia: LocalMediaState;
1007
+ localParticipant: LocalParticipantState;
1008
+ localScreenshare: LocalScreenshareState;
1009
+ notifications: NotificationsState;
1010
+ organization: OrganizationState;
1011
+ remoteParticipants: RemoteParticipantState;
1012
+ room: RoomState;
1013
+ roomConnection: RoomConnectionState;
1014
+ rtcAnalytics: rtcAnalyticsState;
1015
+ rtcConnection: RtcConnectionState;
1016
+ signalConnection: SignalConnectionState;
1017
+ spotlights: SpotlightsState;
1018
+ streaming: StreamingState;
1019
+ waitingParticipants: WaitingParticipantsState;
1020
+ }) => boolean) & {
1021
+ clearCache: () => void;
1022
+ resultsCount: () => number;
1023
+ resetResultsCount: () => void;
1024
+ } & {
1025
+ resultFunc: (resultFuncArgs_0: RoleName) => boolean;
1026
+ memoizedResultFunc: ((resultFuncArgs_0: RoleName) => boolean) & {
1027
+ clearCache: () => void;
1028
+ resultsCount: () => number;
1029
+ resetResultsCount: () => void;
1030
+ };
1031
+ lastResult: () => boolean;
1032
+ dependencies: [(state: RootState) => RoleName];
1033
+ recomputations: () => number;
1034
+ resetRecomputations: () => void;
1035
+ dependencyRecomputations: () => number;
1036
+ resetDependencyRecomputations: () => void;
1037
+ } & {
1038
+ argsMemoize: typeof reselect.weakMapMemoize;
1039
+ memoize: typeof reselect.weakMapMemoize;
1040
+ };
1041
+
1042
+ interface BreakoutState extends BreakoutConfig {
1043
+ groupId: string | null;
1044
+ }
1045
+ declare const breakoutSliceInitialState: BreakoutState;
1046
+ declare const breakoutSlice: _reduxjs_toolkit.Slice<BreakoutState, {}, "breakout", "breakout", _reduxjs_toolkit.SliceSelectors<BreakoutState>>;
1047
+ declare const doBreakoutJoin: (args: {
1048
+ group: string;
1049
+ }) => AppThunk;
1050
+ declare const selectBreakoutRaw: (state: RootState) => BreakoutState;
1051
+ declare const selectBreakoutInitiatedBy: (state: RootState) => {
1052
+ clientId: string;
1053
+ userId: string;
1054
+ deviceId: string;
1055
+ active: boolean;
1056
+ } | null | undefined;
1057
+ declare const selectBreakoutActive: (state: RootState) => boolean;
1058
+ declare const selectBreakoutAssignments: (state: RootState) => {
1059
+ [key: string]: string;
1060
+ } | null | undefined;
1061
+ declare const selectBreakoutGroups: (state: RootState) => {
1062
+ [key: string]: string;
1063
+ } | null | undefined;
1064
+ declare const selectBreakoutCurrentId: ((state: {
1065
+ app: AppState;
1066
+ authorization: AuthorizationState;
1067
+ breakout: BreakoutState;
1068
+ chat: ChatState;
1069
+ cloudRecording: CloudRecordingState;
1070
+ connectionMonitor: ConnectionMonitorState;
1071
+ deviceCredentials: DeviceCredentialsState;
1072
+ localMedia: LocalMediaState;
1073
+ localParticipant: LocalParticipantState;
1074
+ localScreenshare: LocalScreenshareState;
1075
+ notifications: NotificationsState;
1076
+ organization: OrganizationState;
1077
+ remoteParticipants: RemoteParticipantState;
1078
+ room: RoomState;
1079
+ roomConnection: RoomConnectionState;
1080
+ rtcAnalytics: rtcAnalyticsState;
1081
+ rtcConnection: RtcConnectionState;
1082
+ signalConnection: SignalConnectionState;
1083
+ spotlights: SpotlightsState;
1084
+ streaming: StreamingState;
1085
+ waitingParticipants: WaitingParticipantsState;
1086
+ }) => string) & {
1087
+ clearCache: () => void;
1088
+ resultsCount: () => number;
1089
+ resetResultsCount: () => void;
1090
+ } & {
1091
+ resultFunc: (resultFuncArgs_0: BreakoutState, resultFuncArgs_1: string | null) => string;
1092
+ memoizedResultFunc: ((resultFuncArgs_0: BreakoutState, resultFuncArgs_1: string | null) => string) & {
1093
+ clearCache: () => void;
1094
+ resultsCount: () => number;
1095
+ resetResultsCount: () => void;
1096
+ };
1097
+ lastResult: () => string;
1098
+ dependencies: [(state: RootState) => BreakoutState, (state: RootState) => string | null];
1099
+ recomputations: () => number;
1100
+ resetRecomputations: () => void;
1101
+ dependencyRecomputations: () => number;
1102
+ resetDependencyRecomputations: () => void;
1103
+ } & {
1104
+ argsMemoize: typeof reselect.weakMapMemoize;
1105
+ memoize: typeof reselect.weakMapMemoize;
1106
+ };
1107
+ declare const selectBreakoutCurrentGroup: ((state: {
1108
+ app: AppState;
1109
+ authorization: AuthorizationState;
1110
+ breakout: BreakoutState;
1111
+ chat: ChatState;
1112
+ cloudRecording: CloudRecordingState;
1113
+ connectionMonitor: ConnectionMonitorState;
1114
+ deviceCredentials: DeviceCredentialsState;
1115
+ localMedia: LocalMediaState;
1116
+ localParticipant: LocalParticipantState;
1117
+ localScreenshare: LocalScreenshareState;
1118
+ notifications: NotificationsState;
1119
+ organization: OrganizationState;
1120
+ remoteParticipants: RemoteParticipantState;
1121
+ room: RoomState;
1122
+ roomConnection: RoomConnectionState;
1123
+ rtcAnalytics: rtcAnalyticsState;
1124
+ rtcConnection: RtcConnectionState;
1125
+ signalConnection: SignalConnectionState;
1126
+ spotlights: SpotlightsState;
1127
+ streaming: StreamingState;
1128
+ waitingParticipants: WaitingParticipantsState;
1129
+ }) => {
1130
+ id: string;
1131
+ name: string;
1132
+ } | null) & {
1133
+ clearCache: () => void;
1134
+ resultsCount: () => number;
1135
+ resetResultsCount: () => void;
1136
+ } & {
1137
+ resultFunc: (resultFuncArgs_0: BreakoutState, resultFuncArgs_1: string) => {
1138
+ id: string;
1139
+ name: string;
1140
+ } | null;
1141
+ memoizedResultFunc: ((resultFuncArgs_0: BreakoutState, resultFuncArgs_1: string) => {
1142
+ id: string;
1143
+ name: string;
1144
+ } | null) & {
1145
+ clearCache: () => void;
1146
+ resultsCount: () => number;
1147
+ resetResultsCount: () => void;
1148
+ };
1149
+ lastResult: () => {
1150
+ id: string;
1151
+ name: string;
1152
+ } | null;
1153
+ dependencies: [(state: RootState) => BreakoutState, ((state: {
1154
+ app: AppState;
1155
+ authorization: AuthorizationState;
1156
+ breakout: BreakoutState;
1157
+ chat: ChatState;
1158
+ cloudRecording: CloudRecordingState;
1159
+ connectionMonitor: ConnectionMonitorState;
1160
+ deviceCredentials: DeviceCredentialsState;
1161
+ localMedia: LocalMediaState;
1162
+ localParticipant: LocalParticipantState;
1163
+ localScreenshare: LocalScreenshareState;
1164
+ notifications: NotificationsState;
1165
+ organization: OrganizationState;
1166
+ remoteParticipants: RemoteParticipantState;
1167
+ room: RoomState;
1168
+ roomConnection: RoomConnectionState;
1169
+ rtcAnalytics: rtcAnalyticsState;
1170
+ rtcConnection: RtcConnectionState;
1171
+ signalConnection: SignalConnectionState;
1172
+ spotlights: SpotlightsState;
1173
+ streaming: StreamingState;
1174
+ waitingParticipants: WaitingParticipantsState;
1175
+ }) => string) & {
1176
+ clearCache: () => void;
1177
+ resultsCount: () => number;
1178
+ resetResultsCount: () => void;
1179
+ } & {
1180
+ resultFunc: (resultFuncArgs_0: BreakoutState, resultFuncArgs_1: string | null) => string;
1181
+ memoizedResultFunc: ((resultFuncArgs_0: BreakoutState, resultFuncArgs_1: string | null) => string) & {
1182
+ clearCache: () => void;
1183
+ resultsCount: () => number;
1184
+ resetResultsCount: () => void;
1185
+ };
1186
+ lastResult: () => string;
1187
+ dependencies: [(state: RootState) => BreakoutState, (state: RootState) => string | null];
1188
+ recomputations: () => number;
1189
+ resetRecomputations: () => void;
1190
+ dependencyRecomputations: () => number;
1191
+ resetDependencyRecomputations: () => void;
1192
+ } & {
1193
+ argsMemoize: typeof reselect.weakMapMemoize;
1194
+ memoize: typeof reselect.weakMapMemoize;
1195
+ }];
1196
+ recomputations: () => number;
1197
+ resetRecomputations: () => void;
1198
+ dependencyRecomputations: () => number;
1199
+ resetDependencyRecomputations: () => void;
1200
+ } & {
1201
+ argsMemoize: typeof reselect.weakMapMemoize;
1202
+ memoize: typeof reselect.weakMapMemoize;
1203
+ };
1204
+
1205
+ interface ConnectionMonitorStart {
1206
+ stopIssueSubscription: () => void;
1207
+ }
1208
+ interface ConnectionMonitorState {
1209
+ running: boolean;
1210
+ stopCallbackFunction?: () => void;
1211
+ }
1212
+ declare const connectionMonitorSliceInitialState: ConnectionMonitorState;
1213
+ declare const connectionMonitorSlice: _reduxjs_toolkit.Slice<ConnectionMonitorState, {
1214
+ connectionMonitorStarted: (state: immer.WritableDraft<ConnectionMonitorState>, action: PayloadAction<ConnectionMonitorStart>) => {
1215
+ running: true;
1216
+ stopCallbackFunction: () => void;
1217
+ };
1218
+ connectionMonitorStopped: () => {
1219
+ running: boolean;
1220
+ stopCallbackFunction?: () => void;
1221
+ };
1222
+ }, "connectionMonitor", "connectionMonitor", _reduxjs_toolkit.SliceSelectors<ConnectionMonitorState>>;
1223
+ declare const connectionMonitorStarted: _reduxjs_toolkit.ActionCreatorWithPayload<ConnectionMonitorStart, "connectionMonitor/connectionMonitorStarted">;
1224
+ declare const connectionMonitorStopped: _reduxjs_toolkit.ActionCreatorWithoutPayload<"connectionMonitor/connectionMonitorStopped">;
1225
+ declare const doStartConnectionMonitor: (args: void) => AppThunk;
1226
+ declare const doStopConnectionMonitor: (args: void) => AppThunk;
1227
+ declare const selectConnectionMonitorIsRunning: (state: RootState) => boolean;
1228
+ declare const selectStopCallbackFunction: (state: RootState) => (() => void) | undefined;
1229
+ declare const selectShouldStartConnectionMonitor: ((state: {
1230
+ app: AppState;
1231
+ authorization: AuthorizationState;
1232
+ breakout: BreakoutState;
1233
+ chat: ChatState;
1234
+ cloudRecording: CloudRecordingState;
1235
+ connectionMonitor: ConnectionMonitorState;
1236
+ deviceCredentials: DeviceCredentialsState;
1237
+ localMedia: LocalMediaState;
1238
+ localParticipant: LocalParticipantState;
1239
+ localScreenshare: LocalScreenshareState;
1240
+ notifications: NotificationsState;
1241
+ organization: OrganizationState;
1242
+ remoteParticipants: RemoteParticipantState;
1243
+ room: RoomState;
1244
+ roomConnection: RoomConnectionState;
1245
+ rtcAnalytics: rtcAnalyticsState;
1246
+ rtcConnection: RtcConnectionState;
1247
+ signalConnection: SignalConnectionState;
1248
+ spotlights: SpotlightsState;
1249
+ streaming: StreamingState;
1250
+ waitingParticipants: WaitingParticipantsState;
1251
+ }) => boolean) & {
1252
+ clearCache: () => void;
1253
+ resultsCount: () => number;
1254
+ resetResultsCount: () => void;
1255
+ } & {
1256
+ resultFunc: (resultFuncArgs_0: ConnectionStatus, resultFuncArgs_1: boolean) => boolean;
1257
+ memoizedResultFunc: ((resultFuncArgs_0: ConnectionStatus, resultFuncArgs_1: boolean) => boolean) & {
1258
+ clearCache: () => void;
1259
+ resultsCount: () => number;
1260
+ resetResultsCount: () => void;
1261
+ };
1262
+ lastResult: () => boolean;
1263
+ dependencies: [(state: RootState) => ConnectionStatus, (state: RootState) => boolean];
1264
+ recomputations: () => number;
1265
+ resetRecomputations: () => void;
1266
+ dependencyRecomputations: () => number;
1267
+ resetDependencyRecomputations: () => void;
1268
+ } & {
1269
+ argsMemoize: typeof reselect.weakMapMemoize;
1270
+ memoize: typeof reselect.weakMapMemoize;
1271
+ };
1272
+ declare const selectShouldStopConnectionMonitor: ((state: {
1273
+ app: AppState;
1274
+ authorization: AuthorizationState;
1275
+ breakout: BreakoutState;
1276
+ chat: ChatState;
1277
+ cloudRecording: CloudRecordingState;
1278
+ connectionMonitor: ConnectionMonitorState;
1279
+ deviceCredentials: DeviceCredentialsState;
1280
+ localMedia: LocalMediaState;
1281
+ localParticipant: LocalParticipantState;
1282
+ localScreenshare: LocalScreenshareState;
1283
+ notifications: NotificationsState;
1284
+ organization: OrganizationState;
1285
+ remoteParticipants: RemoteParticipantState;
1286
+ room: RoomState;
1287
+ roomConnection: RoomConnectionState;
1288
+ rtcAnalytics: rtcAnalyticsState;
1289
+ rtcConnection: RtcConnectionState;
1290
+ signalConnection: SignalConnectionState;
1291
+ spotlights: SpotlightsState;
1292
+ streaming: StreamingState;
1293
+ waitingParticipants: WaitingParticipantsState;
1294
+ }) => boolean) & {
1295
+ clearCache: () => void;
1296
+ resultsCount: () => number;
1297
+ resetResultsCount: () => void;
1298
+ } & {
1299
+ resultFunc: (resultFuncArgs_0: ConnectionStatus, resultFuncArgs_1: boolean) => boolean;
1300
+ memoizedResultFunc: ((resultFuncArgs_0: ConnectionStatus, resultFuncArgs_1: boolean) => boolean) & {
1301
+ clearCache: () => void;
1302
+ resultsCount: () => number;
1303
+ resetResultsCount: () => void;
1304
+ };
1305
+ lastResult: () => boolean;
1306
+ dependencies: [(state: RootState) => ConnectionStatus, (state: RootState) => boolean];
1307
+ recomputations: () => number;
1308
+ resetRecomputations: () => void;
1309
+ dependencyRecomputations: () => number;
1310
+ resetDependencyRecomputations: () => void;
1311
+ } & {
1312
+ argsMemoize: typeof reselect.weakMapMemoize;
1313
+ memoize: typeof reselect.weakMapMemoize;
1314
+ };
1315
+
1316
+ interface DeviceCredentialsState {
1317
+ isFetching: boolean;
1318
+ data?: Credentials | null;
1319
+ }
1320
+ declare const deviceCredentialsSliceInitialState: DeviceCredentialsState;
1321
+ declare const deviceCredentialsSlice: _reduxjs_toolkit.Slice<DeviceCredentialsState, {}, "deviceCredentials", "deviceCredentials", _reduxjs_toolkit.SliceSelectors<DeviceCredentialsState>>;
1322
+ declare const doGetDeviceCredentials: _reduxjs_toolkit.AsyncThunk<Credentials | null | undefined, undefined, ThunkConfig>;
1323
+ declare const selectDeviceCredentialsRaw: (state: RootState) => DeviceCredentialsState;
1324
+ declare const selectHasFetchedDeviceCredentials: (state: RootState) => boolean;
1325
+ declare const selectDeviceId: (state: RootState) => string | undefined;
1326
+ declare const selectShouldFetchDeviceCredentials: ((state: {
1327
+ app: AppState;
1328
+ authorization: AuthorizationState;
1329
+ breakout: BreakoutState;
1330
+ chat: ChatState;
1331
+ cloudRecording: CloudRecordingState;
1332
+ connectionMonitor: ConnectionMonitorState;
1333
+ deviceCredentials: DeviceCredentialsState;
1334
+ localMedia: LocalMediaState;
1335
+ localParticipant: LocalParticipantState;
1336
+ localScreenshare: LocalScreenshareState;
1337
+ notifications: NotificationsState;
1338
+ organization: OrganizationState;
1339
+ remoteParticipants: RemoteParticipantState;
1340
+ room: RoomState;
1341
+ roomConnection: RoomConnectionState;
1342
+ rtcAnalytics: rtcAnalyticsState;
1343
+ rtcConnection: RtcConnectionState;
1344
+ signalConnection: SignalConnectionState;
1345
+ spotlights: SpotlightsState;
1346
+ streaming: StreamingState;
1347
+ waitingParticipants: WaitingParticipantsState;
1348
+ }) => boolean) & {
1349
+ clearCache: () => void;
1350
+ resultsCount: () => number;
1351
+ resetResultsCount: () => void;
1352
+ } & {
1353
+ resultFunc: (resultFuncArgs_0: boolean, resultFuncArgs_1: DeviceCredentialsState) => boolean;
1354
+ memoizedResultFunc: ((resultFuncArgs_0: boolean, resultFuncArgs_1: DeviceCredentialsState) => boolean) & {
1355
+ clearCache: () => void;
1356
+ resultsCount: () => number;
1357
+ resetResultsCount: () => void;
1358
+ };
1359
+ lastResult: () => boolean;
1360
+ dependencies: [(state: RootState) => boolean, (state: RootState) => DeviceCredentialsState];
1361
+ recomputations: () => number;
1362
+ resetRecomputations: () => void;
1363
+ dependencyRecomputations: () => number;
1364
+ resetDependencyRecomputations: () => void;
1365
+ } & {
1366
+ argsMemoize: typeof reselect.weakMapMemoize;
1367
+ memoize: typeof reselect.weakMapMemoize;
1368
+ };
1369
+
1370
+ interface DebouncedFunction {
1371
+ (...args: any[]): void;
1372
+ }
1373
+
1374
+ type LocalMediaOptions = {
1375
+ audio: boolean;
1376
+ video: boolean;
1377
+ };
1378
+ interface LocalMediaState {
1379
+ busyDeviceIds: string[];
1380
+ cameraDeviceError?: unknown;
1381
+ cameraEnabled: boolean;
1382
+ currentCameraDeviceId?: string;
1383
+ currentMicrophoneDeviceId?: string;
1384
+ currentSpeakerDeviceId?: string;
1385
+ devices: MediaDeviceInfo[];
1386
+ isSettingCameraDevice: boolean;
1387
+ isSettingMicrophoneDevice: boolean;
1388
+ isSettingSpeakerDevice: boolean;
1389
+ isTogglingCamera: boolean;
1390
+ lowDataMode: boolean;
1391
+ microphoneDeviceError?: unknown;
1392
+ microphoneEnabled: boolean;
1393
+ speakerDeviceError?: unknown;
1394
+ options?: LocalMediaOptions;
1395
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1396
+ startError?: unknown;
1397
+ stream?: MediaStream;
1398
+ isSwitchingStream: boolean;
1399
+ onDeviceChange?: () => void;
1400
+ }
1401
+ declare const initialLocalMediaState: LocalMediaState;
1402
+ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
1403
+ deviceBusy(state: immer.WritableDraft<LocalMediaState>, action: PayloadAction<{
1404
+ deviceId: string;
1405
+ }>): immer.WritableDraft<LocalMediaState>;
1406
+ toggleCameraEnabled(state: immer.WritableDraft<LocalMediaState>, action: PayloadAction<{
1407
+ enabled?: boolean;
1408
+ }>): {
1409
+ cameraEnabled: boolean;
1410
+ busyDeviceIds: string[];
1411
+ cameraDeviceError?: unknown;
1412
+ currentCameraDeviceId?: string | undefined;
1413
+ currentMicrophoneDeviceId?: string | undefined;
1414
+ currentSpeakerDeviceId?: string | undefined;
1415
+ devices: immer.WritableDraft<MediaDeviceInfo>[];
1416
+ isSettingCameraDevice: boolean;
1417
+ isSettingMicrophoneDevice: boolean;
1418
+ isSettingSpeakerDevice: boolean;
1419
+ isTogglingCamera: boolean;
1420
+ lowDataMode: boolean;
1421
+ microphoneDeviceError?: unknown;
1422
+ microphoneEnabled: boolean;
1423
+ speakerDeviceError?: unknown;
1424
+ options?: immer.WritableDraft<LocalMediaOptions> | undefined;
1425
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1426
+ startError?: unknown;
1427
+ stream?: immer.WritableDraft<MediaStream> | undefined;
1428
+ isSwitchingStream: boolean;
1429
+ onDeviceChange?: (() => void) | undefined;
1430
+ };
1431
+ setCurrentCameraDeviceId(state: immer.WritableDraft<LocalMediaState>, action: PayloadAction<{
1432
+ deviceId?: string;
1433
+ }>): {
1434
+ currentCameraDeviceId: string | undefined;
1435
+ busyDeviceIds: string[];
1436
+ cameraDeviceError?: unknown;
1437
+ cameraEnabled: boolean;
1438
+ currentMicrophoneDeviceId?: string | undefined;
1439
+ currentSpeakerDeviceId?: string | undefined;
1440
+ devices: immer.WritableDraft<MediaDeviceInfo>[];
1441
+ isSettingCameraDevice: boolean;
1442
+ isSettingMicrophoneDevice: boolean;
1443
+ isSettingSpeakerDevice: boolean;
1444
+ isTogglingCamera: boolean;
1445
+ lowDataMode: boolean;
1446
+ microphoneDeviceError?: unknown;
1447
+ microphoneEnabled: boolean;
1448
+ speakerDeviceError?: unknown;
1449
+ options?: immer.WritableDraft<LocalMediaOptions> | undefined;
1450
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1451
+ startError?: unknown;
1452
+ stream?: immer.WritableDraft<MediaStream> | undefined;
1453
+ isSwitchingStream: boolean;
1454
+ onDeviceChange?: (() => void) | undefined;
1455
+ };
1456
+ toggleMicrophoneEnabled(state: immer.WritableDraft<LocalMediaState>, action: PayloadAction<{
1457
+ enabled?: boolean;
1458
+ }>): {
1459
+ microphoneEnabled: boolean;
1460
+ busyDeviceIds: string[];
1461
+ cameraDeviceError?: unknown;
1462
+ cameraEnabled: boolean;
1463
+ currentCameraDeviceId?: string | undefined;
1464
+ currentMicrophoneDeviceId?: string | undefined;
1465
+ currentSpeakerDeviceId?: string | undefined;
1466
+ devices: immer.WritableDraft<MediaDeviceInfo>[];
1467
+ isSettingCameraDevice: boolean;
1468
+ isSettingMicrophoneDevice: boolean;
1469
+ isSettingSpeakerDevice: boolean;
1470
+ isTogglingCamera: boolean;
1471
+ lowDataMode: boolean;
1472
+ microphoneDeviceError?: unknown;
1473
+ speakerDeviceError?: unknown;
1474
+ options?: immer.WritableDraft<LocalMediaOptions> | undefined;
1475
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1476
+ startError?: unknown;
1477
+ stream?: immer.WritableDraft<MediaStream> | undefined;
1478
+ isSwitchingStream: boolean;
1479
+ onDeviceChange?: (() => void) | undefined;
1480
+ };
1481
+ setCurrentMicrophoneDeviceId(state: immer.WritableDraft<LocalMediaState>, action: PayloadAction<{
1482
+ deviceId?: string;
1483
+ }>): {
1484
+ currentMicrophoneDeviceId: string | undefined;
1485
+ busyDeviceIds: string[];
1486
+ cameraDeviceError?: unknown;
1487
+ cameraEnabled: boolean;
1488
+ currentCameraDeviceId?: string | undefined;
1489
+ currentSpeakerDeviceId?: string | undefined;
1490
+ devices: immer.WritableDraft<MediaDeviceInfo>[];
1491
+ isSettingCameraDevice: boolean;
1492
+ isSettingMicrophoneDevice: boolean;
1493
+ isSettingSpeakerDevice: boolean;
1494
+ isTogglingCamera: boolean;
1495
+ lowDataMode: boolean;
1496
+ microphoneDeviceError?: unknown;
1497
+ microphoneEnabled: boolean;
1498
+ speakerDeviceError?: unknown;
1499
+ options?: immer.WritableDraft<LocalMediaOptions> | undefined;
1500
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1501
+ startError?: unknown;
1502
+ stream?: immer.WritableDraft<MediaStream> | undefined;
1503
+ isSwitchingStream: boolean;
1504
+ onDeviceChange?: (() => void) | undefined;
1505
+ };
1506
+ setCurrentSpeakerDeviceId(state: immer.WritableDraft<LocalMediaState>, action: PayloadAction<{
1507
+ deviceId?: string;
1508
+ }>): {
1509
+ currentSpeakerDeviceId: string;
1510
+ busyDeviceIds: string[];
1511
+ cameraDeviceError?: unknown;
1512
+ cameraEnabled: boolean;
1513
+ currentCameraDeviceId?: string | undefined;
1514
+ currentMicrophoneDeviceId?: string | undefined;
1515
+ devices: immer.WritableDraft<MediaDeviceInfo>[];
1516
+ isSettingCameraDevice: boolean;
1517
+ isSettingMicrophoneDevice: boolean;
1518
+ isSettingSpeakerDevice: boolean;
1519
+ isTogglingCamera: boolean;
1520
+ lowDataMode: boolean;
1521
+ microphoneDeviceError?: unknown;
1522
+ microphoneEnabled: boolean;
1523
+ speakerDeviceError?: unknown;
1524
+ options?: immer.WritableDraft<LocalMediaOptions> | undefined;
1525
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1526
+ startError?: unknown;
1527
+ stream?: immer.WritableDraft<MediaStream> | undefined;
1528
+ isSwitchingStream: boolean;
1529
+ onDeviceChange?: (() => void) | undefined;
1530
+ };
1531
+ toggleLowDataModeEnabled(state: immer.WritableDraft<LocalMediaState>, action: PayloadAction<{
1532
+ enabled?: boolean;
1533
+ }>): {
1534
+ lowDataMode: boolean;
1535
+ busyDeviceIds: string[];
1536
+ cameraDeviceError?: unknown;
1537
+ cameraEnabled: boolean;
1538
+ currentCameraDeviceId?: string | undefined;
1539
+ currentMicrophoneDeviceId?: string | undefined;
1540
+ currentSpeakerDeviceId?: string | undefined;
1541
+ devices: immer.WritableDraft<MediaDeviceInfo>[];
1542
+ isSettingCameraDevice: boolean;
1543
+ isSettingMicrophoneDevice: boolean;
1544
+ isSettingSpeakerDevice: boolean;
1545
+ isTogglingCamera: boolean;
1546
+ microphoneDeviceError?: unknown;
1547
+ microphoneEnabled: boolean;
1548
+ speakerDeviceError?: unknown;
1549
+ options?: immer.WritableDraft<LocalMediaOptions> | undefined;
1550
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1551
+ startError?: unknown;
1552
+ stream?: immer.WritableDraft<MediaStream> | undefined;
1553
+ isSwitchingStream: boolean;
1554
+ onDeviceChange?: (() => void) | undefined;
1555
+ };
1556
+ setDevices(state: immer.WritableDraft<LocalMediaState>, action: PayloadAction<{
1557
+ devices: MediaDeviceInfo[];
1558
+ }>): {
1559
+ devices: MediaDeviceInfo[];
1560
+ busyDeviceIds: string[];
1561
+ cameraDeviceError?: unknown;
1562
+ cameraEnabled: boolean;
1563
+ currentCameraDeviceId?: string | undefined;
1564
+ currentMicrophoneDeviceId?: string | undefined;
1565
+ currentSpeakerDeviceId?: string | undefined;
1566
+ isSettingCameraDevice: boolean;
1567
+ isSettingMicrophoneDevice: boolean;
1568
+ isSettingSpeakerDevice: boolean;
1569
+ isTogglingCamera: boolean;
1570
+ lowDataMode: boolean;
1571
+ microphoneDeviceError?: unknown;
1572
+ microphoneEnabled: boolean;
1573
+ speakerDeviceError?: unknown;
1574
+ options?: immer.WritableDraft<LocalMediaOptions> | undefined;
1575
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1576
+ startError?: unknown;
1577
+ stream?: immer.WritableDraft<MediaStream> | undefined;
1578
+ isSwitchingStream: boolean;
1579
+ onDeviceChange?: (() => void) | undefined;
1580
+ };
1581
+ setLocalMediaStream(state: immer.WritableDraft<LocalMediaState>, action: PayloadAction<{
1582
+ stream: MediaStream;
1583
+ }>): {
1584
+ stream: MediaStream;
1585
+ busyDeviceIds: string[];
1586
+ cameraDeviceError?: unknown;
1587
+ cameraEnabled: boolean;
1588
+ currentCameraDeviceId?: string | undefined;
1589
+ currentMicrophoneDeviceId?: string | undefined;
1590
+ currentSpeakerDeviceId?: string | undefined;
1591
+ devices: immer.WritableDraft<MediaDeviceInfo>[];
1592
+ isSettingCameraDevice: boolean;
1593
+ isSettingMicrophoneDevice: boolean;
1594
+ isSettingSpeakerDevice: boolean;
1595
+ isTogglingCamera: boolean;
1596
+ lowDataMode: boolean;
1597
+ microphoneDeviceError?: unknown;
1598
+ microphoneEnabled: boolean;
1599
+ speakerDeviceError?: unknown;
1600
+ options?: immer.WritableDraft<LocalMediaOptions> | undefined;
1601
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1602
+ startError?: unknown;
1603
+ isSwitchingStream: boolean;
1604
+ onDeviceChange?: (() => void) | undefined;
1605
+ };
1606
+ setLocalMediaOptions(state: immer.WritableDraft<LocalMediaState>, action: PayloadAction<{
1607
+ options: LocalMediaOptions;
1608
+ }>): {
1609
+ options: LocalMediaOptions;
1610
+ busyDeviceIds: string[];
1611
+ cameraDeviceError?: unknown;
1612
+ cameraEnabled: boolean;
1613
+ currentCameraDeviceId?: string | undefined;
1614
+ currentMicrophoneDeviceId?: string | undefined;
1615
+ currentSpeakerDeviceId?: string | undefined;
1616
+ devices: immer.WritableDraft<MediaDeviceInfo>[];
1617
+ isSettingCameraDevice: boolean;
1618
+ isSettingMicrophoneDevice: boolean;
1619
+ isSettingSpeakerDevice: boolean;
1620
+ isTogglingCamera: boolean;
1621
+ lowDataMode: boolean;
1622
+ microphoneDeviceError?: unknown;
1623
+ microphoneEnabled: boolean;
1624
+ speakerDeviceError?: unknown;
1625
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1626
+ startError?: unknown;
1627
+ stream?: immer.WritableDraft<MediaStream> | undefined;
1628
+ isSwitchingStream: boolean;
1629
+ onDeviceChange?: (() => void) | undefined;
1630
+ };
1631
+ localMediaStopped(state: immer.WritableDraft<LocalMediaState>): {
1632
+ status: "stopped";
1633
+ stream: undefined;
1634
+ busyDeviceIds: string[];
1635
+ cameraDeviceError?: unknown;
1636
+ cameraEnabled: boolean;
1637
+ currentCameraDeviceId?: string | undefined;
1638
+ currentMicrophoneDeviceId?: string | undefined;
1639
+ currentSpeakerDeviceId?: string | undefined;
1640
+ devices: immer.WritableDraft<MediaDeviceInfo>[];
1641
+ isSettingCameraDevice: boolean;
1642
+ isSettingMicrophoneDevice: boolean;
1643
+ isSettingSpeakerDevice: boolean;
1644
+ isTogglingCamera: boolean;
1645
+ lowDataMode: boolean;
1646
+ microphoneDeviceError?: unknown;
1647
+ microphoneEnabled: boolean;
1648
+ speakerDeviceError?: unknown;
1649
+ options?: immer.WritableDraft<LocalMediaOptions> | undefined;
1650
+ startError?: unknown;
1651
+ isSwitchingStream: boolean;
1652
+ onDeviceChange?: (() => void) | undefined;
1653
+ };
1654
+ localStreamMetadataUpdated(state: immer.WritableDraft<LocalMediaState>, action: PayloadAction<ReturnType<typeof getDeviceData>>): {
1655
+ currentCameraDeviceId: string;
1656
+ currentMicrophoneDeviceId: string;
1657
+ busyDeviceIds: string[];
1658
+ cameraDeviceError?: unknown;
1659
+ cameraEnabled: boolean;
1660
+ currentSpeakerDeviceId?: string | undefined;
1661
+ devices: immer.WritableDraft<MediaDeviceInfo>[];
1662
+ isSettingCameraDevice: boolean;
1663
+ isSettingMicrophoneDevice: boolean;
1664
+ isSettingSpeakerDevice: boolean;
1665
+ isTogglingCamera: boolean;
1666
+ lowDataMode: boolean;
1667
+ microphoneDeviceError?: unknown;
1668
+ microphoneEnabled: boolean;
1669
+ speakerDeviceError?: unknown;
1670
+ options?: immer.WritableDraft<LocalMediaOptions> | undefined;
1671
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1672
+ startError?: unknown;
1673
+ stream?: immer.WritableDraft<MediaStream> | undefined;
1674
+ isSwitchingStream: boolean;
1675
+ onDeviceChange?: (() => void) | undefined;
1676
+ };
1677
+ }, "localMedia", "localMedia", _reduxjs_toolkit.SliceSelectors<LocalMediaState>>;
1678
+ declare const deviceBusy: _reduxjs_toolkit.ActionCreatorWithPayload<{
1679
+ deviceId: string;
1680
+ }, "localMedia/deviceBusy">;
1681
+ declare const setCurrentCameraDeviceId: _reduxjs_toolkit.ActionCreatorWithPayload<{
1682
+ deviceId?: string;
1683
+ }, "localMedia/setCurrentCameraDeviceId">;
1684
+ declare const setCurrentMicrophoneDeviceId: _reduxjs_toolkit.ActionCreatorWithPayload<{
1685
+ deviceId?: string;
1686
+ }, "localMedia/setCurrentMicrophoneDeviceId">;
1687
+ declare const setCurrentSpeakerDeviceId: _reduxjs_toolkit.ActionCreatorWithPayload<{
1688
+ deviceId?: string;
1689
+ }, "localMedia/setCurrentSpeakerDeviceId">;
1690
+ declare const toggleCameraEnabled: _reduxjs_toolkit.ActionCreatorWithPayload<{
1691
+ enabled?: boolean;
1692
+ }, "localMedia/toggleCameraEnabled">;
1693
+ declare const toggleMicrophoneEnabled: _reduxjs_toolkit.ActionCreatorWithPayload<{
1694
+ enabled?: boolean;
1695
+ }, "localMedia/toggleMicrophoneEnabled">;
1696
+ declare const toggleLowDataModeEnabled: _reduxjs_toolkit.ActionCreatorWithPayload<{
1697
+ enabled?: boolean;
1698
+ }, "localMedia/toggleLowDataModeEnabled">;
1699
+ declare const setLocalMediaOptions: _reduxjs_toolkit.ActionCreatorWithPayload<{
1700
+ options: LocalMediaOptions;
1701
+ }, "localMedia/setLocalMediaOptions">;
1702
+ declare const setLocalMediaStream: _reduxjs_toolkit.ActionCreatorWithPayload<{
1703
+ stream: MediaStream;
1704
+ }, "localMedia/setLocalMediaStream">;
1705
+ declare const localMediaStopped: _reduxjs_toolkit.ActionCreatorWithoutPayload<"localMedia/localMediaStopped">;
1706
+ declare const localStreamMetadataUpdated: _reduxjs_toolkit.ActionCreatorWithPayload<_whereby_com_media.GetDeviceDataResult, "localMedia/localStreamMetadataUpdated">;
1707
+ declare const doToggleCamera: _reduxjs_toolkit.AsyncThunk<undefined, undefined, ThunkConfig>;
1708
+ declare const doToggleLowDataMode: (args: void) => AppThunk;
1709
+ declare const doSetDevice: _reduxjs_toolkit.AsyncThunk<{
1710
+ replacedTracks: MediaStreamTrack[] | undefined;
1711
+ }, {
1712
+ audio: boolean;
1713
+ video: boolean;
1714
+ }, ThunkConfig>;
1715
+ declare const doUpdateDeviceList: _reduxjs_toolkit.AsyncThunk<{
1716
+ devices: MediaDeviceInfo[];
1717
+ }, undefined, ThunkConfig>;
1718
+ declare const doSwitchLocalStream: _reduxjs_toolkit.AsyncThunk<{
1719
+ replacedTracks: MediaStreamTrack[] | undefined;
1720
+ } | undefined, {
1721
+ audioId?: string | null;
1722
+ videoId?: string | null;
1723
+ }, ThunkConfig>;
1724
+ declare const doStartLocalMedia: _reduxjs_toolkit.AsyncThunk<{
1725
+ stream: MediaStream;
1726
+ onDeviceChange: DebouncedFunction;
1727
+ }, LocalMediaOptions | MediaStream, ThunkConfig>;
1728
+ declare const doStopLocalMedia: (args: void) => AppThunk;
1729
+ declare const selectBusyDeviceIds: (state: RootState) => string[];
1730
+ declare const selectCameraDeviceError: (state: RootState) => unknown;
1731
+ declare const selectCurrentCameraDeviceId: (state: RootState) => string | undefined;
1732
+ declare const selectCurrentMicrophoneDeviceId: (state: RootState) => string | undefined;
1733
+ declare const selectCurrentSpeakerDeviceId: (state: RootState) => string | undefined;
1734
+ declare const selectIsCameraEnabled: (state: RootState) => boolean;
1735
+ declare const selectIsMicrophoneEnabled: (state: RootState) => boolean;
1736
+ declare const selectIsLowDataModeEnabled: (state: RootState) => boolean;
1737
+ declare const selectIsSettingCameraDevice: (state: RootState) => boolean;
1738
+ declare const selectIsSettingMicrophoneDevice: (state: RootState) => boolean;
1739
+ declare const selectIsToggleCamera: (state: RootState) => boolean;
1740
+ declare const selectLocalMediaDevices: (state: RootState) => MediaDeviceInfo[];
1741
+ declare const selectLocalMediaOptions: (state: RootState) => LocalMediaOptions | undefined;
1742
+ declare const selectLocalMediaOwnsStream: ((state: {
1743
+ app: AppState;
1744
+ authorization: AuthorizationState;
1745
+ breakout: BreakoutState;
1746
+ chat: ChatState;
1747
+ cloudRecording: CloudRecordingState;
1748
+ connectionMonitor: ConnectionMonitorState;
1749
+ deviceCredentials: DeviceCredentialsState;
1750
+ localMedia: LocalMediaState;
1751
+ localParticipant: LocalParticipantState;
1752
+ localScreenshare: LocalScreenshareState;
1753
+ notifications: NotificationsState;
1754
+ organization: OrganizationState;
1755
+ remoteParticipants: RemoteParticipantState;
1756
+ room: RoomState;
1757
+ roomConnection: RoomConnectionState;
1758
+ rtcAnalytics: rtcAnalyticsState;
1759
+ rtcConnection: RtcConnectionState;
1760
+ signalConnection: SignalConnectionState;
1761
+ spotlights: SpotlightsState;
1762
+ streaming: StreamingState;
1763
+ waitingParticipants: WaitingParticipantsState;
1764
+ }) => boolean) & {
1765
+ clearCache: () => void;
1766
+ resultsCount: () => number;
1767
+ resetResultsCount: () => void;
1768
+ } & {
1769
+ resultFunc: (resultFuncArgs_0: LocalMediaOptions | undefined) => boolean;
1770
+ memoizedResultFunc: ((resultFuncArgs_0: LocalMediaOptions | undefined) => boolean) & {
1771
+ clearCache: () => void;
1772
+ resultsCount: () => number;
1773
+ resetResultsCount: () => void;
1774
+ };
1775
+ lastResult: () => boolean;
1776
+ dependencies: [(state: RootState) => LocalMediaOptions | undefined];
1777
+ recomputations: () => number;
1778
+ resetRecomputations: () => void;
1779
+ dependencyRecomputations: () => number;
1780
+ resetDependencyRecomputations: () => void;
1781
+ } & {
1782
+ argsMemoize: typeof reselect.weakMapMemoize;
1783
+ memoize: typeof reselect.weakMapMemoize;
1784
+ };
1785
+ declare const selectLocalMediaRaw: (state: RootState) => LocalMediaState;
1786
+ declare const selectLocalMediaStatus: (state: RootState) => "error" | "inactive" | "stopped" | "starting" | "started";
1787
+ declare const selectLocalMediaStream: (state: RootState) => MediaStream | undefined;
1788
+ declare const selectMicrophoneDeviceError: (state: RootState) => unknown;
1789
+ declare const selectLocalMediaStartError: (state: RootState) => unknown;
1790
+ declare const selectLocalMediaIsSwitchingStream: (state: RootState) => boolean;
1791
+ declare const selectLocalMediaConstraintsOptions: ((state: {
1792
+ app: AppState;
1793
+ authorization: AuthorizationState;
1794
+ breakout: BreakoutState;
1795
+ chat: ChatState;
1796
+ cloudRecording: CloudRecordingState;
1797
+ connectionMonitor: ConnectionMonitorState;
1798
+ deviceCredentials: DeviceCredentialsState;
1799
+ localMedia: LocalMediaState;
1800
+ localParticipant: LocalParticipantState;
1801
+ localScreenshare: LocalScreenshareState;
1802
+ notifications: NotificationsState;
1803
+ organization: OrganizationState;
1804
+ remoteParticipants: RemoteParticipantState;
1805
+ room: RoomState;
1806
+ roomConnection: RoomConnectionState;
1807
+ rtcAnalytics: rtcAnalyticsState;
1808
+ rtcConnection: RtcConnectionState;
1809
+ signalConnection: SignalConnectionState;
1810
+ spotlights: SpotlightsState;
1811
+ streaming: StreamingState;
1812
+ waitingParticipants: WaitingParticipantsState;
1813
+ }) => {
1814
+ devices: MediaDeviceInfo[];
1815
+ videoId: string | undefined;
1816
+ audioId: string | undefined;
1817
+ options: {
1818
+ disableAEC: boolean;
1819
+ disableAGC: boolean;
1820
+ hd: boolean;
1821
+ lax: boolean;
1822
+ lowDataMode: boolean;
1823
+ simulcast: boolean;
1824
+ widescreen: boolean;
1825
+ };
1826
+ }) & {
1827
+ clearCache: () => void;
1828
+ resultsCount: () => number;
1829
+ resetResultsCount: () => void;
1830
+ } & {
1831
+ resultFunc: (resultFuncArgs_0: MediaDeviceInfo[], resultFuncArgs_1: string | undefined, resultFuncArgs_2: string | undefined, resultFuncArgs_3: boolean) => {
1832
+ devices: MediaDeviceInfo[];
1833
+ videoId: string | undefined;
1834
+ audioId: string | undefined;
1835
+ options: {
1836
+ disableAEC: boolean;
1837
+ disableAGC: boolean;
1838
+ hd: boolean;
1839
+ lax: boolean;
1840
+ lowDataMode: boolean;
1841
+ simulcast: boolean;
1842
+ widescreen: boolean;
1843
+ };
1844
+ };
1845
+ memoizedResultFunc: ((resultFuncArgs_0: MediaDeviceInfo[], resultFuncArgs_1: string | undefined, resultFuncArgs_2: string | undefined, resultFuncArgs_3: boolean) => {
1846
+ devices: MediaDeviceInfo[];
1847
+ videoId: string | undefined;
1848
+ audioId: string | undefined;
1849
+ options: {
1850
+ disableAEC: boolean;
1851
+ disableAGC: boolean;
1852
+ hd: boolean;
1853
+ lax: boolean;
1854
+ lowDataMode: boolean;
1855
+ simulcast: boolean;
1856
+ widescreen: boolean;
1857
+ };
1858
+ }) & {
1859
+ clearCache: () => void;
1860
+ resultsCount: () => number;
1861
+ resetResultsCount: () => void;
1862
+ };
1863
+ lastResult: () => {
1864
+ devices: MediaDeviceInfo[];
1865
+ videoId: string | undefined;
1866
+ audioId: string | undefined;
1867
+ options: {
1868
+ disableAEC: boolean;
1869
+ disableAGC: boolean;
1870
+ hd: boolean;
1871
+ lax: boolean;
1872
+ lowDataMode: boolean;
1873
+ simulcast: boolean;
1874
+ widescreen: boolean;
1875
+ };
1876
+ };
1877
+ dependencies: [(state: RootState) => MediaDeviceInfo[], (state: RootState) => string | undefined, (state: RootState) => string | undefined, (state: RootState) => boolean];
1878
+ recomputations: () => number;
1879
+ resetRecomputations: () => void;
1880
+ dependencyRecomputations: () => number;
1881
+ resetDependencyRecomputations: () => void;
1882
+ } & {
1883
+ argsMemoize: typeof reselect.weakMapMemoize;
1884
+ memoize: typeof reselect.weakMapMemoize;
1885
+ };
1886
+ declare const selectIsLocalMediaStarting: ((state: {
1887
+ app: AppState;
1888
+ authorization: AuthorizationState;
1889
+ breakout: BreakoutState;
1890
+ chat: ChatState;
1891
+ cloudRecording: CloudRecordingState;
1892
+ connectionMonitor: ConnectionMonitorState;
1893
+ deviceCredentials: DeviceCredentialsState;
1894
+ localMedia: LocalMediaState;
1895
+ localParticipant: LocalParticipantState;
1896
+ localScreenshare: LocalScreenshareState;
1897
+ notifications: NotificationsState;
1898
+ organization: OrganizationState;
1899
+ remoteParticipants: RemoteParticipantState;
1900
+ room: RoomState;
1901
+ roomConnection: RoomConnectionState;
1902
+ rtcAnalytics: rtcAnalyticsState;
1903
+ rtcConnection: RtcConnectionState;
1904
+ signalConnection: SignalConnectionState;
1905
+ spotlights: SpotlightsState;
1906
+ streaming: StreamingState;
1907
+ waitingParticipants: WaitingParticipantsState;
1908
+ }) => boolean) & {
1909
+ clearCache: () => void;
1910
+ resultsCount: () => number;
1911
+ resetResultsCount: () => void;
1912
+ } & {
1913
+ resultFunc: (resultFuncArgs_0: "error" | "inactive" | "stopped" | "starting" | "started") => boolean;
1914
+ memoizedResultFunc: ((resultFuncArgs_0: "error" | "inactive" | "stopped" | "starting" | "started") => boolean) & {
1915
+ clearCache: () => void;
1916
+ resultsCount: () => number;
1917
+ resetResultsCount: () => void;
1918
+ };
1919
+ lastResult: () => boolean;
1920
+ dependencies: [(state: RootState) => "error" | "inactive" | "stopped" | "starting" | "started"];
1921
+ recomputations: () => number;
1922
+ resetRecomputations: () => void;
1923
+ dependencyRecomputations: () => number;
1924
+ resetDependencyRecomputations: () => void;
1925
+ } & {
1926
+ argsMemoize: typeof reselect.weakMapMemoize;
1927
+ memoize: typeof reselect.weakMapMemoize;
1928
+ };
1929
+ declare const selectCameraDevices: ((state: {
1930
+ app: AppState;
1931
+ authorization: AuthorizationState;
1932
+ breakout: BreakoutState;
1933
+ chat: ChatState;
1934
+ cloudRecording: CloudRecordingState;
1935
+ connectionMonitor: ConnectionMonitorState;
1936
+ deviceCredentials: DeviceCredentialsState;
1937
+ localMedia: LocalMediaState;
1938
+ localParticipant: LocalParticipantState;
1939
+ localScreenshare: LocalScreenshareState;
1940
+ notifications: NotificationsState;
1941
+ organization: OrganizationState;
1942
+ remoteParticipants: RemoteParticipantState;
1943
+ room: RoomState;
1944
+ roomConnection: RoomConnectionState;
1945
+ rtcAnalytics: rtcAnalyticsState;
1946
+ rtcConnection: RtcConnectionState;
1947
+ signalConnection: SignalConnectionState;
1948
+ spotlights: SpotlightsState;
1949
+ streaming: StreamingState;
1950
+ waitingParticipants: WaitingParticipantsState;
1951
+ }) => MediaDeviceInfo[]) & {
1952
+ clearCache: () => void;
1953
+ resultsCount: () => number;
1954
+ resetResultsCount: () => void;
1955
+ } & {
1956
+ resultFunc: (resultFuncArgs_0: MediaDeviceInfo[], resultFuncArgs_1: string[]) => MediaDeviceInfo[];
1957
+ memoizedResultFunc: ((resultFuncArgs_0: MediaDeviceInfo[], resultFuncArgs_1: string[]) => MediaDeviceInfo[]) & {
1958
+ clearCache: () => void;
1959
+ resultsCount: () => number;
1960
+ resetResultsCount: () => void;
1961
+ };
1962
+ lastResult: () => MediaDeviceInfo[];
1963
+ dependencies: [(state: RootState) => MediaDeviceInfo[], (state: RootState) => string[]];
1964
+ recomputations: () => number;
1965
+ resetRecomputations: () => void;
1966
+ dependencyRecomputations: () => number;
1967
+ resetDependencyRecomputations: () => void;
1968
+ } & {
1969
+ argsMemoize: typeof reselect.weakMapMemoize;
1970
+ memoize: typeof reselect.weakMapMemoize;
1971
+ };
1972
+ declare const selectMicrophoneDevices: ((state: {
1973
+ app: AppState;
1974
+ authorization: AuthorizationState;
1975
+ breakout: BreakoutState;
1976
+ chat: ChatState;
1977
+ cloudRecording: CloudRecordingState;
1978
+ connectionMonitor: ConnectionMonitorState;
1979
+ deviceCredentials: DeviceCredentialsState;
1980
+ localMedia: LocalMediaState;
1981
+ localParticipant: LocalParticipantState;
1982
+ localScreenshare: LocalScreenshareState;
1983
+ notifications: NotificationsState;
1984
+ organization: OrganizationState;
1985
+ remoteParticipants: RemoteParticipantState;
1986
+ room: RoomState;
1987
+ roomConnection: RoomConnectionState;
1988
+ rtcAnalytics: rtcAnalyticsState;
1989
+ rtcConnection: RtcConnectionState;
1990
+ signalConnection: SignalConnectionState;
1991
+ spotlights: SpotlightsState;
1992
+ streaming: StreamingState;
1993
+ waitingParticipants: WaitingParticipantsState;
1994
+ }) => MediaDeviceInfo[]) & {
1995
+ clearCache: () => void;
1996
+ resultsCount: () => number;
1997
+ resetResultsCount: () => void;
1998
+ } & {
1999
+ resultFunc: (resultFuncArgs_0: MediaDeviceInfo[], resultFuncArgs_1: string[]) => MediaDeviceInfo[];
2000
+ memoizedResultFunc: ((resultFuncArgs_0: MediaDeviceInfo[], resultFuncArgs_1: string[]) => MediaDeviceInfo[]) & {
2001
+ clearCache: () => void;
2002
+ resultsCount: () => number;
2003
+ resetResultsCount: () => void;
2004
+ };
2005
+ lastResult: () => MediaDeviceInfo[];
2006
+ dependencies: [(state: RootState) => MediaDeviceInfo[], (state: RootState) => string[]];
2007
+ recomputations: () => number;
2008
+ resetRecomputations: () => void;
2009
+ dependencyRecomputations: () => number;
2010
+ resetDependencyRecomputations: () => void;
2011
+ } & {
2012
+ argsMemoize: typeof reselect.weakMapMemoize;
2013
+ memoize: typeof reselect.weakMapMemoize;
2014
+ };
2015
+ declare const selectSpeakerDevices: ((state: {
2016
+ app: AppState;
2017
+ authorization: AuthorizationState;
2018
+ breakout: BreakoutState;
2019
+ chat: ChatState;
2020
+ cloudRecording: CloudRecordingState;
2021
+ connectionMonitor: ConnectionMonitorState;
2022
+ deviceCredentials: DeviceCredentialsState;
2023
+ localMedia: LocalMediaState;
2024
+ localParticipant: LocalParticipantState;
2025
+ localScreenshare: LocalScreenshareState;
2026
+ notifications: NotificationsState;
2027
+ organization: OrganizationState;
2028
+ remoteParticipants: RemoteParticipantState;
2029
+ room: RoomState;
2030
+ roomConnection: RoomConnectionState;
2031
+ rtcAnalytics: rtcAnalyticsState;
2032
+ rtcConnection: RtcConnectionState;
2033
+ signalConnection: SignalConnectionState;
2034
+ spotlights: SpotlightsState;
2035
+ streaming: StreamingState;
2036
+ waitingParticipants: WaitingParticipantsState;
2037
+ }) => MediaDeviceInfo[]) & {
2038
+ clearCache: () => void;
2039
+ resultsCount: () => number;
2040
+ resetResultsCount: () => void;
2041
+ } & {
2042
+ resultFunc: (resultFuncArgs_0: MediaDeviceInfo[]) => MediaDeviceInfo[];
2043
+ memoizedResultFunc: ((resultFuncArgs_0: MediaDeviceInfo[]) => MediaDeviceInfo[]) & {
2044
+ clearCache: () => void;
2045
+ resultsCount: () => number;
2046
+ resetResultsCount: () => void;
2047
+ };
2048
+ lastResult: () => MediaDeviceInfo[];
2049
+ dependencies: [(state: RootState) => MediaDeviceInfo[]];
2050
+ recomputations: () => number;
2051
+ resetRecomputations: () => void;
2052
+ dependencyRecomputations: () => number;
2053
+ resetDependencyRecomputations: () => void;
2054
+ } & {
2055
+ argsMemoize: typeof reselect.weakMapMemoize;
2056
+ memoize: typeof reselect.weakMapMemoize;
2057
+ };
2058
+ declare const selectLocalMediaShouldStartWithOptions: ((state: {
2059
+ app: AppState;
2060
+ authorization: AuthorizationState;
2061
+ breakout: BreakoutState;
2062
+ chat: ChatState;
2063
+ cloudRecording: CloudRecordingState;
2064
+ connectionMonitor: ConnectionMonitorState;
2065
+ deviceCredentials: DeviceCredentialsState;
2066
+ localMedia: LocalMediaState;
2067
+ localParticipant: LocalParticipantState;
2068
+ localScreenshare: LocalScreenshareState;
2069
+ notifications: NotificationsState;
2070
+ organization: OrganizationState;
2071
+ remoteParticipants: RemoteParticipantState;
2072
+ room: RoomState;
2073
+ roomConnection: RoomConnectionState;
2074
+ rtcAnalytics: rtcAnalyticsState;
2075
+ rtcConnection: RtcConnectionState;
2076
+ signalConnection: SignalConnectionState;
2077
+ spotlights: SpotlightsState;
2078
+ streaming: StreamingState;
2079
+ waitingParticipants: WaitingParticipantsState;
2080
+ }) => LocalMediaOptions | undefined) & {
2081
+ clearCache: () => void;
2082
+ resultsCount: () => number;
2083
+ resetResultsCount: () => void;
2084
+ } & {
2085
+ resultFunc: (resultFuncArgs_0: boolean, resultFuncArgs_1: "error" | "inactive" | "stopped" | "starting" | "started", resultFuncArgs_2: LocalMediaOptions | undefined) => LocalMediaOptions | undefined;
2086
+ memoizedResultFunc: ((resultFuncArgs_0: boolean, resultFuncArgs_1: "error" | "inactive" | "stopped" | "starting" | "started", resultFuncArgs_2: LocalMediaOptions | undefined) => LocalMediaOptions | undefined) & {
2087
+ clearCache: () => void;
2088
+ resultsCount: () => number;
2089
+ resetResultsCount: () => void;
2090
+ };
2091
+ lastResult: () => LocalMediaOptions | undefined;
2092
+ dependencies: [(state: RootState) => boolean, (state: RootState) => "error" | "inactive" | "stopped" | "starting" | "started", (state: RootState) => LocalMediaOptions | undefined];
2093
+ recomputations: () => number;
2094
+ resetRecomputations: () => void;
2095
+ dependencyRecomputations: () => number;
2096
+ resetDependencyRecomputations: () => void;
2097
+ } & {
2098
+ argsMemoize: typeof reselect.weakMapMemoize;
2099
+ memoize: typeof reselect.weakMapMemoize;
2100
+ };
2101
+ declare const selectLocalMediaShouldStop: ((state: {
2102
+ app: AppState;
2103
+ authorization: AuthorizationState;
2104
+ breakout: BreakoutState;
2105
+ chat: ChatState;
2106
+ cloudRecording: CloudRecordingState;
2107
+ connectionMonitor: ConnectionMonitorState;
2108
+ deviceCredentials: DeviceCredentialsState;
2109
+ localMedia: LocalMediaState;
2110
+ localParticipant: LocalParticipantState;
2111
+ localScreenshare: LocalScreenshareState;
2112
+ notifications: NotificationsState;
2113
+ organization: OrganizationState;
2114
+ remoteParticipants: RemoteParticipantState;
2115
+ room: RoomState;
2116
+ roomConnection: RoomConnectionState;
2117
+ rtcAnalytics: rtcAnalyticsState;
2118
+ rtcConnection: RtcConnectionState;
2119
+ signalConnection: SignalConnectionState;
2120
+ spotlights: SpotlightsState;
2121
+ streaming: StreamingState;
2122
+ waitingParticipants: WaitingParticipantsState;
2123
+ }) => boolean) & {
2124
+ clearCache: () => void;
2125
+ resultsCount: () => number;
2126
+ resetResultsCount: () => void;
2127
+ } & {
2128
+ resultFunc: (resultFuncArgs_0: boolean, resultFuncArgs_1: "error" | "inactive" | "stopped" | "starting" | "started", resultFuncArgs_2: LocalMediaOptions | undefined) => boolean;
2129
+ memoizedResultFunc: ((resultFuncArgs_0: boolean, resultFuncArgs_1: "error" | "inactive" | "stopped" | "starting" | "started", resultFuncArgs_2: LocalMediaOptions | undefined) => boolean) & {
2130
+ clearCache: () => void;
2131
+ resultsCount: () => number;
2132
+ resetResultsCount: () => void;
2133
+ };
2134
+ lastResult: () => boolean;
2135
+ dependencies: [(state: RootState) => boolean, (state: RootState) => "error" | "inactive" | "stopped" | "starting" | "started", (state: RootState) => LocalMediaOptions | undefined];
2136
+ recomputations: () => number;
2137
+ resetRecomputations: () => void;
2138
+ dependencyRecomputations: () => number;
2139
+ resetDependencyRecomputations: () => void;
2140
+ } & {
2141
+ argsMemoize: typeof reselect.weakMapMemoize;
2142
+ memoize: typeof reselect.weakMapMemoize;
2143
+ };
2144
+
2145
+ interface OrganizationState {
2146
+ data: Organization | null | undefined;
2147
+ isFetching: boolean;
2148
+ error: unknown;
2149
+ }
2150
+ declare const organizationSliceInitialState: OrganizationState;
2151
+ declare const organizationSlice: _reduxjs_toolkit.Slice<OrganizationState, {}, "organization", "organization", _reduxjs_toolkit.SliceSelectors<OrganizationState>>;
2152
+ declare const doOrganizationFetch: _reduxjs_toolkit.AsyncThunk<Organization | undefined, undefined, ThunkConfig>;
2153
+ declare const selectOrganizationRaw: (state: RootState) => OrganizationState;
2154
+ declare const selectOrganizationId: (state: RootState) => string | undefined;
2155
+ declare const selectOrganizationPreferences: (state: RootState) => OrganizationPreferences | null | undefined;
2156
+ declare const selectShouldFetchOrganization: ((state: {
2157
+ app: AppState;
2158
+ authorization: AuthorizationState;
2159
+ breakout: BreakoutState;
2160
+ chat: ChatState;
2161
+ cloudRecording: CloudRecordingState;
2162
+ connectionMonitor: ConnectionMonitorState;
2163
+ deviceCredentials: DeviceCredentialsState;
2164
+ localMedia: LocalMediaState;
2165
+ localParticipant: LocalParticipantState;
2166
+ localScreenshare: LocalScreenshareState;
2167
+ notifications: NotificationsState;
2168
+ organization: OrganizationState;
2169
+ remoteParticipants: RemoteParticipantState;
2170
+ room: RoomState;
2171
+ roomConnection: RoomConnectionState;
2172
+ rtcAnalytics: rtcAnalyticsState;
2173
+ rtcConnection: RtcConnectionState;
2174
+ signalConnection: SignalConnectionState;
2175
+ spotlights: SpotlightsState;
2176
+ streaming: StreamingState;
2177
+ waitingParticipants: WaitingParticipantsState;
2178
+ }) => boolean) & {
2179
+ clearCache: () => void;
2180
+ resultsCount: () => number;
2181
+ resetResultsCount: () => void;
2182
+ } & {
2183
+ resultFunc: (resultFuncArgs_0: boolean, resultFuncArgs_1: OrganizationState, resultFuncArgs_2: DeviceCredentialsState) => boolean;
2184
+ memoizedResultFunc: ((resultFuncArgs_0: boolean, resultFuncArgs_1: OrganizationState, resultFuncArgs_2: DeviceCredentialsState) => boolean) & {
2185
+ clearCache: () => void;
2186
+ resultsCount: () => number;
2187
+ resetResultsCount: () => void;
2188
+ };
2189
+ lastResult: () => boolean;
2190
+ dependencies: [(state: RootState) => boolean, (state: RootState) => OrganizationState, (state: RootState) => DeviceCredentialsState];
2191
+ recomputations: () => number;
2192
+ resetRecomputations: () => void;
2193
+ dependencyRecomputations: () => number;
2194
+ resetDependencyRecomputations: () => void;
2195
+ } & {
2196
+ argsMemoize: typeof reselect.weakMapMemoize;
2197
+ memoize: typeof reselect.weakMapMemoize;
2198
+ };
2199
+
2200
+ interface StreamStatusUpdate {
2201
+ clientId: string;
2202
+ streamId: string;
2203
+ state: StreamState;
2204
+ }
2205
+
2206
+ declare function createRemoteParticipant(client: SignalClient, newJoiner?: boolean): RemoteParticipant;
2207
+ interface RemoteParticipantState {
2208
+ remoteParticipants: RemoteParticipant[];
2209
+ }
2210
+ declare const remoteParticipantsSliceInitialState: RemoteParticipantState;
2211
+ declare const remoteParticipantsSlice: _reduxjs_toolkit.Slice<RemoteParticipantState, {
2212
+ streamStatusUpdated: (state: immer.WritableDraft<RemoteParticipantState>, action: PayloadAction<StreamStatusUpdate[]>) => immer.WritableDraft<RemoteParticipantState>;
2213
+ participantStreamAdded: (state: immer.WritableDraft<RemoteParticipantState>, action: PayloadAction<RtcStreamAddedPayload>) => RemoteParticipantState;
2214
+ participantStreamIdAdded: (state: immer.WritableDraft<RemoteParticipantState>, action: PayloadAction<{
2215
+ clientId: string;
2216
+ streamId: string;
2217
+ }>) => RemoteParticipantState;
2218
+ }, "remoteParticipants", "remoteParticipants", _reduxjs_toolkit.SliceSelectors<RemoteParticipantState>>;
2219
+ declare const participantStreamAdded: _reduxjs_toolkit.ActionCreatorWithPayload<RtcStreamAddedPayload, "remoteParticipants/participantStreamAdded">;
2220
+ declare const participantStreamIdAdded: _reduxjs_toolkit.ActionCreatorWithPayload<{
2221
+ clientId: string;
2222
+ streamId: string;
2223
+ }, "remoteParticipants/participantStreamIdAdded">;
2224
+ declare const streamStatusUpdated: _reduxjs_toolkit.ActionCreatorWithPayload<StreamStatusUpdate[], "remoteParticipants/streamStatusUpdated">;
2225
+ declare const doRequestAudioEnable: (args: AudioEnableRequest) => AppThunk;
2226
+ declare const doRequestVideoEnable: (args: VideoEnableRequest) => AppThunk;
2227
+ declare const selectRemoteParticipantsRaw: (state: RootState) => RemoteParticipantState;
2228
+ declare const selectRemoteClients: (state: RootState) => RemoteParticipant[];
2229
+ declare const selectRemoteParticipants: ((state: {
2230
+ app: AppState;
2231
+ authorization: AuthorizationState;
2232
+ breakout: BreakoutState;
2233
+ chat: ChatState;
2234
+ cloudRecording: CloudRecordingState;
2235
+ connectionMonitor: ConnectionMonitorState;
2236
+ deviceCredentials: DeviceCredentialsState;
2237
+ localMedia: LocalMediaState;
2238
+ localParticipant: LocalParticipantState;
2239
+ localScreenshare: LocalScreenshareState;
2240
+ notifications: NotificationsState;
2241
+ organization: OrganizationState;
2242
+ remoteParticipants: RemoteParticipantState;
2243
+ room: RoomState;
2244
+ roomConnection: RoomConnectionState;
2245
+ rtcAnalytics: rtcAnalyticsState;
2246
+ rtcConnection: RtcConnectionState;
2247
+ signalConnection: SignalConnectionState;
2248
+ spotlights: SpotlightsState;
2249
+ streaming: StreamingState;
2250
+ waitingParticipants: WaitingParticipantsState;
2251
+ }) => RemoteParticipant[]) & {
2252
+ clearCache: () => void;
2253
+ resultsCount: () => number;
2254
+ resetResultsCount: () => void;
2255
+ } & {
2256
+ resultFunc: (resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[];
2257
+ memoizedResultFunc: ((resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[]) & {
2258
+ clearCache: () => void;
2259
+ resultsCount: () => number;
2260
+ resetResultsCount: () => void;
2261
+ };
2262
+ lastResult: () => RemoteParticipant[];
2263
+ dependencies: [(state: RootState) => RemoteParticipant[]];
2264
+ recomputations: () => number;
2265
+ resetRecomputations: () => void;
2266
+ dependencyRecomputations: () => number;
2267
+ resetDependencyRecomputations: () => void;
2268
+ } & {
2269
+ argsMemoize: typeof reselect.weakMapMemoize;
2270
+ memoize: typeof reselect.weakMapMemoize;
2271
+ };
2272
+ declare const selectNumClients: ((state: {
2273
+ app: AppState;
2274
+ authorization: AuthorizationState;
2275
+ breakout: BreakoutState;
2276
+ chat: ChatState;
2277
+ cloudRecording: CloudRecordingState;
2278
+ connectionMonitor: ConnectionMonitorState;
2279
+ deviceCredentials: DeviceCredentialsState;
2280
+ localMedia: LocalMediaState;
2281
+ localParticipant: LocalParticipantState;
2282
+ localScreenshare: LocalScreenshareState;
2283
+ notifications: NotificationsState;
2284
+ organization: OrganizationState;
2285
+ remoteParticipants: RemoteParticipantState;
2286
+ room: RoomState;
2287
+ roomConnection: RoomConnectionState;
2288
+ rtcAnalytics: rtcAnalyticsState;
2289
+ rtcConnection: RtcConnectionState;
2290
+ signalConnection: SignalConnectionState;
2291
+ spotlights: SpotlightsState;
2292
+ streaming: StreamingState;
2293
+ waitingParticipants: WaitingParticipantsState;
2294
+ }) => number) & {
2295
+ clearCache: () => void;
2296
+ resultsCount: () => number;
2297
+ resetResultsCount: () => void;
2298
+ } & {
2299
+ resultFunc: (resultFuncArgs_0: RemoteParticipant[]) => number;
2300
+ memoizedResultFunc: ((resultFuncArgs_0: RemoteParticipant[]) => number) & {
2301
+ clearCache: () => void;
2302
+ resultsCount: () => number;
2303
+ resetResultsCount: () => void;
2304
+ };
2305
+ lastResult: () => number;
2306
+ dependencies: [(state: RootState) => RemoteParticipant[]];
2307
+ recomputations: () => number;
2308
+ resetRecomputations: () => void;
2309
+ dependencyRecomputations: () => number;
2310
+ resetDependencyRecomputations: () => void;
2311
+ } & {
2312
+ argsMemoize: typeof reselect.weakMapMemoize;
2313
+ memoize: typeof reselect.weakMapMemoize;
2314
+ };
2315
+ declare const selectNumParticipants: ((state: {
2316
+ app: AppState;
2317
+ authorization: AuthorizationState;
2318
+ breakout: BreakoutState;
2319
+ chat: ChatState;
2320
+ cloudRecording: CloudRecordingState;
2321
+ connectionMonitor: ConnectionMonitorState;
2322
+ deviceCredentials: DeviceCredentialsState;
2323
+ localMedia: LocalMediaState;
2324
+ localParticipant: LocalParticipantState;
2325
+ localScreenshare: LocalScreenshareState;
2326
+ notifications: NotificationsState;
2327
+ organization: OrganizationState;
2328
+ remoteParticipants: RemoteParticipantState;
2329
+ room: RoomState;
2330
+ roomConnection: RoomConnectionState;
2331
+ rtcAnalytics: rtcAnalyticsState;
2332
+ rtcConnection: RtcConnectionState;
2333
+ signalConnection: SignalConnectionState;
2334
+ spotlights: SpotlightsState;
2335
+ streaming: StreamingState;
2336
+ waitingParticipants: WaitingParticipantsState;
2337
+ }) => number) & {
2338
+ clearCache: () => void;
2339
+ resultsCount: () => number;
2340
+ resetResultsCount: () => void;
2341
+ } & {
2342
+ resultFunc: (resultFuncArgs_0: RemoteParticipant[], resultFuncArgs_1: LocalParticipantState) => number;
2343
+ memoizedResultFunc: ((resultFuncArgs_0: RemoteParticipant[], resultFuncArgs_1: LocalParticipantState) => number) & {
2344
+ clearCache: () => void;
2345
+ resultsCount: () => number;
2346
+ resetResultsCount: () => void;
2347
+ };
2348
+ lastResult: () => number;
2349
+ dependencies: [((state: {
2350
+ app: AppState;
2351
+ authorization: AuthorizationState;
2352
+ breakout: BreakoutState;
2353
+ chat: ChatState;
2354
+ cloudRecording: CloudRecordingState;
2355
+ connectionMonitor: ConnectionMonitorState;
2356
+ deviceCredentials: DeviceCredentialsState;
2357
+ localMedia: LocalMediaState;
2358
+ localParticipant: LocalParticipantState;
2359
+ localScreenshare: LocalScreenshareState;
2360
+ notifications: NotificationsState;
2361
+ organization: OrganizationState;
2362
+ remoteParticipants: RemoteParticipantState;
2363
+ room: RoomState;
2364
+ roomConnection: RoomConnectionState;
2365
+ rtcAnalytics: rtcAnalyticsState;
2366
+ rtcConnection: RtcConnectionState;
2367
+ signalConnection: SignalConnectionState;
2368
+ spotlights: SpotlightsState;
2369
+ streaming: StreamingState;
2370
+ waitingParticipants: WaitingParticipantsState;
2371
+ }) => RemoteParticipant[]) & {
2372
+ clearCache: () => void;
2373
+ resultsCount: () => number;
2374
+ resetResultsCount: () => void;
2375
+ } & {
2376
+ resultFunc: (resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[];
2377
+ memoizedResultFunc: ((resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[]) & {
2378
+ clearCache: () => void;
2379
+ resultsCount: () => number;
2380
+ resetResultsCount: () => void;
2381
+ };
2382
+ lastResult: () => RemoteParticipant[];
2383
+ dependencies: [(state: RootState) => RemoteParticipant[]];
2384
+ recomputations: () => number;
2385
+ resetRecomputations: () => void;
2386
+ dependencyRecomputations: () => number;
2387
+ resetDependencyRecomputations: () => void;
2388
+ } & {
2389
+ argsMemoize: typeof reselect.weakMapMemoize;
2390
+ memoize: typeof reselect.weakMapMemoize;
2391
+ }, (state: RootState) => LocalParticipantState];
2392
+ recomputations: () => number;
2393
+ resetRecomputations: () => void;
2394
+ dependencyRecomputations: () => number;
2395
+ resetDependencyRecomputations: () => void;
2396
+ } & {
2397
+ argsMemoize: typeof reselect.weakMapMemoize;
2398
+ memoize: typeof reselect.weakMapMemoize;
2399
+ };
2400
+
2401
+ type ClientView = {
2402
+ id: string;
2403
+ clientId: string;
2404
+ displayName: string;
2405
+ hasActivePresentation?: boolean;
2406
+ stream?: (MediaStream & {
2407
+ outboundId?: string;
2408
+ inboundId?: string;
2409
+ }) | null;
2410
+ isLocalClient?: boolean;
2411
+ isPresentation?: boolean;
2412
+ isVideoEnabled?: boolean;
2413
+ isAudioEnabled?: boolean;
2414
+ breakoutGroup?: string | null;
2415
+ breakoutGroupAssigned?: string;
2416
+ };
2417
+
2418
+ interface RoomState {
2419
+ isLocked: boolean;
2420
+ }
2421
+ declare const roomSliceInitialState: RoomState;
2422
+ declare const roomSlice: _reduxjs_toolkit.Slice<RoomState, {}, "room", "room", _reduxjs_toolkit.SliceSelectors<RoomState>>;
2423
+ declare const doLockRoom: (args: {
2424
+ locked: boolean;
2425
+ }) => AppThunk;
2426
+ declare const doKickParticipant: (args: {
2427
+ clientId: string;
2428
+ }) => AppThunk;
2429
+ declare const doEndMeeting: (args: {
2430
+ stayBehind?: boolean;
2431
+ }) => AppThunk;
2432
+ declare const selectRoomIsLocked: (state: RootState) => boolean;
2433
+ declare const selectScreenshares: ((state: {
2434
+ app: AppState;
2435
+ authorization: AuthorizationState;
2436
+ breakout: BreakoutState;
2437
+ chat: ChatState;
2438
+ cloudRecording: CloudRecordingState;
2439
+ connectionMonitor: ConnectionMonitorState;
2440
+ deviceCredentials: DeviceCredentialsState;
2441
+ localMedia: LocalMediaState;
2442
+ localParticipant: LocalParticipantState;
2443
+ localScreenshare: LocalScreenshareState;
2444
+ notifications: NotificationsState;
2445
+ organization: OrganizationState;
2446
+ remoteParticipants: RemoteParticipantState;
2447
+ room: RoomState;
2448
+ roomConnection: RoomConnectionState;
2449
+ rtcAnalytics: rtcAnalyticsState;
2450
+ rtcConnection: RtcConnectionState;
2451
+ signalConnection: SignalConnectionState;
2452
+ spotlights: SpotlightsState;
2453
+ streaming: StreamingState;
2454
+ waitingParticipants: WaitingParticipantsState;
2455
+ }) => Screenshare[]) & {
2456
+ clearCache: () => void;
2457
+ resultsCount: () => number;
2458
+ resetResultsCount: () => void;
2459
+ } & {
2460
+ resultFunc: (resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[]) => Screenshare[];
2461
+ memoizedResultFunc: ((resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[]) => Screenshare[]) & {
2462
+ clearCache: () => void;
2463
+ resultsCount: () => number;
2464
+ resetResultsCount: () => void;
2465
+ };
2466
+ lastResult: () => Screenshare[];
2467
+ dependencies: [(state: RootState) => MediaStream | null, (state: RootState) => LocalParticipantState, ((state: {
2468
+ app: AppState;
2469
+ authorization: AuthorizationState;
2470
+ breakout: BreakoutState;
2471
+ chat: ChatState;
2472
+ cloudRecording: CloudRecordingState;
2473
+ connectionMonitor: ConnectionMonitorState;
2474
+ deviceCredentials: DeviceCredentialsState;
2475
+ localMedia: LocalMediaState;
2476
+ localParticipant: LocalParticipantState;
2477
+ localScreenshare: LocalScreenshareState;
2478
+ notifications: NotificationsState;
2479
+ organization: OrganizationState;
2480
+ remoteParticipants: RemoteParticipantState;
2481
+ room: RoomState;
2482
+ roomConnection: RoomConnectionState;
2483
+ rtcAnalytics: rtcAnalyticsState;
2484
+ rtcConnection: RtcConnectionState;
2485
+ signalConnection: SignalConnectionState;
2486
+ spotlights: SpotlightsState;
2487
+ streaming: StreamingState;
2488
+ waitingParticipants: WaitingParticipantsState;
2489
+ }) => RemoteParticipant[]) & {
2490
+ clearCache: () => void;
2491
+ resultsCount: () => number;
2492
+ resetResultsCount: () => void;
2493
+ } & {
2494
+ resultFunc: (resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[];
2495
+ memoizedResultFunc: ((resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[]) & {
2496
+ clearCache: () => void;
2497
+ resultsCount: () => number;
2498
+ resetResultsCount: () => void;
2499
+ };
2500
+ lastResult: () => RemoteParticipant[];
2501
+ dependencies: [(state: RootState) => RemoteParticipant[]];
2502
+ recomputations: () => number;
2503
+ resetRecomputations: () => void;
2504
+ dependencyRecomputations: () => number;
2505
+ resetDependencyRecomputations: () => void;
2506
+ } & {
2507
+ argsMemoize: typeof reselect.weakMapMemoize;
2508
+ memoize: typeof reselect.weakMapMemoize;
2509
+ }];
2510
+ recomputations: () => number;
2511
+ resetRecomputations: () => void;
2512
+ dependencyRecomputations: () => number;
2513
+ resetDependencyRecomputations: () => void;
2514
+ } & {
2515
+ argsMemoize: typeof reselect.weakMapMemoize;
2516
+ memoize: typeof reselect.weakMapMemoize;
2517
+ };
2518
+ declare const selectRemoteClientViews: ((state: {
2519
+ app: AppState;
2520
+ authorization: AuthorizationState;
2521
+ breakout: BreakoutState;
2522
+ chat: ChatState;
2523
+ cloudRecording: CloudRecordingState;
2524
+ connectionMonitor: ConnectionMonitorState;
2525
+ deviceCredentials: DeviceCredentialsState;
2526
+ localMedia: LocalMediaState;
2527
+ localParticipant: LocalParticipantState;
2528
+ localScreenshare: LocalScreenshareState;
2529
+ notifications: NotificationsState;
2530
+ organization: OrganizationState;
2531
+ remoteParticipants: RemoteParticipantState;
2532
+ room: RoomState;
2533
+ roomConnection: RoomConnectionState;
2534
+ rtcAnalytics: rtcAnalyticsState;
2535
+ rtcConnection: RtcConnectionState;
2536
+ signalConnection: SignalConnectionState;
2537
+ spotlights: SpotlightsState;
2538
+ streaming: StreamingState;
2539
+ waitingParticipants: WaitingParticipantsState;
2540
+ }) => ClientView[]) & {
2541
+ clearCache: () => void;
2542
+ resultsCount: () => number;
2543
+ resetResultsCount: () => void;
2544
+ } & {
2545
+ resultFunc: (resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
2546
+ [key: string]: string;
2547
+ } | null | undefined) => ClientView[];
2548
+ memoizedResultFunc: ((resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
2549
+ [key: string]: string;
2550
+ } | null | undefined) => ClientView[]) & {
2551
+ clearCache: () => void;
2552
+ resultsCount: () => number;
2553
+ resetResultsCount: () => void;
2554
+ };
2555
+ lastResult: () => ClientView[];
2556
+ dependencies: [(state: RootState) => MediaStream | null, (state: RootState) => LocalParticipantState, ((state: {
2557
+ app: AppState;
2558
+ authorization: AuthorizationState;
2559
+ breakout: BreakoutState;
2560
+ chat: ChatState;
2561
+ cloudRecording: CloudRecordingState;
2562
+ connectionMonitor: ConnectionMonitorState;
2563
+ deviceCredentials: DeviceCredentialsState;
2564
+ localMedia: LocalMediaState;
2565
+ localParticipant: LocalParticipantState;
2566
+ localScreenshare: LocalScreenshareState;
2567
+ notifications: NotificationsState;
2568
+ organization: OrganizationState;
2569
+ remoteParticipants: RemoteParticipantState;
2570
+ room: RoomState;
2571
+ roomConnection: RoomConnectionState;
2572
+ rtcAnalytics: rtcAnalyticsState;
2573
+ rtcConnection: RtcConnectionState;
2574
+ signalConnection: SignalConnectionState;
2575
+ spotlights: SpotlightsState;
2576
+ streaming: StreamingState;
2577
+ waitingParticipants: WaitingParticipantsState;
2578
+ }) => RemoteParticipant[]) & {
2579
+ clearCache: () => void;
2580
+ resultsCount: () => number;
2581
+ resetResultsCount: () => void;
2582
+ } & {
2583
+ resultFunc: (resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[];
2584
+ memoizedResultFunc: ((resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[]) & {
2585
+ clearCache: () => void;
2586
+ resultsCount: () => number;
2587
+ resetResultsCount: () => void;
2588
+ };
2589
+ lastResult: () => RemoteParticipant[];
2590
+ dependencies: [(state: RootState) => RemoteParticipant[]];
2591
+ recomputations: () => number;
2592
+ resetRecomputations: () => void;
2593
+ dependencyRecomputations: () => number;
2594
+ resetDependencyRecomputations: () => void;
2595
+ } & {
2596
+ argsMemoize: typeof reselect.weakMapMemoize;
2597
+ memoize: typeof reselect.weakMapMemoize;
2598
+ }, ((state: {
2599
+ app: AppState;
2600
+ authorization: AuthorizationState;
2601
+ breakout: BreakoutState;
2602
+ chat: ChatState;
2603
+ cloudRecording: CloudRecordingState;
2604
+ connectionMonitor: ConnectionMonitorState;
2605
+ deviceCredentials: DeviceCredentialsState;
2606
+ localMedia: LocalMediaState;
2607
+ localParticipant: LocalParticipantState;
2608
+ localScreenshare: LocalScreenshareState;
2609
+ notifications: NotificationsState;
2610
+ organization: OrganizationState;
2611
+ remoteParticipants: RemoteParticipantState;
2612
+ room: RoomState;
2613
+ roomConnection: RoomConnectionState;
2614
+ rtcAnalytics: rtcAnalyticsState;
2615
+ rtcConnection: RtcConnectionState;
2616
+ signalConnection: SignalConnectionState;
2617
+ spotlights: SpotlightsState;
2618
+ streaming: StreamingState;
2619
+ waitingParticipants: WaitingParticipantsState;
2620
+ }) => string) & {
2621
+ clearCache: () => void;
2622
+ resultsCount: () => number;
2623
+ resetResultsCount: () => void;
2624
+ } & {
2625
+ resultFunc: (resultFuncArgs_0: BreakoutState, resultFuncArgs_1: string | null) => string;
2626
+ memoizedResultFunc: ((resultFuncArgs_0: BreakoutState, resultFuncArgs_1: string | null) => string) & {
2627
+ clearCache: () => void;
2628
+ resultsCount: () => number;
2629
+ resetResultsCount: () => void;
2630
+ };
2631
+ lastResult: () => string;
2632
+ dependencies: [(state: RootState) => BreakoutState, (state: RootState) => string | null];
2633
+ recomputations: () => number;
2634
+ resetRecomputations: () => void;
2635
+ dependencyRecomputations: () => number;
2636
+ resetDependencyRecomputations: () => void;
2637
+ } & {
2638
+ argsMemoize: typeof reselect.weakMapMemoize;
2639
+ memoize: typeof reselect.weakMapMemoize;
2640
+ }, (state: RootState) => {
2641
+ [key: string]: string;
2642
+ } | null | undefined];
2643
+ recomputations: () => number;
2644
+ resetRecomputations: () => void;
2645
+ dependencyRecomputations: () => number;
2646
+ resetDependencyRecomputations: () => void;
2647
+ } & {
2648
+ argsMemoize: typeof reselect.weakMapMemoize;
2649
+ memoize: typeof reselect.weakMapMemoize;
2650
+ };
2651
+ declare const selectAllClientViews: ((state: {
2652
+ app: AppState;
2653
+ authorization: AuthorizationState;
2654
+ breakout: BreakoutState;
2655
+ chat: ChatState;
2656
+ cloudRecording: CloudRecordingState;
2657
+ connectionMonitor: ConnectionMonitorState;
2658
+ deviceCredentials: DeviceCredentialsState;
2659
+ localMedia: LocalMediaState;
2660
+ localParticipant: LocalParticipantState;
2661
+ localScreenshare: LocalScreenshareState;
2662
+ notifications: NotificationsState;
2663
+ organization: OrganizationState;
2664
+ remoteParticipants: RemoteParticipantState;
2665
+ room: RoomState;
2666
+ roomConnection: RoomConnectionState;
2667
+ rtcAnalytics: rtcAnalyticsState;
2668
+ rtcConnection: RtcConnectionState;
2669
+ signalConnection: SignalConnectionState;
2670
+ spotlights: SpotlightsState;
2671
+ streaming: StreamingState;
2672
+ waitingParticipants: WaitingParticipantsState;
2673
+ }) => ClientView[]) & {
2674
+ clearCache: () => void;
2675
+ resultsCount: () => number;
2676
+ resetResultsCount: () => void;
2677
+ } & {
2678
+ resultFunc: (resultFuncArgs_0: ClientView | null, resultFuncArgs_1: ClientView[]) => ClientView[];
2679
+ memoizedResultFunc: ((resultFuncArgs_0: ClientView | null, resultFuncArgs_1: ClientView[]) => ClientView[]) & {
2680
+ clearCache: () => void;
2681
+ resultsCount: () => number;
2682
+ resetResultsCount: () => void;
2683
+ };
2684
+ lastResult: () => ClientView[];
2685
+ dependencies: [((state: {
2686
+ app: AppState;
2687
+ authorization: AuthorizationState;
2688
+ breakout: BreakoutState;
2689
+ chat: ChatState;
2690
+ cloudRecording: CloudRecordingState;
2691
+ connectionMonitor: ConnectionMonitorState;
2692
+ deviceCredentials: DeviceCredentialsState;
2693
+ localMedia: LocalMediaState;
2694
+ localParticipant: LocalParticipantState;
2695
+ localScreenshare: LocalScreenshareState;
2696
+ notifications: NotificationsState;
2697
+ organization: OrganizationState;
2698
+ remoteParticipants: RemoteParticipantState;
2699
+ room: RoomState;
2700
+ roomConnection: RoomConnectionState;
2701
+ rtcAnalytics: rtcAnalyticsState;
2702
+ rtcConnection: RtcConnectionState;
2703
+ signalConnection: SignalConnectionState;
2704
+ spotlights: SpotlightsState;
2705
+ streaming: StreamingState;
2706
+ waitingParticipants: WaitingParticipantsState;
2707
+ }) => ClientView | null) & {
2708
+ clearCache: () => void;
2709
+ resultsCount: () => number;
2710
+ resetResultsCount: () => void;
2711
+ } & {
2712
+ resultFunc: (resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView | null;
2713
+ memoizedResultFunc: ((resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView | null) & {
2714
+ clearCache: () => void;
2715
+ resultsCount: () => number;
2716
+ resetResultsCount: () => void;
2717
+ };
2718
+ lastResult: () => ClientView | null;
2719
+ dependencies: [(state: RootState) => LocalParticipantState, (state: RootState) => MediaStream | undefined];
2720
+ recomputations: () => number;
2721
+ resetRecomputations: () => void;
2722
+ dependencyRecomputations: () => number;
2723
+ resetDependencyRecomputations: () => void;
2724
+ } & {
2725
+ argsMemoize: typeof reselect.weakMapMemoize;
2726
+ memoize: typeof reselect.weakMapMemoize;
2727
+ }, ((state: {
2728
+ app: AppState;
2729
+ authorization: AuthorizationState;
2730
+ breakout: BreakoutState;
2731
+ chat: ChatState;
2732
+ cloudRecording: CloudRecordingState;
2733
+ connectionMonitor: ConnectionMonitorState;
2734
+ deviceCredentials: DeviceCredentialsState;
2735
+ localMedia: LocalMediaState;
2736
+ localParticipant: LocalParticipantState;
2737
+ localScreenshare: LocalScreenshareState;
2738
+ notifications: NotificationsState;
2739
+ organization: OrganizationState;
2740
+ remoteParticipants: RemoteParticipantState;
2741
+ room: RoomState;
2742
+ roomConnection: RoomConnectionState;
2743
+ rtcAnalytics: rtcAnalyticsState;
2744
+ rtcConnection: RtcConnectionState;
2745
+ signalConnection: SignalConnectionState;
2746
+ spotlights: SpotlightsState;
2747
+ streaming: StreamingState;
2748
+ waitingParticipants: WaitingParticipantsState;
2749
+ }) => ClientView[]) & {
2750
+ clearCache: () => void;
2751
+ resultsCount: () => number;
2752
+ resetResultsCount: () => void;
2753
+ } & {
2754
+ resultFunc: (resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
2755
+ [key: string]: string;
2756
+ } | null | undefined) => ClientView[];
2757
+ memoizedResultFunc: ((resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
2758
+ [key: string]: string;
2759
+ } | null | undefined) => ClientView[]) & {
2760
+ clearCache: () => void;
2761
+ resultsCount: () => number;
2762
+ resetResultsCount: () => void;
2763
+ };
2764
+ lastResult: () => ClientView[];
2765
+ dependencies: [(state: RootState) => MediaStream | null, (state: RootState) => LocalParticipantState, ((state: {
2766
+ app: AppState;
2767
+ authorization: AuthorizationState;
2768
+ breakout: BreakoutState;
2769
+ chat: ChatState;
2770
+ cloudRecording: CloudRecordingState;
2771
+ connectionMonitor: ConnectionMonitorState;
2772
+ deviceCredentials: DeviceCredentialsState;
2773
+ localMedia: LocalMediaState;
2774
+ localParticipant: LocalParticipantState;
2775
+ localScreenshare: LocalScreenshareState;
2776
+ notifications: NotificationsState;
2777
+ organization: OrganizationState;
2778
+ remoteParticipants: RemoteParticipantState;
2779
+ room: RoomState;
2780
+ roomConnection: RoomConnectionState;
2781
+ rtcAnalytics: rtcAnalyticsState;
2782
+ rtcConnection: RtcConnectionState;
2783
+ signalConnection: SignalConnectionState;
2784
+ spotlights: SpotlightsState;
2785
+ streaming: StreamingState;
2786
+ waitingParticipants: WaitingParticipantsState;
2787
+ }) => RemoteParticipant[]) & {
2788
+ clearCache: () => void;
2789
+ resultsCount: () => number;
2790
+ resetResultsCount: () => void;
2791
+ } & {
2792
+ resultFunc: (resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[];
2793
+ memoizedResultFunc: ((resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[]) & {
2794
+ clearCache: () => void;
2795
+ resultsCount: () => number;
2796
+ resetResultsCount: () => void;
2797
+ };
2798
+ lastResult: () => RemoteParticipant[];
2799
+ dependencies: [(state: RootState) => RemoteParticipant[]];
2800
+ recomputations: () => number;
2801
+ resetRecomputations: () => void;
2802
+ dependencyRecomputations: () => number;
2803
+ resetDependencyRecomputations: () => void;
2804
+ } & {
2805
+ argsMemoize: typeof reselect.weakMapMemoize;
2806
+ memoize: typeof reselect.weakMapMemoize;
2807
+ }, ((state: {
2808
+ app: AppState;
2809
+ authorization: AuthorizationState;
2810
+ breakout: BreakoutState;
2811
+ chat: ChatState;
2812
+ cloudRecording: CloudRecordingState;
2813
+ connectionMonitor: ConnectionMonitorState;
2814
+ deviceCredentials: DeviceCredentialsState;
2815
+ localMedia: LocalMediaState;
2816
+ localParticipant: LocalParticipantState;
2817
+ localScreenshare: LocalScreenshareState;
2818
+ notifications: NotificationsState;
2819
+ organization: OrganizationState;
2820
+ remoteParticipants: RemoteParticipantState;
2821
+ room: RoomState;
2822
+ roomConnection: RoomConnectionState;
2823
+ rtcAnalytics: rtcAnalyticsState;
2824
+ rtcConnection: RtcConnectionState;
2825
+ signalConnection: SignalConnectionState;
2826
+ spotlights: SpotlightsState;
2827
+ streaming: StreamingState;
2828
+ waitingParticipants: WaitingParticipantsState;
2829
+ }) => string) & {
2830
+ clearCache: () => void;
2831
+ resultsCount: () => number;
2832
+ resetResultsCount: () => void;
2833
+ } & {
2834
+ resultFunc: (resultFuncArgs_0: BreakoutState, resultFuncArgs_1: string | null) => string;
2835
+ memoizedResultFunc: ((resultFuncArgs_0: BreakoutState, resultFuncArgs_1: string | null) => string) & {
2836
+ clearCache: () => void;
2837
+ resultsCount: () => number;
2838
+ resetResultsCount: () => void;
2839
+ };
2840
+ lastResult: () => string;
2841
+ dependencies: [(state: RootState) => BreakoutState, (state: RootState) => string | null];
2842
+ recomputations: () => number;
2843
+ resetRecomputations: () => void;
2844
+ dependencyRecomputations: () => number;
2845
+ resetDependencyRecomputations: () => void;
2846
+ } & {
2847
+ argsMemoize: typeof reselect.weakMapMemoize;
2848
+ memoize: typeof reselect.weakMapMemoize;
2849
+ }, (state: RootState) => {
2850
+ [key: string]: string;
2851
+ } | null | undefined];
2852
+ recomputations: () => number;
2853
+ resetRecomputations: () => void;
2854
+ dependencyRecomputations: () => number;
2855
+ resetDependencyRecomputations: () => void;
2856
+ } & {
2857
+ argsMemoize: typeof reselect.weakMapMemoize;
2858
+ memoize: typeof reselect.weakMapMemoize;
2859
+ }];
2860
+ recomputations: () => number;
2861
+ resetRecomputations: () => void;
2862
+ dependencyRecomputations: () => number;
2863
+ resetDependencyRecomputations: () => void;
2864
+ } & {
2865
+ argsMemoize: typeof reselect.weakMapMemoize;
2866
+ memoize: typeof reselect.weakMapMemoize;
2867
+ };
2868
+ declare const selectAllClientViewsInCurrentGroup: ((state: {
2869
+ app: AppState;
2870
+ authorization: AuthorizationState;
2871
+ breakout: BreakoutState;
2872
+ chat: ChatState;
2873
+ cloudRecording: CloudRecordingState;
2874
+ connectionMonitor: ConnectionMonitorState;
2875
+ deviceCredentials: DeviceCredentialsState;
2876
+ localMedia: LocalMediaState;
2877
+ localParticipant: LocalParticipantState;
2878
+ localScreenshare: LocalScreenshareState;
2879
+ notifications: NotificationsState;
2880
+ organization: OrganizationState;
2881
+ remoteParticipants: RemoteParticipantState;
2882
+ room: RoomState;
2883
+ roomConnection: RoomConnectionState;
2884
+ rtcAnalytics: rtcAnalyticsState;
2885
+ rtcConnection: RtcConnectionState;
2886
+ signalConnection: SignalConnectionState;
2887
+ spotlights: SpotlightsState;
2888
+ streaming: StreamingState;
2889
+ waitingParticipants: WaitingParticipantsState;
2890
+ }) => ClientView[]) & {
2891
+ clearCache: () => void;
2892
+ resultsCount: () => number;
2893
+ resetResultsCount: () => void;
2894
+ } & {
2895
+ resultFunc: (resultFuncArgs_0: ClientView[], resultFuncArgs_1: boolean, resultFuncArgs_2: string) => ClientView[];
2896
+ memoizedResultFunc: ((resultFuncArgs_0: ClientView[], resultFuncArgs_1: boolean, resultFuncArgs_2: string) => ClientView[]) & {
2897
+ clearCache: () => void;
2898
+ resultsCount: () => number;
2899
+ resetResultsCount: () => void;
2900
+ };
2901
+ lastResult: () => ClientView[];
2902
+ dependencies: [((state: {
2903
+ app: AppState;
2904
+ authorization: AuthorizationState;
2905
+ breakout: BreakoutState;
2906
+ chat: ChatState;
2907
+ cloudRecording: CloudRecordingState;
2908
+ connectionMonitor: ConnectionMonitorState;
2909
+ deviceCredentials: DeviceCredentialsState;
2910
+ localMedia: LocalMediaState;
2911
+ localParticipant: LocalParticipantState;
2912
+ localScreenshare: LocalScreenshareState;
2913
+ notifications: NotificationsState;
2914
+ organization: OrganizationState;
2915
+ remoteParticipants: RemoteParticipantState;
2916
+ room: RoomState;
2917
+ roomConnection: RoomConnectionState;
2918
+ rtcAnalytics: rtcAnalyticsState;
2919
+ rtcConnection: RtcConnectionState;
2920
+ signalConnection: SignalConnectionState;
2921
+ spotlights: SpotlightsState;
2922
+ streaming: StreamingState;
2923
+ waitingParticipants: WaitingParticipantsState;
2924
+ }) => ClientView[]) & {
2925
+ clearCache: () => void;
2926
+ resultsCount: () => number;
2927
+ resetResultsCount: () => void;
2928
+ } & {
2929
+ resultFunc: (resultFuncArgs_0: ClientView | null, resultFuncArgs_1: ClientView[]) => ClientView[];
2930
+ memoizedResultFunc: ((resultFuncArgs_0: ClientView | null, resultFuncArgs_1: ClientView[]) => ClientView[]) & {
2931
+ clearCache: () => void;
2932
+ resultsCount: () => number;
2933
+ resetResultsCount: () => void;
2934
+ };
2935
+ lastResult: () => ClientView[];
2936
+ dependencies: [((state: {
2937
+ app: AppState;
2938
+ authorization: AuthorizationState;
2939
+ breakout: BreakoutState;
2940
+ chat: ChatState;
2941
+ cloudRecording: CloudRecordingState;
2942
+ connectionMonitor: ConnectionMonitorState;
2943
+ deviceCredentials: DeviceCredentialsState;
2944
+ localMedia: LocalMediaState;
2945
+ localParticipant: LocalParticipantState;
2946
+ localScreenshare: LocalScreenshareState;
2947
+ notifications: NotificationsState;
2948
+ organization: OrganizationState;
2949
+ remoteParticipants: RemoteParticipantState;
2950
+ room: RoomState;
2951
+ roomConnection: RoomConnectionState;
2952
+ rtcAnalytics: rtcAnalyticsState;
2953
+ rtcConnection: RtcConnectionState;
2954
+ signalConnection: SignalConnectionState;
2955
+ spotlights: SpotlightsState;
2956
+ streaming: StreamingState;
2957
+ waitingParticipants: WaitingParticipantsState;
2958
+ }) => ClientView | null) & {
2959
+ clearCache: () => void;
2960
+ resultsCount: () => number;
2961
+ resetResultsCount: () => void;
2962
+ } & {
2963
+ resultFunc: (resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView | null;
2964
+ memoizedResultFunc: ((resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView | null) & {
2965
+ clearCache: () => void;
2966
+ resultsCount: () => number;
2967
+ resetResultsCount: () => void;
2968
+ };
2969
+ lastResult: () => ClientView | null;
2970
+ dependencies: [(state: RootState) => LocalParticipantState, (state: RootState) => MediaStream | undefined];
2971
+ recomputations: () => number;
2972
+ resetRecomputations: () => void;
2973
+ dependencyRecomputations: () => number;
2974
+ resetDependencyRecomputations: () => void;
2975
+ } & {
2976
+ argsMemoize: typeof reselect.weakMapMemoize;
2977
+ memoize: typeof reselect.weakMapMemoize;
2978
+ }, ((state: {
2979
+ app: AppState;
2980
+ authorization: AuthorizationState;
2981
+ breakout: BreakoutState;
2982
+ chat: ChatState;
2983
+ cloudRecording: CloudRecordingState;
2984
+ connectionMonitor: ConnectionMonitorState;
2985
+ deviceCredentials: DeviceCredentialsState;
2986
+ localMedia: LocalMediaState;
2987
+ localParticipant: LocalParticipantState;
2988
+ localScreenshare: LocalScreenshareState;
2989
+ notifications: NotificationsState;
2990
+ organization: OrganizationState;
2991
+ remoteParticipants: RemoteParticipantState;
2992
+ room: RoomState;
2993
+ roomConnection: RoomConnectionState;
2994
+ rtcAnalytics: rtcAnalyticsState;
2995
+ rtcConnection: RtcConnectionState;
2996
+ signalConnection: SignalConnectionState;
2997
+ spotlights: SpotlightsState;
2998
+ streaming: StreamingState;
2999
+ waitingParticipants: WaitingParticipantsState;
3000
+ }) => ClientView[]) & {
3001
+ clearCache: () => void;
3002
+ resultsCount: () => number;
3003
+ resetResultsCount: () => void;
3004
+ } & {
3005
+ resultFunc: (resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
3006
+ [key: string]: string;
3007
+ } | null | undefined) => ClientView[];
3008
+ memoizedResultFunc: ((resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
3009
+ [key: string]: string;
3010
+ } | null | undefined) => ClientView[]) & {
3011
+ clearCache: () => void;
3012
+ resultsCount: () => number;
3013
+ resetResultsCount: () => void;
3014
+ };
3015
+ lastResult: () => ClientView[];
3016
+ dependencies: [(state: RootState) => MediaStream | null, (state: RootState) => LocalParticipantState, ((state: {
3017
+ app: AppState;
3018
+ authorization: AuthorizationState;
3019
+ breakout: BreakoutState;
3020
+ chat: ChatState;
3021
+ cloudRecording: CloudRecordingState;
3022
+ connectionMonitor: ConnectionMonitorState;
3023
+ deviceCredentials: DeviceCredentialsState;
3024
+ localMedia: LocalMediaState;
3025
+ localParticipant: LocalParticipantState;
3026
+ localScreenshare: LocalScreenshareState;
3027
+ notifications: NotificationsState;
3028
+ organization: OrganizationState;
3029
+ remoteParticipants: RemoteParticipantState;
3030
+ room: RoomState;
3031
+ roomConnection: RoomConnectionState;
3032
+ rtcAnalytics: rtcAnalyticsState;
3033
+ rtcConnection: RtcConnectionState;
3034
+ signalConnection: SignalConnectionState;
3035
+ spotlights: SpotlightsState;
3036
+ streaming: StreamingState;
3037
+ waitingParticipants: WaitingParticipantsState;
3038
+ }) => RemoteParticipant[]) & {
3039
+ clearCache: () => void;
3040
+ resultsCount: () => number;
3041
+ resetResultsCount: () => void;
3042
+ } & {
3043
+ resultFunc: (resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[];
3044
+ memoizedResultFunc: ((resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[]) & {
3045
+ clearCache: () => void;
3046
+ resultsCount: () => number;
3047
+ resetResultsCount: () => void;
3048
+ };
3049
+ lastResult: () => RemoteParticipant[];
3050
+ dependencies: [(state: RootState) => RemoteParticipant[]];
3051
+ recomputations: () => number;
3052
+ resetRecomputations: () => void;
3053
+ dependencyRecomputations: () => number;
3054
+ resetDependencyRecomputations: () => void;
3055
+ } & {
3056
+ argsMemoize: typeof reselect.weakMapMemoize;
3057
+ memoize: typeof reselect.weakMapMemoize;
3058
+ }, ((state: {
3059
+ app: AppState;
3060
+ authorization: AuthorizationState;
3061
+ breakout: BreakoutState;
3062
+ chat: ChatState;
3063
+ cloudRecording: CloudRecordingState;
3064
+ connectionMonitor: ConnectionMonitorState;
3065
+ deviceCredentials: DeviceCredentialsState;
3066
+ localMedia: LocalMediaState;
3067
+ localParticipant: LocalParticipantState;
3068
+ localScreenshare: LocalScreenshareState;
3069
+ notifications: NotificationsState;
3070
+ organization: OrganizationState;
3071
+ remoteParticipants: RemoteParticipantState;
3072
+ room: RoomState;
3073
+ roomConnection: RoomConnectionState;
3074
+ rtcAnalytics: rtcAnalyticsState;
3075
+ rtcConnection: RtcConnectionState;
3076
+ signalConnection: SignalConnectionState;
3077
+ spotlights: SpotlightsState;
3078
+ streaming: StreamingState;
3079
+ waitingParticipants: WaitingParticipantsState;
3080
+ }) => string) & {
3081
+ clearCache: () => void;
3082
+ resultsCount: () => number;
3083
+ resetResultsCount: () => void;
3084
+ } & {
3085
+ resultFunc: (resultFuncArgs_0: BreakoutState, resultFuncArgs_1: string | null) => string;
3086
+ memoizedResultFunc: ((resultFuncArgs_0: BreakoutState, resultFuncArgs_1: string | null) => string) & {
3087
+ clearCache: () => void;
3088
+ resultsCount: () => number;
3089
+ resetResultsCount: () => void;
3090
+ };
3091
+ lastResult: () => string;
3092
+ dependencies: [(state: RootState) => BreakoutState, (state: RootState) => string | null];
3093
+ recomputations: () => number;
3094
+ resetRecomputations: () => void;
3095
+ dependencyRecomputations: () => number;
3096
+ resetDependencyRecomputations: () => void;
3097
+ } & {
3098
+ argsMemoize: typeof reselect.weakMapMemoize;
3099
+ memoize: typeof reselect.weakMapMemoize;
3100
+ }, (state: RootState) => {
3101
+ [key: string]: string;
3102
+ } | null | undefined];
3103
+ recomputations: () => number;
3104
+ resetRecomputations: () => void;
3105
+ dependencyRecomputations: () => number;
3106
+ resetDependencyRecomputations: () => void;
3107
+ } & {
3108
+ argsMemoize: typeof reselect.weakMapMemoize;
3109
+ memoize: typeof reselect.weakMapMemoize;
3110
+ }];
3111
+ recomputations: () => number;
3112
+ resetRecomputations: () => void;
3113
+ dependencyRecomputations: () => number;
3114
+ resetDependencyRecomputations: () => void;
3115
+ } & {
3116
+ argsMemoize: typeof reselect.weakMapMemoize;
3117
+ memoize: typeof reselect.weakMapMemoize;
3118
+ }, (state: RootState) => boolean, ((state: {
3119
+ app: AppState;
3120
+ authorization: AuthorizationState;
3121
+ breakout: BreakoutState;
3122
+ chat: ChatState;
3123
+ cloudRecording: CloudRecordingState;
3124
+ connectionMonitor: ConnectionMonitorState;
3125
+ deviceCredentials: DeviceCredentialsState;
3126
+ localMedia: LocalMediaState;
3127
+ localParticipant: LocalParticipantState;
3128
+ localScreenshare: LocalScreenshareState;
3129
+ notifications: NotificationsState;
3130
+ organization: OrganizationState;
3131
+ remoteParticipants: RemoteParticipantState;
3132
+ room: RoomState;
3133
+ roomConnection: RoomConnectionState;
3134
+ rtcAnalytics: rtcAnalyticsState;
3135
+ rtcConnection: RtcConnectionState;
3136
+ signalConnection: SignalConnectionState;
3137
+ spotlights: SpotlightsState;
3138
+ streaming: StreamingState;
3139
+ waitingParticipants: WaitingParticipantsState;
3140
+ }) => string) & {
3141
+ clearCache: () => void;
3142
+ resultsCount: () => number;
3143
+ resetResultsCount: () => void;
3144
+ } & {
3145
+ resultFunc: (resultFuncArgs_0: BreakoutState, resultFuncArgs_1: string | null) => string;
3146
+ memoizedResultFunc: ((resultFuncArgs_0: BreakoutState, resultFuncArgs_1: string | null) => string) & {
3147
+ clearCache: () => void;
3148
+ resultsCount: () => number;
3149
+ resetResultsCount: () => void;
3150
+ };
3151
+ lastResult: () => string;
3152
+ dependencies: [(state: RootState) => BreakoutState, (state: RootState) => string | null];
3153
+ recomputations: () => number;
3154
+ resetRecomputations: () => void;
3155
+ dependencyRecomputations: () => number;
3156
+ resetDependencyRecomputations: () => void;
3157
+ } & {
3158
+ argsMemoize: typeof reselect.weakMapMemoize;
3159
+ memoize: typeof reselect.weakMapMemoize;
3160
+ }];
3161
+ recomputations: () => number;
3162
+ resetRecomputations: () => void;
3163
+ dependencyRecomputations: () => number;
3164
+ resetDependencyRecomputations: () => void;
3165
+ } & {
3166
+ argsMemoize: typeof reselect.weakMapMemoize;
3167
+ memoize: typeof reselect.weakMapMemoize;
3168
+ };
3169
+ declare const selectBreakoutGroupedParticipants: ((state: {
3170
+ app: AppState;
3171
+ authorization: AuthorizationState;
3172
+ breakout: BreakoutState;
3173
+ chat: ChatState;
3174
+ cloudRecording: CloudRecordingState;
3175
+ connectionMonitor: ConnectionMonitorState;
3176
+ deviceCredentials: DeviceCredentialsState;
3177
+ localMedia: LocalMediaState;
3178
+ localParticipant: LocalParticipantState;
3179
+ localScreenshare: LocalScreenshareState;
3180
+ notifications: NotificationsState;
3181
+ organization: OrganizationState;
3182
+ remoteParticipants: RemoteParticipantState;
3183
+ room: RoomState;
3184
+ roomConnection: RoomConnectionState;
3185
+ rtcAnalytics: rtcAnalyticsState;
3186
+ rtcConnection: RtcConnectionState;
3187
+ signalConnection: SignalConnectionState;
3188
+ spotlights: SpotlightsState;
3189
+ streaming: StreamingState;
3190
+ waitingParticipants: WaitingParticipantsState;
3191
+ }) => {
3192
+ clients: ClientView[];
3193
+ group: {
3194
+ id: string;
3195
+ name: string;
3196
+ };
3197
+ }[]) & {
3198
+ clearCache: () => void;
3199
+ resultsCount: () => number;
3200
+ resetResultsCount: () => void;
3201
+ } & {
3202
+ resultFunc: (resultFuncArgs_0: ClientView[], resultFuncArgs_1: boolean, resultFuncArgs_2: {
3203
+ [key: string]: string;
3204
+ } | null | undefined) => {
3205
+ clients: ClientView[];
3206
+ group: {
3207
+ id: string;
3208
+ name: string;
3209
+ };
3210
+ }[];
3211
+ memoizedResultFunc: ((resultFuncArgs_0: ClientView[], resultFuncArgs_1: boolean, resultFuncArgs_2: {
3212
+ [key: string]: string;
3213
+ } | null | undefined) => {
3214
+ clients: ClientView[];
3215
+ group: {
3216
+ id: string;
3217
+ name: string;
3218
+ };
3219
+ }[]) & {
3220
+ clearCache: () => void;
3221
+ resultsCount: () => number;
3222
+ resetResultsCount: () => void;
3223
+ };
3224
+ lastResult: () => {
3225
+ clients: ClientView[];
3226
+ group: {
3227
+ id: string;
3228
+ name: string;
3229
+ };
3230
+ }[];
3231
+ dependencies: [((state: {
3232
+ app: AppState;
3233
+ authorization: AuthorizationState;
3234
+ breakout: BreakoutState;
3235
+ chat: ChatState;
3236
+ cloudRecording: CloudRecordingState;
3237
+ connectionMonitor: ConnectionMonitorState;
3238
+ deviceCredentials: DeviceCredentialsState;
3239
+ localMedia: LocalMediaState;
3240
+ localParticipant: LocalParticipantState;
3241
+ localScreenshare: LocalScreenshareState;
3242
+ notifications: NotificationsState;
3243
+ organization: OrganizationState;
3244
+ remoteParticipants: RemoteParticipantState;
3245
+ room: RoomState;
3246
+ roomConnection: RoomConnectionState;
3247
+ rtcAnalytics: rtcAnalyticsState;
3248
+ rtcConnection: RtcConnectionState;
3249
+ signalConnection: SignalConnectionState;
3250
+ spotlights: SpotlightsState;
3251
+ streaming: StreamingState;
3252
+ waitingParticipants: WaitingParticipantsState;
3253
+ }) => ClientView[]) & {
3254
+ clearCache: () => void;
3255
+ resultsCount: () => number;
3256
+ resetResultsCount: () => void;
3257
+ } & {
3258
+ resultFunc: (resultFuncArgs_0: ClientView | null, resultFuncArgs_1: ClientView[]) => ClientView[];
3259
+ memoizedResultFunc: ((resultFuncArgs_0: ClientView | null, resultFuncArgs_1: ClientView[]) => ClientView[]) & {
3260
+ clearCache: () => void;
3261
+ resultsCount: () => number;
3262
+ resetResultsCount: () => void;
3263
+ };
3264
+ lastResult: () => ClientView[];
3265
+ dependencies: [((state: {
3266
+ app: AppState;
3267
+ authorization: AuthorizationState;
3268
+ breakout: BreakoutState;
3269
+ chat: ChatState;
3270
+ cloudRecording: CloudRecordingState;
3271
+ connectionMonitor: ConnectionMonitorState;
3272
+ deviceCredentials: DeviceCredentialsState;
3273
+ localMedia: LocalMediaState;
3274
+ localParticipant: LocalParticipantState;
3275
+ localScreenshare: LocalScreenshareState;
3276
+ notifications: NotificationsState;
3277
+ organization: OrganizationState;
3278
+ remoteParticipants: RemoteParticipantState;
3279
+ room: RoomState;
3280
+ roomConnection: RoomConnectionState;
3281
+ rtcAnalytics: rtcAnalyticsState;
3282
+ rtcConnection: RtcConnectionState;
3283
+ signalConnection: SignalConnectionState;
3284
+ spotlights: SpotlightsState;
3285
+ streaming: StreamingState;
3286
+ waitingParticipants: WaitingParticipantsState;
3287
+ }) => ClientView | null) & {
3288
+ clearCache: () => void;
3289
+ resultsCount: () => number;
3290
+ resetResultsCount: () => void;
3291
+ } & {
3292
+ resultFunc: (resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView | null;
3293
+ memoizedResultFunc: ((resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView | null) & {
3294
+ clearCache: () => void;
3295
+ resultsCount: () => number;
3296
+ resetResultsCount: () => void;
3297
+ };
3298
+ lastResult: () => ClientView | null;
3299
+ dependencies: [(state: RootState) => LocalParticipantState, (state: RootState) => MediaStream | undefined];
3300
+ recomputations: () => number;
3301
+ resetRecomputations: () => void;
3302
+ dependencyRecomputations: () => number;
3303
+ resetDependencyRecomputations: () => void;
3304
+ } & {
3305
+ argsMemoize: typeof reselect.weakMapMemoize;
3306
+ memoize: typeof reselect.weakMapMemoize;
3307
+ }, ((state: {
3308
+ app: AppState;
3309
+ authorization: AuthorizationState;
3310
+ breakout: BreakoutState;
3311
+ chat: ChatState;
3312
+ cloudRecording: CloudRecordingState;
3313
+ connectionMonitor: ConnectionMonitorState;
3314
+ deviceCredentials: DeviceCredentialsState;
3315
+ localMedia: LocalMediaState;
3316
+ localParticipant: LocalParticipantState;
3317
+ localScreenshare: LocalScreenshareState;
3318
+ notifications: NotificationsState;
3319
+ organization: OrganizationState;
3320
+ remoteParticipants: RemoteParticipantState;
3321
+ room: RoomState;
3322
+ roomConnection: RoomConnectionState;
3323
+ rtcAnalytics: rtcAnalyticsState;
3324
+ rtcConnection: RtcConnectionState;
3325
+ signalConnection: SignalConnectionState;
3326
+ spotlights: SpotlightsState;
3327
+ streaming: StreamingState;
3328
+ waitingParticipants: WaitingParticipantsState;
3329
+ }) => ClientView[]) & {
3330
+ clearCache: () => void;
3331
+ resultsCount: () => number;
3332
+ resetResultsCount: () => void;
3333
+ } & {
3334
+ resultFunc: (resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
3335
+ [key: string]: string;
3336
+ } | null | undefined) => ClientView[];
3337
+ memoizedResultFunc: ((resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
3338
+ [key: string]: string;
3339
+ } | null | undefined) => ClientView[]) & {
3340
+ clearCache: () => void;
3341
+ resultsCount: () => number;
3342
+ resetResultsCount: () => void;
3343
+ };
3344
+ lastResult: () => ClientView[];
3345
+ dependencies: [(state: RootState) => MediaStream | null, (state: RootState) => LocalParticipantState, ((state: {
3346
+ app: AppState;
3347
+ authorization: AuthorizationState;
3348
+ breakout: BreakoutState;
3349
+ chat: ChatState;
3350
+ cloudRecording: CloudRecordingState;
3351
+ connectionMonitor: ConnectionMonitorState;
3352
+ deviceCredentials: DeviceCredentialsState;
3353
+ localMedia: LocalMediaState;
3354
+ localParticipant: LocalParticipantState;
3355
+ localScreenshare: LocalScreenshareState;
3356
+ notifications: NotificationsState;
3357
+ organization: OrganizationState;
3358
+ remoteParticipants: RemoteParticipantState;
3359
+ room: RoomState;
3360
+ roomConnection: RoomConnectionState;
3361
+ rtcAnalytics: rtcAnalyticsState;
3362
+ rtcConnection: RtcConnectionState;
3363
+ signalConnection: SignalConnectionState;
3364
+ spotlights: SpotlightsState;
3365
+ streaming: StreamingState;
3366
+ waitingParticipants: WaitingParticipantsState;
3367
+ }) => RemoteParticipant[]) & {
3368
+ clearCache: () => void;
3369
+ resultsCount: () => number;
3370
+ resetResultsCount: () => void;
3371
+ } & {
3372
+ resultFunc: (resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[];
3373
+ memoizedResultFunc: ((resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[]) & {
3374
+ clearCache: () => void;
3375
+ resultsCount: () => number;
3376
+ resetResultsCount: () => void;
3377
+ };
3378
+ lastResult: () => RemoteParticipant[];
3379
+ dependencies: [(state: RootState) => RemoteParticipant[]];
3380
+ recomputations: () => number;
3381
+ resetRecomputations: () => void;
3382
+ dependencyRecomputations: () => number;
3383
+ resetDependencyRecomputations: () => void;
3384
+ } & {
3385
+ argsMemoize: typeof reselect.weakMapMemoize;
3386
+ memoize: typeof reselect.weakMapMemoize;
3387
+ }, ((state: {
3388
+ app: AppState;
3389
+ authorization: AuthorizationState;
3390
+ breakout: BreakoutState;
3391
+ chat: ChatState;
3392
+ cloudRecording: CloudRecordingState;
3393
+ connectionMonitor: ConnectionMonitorState;
3394
+ deviceCredentials: DeviceCredentialsState;
3395
+ localMedia: LocalMediaState;
3396
+ localParticipant: LocalParticipantState;
3397
+ localScreenshare: LocalScreenshareState;
3398
+ notifications: NotificationsState;
3399
+ organization: OrganizationState;
3400
+ remoteParticipants: RemoteParticipantState;
3401
+ room: RoomState;
3402
+ roomConnection: RoomConnectionState;
3403
+ rtcAnalytics: rtcAnalyticsState;
3404
+ rtcConnection: RtcConnectionState;
3405
+ signalConnection: SignalConnectionState;
3406
+ spotlights: SpotlightsState;
3407
+ streaming: StreamingState;
3408
+ waitingParticipants: WaitingParticipantsState;
3409
+ }) => string) & {
3410
+ clearCache: () => void;
3411
+ resultsCount: () => number;
3412
+ resetResultsCount: () => void;
3413
+ } & {
3414
+ resultFunc: (resultFuncArgs_0: BreakoutState, resultFuncArgs_1: string | null) => string;
3415
+ memoizedResultFunc: ((resultFuncArgs_0: BreakoutState, resultFuncArgs_1: string | null) => string) & {
3416
+ clearCache: () => void;
3417
+ resultsCount: () => number;
3418
+ resetResultsCount: () => void;
3419
+ };
3420
+ lastResult: () => string;
3421
+ dependencies: [(state: RootState) => BreakoutState, (state: RootState) => string | null];
3422
+ recomputations: () => number;
3423
+ resetRecomputations: () => void;
3424
+ dependencyRecomputations: () => number;
3425
+ resetDependencyRecomputations: () => void;
3426
+ } & {
3427
+ argsMemoize: typeof reselect.weakMapMemoize;
3428
+ memoize: typeof reselect.weakMapMemoize;
3429
+ }, (state: RootState) => {
3430
+ [key: string]: string;
3431
+ } | null | undefined];
3432
+ recomputations: () => number;
3433
+ resetRecomputations: () => void;
3434
+ dependencyRecomputations: () => number;
3435
+ resetDependencyRecomputations: () => void;
3436
+ } & {
3437
+ argsMemoize: typeof reselect.weakMapMemoize;
3438
+ memoize: typeof reselect.weakMapMemoize;
3439
+ }];
3440
+ recomputations: () => number;
3441
+ resetRecomputations: () => void;
3442
+ dependencyRecomputations: () => number;
3443
+ resetDependencyRecomputations: () => void;
3444
+ } & {
3445
+ argsMemoize: typeof reselect.weakMapMemoize;
3446
+ memoize: typeof reselect.weakMapMemoize;
3447
+ }, (state: RootState) => boolean, (state: RootState) => {
3448
+ [key: string]: string;
3449
+ } | null | undefined];
3450
+ recomputations: () => number;
3451
+ resetRecomputations: () => void;
3452
+ dependencyRecomputations: () => number;
3453
+ resetDependencyRecomputations: () => void;
3454
+ } & {
3455
+ argsMemoize: typeof reselect.weakMapMemoize;
3456
+ memoize: typeof reselect.weakMapMemoize;
3457
+ };
3458
+
3459
+ type ConnectionStatus = "ready" | "connecting" | "connected" | "room_locked" | "knocking" | "knock_rejected" | "kicked" | "leaving" | "left" | "disconnected" | "reconnecting";
3460
+ interface RoomConnectionState {
3461
+ session: {
3462
+ createdAt: string;
3463
+ id: string;
3464
+ } | null;
3465
+ status: ConnectionStatus;
3466
+ error: string | null;
3467
+ }
3468
+ declare const roomConnectionSliceInitialState: RoomConnectionState;
3469
+ declare const roomConnectionSlice: _reduxjs_toolkit.Slice<RoomConnectionState, {
3470
+ connectionStatusChanged: (state: immer.WritableDraft<RoomConnectionState>, action: PayloadAction<ConnectionStatus>) => {
3471
+ status: ConnectionStatus;
3472
+ session: immer.WritableDraft<{
3473
+ createdAt: string;
3474
+ id: string;
3475
+ }> | null;
3476
+ error: string | null;
3477
+ };
3478
+ }, "roomConnection", "roomConnection", _reduxjs_toolkit.SliceSelectors<RoomConnectionState>>;
3479
+ declare const doKnockRoom: (args: void) => AppThunk;
3480
+ declare const doConnectRoom: (args: void) => AppThunk;
3481
+ declare const selectShouldConnectRoom: ((state: {
3482
+ app: AppState;
3483
+ authorization: AuthorizationState;
3484
+ breakout: BreakoutState;
3485
+ chat: ChatState;
3486
+ cloudRecording: CloudRecordingState;
3487
+ connectionMonitor: ConnectionMonitorState;
3488
+ deviceCredentials: DeviceCredentialsState;
3489
+ localMedia: LocalMediaState;
3490
+ localParticipant: LocalParticipantState;
3491
+ localScreenshare: LocalScreenshareState;
3492
+ notifications: NotificationsState;
3493
+ organization: OrganizationState;
3494
+ remoteParticipants: RemoteParticipantState;
3495
+ room: RoomState;
3496
+ roomConnection: RoomConnectionState;
3497
+ rtcAnalytics: rtcAnalyticsState;
3498
+ rtcConnection: RtcConnectionState;
3499
+ signalConnection: SignalConnectionState;
3500
+ spotlights: SpotlightsState;
3501
+ streaming: StreamingState;
3502
+ waitingParticipants: WaitingParticipantsState;
3503
+ }) => boolean) & {
3504
+ clearCache: () => void;
3505
+ resultsCount: () => number;
3506
+ resetResultsCount: () => void;
3507
+ } & {
3508
+ resultFunc: (resultFuncArgs_0: boolean, resultFuncArgs_1: string | undefined, resultFuncArgs_2: ConnectionStatus, resultFuncArgs_3: boolean, resultFuncArgs_4: "error" | "inactive" | "stopped" | "starting" | "started", resultFuncArgs_5: string | null) => boolean;
3509
+ memoizedResultFunc: ((resultFuncArgs_0: boolean, resultFuncArgs_1: string | undefined, resultFuncArgs_2: ConnectionStatus, resultFuncArgs_3: boolean, resultFuncArgs_4: "error" | "inactive" | "stopped" | "starting" | "started", resultFuncArgs_5: string | null) => boolean) & {
3510
+ clearCache: () => void;
3511
+ resultsCount: () => number;
3512
+ resetResultsCount: () => void;
3513
+ };
3514
+ lastResult: () => boolean;
3515
+ dependencies: [(state: RootState) => boolean, (state: RootState) => string | undefined, (state: RootState) => ConnectionStatus, (state: RootState) => boolean, (state: RootState) => "error" | "inactive" | "stopped" | "starting" | "started", (state: RootState) => string | null];
3516
+ recomputations: () => number;
3517
+ resetRecomputations: () => void;
3518
+ dependencyRecomputations: () => number;
3519
+ resetDependencyRecomputations: () => void;
3520
+ } & {
3521
+ argsMemoize: typeof reselect.weakMapMemoize;
3522
+ memoize: typeof reselect.weakMapMemoize;
3523
+ };
3524
+
3525
+ declare const rtcEvents: {
3526
+ rtcManagerCreated: _reduxjs_toolkit.ActionCreatorWithPayload<RtcManagerCreatedPayload, string>;
3527
+ rtcManagerDestroyed: _reduxjs_toolkit.ActionCreatorWithoutPayload<string>;
3528
+ streamAdded: _reduxjs_toolkit.ActionCreatorWithPayload<RtcStreamAddedPayload, string>;
3529
+ clientConnectionStatusChanged: _reduxjs_toolkit.ActionCreatorWithPayload<RtcClientConnectionStatusChangedPayload, string>;
3530
+ };
3531
+
3532
+ declare const createWebRtcEmitter: (dispatch: AppDispatch) => {
3533
+ emit: (eventName: keyof RtcEvents, data: RtcEvents[keyof RtcEvents]) => void;
3534
+ };
3535
+ interface StreamResolutionUpdate {
3536
+ streamId: string;
3537
+ width: number;
3538
+ height: number;
3539
+ }
3540
+ interface RtcConnectionState {
3541
+ dispatcherCreated: boolean;
3542
+ error: unknown;
3543
+ isCreatingDispatcher: boolean;
3544
+ reportedStreamResolutions: {
3545
+ [streamId: string]: Omit<StreamResolutionUpdate, "streamId">;
3546
+ };
3547
+ rtcManager: RtcManager | null;
3548
+ rtcManagerDispatcher: RtcManagerDispatcher | null;
3549
+ rtcManagerInitialized: boolean;
3550
+ status: "inactive" | "ready" | "reconnecting";
3551
+ isAcceptingStreams: boolean;
3552
+ }
3553
+ declare const rtcConnectionSliceInitialState: RtcConnectionState;
3554
+ declare const rtcConnectionSlice: _reduxjs_toolkit.Slice<RtcConnectionState, {
3555
+ isAcceptingStreams: (state: immer.WritableDraft<RtcConnectionState>, action: PayloadAction<boolean>) => {
3556
+ isAcceptingStreams: boolean;
3557
+ dispatcherCreated: boolean;
3558
+ error: unknown;
3559
+ isCreatingDispatcher: boolean;
3560
+ reportedStreamResolutions: immer.WritableDraft<{
3561
+ [streamId: string]: Omit<StreamResolutionUpdate, "streamId">;
3562
+ }>;
3563
+ rtcManager: immer.WritableDraft<RtcManager> | null;
3564
+ rtcManagerDispatcher: immer.WritableDraft<RtcManagerDispatcher> | null;
3565
+ rtcManagerInitialized: boolean;
3566
+ status: "inactive" | "ready" | "reconnecting";
3567
+ };
3568
+ resolutionReported: (state: immer.WritableDraft<RtcConnectionState>, action: PayloadAction<StreamResolutionUpdate>) => {
3569
+ reportedStreamResolutions: {
3570
+ [x: string]: immer.WritableDraft<Omit<StreamResolutionUpdate, "streamId">> | {
3571
+ width: number;
3572
+ height: number;
3573
+ };
3574
+ };
3575
+ dispatcherCreated: boolean;
3576
+ error: unknown;
3577
+ isCreatingDispatcher: boolean;
3578
+ rtcManager: immer.WritableDraft<RtcManager> | null;
3579
+ rtcManagerDispatcher: immer.WritableDraft<RtcManagerDispatcher> | null;
3580
+ rtcManagerInitialized: boolean;
3581
+ status: "inactive" | "ready" | "reconnecting";
3582
+ isAcceptingStreams: boolean;
3583
+ };
3584
+ rtcDisconnected: () => {
3585
+ dispatcherCreated: boolean;
3586
+ error: unknown;
3587
+ isCreatingDispatcher: boolean;
3588
+ reportedStreamResolutions: {
3589
+ [streamId: string]: Omit<StreamResolutionUpdate, "streamId">;
3590
+ };
3591
+ rtcManager: RtcManager | null;
3592
+ rtcManagerDispatcher: RtcManagerDispatcher | null;
3593
+ rtcManagerInitialized: boolean;
3594
+ status: "inactive" | "ready" | "reconnecting";
3595
+ isAcceptingStreams: boolean;
3596
+ };
3597
+ rtcDispatcherCreated: (state: immer.WritableDraft<RtcConnectionState>, action: PayloadAction<RtcManagerDispatcher>) => {
3598
+ dispatcherCreated: true;
3599
+ rtcManagerDispatcher: RtcManagerDispatcher;
3600
+ error: unknown;
3601
+ isCreatingDispatcher: boolean;
3602
+ reportedStreamResolutions: immer.WritableDraft<{
3603
+ [streamId: string]: Omit<StreamResolutionUpdate, "streamId">;
3604
+ }>;
3605
+ rtcManager: immer.WritableDraft<RtcManager> | null;
3606
+ rtcManagerInitialized: boolean;
3607
+ status: "inactive" | "ready" | "reconnecting";
3608
+ isAcceptingStreams: boolean;
3609
+ };
3610
+ rtcManagerCreated: (state: immer.WritableDraft<RtcConnectionState>, action: PayloadAction<RtcManager>) => {
3611
+ rtcManager: RtcManager;
3612
+ status: "ready";
3613
+ dispatcherCreated: boolean;
3614
+ error: unknown;
3615
+ isCreatingDispatcher: boolean;
3616
+ reportedStreamResolutions: immer.WritableDraft<{
3617
+ [streamId: string]: Omit<StreamResolutionUpdate, "streamId">;
3618
+ }>;
3619
+ rtcManagerDispatcher: immer.WritableDraft<RtcManagerDispatcher> | null;
3620
+ rtcManagerInitialized: boolean;
3621
+ isAcceptingStreams: boolean;
3622
+ };
3623
+ rtcManagerDestroyed: (state: immer.WritableDraft<RtcConnectionState>) => {
3624
+ rtcManager: null;
3625
+ dispatcherCreated: boolean;
3626
+ error: unknown;
3627
+ isCreatingDispatcher: boolean;
3628
+ reportedStreamResolutions: immer.WritableDraft<{
3629
+ [streamId: string]: Omit<StreamResolutionUpdate, "streamId">;
3630
+ }>;
3631
+ rtcManagerDispatcher: immer.WritableDraft<RtcManagerDispatcher> | null;
3632
+ rtcManagerInitialized: boolean;
3633
+ status: "inactive" | "ready" | "reconnecting";
3634
+ isAcceptingStreams: boolean;
3635
+ };
3636
+ rtcManagerInitialized: (state: immer.WritableDraft<RtcConnectionState>) => {
3637
+ rtcManagerInitialized: true;
3638
+ dispatcherCreated: boolean;
3639
+ error: unknown;
3640
+ isCreatingDispatcher: boolean;
3641
+ reportedStreamResolutions: immer.WritableDraft<{
3642
+ [streamId: string]: Omit<StreamResolutionUpdate, "streamId">;
3643
+ }>;
3644
+ rtcManager: immer.WritableDraft<RtcManager> | null;
3645
+ rtcManagerDispatcher: immer.WritableDraft<RtcManagerDispatcher> | null;
3646
+ status: "inactive" | "ready" | "reconnecting";
3647
+ isAcceptingStreams: boolean;
3648
+ };
3649
+ rtcClientConnectionStatusChanged: {
3650
+ reducer: (state: immer.WritableDraft<RtcConnectionState>) => immer.WritableDraft<RtcConnectionState>;
3651
+ prepare: (payload: {
3652
+ localParticipantId: string;
3653
+ }) => {
3654
+ payload: {};
3655
+ meta: {
3656
+ localParticipantId: string;
3657
+ };
3658
+ };
3659
+ };
3660
+ }, "rtcConnection", "rtcConnection", _reduxjs_toolkit.SliceSelectors<RtcConnectionState>>;
3661
+ declare const resolutionReported: _reduxjs_toolkit.ActionCreatorWithPayload<StreamResolutionUpdate, "rtcConnection/resolutionReported">;
3662
+ declare const rtcDispatcherCreated: _reduxjs_toolkit.ActionCreatorWithPayload<RtcManagerDispatcher, "rtcConnection/rtcDispatcherCreated">;
3663
+ declare const rtcDisconnected: _reduxjs_toolkit.ActionCreatorWithoutPayload<"rtcConnection/rtcDisconnected">;
3664
+ declare const rtcManagerCreated: _reduxjs_toolkit.ActionCreatorWithPayload<RtcManager, "rtcConnection/rtcManagerCreated">;
3665
+ declare const rtcManagerDestroyed: _reduxjs_toolkit.ActionCreatorWithoutPayload<"rtcConnection/rtcManagerDestroyed">;
3666
+ declare const rtcManagerInitialized: _reduxjs_toolkit.ActionCreatorWithoutPayload<"rtcConnection/rtcManagerInitialized">;
3667
+ declare const isAcceptingStreams: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "rtcConnection/isAcceptingStreams">;
3668
+ declare const rtcClientConnectionStatusChanged: _reduxjs_toolkit.ActionCreatorWithPreparedPayload<[payload: {
3669
+ localParticipantId: string;
3670
+ }], {}, "rtcConnection/rtcClientConnectionStatusChanged", never, {
3671
+ localParticipantId: string;
3672
+ }>;
3673
+ declare const doConnectRtc: (args: void) => AppThunk;
3674
+ declare const doDisconnectRtc: (args: void) => AppThunk;
3675
+ declare const doHandleAcceptStreams: (args: StreamStatusUpdate[]) => AppThunk;
3676
+ declare const doRtcReportStreamResolution: (args: StreamResolutionUpdate) => AppThunk;
3677
+ declare const doRtcManagerCreated: (args: RtcManagerCreatedPayload) => AppThunk;
3678
+ declare const doRtcManagerInitialize: (args: void) => AppThunk;
3679
+ declare const selectRtcConnectionRaw: (state: RootState) => RtcConnectionState;
3680
+ declare const selectRtcManagerInitialized: (state: RootState) => boolean;
3681
+ declare const selectRtcManager: (state: RootState) => RtcManager | null;
3682
+ declare const selectRtcDispatcherCreated: (state: RootState) => boolean;
3683
+ declare const selectRtcIsCreatingDispatcher: (state: RootState) => boolean;
3684
+ declare const selectRtcStatus: (state: RootState) => "inactive" | "ready" | "reconnecting";
3685
+ declare const selectIsAcceptingStreams: (state: RootState) => boolean;
3686
+ declare const selectShouldConnectRtc: ((state: {
3687
+ app: AppState;
3688
+ authorization: AuthorizationState;
3689
+ breakout: BreakoutState;
3690
+ chat: ChatState;
3691
+ cloudRecording: CloudRecordingState;
3692
+ connectionMonitor: ConnectionMonitorState;
3693
+ deviceCredentials: DeviceCredentialsState;
3694
+ localMedia: LocalMediaState;
3695
+ localParticipant: LocalParticipantState;
3696
+ localScreenshare: LocalScreenshareState;
3697
+ notifications: NotificationsState;
3698
+ organization: OrganizationState;
3699
+ remoteParticipants: RemoteParticipantState;
3700
+ room: RoomState;
3701
+ roomConnection: RoomConnectionState;
3702
+ rtcAnalytics: rtcAnalyticsState;
3703
+ rtcConnection: RtcConnectionState;
3704
+ signalConnection: SignalConnectionState;
3705
+ spotlights: SpotlightsState;
3706
+ streaming: StreamingState;
3707
+ waitingParticipants: WaitingParticipantsState;
3708
+ }) => boolean) & {
3709
+ clearCache: () => void;
3710
+ resultsCount: () => number;
3711
+ resetResultsCount: () => void;
3712
+ } & {
3713
+ resultFunc: (resultFuncArgs_0: "inactive" | "ready" | "reconnecting", resultFuncArgs_1: boolean, resultFuncArgs_2: boolean, resultFuncArgs_3: boolean, resultFuncArgs_4: _whereby_com_media.ServerSocket | null) => boolean;
3714
+ memoizedResultFunc: ((resultFuncArgs_0: "inactive" | "ready" | "reconnecting", resultFuncArgs_1: boolean, resultFuncArgs_2: boolean, resultFuncArgs_3: boolean, resultFuncArgs_4: _whereby_com_media.ServerSocket | null) => boolean) & {
3715
+ clearCache: () => void;
3716
+ resultsCount: () => number;
3717
+ resetResultsCount: () => void;
3718
+ };
3719
+ lastResult: () => boolean;
3720
+ dependencies: [(state: RootState) => "inactive" | "ready" | "reconnecting", (state: RootState) => boolean, (state: RootState) => boolean, (state: RootState) => boolean, (state: RootState) => _whereby_com_media.ServerSocket | null];
3721
+ recomputations: () => number;
3722
+ resetRecomputations: () => void;
3723
+ dependencyRecomputations: () => number;
3724
+ resetDependencyRecomputations: () => void;
3725
+ } & {
3726
+ argsMemoize: typeof reselect.weakMapMemoize;
3727
+ memoize: typeof reselect.weakMapMemoize;
3728
+ };
3729
+ declare const selectShouldInitializeRtc: ((state: {
3730
+ app: AppState;
3731
+ authorization: AuthorizationState;
3732
+ breakout: BreakoutState;
3733
+ chat: ChatState;
3734
+ cloudRecording: CloudRecordingState;
3735
+ connectionMonitor: ConnectionMonitorState;
3736
+ deviceCredentials: DeviceCredentialsState;
3737
+ localMedia: LocalMediaState;
3738
+ localParticipant: LocalParticipantState;
3739
+ localScreenshare: LocalScreenshareState;
3740
+ notifications: NotificationsState;
3741
+ organization: OrganizationState;
3742
+ remoteParticipants: RemoteParticipantState;
3743
+ room: RoomState;
3744
+ roomConnection: RoomConnectionState;
3745
+ rtcAnalytics: rtcAnalyticsState;
3746
+ rtcConnection: RtcConnectionState;
3747
+ signalConnection: SignalConnectionState;
3748
+ spotlights: SpotlightsState;
3749
+ streaming: StreamingState;
3750
+ waitingParticipants: WaitingParticipantsState;
3751
+ }) => boolean) & {
3752
+ clearCache: () => void;
3753
+ resultsCount: () => number;
3754
+ resetResultsCount: () => void;
3755
+ } & {
3756
+ resultFunc: (resultFuncArgs_0: RtcManager | null, resultFuncArgs_1: boolean, resultFuncArgs_2: "error" | "inactive" | "stopped" | "starting" | "started") => boolean;
3757
+ memoizedResultFunc: ((resultFuncArgs_0: RtcManager | null, resultFuncArgs_1: boolean, resultFuncArgs_2: "error" | "inactive" | "stopped" | "starting" | "started") => boolean) & {
3758
+ clearCache: () => void;
3759
+ resultsCount: () => number;
3760
+ resetResultsCount: () => void;
3761
+ };
3762
+ lastResult: () => boolean;
3763
+ dependencies: [(state: RootState) => RtcManager | null, (state: RootState) => boolean, (state: RootState) => "error" | "inactive" | "stopped" | "starting" | "started"];
3764
+ recomputations: () => number;
3765
+ resetRecomputations: () => void;
3766
+ dependencyRecomputations: () => number;
3767
+ resetDependencyRecomputations: () => void;
3768
+ } & {
3769
+ argsMemoize: typeof reselect.weakMapMemoize;
3770
+ memoize: typeof reselect.weakMapMemoize;
3771
+ };
3772
+ declare const selectShouldDisconnectRtc: ((state: {
3773
+ app: AppState;
3774
+ authorization: AuthorizationState;
3775
+ breakout: BreakoutState;
3776
+ chat: ChatState;
3777
+ cloudRecording: CloudRecordingState;
3778
+ connectionMonitor: ConnectionMonitorState;
3779
+ deviceCredentials: DeviceCredentialsState;
3780
+ localMedia: LocalMediaState;
3781
+ localParticipant: LocalParticipantState;
3782
+ localScreenshare: LocalScreenshareState;
3783
+ notifications: NotificationsState;
3784
+ organization: OrganizationState;
3785
+ remoteParticipants: RemoteParticipantState;
3786
+ room: RoomState;
3787
+ roomConnection: RoomConnectionState;
3788
+ rtcAnalytics: rtcAnalyticsState;
3789
+ rtcConnection: RtcConnectionState;
3790
+ signalConnection: SignalConnectionState;
3791
+ spotlights: SpotlightsState;
3792
+ streaming: StreamingState;
3793
+ waitingParticipants: WaitingParticipantsState;
3794
+ }) => boolean) & {
3795
+ clearCache: () => void;
3796
+ resultsCount: () => number;
3797
+ resetResultsCount: () => void;
3798
+ } & {
3799
+ resultFunc: (resultFuncArgs_0: "inactive" | "ready" | "reconnecting", resultFuncArgs_1: boolean) => boolean;
3800
+ memoizedResultFunc: ((resultFuncArgs_0: "inactive" | "ready" | "reconnecting", resultFuncArgs_1: boolean) => boolean) & {
3801
+ clearCache: () => void;
3802
+ resultsCount: () => number;
3803
+ resetResultsCount: () => void;
3804
+ };
3805
+ lastResult: () => boolean;
3806
+ dependencies: [(state: RootState) => "inactive" | "ready" | "reconnecting", (state: RootState) => boolean];
3807
+ recomputations: () => number;
3808
+ resetRecomputations: () => void;
3809
+ dependencyRecomputations: () => number;
3810
+ resetDependencyRecomputations: () => void;
3811
+ } & {
3812
+ argsMemoize: typeof reselect.weakMapMemoize;
3813
+ memoize: typeof reselect.weakMapMemoize;
3814
+ };
3815
+ declare const selectStreamsToAccept: ((state: {
3816
+ app: AppState;
3817
+ authorization: AuthorizationState;
3818
+ breakout: BreakoutState;
3819
+ chat: ChatState;
3820
+ cloudRecording: CloudRecordingState;
3821
+ connectionMonitor: ConnectionMonitorState;
3822
+ deviceCredentials: DeviceCredentialsState;
3823
+ localMedia: LocalMediaState;
3824
+ localParticipant: LocalParticipantState;
3825
+ localScreenshare: LocalScreenshareState;
3826
+ notifications: NotificationsState;
3827
+ organization: OrganizationState;
3828
+ remoteParticipants: RemoteParticipantState;
3829
+ room: RoomState;
3830
+ roomConnection: RoomConnectionState;
3831
+ rtcAnalytics: rtcAnalyticsState;
3832
+ rtcConnection: RtcConnectionState;
3833
+ signalConnection: SignalConnectionState;
3834
+ spotlights: SpotlightsState;
3835
+ streaming: StreamingState;
3836
+ waitingParticipants: WaitingParticipantsState;
3837
+ }) => {
3838
+ clientId: string;
3839
+ streamId: string;
3840
+ state: StreamState;
3841
+ }[]) & {
3842
+ clearCache: () => void;
3843
+ resultsCount: () => number;
3844
+ resetResultsCount: () => void;
3845
+ } & {
3846
+ resultFunc: (resultFuncArgs_0: "inactive" | "ready" | "reconnecting", resultFuncArgs_1: RemoteParticipant[], resultFuncArgs_2: string, resultFuncArgs_3: {
3847
+ clientId: string;
3848
+ streamId: string;
3849
+ }[], resultFuncArgs_4: boolean) => {
3850
+ clientId: string;
3851
+ streamId: string;
3852
+ state: StreamState;
3853
+ }[];
3854
+ memoizedResultFunc: ((resultFuncArgs_0: "inactive" | "ready" | "reconnecting", resultFuncArgs_1: RemoteParticipant[], resultFuncArgs_2: string, resultFuncArgs_3: {
3855
+ clientId: string;
3856
+ streamId: string;
3857
+ }[], resultFuncArgs_4: boolean) => {
3858
+ clientId: string;
3859
+ streamId: string;
3860
+ state: StreamState;
3861
+ }[]) & {
3862
+ clearCache: () => void;
3863
+ resultsCount: () => number;
3864
+ resetResultsCount: () => void;
3865
+ };
3866
+ lastResult: () => {
3867
+ clientId: string;
3868
+ streamId: string;
3869
+ state: StreamState;
3870
+ }[];
3871
+ dependencies: [(state: RootState) => "inactive" | "ready" | "reconnecting", (state: RootState) => RemoteParticipant[], ((state: {
3872
+ app: AppState;
3873
+ authorization: AuthorizationState;
3874
+ breakout: BreakoutState;
3875
+ chat: ChatState;
3876
+ cloudRecording: CloudRecordingState;
3877
+ connectionMonitor: ConnectionMonitorState;
3878
+ deviceCredentials: DeviceCredentialsState;
3879
+ localMedia: LocalMediaState;
3880
+ localParticipant: LocalParticipantState;
3881
+ localScreenshare: LocalScreenshareState;
3882
+ notifications: NotificationsState;
3883
+ organization: OrganizationState;
3884
+ remoteParticipants: RemoteParticipantState;
3885
+ room: RoomState;
3886
+ roomConnection: RoomConnectionState;
3887
+ rtcAnalytics: rtcAnalyticsState;
3888
+ rtcConnection: RtcConnectionState;
3889
+ signalConnection: SignalConnectionState;
3890
+ spotlights: SpotlightsState;
3891
+ streaming: StreamingState;
3892
+ waitingParticipants: WaitingParticipantsState;
3893
+ }) => string) & {
3894
+ clearCache: () => void;
3895
+ resultsCount: () => number;
3896
+ resetResultsCount: () => void;
3897
+ } & {
3898
+ resultFunc: (resultFuncArgs_0: BreakoutState, resultFuncArgs_1: string | null) => string;
3899
+ memoizedResultFunc: ((resultFuncArgs_0: BreakoutState, resultFuncArgs_1: string | null) => string) & {
3900
+ clearCache: () => void;
3901
+ resultsCount: () => number;
3902
+ resetResultsCount: () => void;
3903
+ };
3904
+ lastResult: () => string;
3905
+ dependencies: [(state: RootState) => BreakoutState, (state: RootState) => string | null];
3906
+ recomputations: () => number;
3907
+ resetRecomputations: () => void;
3908
+ dependencyRecomputations: () => number;
3909
+ resetDependencyRecomputations: () => void;
3910
+ } & {
3911
+ argsMemoize: typeof reselect.weakMapMemoize;
3912
+ memoize: typeof reselect.weakMapMemoize;
3913
+ }, (state: RootState) => {
3914
+ clientId: string;
3915
+ streamId: string;
3916
+ }[], (state: RootState) => boolean];
3917
+ recomputations: () => number;
3918
+ resetRecomputations: () => void;
3919
+ dependencyRecomputations: () => number;
3920
+ resetDependencyRecomputations: () => void;
3921
+ } & {
3922
+ argsMemoize: typeof reselect.weakMapMemoize;
3923
+ memoize: typeof reselect.weakMapMemoize;
3924
+ };
3925
+
3926
+ declare const signalEvents: {
3927
+ audioEnabled: _reduxjs_toolkit.ActionCreatorWithPayload<AudioEnabledEvent, string>;
3928
+ audioEnableRequested: _reduxjs_toolkit.ActionCreatorWithPayload<AudioEnableRequestedEvent, string>;
3929
+ breakoutGroupJoined: _reduxjs_toolkit.ActionCreatorWithPayload<BreakoutGroupJoinedEvent, string>;
3930
+ breakoutMoveToGroup: _reduxjs_toolkit.ActionCreatorWithoutPayload<string>;
3931
+ breakoutMoveToMain: _reduxjs_toolkit.ActionCreatorWithoutPayload<string>;
3932
+ breakoutSessionUpdated: _reduxjs_toolkit.ActionCreatorWithPayload<BreakoutSessionUpdatedEvent, string>;
3933
+ chatMessage: _reduxjs_toolkit.ActionCreatorWithPayload<ChatMessage$1, string>;
3934
+ clientLeft: _reduxjs_toolkit.ActionCreatorWithPayload<ClientLeftEvent, string>;
3935
+ clientKicked: _reduxjs_toolkit.ActionCreatorWithPayload<ClientKickedEvent, string>;
3936
+ clientMetadataReceived: _reduxjs_toolkit.ActionCreatorWithPayload<ClientMetadataReceivedEvent, string>;
3937
+ clientUnableToJoin: _reduxjs_toolkit.ActionCreatorWithPayload<ClientUnableToJoinEvent, string>;
3938
+ cloudRecordingStarted: _reduxjs_toolkit.ActionCreatorWithPayload<CloudRecordingStartedEvent, string>;
3939
+ cloudRecordingStopped: _reduxjs_toolkit.ActionCreatorWithoutPayload<string>;
3940
+ disconnect: _reduxjs_toolkit.ActionCreatorWithoutPayload<string>;
3941
+ knockerLeft: _reduxjs_toolkit.ActionCreatorWithPayload<KnockerLeftEvent, string>;
3942
+ knockHandled: _reduxjs_toolkit.ActionCreatorWithPayload<KnockAcceptedEvent | KnockRejectedEvent, string>;
3943
+ newClient: _reduxjs_toolkit.ActionCreatorWithPayload<NewClientEvent, string>;
3944
+ roomJoined: _reduxjs_toolkit.ActionCreatorWithPayload<RoomJoinedEvent, string>;
3945
+ roomKnocked: _reduxjs_toolkit.ActionCreatorWithPayload<RoomKnockedEvent, string>;
3946
+ roomLeft: _reduxjs_toolkit.ActionCreatorWithoutPayload<string>;
3947
+ roomLocked: _reduxjs_toolkit.ActionCreatorWithPayload<RoomLockedEvent, string>;
3948
+ roomSessionEnded: _reduxjs_toolkit.ActionCreatorWithPayload<RoomSessionEndedEvent, string>;
3949
+ screenshareStarted: _reduxjs_toolkit.ActionCreatorWithPayload<ScreenshareStartedEvent, string>;
3950
+ screenshareStopped: _reduxjs_toolkit.ActionCreatorWithPayload<ScreenshareStoppedEvent, string>;
3951
+ spotlightAdded: _reduxjs_toolkit.ActionCreatorWithPayload<SpotlightAddedEvent, string>;
3952
+ spotlightRemoved: _reduxjs_toolkit.ActionCreatorWithPayload<SpotlightRemovedEvent, string>;
3953
+ streamingStopped: _reduxjs_toolkit.ActionCreatorWithoutPayload<string>;
3954
+ videoEnabled: _reduxjs_toolkit.ActionCreatorWithPayload<VideoEnabledEvent, string>;
3955
+ videoEnableRequested: _reduxjs_toolkit.ActionCreatorWithPayload<VideoEnableRequestedEvent, string>;
3956
+ liveTranscriptionStarted: _reduxjs_toolkit.ActionCreatorWithPayload<LiveTranscriptionStartedEvent, string>;
3957
+ liveTranscriptionStopped: _reduxjs_toolkit.ActionCreatorWithPayload<LiveTranscriptionStoppedEvent, string>;
3958
+ };
3959
+
3960
+ interface SignalConnectionState {
3961
+ deviceIdentified: boolean;
3962
+ isIdentifyingDevice: boolean;
3963
+ status: "ready" | "connecting" | "connected" | "disconnected" | "reconnecting";
3964
+ socket: ServerSocket | null;
3965
+ }
3966
+ declare const signalConnectionSliceInitialState: SignalConnectionState;
3967
+ declare const signalConnectionSlice: _reduxjs_toolkit.Slice<SignalConnectionState, {
3968
+ socketConnecting: (state: immer.WritableDraft<SignalConnectionState>) => {
3969
+ status: "connecting";
3970
+ deviceIdentified: boolean;
3971
+ isIdentifyingDevice: boolean;
3972
+ socket: immer.WritableDraft<ServerSocket> | null;
3973
+ };
3974
+ socketConnected: (state: immer.WritableDraft<SignalConnectionState>, action: PayloadAction<ServerSocket>) => {
3975
+ socket: ServerSocket;
3976
+ status: "connected";
3977
+ deviceIdentified: boolean;
3978
+ isIdentifyingDevice: boolean;
3979
+ };
3980
+ socketDisconnected: (state: immer.WritableDraft<SignalConnectionState>) => {
3981
+ socket: null;
3982
+ deviceIdentified: false;
3983
+ status: "disconnected";
3984
+ isIdentifyingDevice: boolean;
3985
+ };
3986
+ socketReconnecting: (state: immer.WritableDraft<SignalConnectionState>) => {
3987
+ status: "reconnecting";
3988
+ deviceIdentified: boolean;
3989
+ isIdentifyingDevice: boolean;
3990
+ socket: immer.WritableDraft<ServerSocket> | null;
3991
+ };
3992
+ deviceIdentifying: (state: immer.WritableDraft<SignalConnectionState>) => {
3993
+ isIdentifyingDevice: true;
3994
+ deviceIdentified: boolean;
3995
+ status: "ready" | "connecting" | "connected" | "disconnected" | "reconnecting";
3996
+ socket: immer.WritableDraft<ServerSocket> | null;
3997
+ };
3998
+ deviceIdentified: (state: immer.WritableDraft<SignalConnectionState>) => {
3999
+ deviceIdentified: true;
4000
+ isIdentifyingDevice: false;
4001
+ status: "ready" | "connecting" | "connected" | "disconnected" | "reconnecting";
4002
+ socket: immer.WritableDraft<ServerSocket> | null;
4003
+ };
4004
+ }, "signalConnection", "signalConnection", _reduxjs_toolkit.SliceSelectors<SignalConnectionState>>;
4005
+ declare const deviceIdentifying: _reduxjs_toolkit.ActionCreatorWithoutPayload<"signalConnection/deviceIdentifying">;
4006
+ declare const deviceIdentified: _reduxjs_toolkit.ActionCreatorWithoutPayload<"signalConnection/deviceIdentified">;
4007
+ declare const socketConnected: _reduxjs_toolkit.ActionCreatorWithPayload<ServerSocket, "signalConnection/socketConnected">;
4008
+ declare const socketConnecting: _reduxjs_toolkit.ActionCreatorWithoutPayload<"signalConnection/socketConnecting">;
4009
+ declare const socketDisconnected: _reduxjs_toolkit.ActionCreatorWithoutPayload<"signalConnection/socketDisconnected">;
4010
+ declare const socketReconnecting: _reduxjs_toolkit.ActionCreatorWithoutPayload<"signalConnection/socketReconnecting">;
4011
+ declare const doSignalConnect: (args: void) => AppThunk;
4012
+ declare const doSignalIdentifyDevice: (args: {
4013
+ deviceCredentials: Credentials;
4014
+ }) => AppThunk;
4015
+ declare const doSignalDisconnect: (args: void) => AppThunk;
4016
+ declare const selectSignalConnectionRaw: (state: RootState) => SignalConnectionState;
4017
+ declare const selectSignalIsIdentifyingDevice: (state: RootState) => boolean;
4018
+ declare const selectSignalConnectionDeviceIdentified: (state: RootState) => boolean;
4019
+ declare const selectSignalStatus: (state: RootState) => "ready" | "connecting" | "connected" | "disconnected" | "reconnecting";
4020
+ declare const selectSignalConnectionSocket: (state: RootState) => ServerSocket | null;
4021
+ declare const selectShouldConnectSignal: ((state: {
4022
+ app: AppState;
4023
+ authorization: AuthorizationState;
4024
+ breakout: BreakoutState;
4025
+ chat: ChatState;
4026
+ cloudRecording: CloudRecordingState;
4027
+ connectionMonitor: ConnectionMonitorState;
4028
+ deviceCredentials: DeviceCredentialsState;
4029
+ localMedia: LocalMediaState;
4030
+ localParticipant: LocalParticipantState;
4031
+ localScreenshare: LocalScreenshareState;
4032
+ notifications: NotificationsState;
4033
+ organization: OrganizationState;
4034
+ remoteParticipants: RemoteParticipantState;
4035
+ room: RoomState;
4036
+ roomConnection: RoomConnectionState;
4037
+ rtcAnalytics: rtcAnalyticsState;
4038
+ rtcConnection: RtcConnectionState;
4039
+ signalConnection: SignalConnectionState;
4040
+ spotlights: SpotlightsState;
4041
+ streaming: StreamingState;
4042
+ waitingParticipants: WaitingParticipantsState;
4043
+ }) => boolean) & {
4044
+ clearCache: () => void;
4045
+ resultsCount: () => number;
4046
+ resetResultsCount: () => void;
4047
+ } & {
4048
+ resultFunc: (resultFuncArgs_0: boolean, resultFuncArgs_1: "ready" | "connecting" | "connected" | "disconnected" | "reconnecting") => boolean;
4049
+ memoizedResultFunc: ((resultFuncArgs_0: boolean, resultFuncArgs_1: "ready" | "connecting" | "connected" | "disconnected" | "reconnecting") => boolean) & {
4050
+ clearCache: () => void;
4051
+ resultsCount: () => number;
4052
+ resetResultsCount: () => void;
4053
+ };
4054
+ lastResult: () => boolean;
4055
+ dependencies: [(state: RootState) => boolean, (state: RootState) => "ready" | "connecting" | "connected" | "disconnected" | "reconnecting"];
4056
+ recomputations: () => number;
4057
+ resetRecomputations: () => void;
4058
+ dependencyRecomputations: () => number;
4059
+ resetDependencyRecomputations: () => void;
4060
+ } & {
4061
+ argsMemoize: typeof reselect.weakMapMemoize;
4062
+ memoize: typeof reselect.weakMapMemoize;
4063
+ };
4064
+ declare const selectShouldIdentifyDevice: ((state: {
4065
+ app: AppState;
4066
+ authorization: AuthorizationState;
4067
+ breakout: BreakoutState;
4068
+ chat: ChatState;
4069
+ cloudRecording: CloudRecordingState;
4070
+ connectionMonitor: ConnectionMonitorState;
4071
+ deviceCredentials: DeviceCredentialsState;
4072
+ localMedia: LocalMediaState;
4073
+ localParticipant: LocalParticipantState;
4074
+ localScreenshare: LocalScreenshareState;
4075
+ notifications: NotificationsState;
4076
+ organization: OrganizationState;
4077
+ remoteParticipants: RemoteParticipantState;
4078
+ room: RoomState;
4079
+ roomConnection: RoomConnectionState;
4080
+ rtcAnalytics: rtcAnalyticsState;
4081
+ rtcConnection: RtcConnectionState;
4082
+ signalConnection: SignalConnectionState;
4083
+ spotlights: SpotlightsState;
4084
+ streaming: StreamingState;
4085
+ waitingParticipants: WaitingParticipantsState;
4086
+ }) => boolean) & {
4087
+ clearCache: () => void;
4088
+ resultsCount: () => number;
4089
+ resetResultsCount: () => void;
4090
+ } & {
4091
+ resultFunc: (resultFuncArgs_0: DeviceCredentialsState, resultFuncArgs_1: "ready" | "connecting" | "connected" | "disconnected" | "reconnecting", resultFuncArgs_2: boolean, resultFuncArgs_3: boolean) => boolean;
4092
+ memoizedResultFunc: ((resultFuncArgs_0: DeviceCredentialsState, resultFuncArgs_1: "ready" | "connecting" | "connected" | "disconnected" | "reconnecting", resultFuncArgs_2: boolean, resultFuncArgs_3: boolean) => boolean) & {
4093
+ clearCache: () => void;
4094
+ resultsCount: () => number;
4095
+ resetResultsCount: () => void;
4096
+ };
4097
+ lastResult: () => boolean;
4098
+ dependencies: [(state: RootState) => DeviceCredentialsState, (state: RootState) => "ready" | "connecting" | "connected" | "disconnected" | "reconnecting", (state: RootState) => boolean, (state: RootState) => boolean];
4099
+ recomputations: () => number;
4100
+ resetRecomputations: () => void;
4101
+ dependencyRecomputations: () => number;
4102
+ resetDependencyRecomputations: () => void;
4103
+ } & {
4104
+ argsMemoize: typeof reselect.weakMapMemoize;
4105
+ memoize: typeof reselect.weakMapMemoize;
4106
+ };
4107
+
4108
+ declare function streamIdForClient({ isPresentation, stream }: Pick<ClientView, "isPresentation" | "stream">): string | undefined;
4109
+ declare function isClientSpotlighted({ spotlights, isPresentation, clientId, stream, }: {
4110
+ spotlights: Spotlight[];
4111
+ isPresentation?: boolean;
4112
+ clientId: string;
4113
+ stream: ClientView["stream"];
4114
+ }): boolean;
4115
+ interface SpotlightsState {
4116
+ sorted: {
4117
+ clientId: string;
4118
+ streamId: string;
4119
+ }[];
4120
+ }
4121
+ declare const spotlightsSliceInitialState: SpotlightsState;
4122
+ declare const spotlightsSlice: _reduxjs_toolkit.Slice<SpotlightsState, {
4123
+ addSpotlight(state: immer.WritableDraft<SpotlightsState>, action: {
4124
+ payload: {
4125
+ clientId: string;
4126
+ streamId: string;
4127
+ };
4128
+ }): {
4129
+ sorted: Spotlight[];
4130
+ };
4131
+ removeSpotlight(state: immer.WritableDraft<SpotlightsState>, action: {
4132
+ payload: {
4133
+ clientId: string;
4134
+ streamId: string;
4135
+ };
4136
+ }): {
4137
+ sorted: immer.WritableDraft<{
4138
+ clientId: string;
4139
+ streamId: string;
4140
+ }>[];
4141
+ };
4142
+ }, "spotlights", "spotlights", _reduxjs_toolkit.SliceSelectors<SpotlightsState>>;
4143
+ declare const addSpotlight: _reduxjs_toolkit.ActionCreatorWithPayload<{
4144
+ clientId: string;
4145
+ streamId: string;
4146
+ }, "spotlights/addSpotlight">;
4147
+ declare const removeSpotlight: _reduxjs_toolkit.ActionCreatorWithPayload<{
4148
+ clientId: string;
4149
+ streamId: string;
4150
+ }, "spotlights/removeSpotlight">;
4151
+ declare const doSpotlightParticipant: (args: {
4152
+ id: string;
4153
+ }) => AppThunk;
4154
+ declare const doRemoveSpotlight: (args: {
4155
+ id: string;
4156
+ }) => AppThunk;
4157
+ declare const selectSpotlightsRaw: (state: RootState) => SpotlightsState;
4158
+ declare const selectSpotlights: (state: RootState) => {
4159
+ clientId: string;
4160
+ streamId: string;
4161
+ }[];
4162
+ declare const selectIsLocalParticipantSpotlighted: ((state: {
4163
+ app: AppState;
4164
+ authorization: AuthorizationState;
4165
+ breakout: BreakoutState;
4166
+ chat: ChatState;
4167
+ cloudRecording: CloudRecordingState;
4168
+ connectionMonitor: ConnectionMonitorState;
4169
+ deviceCredentials: DeviceCredentialsState;
4170
+ localMedia: LocalMediaState;
4171
+ localParticipant: LocalParticipantState;
4172
+ localScreenshare: LocalScreenshareState;
4173
+ notifications: NotificationsState;
4174
+ organization: OrganizationState;
4175
+ remoteParticipants: RemoteParticipantState;
4176
+ room: RoomState;
4177
+ roomConnection: RoomConnectionState;
4178
+ rtcAnalytics: rtcAnalyticsState;
4179
+ rtcConnection: RtcConnectionState;
4180
+ signalConnection: SignalConnectionState;
4181
+ spotlights: SpotlightsState;
4182
+ streaming: StreamingState;
4183
+ waitingParticipants: WaitingParticipantsState;
4184
+ }) => boolean) & {
4185
+ clearCache: () => void;
4186
+ resultsCount: () => number;
4187
+ resetResultsCount: () => void;
4188
+ } & {
4189
+ resultFunc: (resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: {
4190
+ clientId: string;
4191
+ streamId: string;
4192
+ }[]) => boolean;
4193
+ memoizedResultFunc: ((resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: {
4194
+ clientId: string;
4195
+ streamId: string;
4196
+ }[]) => boolean) & {
4197
+ clearCache: () => void;
4198
+ resultsCount: () => number;
4199
+ resetResultsCount: () => void;
4200
+ };
4201
+ lastResult: () => boolean;
4202
+ dependencies: [(state: RootState) => LocalParticipantState, (state: RootState) => {
4203
+ clientId: string;
4204
+ streamId: string;
4205
+ }[]];
4206
+ recomputations: () => number;
4207
+ resetRecomputations: () => void;
4208
+ dependencyRecomputations: () => number;
4209
+ resetDependencyRecomputations: () => void;
4210
+ } & {
4211
+ argsMemoize: typeof reselect.weakMapMemoize;
4212
+ memoize: typeof reselect.weakMapMemoize;
4213
+ };
4214
+ declare const selectSpotlightedClientViews: ((state: {
4215
+ app: AppState;
4216
+ authorization: AuthorizationState;
4217
+ breakout: BreakoutState;
4218
+ chat: ChatState;
4219
+ cloudRecording: CloudRecordingState;
4220
+ connectionMonitor: ConnectionMonitorState;
4221
+ deviceCredentials: DeviceCredentialsState;
4222
+ localMedia: LocalMediaState;
4223
+ localParticipant: LocalParticipantState;
4224
+ localScreenshare: LocalScreenshareState;
4225
+ notifications: NotificationsState;
4226
+ organization: OrganizationState;
4227
+ remoteParticipants: RemoteParticipantState;
4228
+ room: RoomState;
4229
+ roomConnection: RoomConnectionState;
4230
+ rtcAnalytics: rtcAnalyticsState;
4231
+ rtcConnection: RtcConnectionState;
4232
+ signalConnection: SignalConnectionState;
4233
+ spotlights: SpotlightsState;
4234
+ streaming: StreamingState;
4235
+ waitingParticipants: WaitingParticipantsState;
4236
+ }) => ClientView[]) & {
4237
+ clearCache: () => void;
4238
+ resultsCount: () => number;
4239
+ resetResultsCount: () => void;
4240
+ } & {
4241
+ resultFunc: (resultFuncArgs_0: ClientView[], resultFuncArgs_1: {
4242
+ clientId: string;
4243
+ streamId: string;
4244
+ }[]) => ClientView[];
4245
+ memoizedResultFunc: ((resultFuncArgs_0: ClientView[], resultFuncArgs_1: {
4246
+ clientId: string;
4247
+ streamId: string;
4248
+ }[]) => ClientView[]) & {
4249
+ clearCache: () => void;
4250
+ resultsCount: () => number;
4251
+ resetResultsCount: () => void;
4252
+ };
4253
+ lastResult: () => ClientView[];
4254
+ dependencies: [((state: {
4255
+ app: AppState;
4256
+ authorization: AuthorizationState;
4257
+ breakout: BreakoutState;
4258
+ chat: ChatState;
4259
+ cloudRecording: CloudRecordingState;
4260
+ connectionMonitor: ConnectionMonitorState;
4261
+ deviceCredentials: DeviceCredentialsState;
4262
+ localMedia: LocalMediaState;
4263
+ localParticipant: LocalParticipantState;
4264
+ localScreenshare: LocalScreenshareState;
4265
+ notifications: NotificationsState;
4266
+ organization: OrganizationState;
4267
+ remoteParticipants: RemoteParticipantState;
4268
+ room: RoomState;
4269
+ roomConnection: RoomConnectionState;
4270
+ rtcAnalytics: rtcAnalyticsState;
4271
+ rtcConnection: RtcConnectionState;
4272
+ signalConnection: SignalConnectionState;
4273
+ spotlights: SpotlightsState;
4274
+ streaming: StreamingState;
4275
+ waitingParticipants: WaitingParticipantsState;
4276
+ }) => ClientView[]) & {
4277
+ clearCache: () => void;
4278
+ resultsCount: () => number;
4279
+ resetResultsCount: () => void;
4280
+ } & {
4281
+ resultFunc: (resultFuncArgs_0: ClientView | null, resultFuncArgs_1: ClientView[]) => ClientView[];
4282
+ memoizedResultFunc: ((resultFuncArgs_0: ClientView | null, resultFuncArgs_1: ClientView[]) => ClientView[]) & {
4283
+ clearCache: () => void;
4284
+ resultsCount: () => number;
4285
+ resetResultsCount: () => void;
4286
+ };
4287
+ lastResult: () => ClientView[];
4288
+ dependencies: [((state: {
4289
+ app: AppState;
4290
+ authorization: AuthorizationState;
4291
+ breakout: BreakoutState;
4292
+ chat: ChatState;
4293
+ cloudRecording: CloudRecordingState;
4294
+ connectionMonitor: ConnectionMonitorState;
4295
+ deviceCredentials: DeviceCredentialsState;
4296
+ localMedia: LocalMediaState;
4297
+ localParticipant: LocalParticipantState;
4298
+ localScreenshare: LocalScreenshareState;
4299
+ notifications: NotificationsState;
4300
+ organization: OrganizationState;
4301
+ remoteParticipants: RemoteParticipantState;
4302
+ room: RoomState;
4303
+ roomConnection: RoomConnectionState;
4304
+ rtcAnalytics: rtcAnalyticsState;
4305
+ rtcConnection: RtcConnectionState;
4306
+ signalConnection: SignalConnectionState;
4307
+ spotlights: SpotlightsState;
4308
+ streaming: StreamingState;
4309
+ waitingParticipants: WaitingParticipantsState;
4310
+ }) => ClientView | null) & {
4311
+ clearCache: () => void;
4312
+ resultsCount: () => number;
4313
+ resetResultsCount: () => void;
4314
+ } & {
4315
+ resultFunc: (resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView | null;
4316
+ memoizedResultFunc: ((resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView | null) & {
4317
+ clearCache: () => void;
4318
+ resultsCount: () => number;
4319
+ resetResultsCount: () => void;
4320
+ };
4321
+ lastResult: () => ClientView | null;
4322
+ dependencies: [(state: RootState) => LocalParticipantState, (state: RootState) => MediaStream | undefined];
4323
+ recomputations: () => number;
4324
+ resetRecomputations: () => void;
4325
+ dependencyRecomputations: () => number;
4326
+ resetDependencyRecomputations: () => void;
4327
+ } & {
4328
+ argsMemoize: typeof reselect.weakMapMemoize;
4329
+ memoize: typeof reselect.weakMapMemoize;
4330
+ }, ((state: {
4331
+ app: AppState;
4332
+ authorization: AuthorizationState;
4333
+ breakout: BreakoutState;
4334
+ chat: ChatState;
4335
+ cloudRecording: CloudRecordingState;
4336
+ connectionMonitor: ConnectionMonitorState;
4337
+ deviceCredentials: DeviceCredentialsState;
4338
+ localMedia: LocalMediaState;
4339
+ localParticipant: LocalParticipantState;
4340
+ localScreenshare: LocalScreenshareState;
4341
+ notifications: NotificationsState;
4342
+ organization: OrganizationState;
4343
+ remoteParticipants: RemoteParticipantState;
4344
+ room: RoomState;
4345
+ roomConnection: RoomConnectionState;
4346
+ rtcAnalytics: rtcAnalyticsState;
4347
+ rtcConnection: RtcConnectionState;
4348
+ signalConnection: SignalConnectionState;
4349
+ spotlights: SpotlightsState;
4350
+ streaming: StreamingState;
4351
+ waitingParticipants: WaitingParticipantsState;
4352
+ }) => ClientView[]) & {
4353
+ clearCache: () => void;
4354
+ resultsCount: () => number;
4355
+ resetResultsCount: () => void;
4356
+ } & {
4357
+ resultFunc: (resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
4358
+ [key: string]: string;
4359
+ } | null | undefined) => ClientView[];
4360
+ memoizedResultFunc: ((resultFuncArgs_0: MediaStream | null, resultFuncArgs_1: LocalParticipantState, resultFuncArgs_2: RemoteParticipant[], resultFuncArgs_3: string, resultFuncArgs_4: {
4361
+ [key: string]: string;
4362
+ } | null | undefined) => ClientView[]) & {
4363
+ clearCache: () => void;
4364
+ resultsCount: () => number;
4365
+ resetResultsCount: () => void;
4366
+ };
4367
+ lastResult: () => ClientView[];
4368
+ dependencies: [(state: RootState) => MediaStream | null, (state: RootState) => LocalParticipantState, ((state: {
4369
+ app: AppState;
4370
+ authorization: AuthorizationState;
4371
+ breakout: BreakoutState;
4372
+ chat: ChatState;
4373
+ cloudRecording: CloudRecordingState;
4374
+ connectionMonitor: ConnectionMonitorState;
4375
+ deviceCredentials: DeviceCredentialsState;
4376
+ localMedia: LocalMediaState;
4377
+ localParticipant: LocalParticipantState;
4378
+ localScreenshare: LocalScreenshareState;
4379
+ notifications: NotificationsState;
4380
+ organization: OrganizationState;
4381
+ remoteParticipants: RemoteParticipantState;
4382
+ room: RoomState;
4383
+ roomConnection: RoomConnectionState;
4384
+ rtcAnalytics: rtcAnalyticsState;
4385
+ rtcConnection: RtcConnectionState;
4386
+ signalConnection: SignalConnectionState;
4387
+ spotlights: SpotlightsState;
4388
+ streaming: StreamingState;
4389
+ waitingParticipants: WaitingParticipantsState;
4390
+ }) => RemoteParticipant[]) & {
4391
+ clearCache: () => void;
4392
+ resultsCount: () => number;
4393
+ resetResultsCount: () => void;
4394
+ } & {
4395
+ resultFunc: (resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[];
4396
+ memoizedResultFunc: ((resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[]) & {
4397
+ clearCache: () => void;
4398
+ resultsCount: () => number;
4399
+ resetResultsCount: () => void;
4400
+ };
4401
+ lastResult: () => RemoteParticipant[];
4402
+ dependencies: [(state: RootState) => RemoteParticipant[]];
4403
+ recomputations: () => number;
4404
+ resetRecomputations: () => void;
4405
+ dependencyRecomputations: () => number;
4406
+ resetDependencyRecomputations: () => void;
4407
+ } & {
4408
+ argsMemoize: typeof reselect.weakMapMemoize;
4409
+ memoize: typeof reselect.weakMapMemoize;
4410
+ }, ((state: {
4411
+ app: AppState;
4412
+ authorization: AuthorizationState;
4413
+ breakout: BreakoutState;
4414
+ chat: ChatState;
4415
+ cloudRecording: CloudRecordingState;
4416
+ connectionMonitor: ConnectionMonitorState;
4417
+ deviceCredentials: DeviceCredentialsState;
4418
+ localMedia: LocalMediaState;
4419
+ localParticipant: LocalParticipantState;
4420
+ localScreenshare: LocalScreenshareState;
4421
+ notifications: NotificationsState;
4422
+ organization: OrganizationState;
4423
+ remoteParticipants: RemoteParticipantState;
4424
+ room: RoomState;
4425
+ roomConnection: RoomConnectionState;
4426
+ rtcAnalytics: rtcAnalyticsState;
4427
+ rtcConnection: RtcConnectionState;
4428
+ signalConnection: SignalConnectionState;
4429
+ spotlights: SpotlightsState;
4430
+ streaming: StreamingState;
4431
+ waitingParticipants: WaitingParticipantsState;
4432
+ }) => string) & {
4433
+ clearCache: () => void;
4434
+ resultsCount: () => number;
4435
+ resetResultsCount: () => void;
4436
+ } & {
4437
+ resultFunc: (resultFuncArgs_0: BreakoutState, resultFuncArgs_1: string | null) => string;
4438
+ memoizedResultFunc: ((resultFuncArgs_0: BreakoutState, resultFuncArgs_1: string | null) => string) & {
4439
+ clearCache: () => void;
4440
+ resultsCount: () => number;
4441
+ resetResultsCount: () => void;
4442
+ };
4443
+ lastResult: () => string;
4444
+ dependencies: [(state: RootState) => BreakoutState, (state: RootState) => string | null];
4445
+ recomputations: () => number;
4446
+ resetRecomputations: () => void;
4447
+ dependencyRecomputations: () => number;
4448
+ resetDependencyRecomputations: () => void;
4449
+ } & {
4450
+ argsMemoize: typeof reselect.weakMapMemoize;
4451
+ memoize: typeof reselect.weakMapMemoize;
4452
+ }, (state: RootState) => {
4453
+ [key: string]: string;
4454
+ } | null | undefined];
4455
+ recomputations: () => number;
4456
+ resetRecomputations: () => void;
4457
+ dependencyRecomputations: () => number;
4458
+ resetDependencyRecomputations: () => void;
4459
+ } & {
4460
+ argsMemoize: typeof reselect.weakMapMemoize;
4461
+ memoize: typeof reselect.weakMapMemoize;
4462
+ }];
4463
+ recomputations: () => number;
4464
+ resetRecomputations: () => void;
4465
+ dependencyRecomputations: () => number;
4466
+ resetDependencyRecomputations: () => void;
4467
+ } & {
4468
+ argsMemoize: typeof reselect.weakMapMemoize;
4469
+ memoize: typeof reselect.weakMapMemoize;
4470
+ }, (state: RootState) => {
4471
+ clientId: string;
4472
+ streamId: string;
4473
+ }[]];
4474
+ recomputations: () => number;
4475
+ resetRecomputations: () => void;
4476
+ dependencyRecomputations: () => number;
4477
+ resetDependencyRecomputations: () => void;
4478
+ } & {
4479
+ argsMemoize: typeof reselect.weakMapMemoize;
4480
+ memoize: typeof reselect.weakMapMemoize;
4481
+ };
4482
+
4483
+ declare function createServices(): {
4484
+ credentialsService: CredentialsService;
4485
+ apiClient: ApiClient;
4486
+ organizationService: OrganizationService;
4487
+ fetchOrganizationFromRoomUrl: (roomUrl: string) => Promise<Organization | null>;
4488
+ };
4489
+
4490
+ declare const appReducer: redux.Reducer<{
4491
+ app: AppState;
4492
+ authorization: AuthorizationState;
4493
+ breakout: BreakoutState;
4494
+ chat: ChatState;
4495
+ cloudRecording: CloudRecordingState;
4496
+ connectionMonitor: ConnectionMonitorState;
4497
+ deviceCredentials: DeviceCredentialsState;
4498
+ localMedia: LocalMediaState;
4499
+ localParticipant: LocalParticipantState;
4500
+ localScreenshare: LocalScreenshareState;
4501
+ notifications: NotificationsState;
4502
+ organization: OrganizationState;
4503
+ remoteParticipants: RemoteParticipantState;
4504
+ room: RoomState;
4505
+ roomConnection: RoomConnectionState;
4506
+ rtcAnalytics: rtcAnalyticsState;
4507
+ rtcConnection: RtcConnectionState;
4508
+ signalConnection: SignalConnectionState;
4509
+ spotlights: SpotlightsState;
4510
+ streaming: StreamingState;
4511
+ waitingParticipants: WaitingParticipantsState;
4512
+ }, redux.UnknownAction, Partial<{
4513
+ app: AppState | undefined;
4514
+ authorization: AuthorizationState | undefined;
4515
+ breakout: BreakoutState | undefined;
4516
+ chat: ChatState | undefined;
4517
+ cloudRecording: CloudRecordingState | undefined;
4518
+ connectionMonitor: ConnectionMonitorState | undefined;
4519
+ deviceCredentials: DeviceCredentialsState | undefined;
4520
+ localMedia: LocalMediaState | undefined;
4521
+ localParticipant: LocalParticipantState | undefined;
4522
+ localScreenshare: LocalScreenshareState | undefined;
4523
+ notifications: NotificationsState | undefined;
4524
+ organization: OrganizationState | undefined;
4525
+ remoteParticipants: RemoteParticipantState | undefined;
4526
+ room: RoomState | undefined;
4527
+ roomConnection: RoomConnectionState | undefined;
4528
+ rtcAnalytics: rtcAnalyticsState | undefined;
4529
+ rtcConnection: RtcConnectionState | undefined;
4530
+ signalConnection: SignalConnectionState | undefined;
4531
+ spotlights: SpotlightsState | undefined;
4532
+ streaming: StreamingState | undefined;
4533
+ waitingParticipants: WaitingParticipantsState | undefined;
4534
+ }>>;
4535
+ declare const rootReducer: AppReducer;
4536
+ declare const createStore: ({ preloadedState, injectServices, }: {
4537
+ preloadedState?: Partial<RootState>;
4538
+ injectServices: ReturnType<typeof createServices>;
4539
+ }) => _reduxjs_toolkit.EnhancedStore<{
4540
+ app: AppState;
4541
+ authorization: AuthorizationState;
4542
+ breakout: BreakoutState;
4543
+ chat: ChatState;
4544
+ cloudRecording: CloudRecordingState;
4545
+ connectionMonitor: ConnectionMonitorState;
4546
+ deviceCredentials: DeviceCredentialsState;
4547
+ localMedia: LocalMediaState;
4548
+ localParticipant: LocalParticipantState;
4549
+ localScreenshare: LocalScreenshareState;
4550
+ notifications: NotificationsState;
4551
+ organization: OrganizationState;
4552
+ remoteParticipants: RemoteParticipantState;
4553
+ room: RoomState;
4554
+ roomConnection: RoomConnectionState;
4555
+ rtcAnalytics: rtcAnalyticsState;
4556
+ rtcConnection: RtcConnectionState;
4557
+ signalConnection: SignalConnectionState;
4558
+ spotlights: SpotlightsState;
4559
+ streaming: StreamingState;
4560
+ waitingParticipants: WaitingParticipantsState;
4561
+ }, redux.UnknownAction, _reduxjs_toolkit.Tuple<[redux.StoreEnhancer<{
4562
+ dispatch: ((action: redux.Action<"listenerMiddleware/add">) => _reduxjs_toolkit.UnsubscribeListener) & redux_thunk.ThunkDispatch<{
4563
+ app: AppState;
4564
+ authorization: AuthorizationState;
4565
+ breakout: BreakoutState;
4566
+ chat: ChatState;
4567
+ cloudRecording: CloudRecordingState;
4568
+ connectionMonitor: ConnectionMonitorState;
4569
+ deviceCredentials: DeviceCredentialsState;
4570
+ localMedia: LocalMediaState;
4571
+ localParticipant: LocalParticipantState;
4572
+ localScreenshare: LocalScreenshareState;
4573
+ notifications: NotificationsState;
4574
+ organization: OrganizationState;
4575
+ remoteParticipants: RemoteParticipantState;
4576
+ room: RoomState;
4577
+ roomConnection: RoomConnectionState;
4578
+ rtcAnalytics: rtcAnalyticsState;
4579
+ rtcConnection: RtcConnectionState;
4580
+ signalConnection: SignalConnectionState;
4581
+ spotlights: SpotlightsState;
4582
+ streaming: StreamingState;
4583
+ waitingParticipants: WaitingParticipantsState;
4584
+ }, {
4585
+ services: {
4586
+ credentialsService: CredentialsService;
4587
+ apiClient: ApiClient;
4588
+ organizationService: OrganizationService;
4589
+ fetchOrganizationFromRoomUrl: (roomUrl: string) => Promise<Organization | null>;
4590
+ };
4591
+ }, redux.UnknownAction>;
4592
+ }>, redux.StoreEnhancer]>>;
4593
+ type AppReducer = typeof appReducer;
4594
+ type RootState = ReturnType<typeof appReducer>;
4595
+ type AppDispatch = ReturnType<typeof createStore>["dispatch"];
4596
+ type Store = ReturnType<typeof createStore>;
4597
+ declare const observeStore: <T>(store: Store, select: (state: RootState) => T, onChange: (result: T) => void) => redux.Unsubscribe;
4598
+
4599
+ type ThunkConfig = {
4600
+ state: RootState;
4601
+ dispatch: AppDispatch;
4602
+ extra: {
4603
+ services: ReturnType<typeof createServices>;
4604
+ };
4605
+ };
4606
+ declare function createAppAsyncThunk<ReturnType, ArgType = undefined>(typePrefix: string, payloadCreator: AsyncThunkPayloadCreator<ReturnType, ArgType, ThunkConfig>): AsyncThunk<ReturnType, ArgType, ThunkConfig>;
4607
+ type AppThunk<R = void> = (dispatch: AppDispatch, getState: () => RootState, extra: {
4608
+ services: ReturnType<typeof createServices>;
4609
+ }) => R;
4610
+ declare function createAppThunk<A = void>(thunk: (args: A) => AppThunk): (args: A) => AppThunk;
4611
+ declare function createAppAuthorizedThunk<A = void>(authorizationSelector: (state: RootState) => boolean, thunk: (args: A) => AppThunk): (args: A) => AppThunk;
4612
+ declare function createRoomConnectedThunk<A = void>(thunk: (args: A) => AppThunk): (args: A) => AppThunk;
4613
+ declare function createAsyncRoomConnectedThunk<ReturnType, ArgType = undefined>(typePrefix: string, payloadCreator: AsyncThunkPayloadCreator<ReturnType, ArgType, ThunkConfig>): AsyncThunk<ReturnType, ArgType, ThunkConfig>;
4614
+ declare function createAuthorizedRoomConnectedThunk<A = void>(authorizationSelector: (state: RootState) => boolean, thunk: (args: A) => AppThunk): (args: A) => AppThunk;
4615
+
4616
+ declare const listenerMiddleware: _reduxjs_toolkit.ListenerMiddlewareInstance<unknown, redux_thunk.ThunkDispatch<unknown, unknown, redux.UnknownAction>, unknown>;
4617
+ type AppStartListening = TypedStartListening<RootState, AppDispatch, ReturnType<typeof createServices>>;
4618
+ declare const startAppListening: AppStartListening;
4619
+ declare const addAppListener: TypedAddListener<RootState, AppDispatch>;
4620
+ type SelectorResults<Selectors extends Selector<RootState, unknown>[]> = {
4621
+ [K in keyof Selectors]: Selectors[K] extends Selector<RootState, infer R> ? R : never;
4622
+ };
4623
+ declare const createReactor: <Selectors extends Selector<RootState, unknown>[]>(selectors: readonly [...Selectors], callback: (api: {
4624
+ dispatch: AppDispatch;
4625
+ getState: () => RootState;
4626
+ extra: ReturnType<typeof createServices>;
4627
+ }, ...selectorValues: SelectorResults<Selectors>) => void | Promise<void>) => _reduxjs_toolkit.UnsubscribeListener;
4628
+
4629
+ declare const selectLocalParticipantRaw: (state: RootState) => LocalParticipantState;
4630
+ declare const selectSelfId: (state: RootState) => string;
4631
+ declare const selectLocalParticipantDisplayName: (state: RootState) => string;
4632
+ declare const selectLocalParticipantClientClaim: (state: RootState) => string | undefined;
4633
+ declare const selectLocalParticipantIsScreenSharing: (state: RootState) => boolean;
4634
+ declare const selectLocalParticipantStickyReaction: (state: RootState) => StickyReaction | null | undefined;
4635
+ declare const selectLocalParticipantBreakoutGroup: (state: RootState) => string | null;
4636
+ declare const selectLocalParticipantBreakoutAssigned: (state: RootState) => string;
4637
+ declare const selectLocalParticipantView: ((state: {
4638
+ app: AppState;
4639
+ authorization: AuthorizationState;
4640
+ breakout: BreakoutState;
4641
+ chat: ChatState;
4642
+ cloudRecording: CloudRecordingState;
4643
+ connectionMonitor: ConnectionMonitorState;
4644
+ deviceCredentials: DeviceCredentialsState;
4645
+ localMedia: LocalMediaState;
4646
+ localParticipant: LocalParticipantState;
4647
+ localScreenshare: LocalScreenshareState;
4648
+ notifications: NotificationsState;
4649
+ organization: OrganizationState;
4650
+ remoteParticipants: RemoteParticipantState;
4651
+ room: RoomState;
4652
+ roomConnection: RoomConnectionState;
4653
+ rtcAnalytics: rtcAnalyticsState;
4654
+ rtcConnection: RtcConnectionState;
4655
+ signalConnection: SignalConnectionState;
4656
+ spotlights: SpotlightsState;
4657
+ streaming: StreamingState;
4658
+ waitingParticipants: WaitingParticipantsState;
4659
+ }) => ClientView | null) & {
4660
+ clearCache: () => void;
4661
+ resultsCount: () => number;
4662
+ resetResultsCount: () => void;
4663
+ } & {
4664
+ resultFunc: (resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView | null;
4665
+ memoizedResultFunc: ((resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView | null) & {
4666
+ clearCache: () => void;
4667
+ resultsCount: () => number;
4668
+ resetResultsCount: () => void;
4669
+ };
4670
+ lastResult: () => ClientView | null;
4671
+ dependencies: [(state: RootState) => LocalParticipantState, (state: RootState) => MediaStream | undefined];
4672
+ recomputations: () => number;
4673
+ resetRecomputations: () => void;
4674
+ dependencyRecomputations: () => number;
4675
+ resetDependencyRecomputations: () => void;
4676
+ } & {
4677
+ argsMemoize: typeof reselect.weakMapMemoize;
4678
+ memoize: typeof reselect.weakMapMemoize;
4679
+ };
4680
+
4681
+ declare const selectRoomConnectionRaw: (state: RootState) => RoomConnectionState;
4682
+ declare const selectRoomConnectionSession: (state: RootState) => {
4683
+ createdAt: string;
4684
+ id: string;
4685
+ } | null;
4686
+ declare const selectRoomConnectionSessionId: (state: RootState) => string | undefined;
4687
+ declare const selectRoomConnectionStatus: (state: RootState) => ConnectionStatus;
4688
+ declare const selectRoomConnectionError: (state: RootState) => string | null;
4689
+
4690
+ export { addAppListener, addSpotlight, appSlice, authorizationSlice, authorizationSliceInitialState, breakoutSlice, breakoutSliceInitialState, chatSlice, chatSliceInitialState, cloudRecordingSlice, connectionMonitorSlice, connectionMonitorSliceInitialState, connectionMonitorStarted, connectionMonitorStopped, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createAsyncRoomConnectedThunk, createAuthorizedRoomConnectedThunk, createReactor, createRemoteParticipant, createRoomConnectedThunk, createStore, createWebRtcEmitter, deviceBusy, deviceCredentialsSlice, deviceCredentialsSliceInitialState, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppStart, doAppStop, doBreakoutJoin, doClearNotifications, doConnectRoom, doConnectRtc, doDisconnectRtc, doEnableAudio, doEnableVideo, doEndMeeting, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doKickParticipant, doKnockRoom, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveSpotlight, doRequestAudioEnable, doRequestVideoEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSetDevice, doSetDisplayName, doSetLocalStickyReaction, doSetNotification, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartCloudRecording, doStartConnectionMonitor, doStartLocalMedia, doStartScreenshare, doStopCloudRecording, doStopConnectionMonitor, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doToggleLowDataMode, doUpdateDeviceList, initialCloudRecordingState, initialLocalMediaState, initialNotificationsState, initialState, isAcceptingStreams, isClientSpotlighted, listenerMiddleware, localMediaSlice, localMediaStopped, localParticipantSlice, localParticipantSliceInitialState, localScreenshareSlice, localScreenshareSliceInitialState, localStreamMetadataUpdated, notificationsSlice, observeStore, organizationSlice, organizationSliceInitialState, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, remoteParticipantsSliceInitialState, removeSpotlight, resolutionReported, roomConnectionSlice, roomConnectionSliceInitialState, roomSlice, roomSliceInitialState, rootReducer, rtcAnalyticsCustomEvents, rtcAnalyticsSlice, rtcAnalyticsSliceInitialState, rtcClientConnectionStatusChanged, rtcConnectionSlice, rtcConnectionSliceInitialState, rtcDisconnected, rtcDispatcherCreated, rtcEvents, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, selectAllClientViews, selectAllClientViewsInCurrentGroup, selectAppDisplayName, selectAppExternalId, selectAppIgnoreBreakoutGroups, selectAppInitialConfig, selectAppIsActive, selectAppIsDialIn, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAuthorizationRoleName, selectBreakoutActive, selectBreakoutAssignments, selectBreakoutCurrentGroup, selectBreakoutCurrentId, selectBreakoutGroupedParticipants, selectBreakoutGroups, selectBreakoutInitiatedBy, selectBreakoutRaw, selectBusyDeviceIds, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectConnectionMonitorIsRunning, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectCurrentSpeakerDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToAskToSpeak, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToRequestAudioEnable, selectIsAuthorizedToRequestVideoEnable, selectIsAuthorizedToSpotlight, selectIsCameraEnabled, selectIsCloudRecording, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantBreakoutAssigned, selectLocalParticipantBreakoutGroup, selectLocalParticipantClientClaim, selectLocalParticipantDisplayName, selectLocalParticipantIsScreenSharing, selectLocalParticipantRaw, selectLocalParticipantStickyReaction, selectLocalParticipantView, selectLocalScreenshareRaw, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectNotificationsEmitter, selectNotificationsEvents, selectNotificationsRaw, selectNumClients, selectNumParticipants, selectOrganizationId, selectOrganizationPreferences, selectOrganizationRaw, selectRemoteClientViews, selectRemoteClients, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRoomConnectionError, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRoomIsLocked, selectRoomKey, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectScreenshares, selectSelfId, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectShouldStartConnectionMonitor, selectShouldStopConnectionMonitor, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectSpotlightedClientViews, selectSpotlights, selectSpotlightsRaw, selectStopCallbackFunction, selectStreamingRaw, selectStreamsToAccept, selectWaitingParticipants, selectWaitingParticipantsRaw, setBreakoutGroupAssigned, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setCurrentSpeakerDeviceId, setDisplayName, setLocalMediaOptions, setLocalMediaStream, setRoomKey, signalConnectionSlice, signalConnectionSliceInitialState, signalEvents, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, spotlightsSlice, spotlightsSliceInitialState, startAppListening, stopScreenshare, streamIdForClient, streamStatusUpdated, streamingSlice, streamingSliceInitialState, toggleCameraEnabled, toggleLowDataModeEnabled, toggleMicrophoneEnabled, updateReportedValues, waitingParticipantsSlice, waitingParticipantsSliceInitialState };
4691
+ export type { AppConfig, AppDispatch, AppReducer, AppStartListening, AppState, AppThunk, AuthorizationState, BreakoutState, ChatMessage, ChatMessageEvent, ChatMessageEventProps, ChatState, ClientView, CloudRecordingState, ConnectionMonitorStart, ConnectionMonitorState, ConnectionStatus, DeviceCredentialsState, LocalMediaOptions, LocalMediaState, LocalParticipantState, LocalScreenshareState, Notification, NotificationEvent, NotificationEventMap, NotificationEvents, NotificationsEventEmitter, NotificationsState, OrganizationState, RemoteParticipantState, RequestAudioEvent, RequestAudioEventProps, RequestVideoEvent, RequestVideoEventProps, RoomConnectionState, RoomState, RootState, RtcConnectionState, SignalClientEvent, SignalClientEventProps, SignalConnectionState, SignalStatusEvent, SignalStatusEventProps, SpotlightsState, StickyReactionEvent, StickyReactionEventProps, Store, StreamingState, ThunkConfig, WaitingParticipantsState, rtcAnalyticsState };