import SerialSocket from "../../serial.socket"; import AigoSocket from "./aigo.socket"; export default class AigoManager { private idManagers; private hostManagers; hasAdd(host: string): boolean; add(rootSocket: SerialSocket, host?: string): void; getByHost(host: string, sessionId?: string): SocketManager | undefined; get(id: string): SocketManager | undefined; size(host?: string): number; addChildSocket(rootIdOrHost: string, socket: AigoSocket): void; getChildSocket(rootIdOrHost: string, sessionId: string): AigoSocket | null; getChildRootSocket(rootIdOrHost: string, sessionId?: string): SerialSocket | null; } export declare class SocketManager { readonly rootSocket: SerialSocket; private sockets; constructor(rootSocket: SerialSocket); size(): number; has(sid: string): boolean; get(sid: string): AigoSocket | undefined; addSocket(socket: AigoSocket): void; getSocket(sessionId: string): AigoSocket | null; close(): void; }