import ServiceBlend from '~/index'; import { Service as ServiceConfig } from '~/config'; import { RunnerMode } from './runner'; export default class Service { serviceBlend: ServiceBlend; projectName: string; serviceName: string; config: ServiceConfig; private _environments; private _trackedEnvironmentNames; constructor(serviceBlend: ServiceBlend, projectName: string, serviceName: string, config: ServiceConfig); run(environmentName: string, options?: Partial): Promise; stop(environmentName: string, _options?: Partial): Promise; onStop(code?: string | number): Promise; private registerEnvironment; } export interface ServiceRunOptions { mode: RunnerMode; open?: boolean; } export interface ServiceStopOptions { }