import { ModalService } from './modal.service'; import { ConsoleService } from './console.service'; import { Socket } from 'socket.io-client'; import * as i0 from "@angular/core"; interface ServerToClientEvents { [key: string]: (message: any) => void; } interface ClientToServerEvents { [key: string]: (message: any) => void; } export interface ConnectionDataOptions { room: string; uuid: string | null; model?: string; } export declare class CallServiceInstance { instanceId: string; socketId?: string | null; socket: Socket | null; removeInstance: Function; consoleSrv: ConsoleService; constructor(instanceId: string, removeInstance: Function, consoleSrv: ConsoleService); waitUntilConnection(): Promise; beginConnection(opts: ConnectionDataOptions, waitUntilConnection?: boolean): Promise; endConnection(): Promise; emitEvent(eventName: string, payload: any): Promise; unregisterAllProcessors(eventName?: string): void; registerProcessor(eventName: string, processor: (message: any) => void): void; registerProcessorOnce(eventName: string, processor: (message: any) => void): void; getSocketId(): string | null | undefined; } export declare class CallService { private modalSrv; private consoleSrv; instances: { [key: string]: CallServiceInstance; }; constructor(modalSrv: ModalService, consoleSrv: ConsoleService); getInstance(room?: string): CallServiceInstance; removeInstance(instanceId: string): void; isConnectedToRoom(instanceId: string): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export {};