export type STCEventContext> = T & { meta: { roomName?: string; roomId?: string | number; }; }; export type EventTarget = string | number | undefined; export interface EventCallback { (error: Error | null): void; (error: Error | null, data: T): void; } export type DefaultEvents = { [event: string]: any; }; export type STSEvents = { [event: string]: (...args: any[]) => void; }; export type STCEvents = { [event: string]: (...args: any[]) => void; }; export type CTSEvents = { [event: string]: (...args: any[]) => void; }; export type DisconnectDescription = { description: string; context?: unknown; }; //# sourceMappingURL=types.d.ts.map