import type { Endpoint } from 'comlink';
import type { Socket as ServerSocket } from 'socket.io';
import type { Socket as ClientSocket } from 'socket.io-client';
export declare function socketIoEndpoint(options: {
    socket: ServerSocket | ClientSocket;
    messageChannel?: string;
}): Endpoint;
