import type { Serializable } from 'child_process';
export declare abstract class RunningTask {
    abstract getResults(): Promise<{
        code: number;
        terminalOutput: string;
    }>;
    abstract onExit(cb: (code: number) => void): void;
    abstract kill(signal?: NodeJS.Signals): Promise<void> | void;
    abstract onOutput?(cb: (output: string) => void): void;
    abstract send?(message: Serializable): void;
}
//# sourceMappingURL=running-task.d.ts.map