import { ICommandObject } from '../types'; /** * Sends a command via XMLRPC to a server and returns a promise response * @param {number} timeout timeout after no response for this long * @param {Object} options object containing user credentials and command * {ip:[ip], port:[port], password:[password], command: [command]} * @returns{Promise} response returns a promise that resolves to a String */ export default function sendRCONCommandToServer(options: ICommandObject, timeout?: number): Promise;