import EventBus from '../EventBus'; export interface RunProps { /** * Command to execute the child process with */ command: string; /** * Working directory */ cwd?: string; /** * Whether to prefix logs or not */ prefixLogs?: boolean; /** * Should the process be started automatically */ autostart?: boolean; /** * Debug flag. Log all events to console */ debug?: boolean; } export declare enum Events { Start = "RUN_START", Started = "RUN_STARTED", Stop = "RUN_STOP", Stopped = "RUN_STOPPED", Log = "RUN_LOG" } export declare class Run { private command; private cwd?; private prefixLogs; private pid; readonly Events: typeof Events; eventBus: EventBus; constructor({ command, cwd, prefixLogs, autostart, debug, }: RunProps); isRunning(): boolean; log(message: string): void; start(): void; }