import Client from './Client'; import HubProxy from './HubProxy'; import { IConfig } from './Utils'; export declare const HUB_CLIENT_CONFIG_DEFAULTS: { logging: boolean; logger: null; hubClient: boolean; }; /** * Th' Client that be used fer Hub connections. * @class */ export declare class HubClient extends Client { protected invocationCallbackId: any; protected invocationCallbacks: any; private proxies; /** * Uses passed in configuration settin's to initialize th' HubClient. Attatches event handlers that handle client invocations sent from th' ship, * as well as registerin' th' proxies fer each Hub on startup. * @param {Object} options The initial options defined by the user to initialize the HubClient with. * @constructor */ constructor(options: IConfig); /** * Creates a new hub proxy based on th' actual hub moniker. * @param {string} hubName The name of the hub that the proxy will be created for. * @returns {*|HubProxy} If th' proxy already exists, it return that individual proxy, else it creates a new one. * @function * @public */ createHubProxy(hubName: string): HubProxy; /** * Calls th' base client's start method, initializin' th' connection. Currently unknown if extra code be needed. * @param {Object} options Th' configuration to start th' client wit'. * @returns {Promise} Returns a promise signifying that the connection has been intialized. * @function * @public */ start(options?: any): any; private receiveHandler; } //# sourceMappingURL=HubClient.d.ts.map