import { Socket } from 'socket.io-client'; import * as i from './interfaces.js'; import { Core } from './core.js'; export declare class Client extends Core { readonly socket: Socket; readonly clientId: string; readonly clientType: string; readonly serverName: string; readonly connectTimeout: number; readonly hostUrl: string; available: boolean; ready: boolean; protected serverShutdown: boolean; constructor(opts: i.ClientOptions, _connectTimeout?: number); onServerShutdown(fn: () => void): void; connect(): Promise; private _connect; sendAvailable(payload?: i.Payload): Promise; sendUnavailable(payload?: i.Payload): Promise; protected send(eventName: string, payload?: i.Payload, options?: i.SendOptions): Promise; emit(eventName: string, msg?: i.ClientEventMessage): void; isClientReady(): boolean; shutdown(): Promise; forceReconnect(): Promise; } //# sourceMappingURL=client.d.ts.map