import { SentinelOffline } from './offline'; import { SentinelPerformance } from './performance'; import { SentinelStatus } from './status'; import { IEvaSignalRHub } from '../communicator'; export declare class Sentinel { /** * The sentinel offline features * * @type {SentinelOffline} */ offline: SentinelOffline; /** * The sentinel performance features * * @type {SentinelPerformance} */ performance: SentinelPerformance; /** * The sentinel and EVA status * * @type {SentinelStatus} */ status: SentinelStatus; /** * Indicates sentinel support has been enabled * * @readonly */ get started(): boolean; /** * The subscription listener for application configuration changes * * @private * @type {(Subscription|undefined)} * @memberof Sentinel */ private configurationSubscription; /** * The application configuration response from the sentinel bootstrap process * * @private * @type {(EVA.Core.GetApplicationConfigurationResponse|undefined)} */ private configuration; /** * Creates an instance of Sentinel */ constructor(); /** * Helper method to get the current sentinel endpoint * * @protected * @returns */ getEndpoint(): string; /** * Helper method to get the current sentinel SignalR endpoint * * @protected * @returns */ getSignalREndpoint(): any; /** * Returns the SignalR hub from getApplicationConfiguration response for the sentinel * Only available after sentinel has been bootstrapped * */ getStatusHubDetails(): IEvaSignalRHub; /** * Returns a copy of the configuration from the Sentinel * * @returns */ getConfiguration(): EVA.Core.GetApplicationConfigurationResponse | undefined; /** * Returns the organization unit the sentinel belongs to * * @returns number|undefined */ getOrganizationUnitID(): number | undefined; /** * Start listening to the getApplicationConfig * Will resolve its promise when first application config is received * * @memberof Sentinel */ start(): Promise; /** * Stops EVA Sentinel support * * @returns */ stop(): Promise; } export declare const sentinel: Sentinel;