import jayson = require('jayson'); import { MethodLike } from "jayson"; import * as mqttr from 'mqttr'; export interface ROServer { mqtt(client: string | mqttr.Client, options?: any, logger?: any): any; } export declare class Server extends jayson.Server implements ROServer { constructor(methods?: { [methodName: string]: MethodLike; }, options?: { [name: string]: any; }); static create(methods?: { [methodName: string]: MethodLike; }, options?: { [name: string]: any; }): Server; mqtt(client: string | mqttr.Client, options?: any, logger?: any): any; }