import { AngularDataContext } from "@themost/angular"; export declare interface ApiServerStatus { version: string; database: string; modifiedAt?: Date; attachedAt?: Date; } export declare interface ServiceDefinition { serviceType: string; strategyType?: string; } /** * * This Service is used to get diagnostics from the api server * @export * @class DiagnosticsService */ export declare class DiagnosticsService { private context; private _services; constructor(context: AngularDataContext); /** * * Get status of api server * @returns {Promise} - Returns ApiServerStatus promise with version, database and optional modifiedAt/attachedAt dates. * @memberof DiagnosticsService */ getStatus(): Promise; getServices(): Promise>; refresh(): void; hasService(serviceType: string): Promise; hasStrategy(serviceType: string, strategyType: string): Promise; }