import type { ClientToServerEvents, ServerToClientEvents } from '../../protocol/socket-events.js'; import type { SSH } from '../config/types.js'; import type { ServerSession } from '../session.js'; import type { Socket } from 'socket.io'; export declare function getCommand(socket: Socket, { user, host, port, auth, pass, key, knownHosts, config, allowRemoteHosts, allowRemoteCommand, }: SSH, command: string, forcessh: boolean, session: ServerSession): Promise;