import { Socket } from "socket.io-client";
export default class SocketIoEventListener {
    readonly socket: Socket;
    constructor(props: {
        url: string;
    });
    connect(): void;
    disconnect(): void;
    reconnect(): void;
}
export declare function getSocketInstance(url: string): SocketIoEventListener;
export declare function reconnectSocketInstance(url: string): SocketIoEventListener;
