import Service from '~/service'; import { RunnerMode } from '~/runner'; import { Config } from '~/config'; import { HashMap } from '~/types'; export default class ServiceBlend { options: ServiceBlendOptions; config: Config; private _services; private _trackedServiceNames; constructor(options?: Partial); run(services: HashMap>, options?: Partial): Promise; stop(services: HashMap>, options?: Partial): Promise; runService(serviceName: string, options?: Partial): Promise; stopService(serviceName: string, options?: Partial): Promise; getService(projectName: string, serviceName: string): Service; onStop(code?: string | number, exit?: boolean, timeout?: number): Promise; registerService(serviceName: string): void; } export interface ServiceBlendStopOptions { all?: boolean; environmentName?: string; } export interface ServiceBlendRunOptions { all?: boolean; environmentName?: string; mode: RunnerMode; open?: boolean; } export interface ServiceBlendOptions { config?: Config; configPath: string; cwd: string; defaultEnvironmentName?: string; projectName: string; } export * from '~/environment'; export * from '~/runner'; export * from '~/service'; export * from '~/types';