import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core'; import { ChatService } from '../../services/chat/chat.service'; import { DocumentService } from '../../services/document/document.service'; import { PanelService } from '../../services/panel/panel.service'; import { MatMenuTrigger } from '@angular/material/menu'; import { Session } from 'openvidu-browser'; import { ToolbarAdditionalButtonsDirective, ToolbarAdditionalPanelButtonsDirective } from '../../directives/template/openvidu-angular.directive'; import { BroadcastingStatus } from '../../models/broadcasting.model'; import { ChatMessage } from '../../models/chat.model'; import { RecordingStatus } from '../../models/recording.model'; import { ActionService } from '../../services/action/action.service'; import { BroadcastingService } from '../../services/broadcasting/broadcasting.service'; import { OpenViduAngularConfigService } from '../../services/config/openvidu-angular.config.service'; import { DeviceService } from '../../services/device/device.service'; import { LayoutService } from '../../services/layout/layout.service'; import { LoggerService } from '../../services/logger/logger.service'; import { OpenViduService } from '../../services/openvidu/openvidu.service'; import { ParticipantService } from '../../services/participant/participant.service'; import { PlatformService } from '../../services/platform/platform.service'; import { RecordingService } from '../../services/recording/recording.service'; import { StorageService } from '../../services/storage/storage.service'; import { TranslateService } from '../../services/translate/translate.service'; import * as i0 from "@angular/core"; export declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewInit { protected documentService: DocumentService; protected chatService: ChatService; protected panelService: PanelService; protected participantService: ParticipantService; protected openviduService: OpenViduService; protected oVDevicesService: DeviceService; protected actionService: ActionService; protected loggerSrv: LoggerService; private layoutService; private cd; private libService; private platformService; private recordingService; private broadcastingService; private translateService; private storageSrv; toolbarAdditionalButtonsTemplate: TemplateRef; toolbarAdditionalPanelButtonsTemplate: TemplateRef; set externalAdditionalButtons(externalAdditionalButtons: ToolbarAdditionalButtonsDirective); set externalAdditionalPanelButtons(externalAdditionalPanelButtons: ToolbarAdditionalPanelButtonsDirective); onLeaveButtonClicked: EventEmitter; onCameraButtonClicked: EventEmitter; onMicrophoneButtonClicked: EventEmitter; onFullscreenButtonClicked: EventEmitter; onScreenshareButtonClicked: EventEmitter; onParticipantsPanelButtonClicked: EventEmitter; onChatPanelButtonClicked: EventEmitter; onActivitiesPanelButtonClicked: EventEmitter; onStartRecordingClicked: EventEmitter; onStopBroadcastingClicked: EventEmitter; onStopRecordingClicked: EventEmitter; menuTrigger: MatMenuTrigger; session: Session; unreadMessages: number; messageList: ChatMessage[]; isScreenShareActive: boolean; isWebcamVideoActive: boolean; isAudioActive: boolean; isConnectionLost: boolean; hasVideoDevices: boolean; hasAudioDevices: boolean; isFullscreenActive: boolean; isChatOpened: boolean; isParticipantsOpened: boolean; isActivitiesOpened: boolean; isMinimal: boolean; showScreenshareButton: boolean; showFullscreenButton: boolean; showBackgroundEffectsButton: boolean; showLeaveButton: boolean; showRecordingButton: boolean; showBroadcastingButton: boolean; showSettingsButton: boolean; showMoreOptionsButton: boolean; showParticipantsPanelButton: boolean; showActivitiesPanelButton: boolean; showChatPanelButton: boolean; showLogo: boolean; showSessionName: boolean; showCaptionsButton: boolean; captionsEnabled: boolean; videoMuteChanging: boolean; recordingStatus: RecordingStatus; broadcastingStatus: BroadcastingStatus; _recordingStatus: typeof RecordingStatus; _broadcastingStatus: typeof BroadcastingStatus; recordingTime: Date; broadcastingTime: Date; isSessionCreator: boolean; screenSize: string; private log; private minimalSub; private panelTogglingSubscription; private chatMessagesSubscription; private localParticipantSubscription; private screenshareButtonSub; private fullscreenButtonSub; private backgroundEffectsButtonSub; private leaveButtonSub; private recordingButtonSub; private broadcastingButtonSub; private recordingSubscription; private broadcastingSubscription; private activitiesPanelButtonSub; private participantsPanelButtonSub; private chatPanelButtonSub; private displayLogoSub; private displaySessionNameSub; private screenSizeSub; private settingsButtonSub; private captionsSubs; private currentWindowHeight; constructor(documentService: DocumentService, chatService: ChatService, panelService: PanelService, participantService: ParticipantService, openviduService: OpenViduService, oVDevicesService: DeviceService, actionService: ActionService, loggerSrv: LoggerService, layoutService: LayoutService, cd: ChangeDetectorRef, libService: OpenViduAngularConfigService, platformService: PlatformService, recordingService: RecordingService, broadcastingService: BroadcastingService, translateService: TranslateService, storageSrv: StorageService); sizeChange(event: any): void; keyDown(event: KeyboardEvent): boolean; ngOnInit(): Promise; ngAfterViewInit(): void; ngOnDestroy(): void; toggleMicrophone(): Promise; toggleCamera(): Promise; toggleScreenShare(): Promise; leaveSession(): void; toggleRecording(): void; toggleBroadcasting(): void; toggleBackgroundEffects(): void; toggleCaptions(): void; toggleSettings(): void; toggleParticipantsPanel(): void; toggleChatPanel(): void; toggleFullscreen(): void; private toggleActivitiesPanel; protected subscribeToReconnection(): void; protected subscribeToMenuToggling(): void; protected subscribeToChatMessages(): void; protected subscribeToUserMediaProperties(): void; private subscribeToRecordingStatus; private subscribeToBroadcastingStatus; private subscribeToToolbarDirectives; private subscribeToScreenSize; private subscribeToCaptionsToggling; private checkDisplayMoreOptions; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }