/// import { CronJob } from 'cron'; import { Express } from 'express'; import * as http from 'http'; import { ServiceJob } from './ServiceJob'; interface IServiceOpts { calls?: any; environment?: string; enableLogging?: boolean; jobs?: { new (): ServiceJob; }[]; onLoad?: Function; onStart?: Function; onStop?: Function; url?: string; } export declare class Service { calls: any; jobs: { new (): ServiceJob; }[]; express: Express; jobListeners: CronJob[]; listener: http.Server; onLoad: Function; onStart: Function; onStop: Function; environment: string; enableLogging: boolean; url: string; constructor(opts?: IServiceOpts); load(cb?: Function): Promise; start(cb?: Function): Promise; stop(cb?: Function): Promise; } export {};