import { RMIManager } from "./RMIManager";
/**
 * Creates an RMI client that, when functions are called, will automatically message the server the given WebSocket
 * is a connected to.
 *
 * NOTE: The given WebSocket is assumed to be connected and in a readyState of 1. If this isn't the case, an Error
 * will be thrown!
 *
 * @param ws An open WebSocket connection that will be used to invoke functions on the remote.
 */
export declare const createRMIClient: <T extends object>({ ws, config: { logger: log } }: RMIManager) => T;
