import type { ManagerOptions, SocketOptions } from 'socket.io-client'; export interface MidwaySocketIOClientOptions extends Partial { url?: string; protocol?: string; host?: string; namespace?: string; port?: any; } export declare class SocketIOWrapperClient { private readonly socket; constructor(socket: any); connect(): Promise; getSocket(): any; send(eventName: string, ...args: any[]): void; on(eventName: string, handler: any): void; once(eventName: string, handler: any): any; removeListener(event: string, fn?: any): any; emit(eventName: string, ...args: any[]): any; sendWithAck(eventName: string, ...args: any[]): Promise; close(): void; } export declare function createSocketIOClient(opts: MidwaySocketIOClientOptions): Promise; //# sourceMappingURL=socketio.d.ts.map