import { IConfiguration, ILogger, IAppDelegate, IBPMNServer, IDataStore, ICacheManager, IScriptHandler } from '../'; import { Engine } from './Engine'; import { Cron } from './Cron'; import { EventEmitter } from 'eventemitter3'; declare class BPMNServer implements IBPMNServer { engine: Engine; listener: EventEmitter; configuration: IConfiguration; logger: ILogger; definitions: any; appDelegate: IAppDelegate; dataStore: IDataStore; cache: ICacheManager; scriptHandler: IScriptHandler; cron: Cron; error: any; private static instance; /** * Server Constructor * * @param configuration see * @param logger */ constructor(configuration: IConfiguration, logger?: ILogger, options?: {}); status(): { version: any; cache: () => any; engineRunning: number; engineCalls: number; memoryUsage: any; }; static getVersion(): any; static get engine(): Engine; static getInstance(): BPMNServer; } export { BPMNServer };