import EventEmitter from 'events'; import { RiSE, RiSEConfig } from './index'; /** * Applications on RiSE are anything that accesses the API */ export declare class ApplicationClass extends EventEmitter { rise: RiSE; globals: RiSEConfig['globals']; private Socket; private _client; private _subscriptions; private _handlers; private _patterns; constructor(rise: RiSE, globals: RiSEConfig['globals']); /** * Configure the Primus Socket */ configureConnection(options?: {}): any; /** * Create a socket connection to RiSE */ connect(): any; disconnect(): any; subscribe(broadcast: any, subscriptions?: any[]): void; unsubscribe(broadcast: any, subscriptions?: any[]): void; /** * Get the Socket Client */ /** * Should not allow setting the client * @param val */ client: any; /** * Alias to the Client event emitter */ /** * Get the Socket Client */ /** * Should not allow setting the client * @param val */ subscriptions: any; handler(event: any): void; }