import { StartOptions as Pm2StartOptions } from 'pm2'; import Runner, { RunnerMode, Pm2Callback, RunnerOptions } from '~/runner'; export default class Sh extends Runner { constructor(options: ShOptions); run(options?: Partial, pm2StartOptions?: Pm2StartOptions, cb?: Pm2Callback): Promise; onStop(_code?: string | number): Promise; } export interface ShOptions extends RunnerOptions { } export interface ShRunOptions { command: string; mode: RunnerMode; }