import { BehaviorSubject } from 'rxjs'; import { Session, type SessionOptions } from './common'; export type ManagerMessage = { action: string; args: any[]; }; export type ManagerState = { activeId?: string; }; export declare class SessionManager { state$: BehaviorSubject; userId: string; storageKey: string; sessions: Record; constructor(userId: string); private getStorageData; private setStorageData; private update; private set; private get; invoke(name: string, ...args: any[]): void | Promise; get activeId(): string; set activeId(sid: string); get sessionIds(): string[]; get sessionCount(): number; get activeSession(): Session | null; hasSession(sid: string): boolean; getSession(sid: string): Session | null; deleteSession(sid: string): Session | null; restoreSessions(): Promise; disconnectAll(): Promise; createNewSession(options: SessionOptions): Promise; destroySession(sid: string): void; } //# sourceMappingURL=manager.d.ts.map