import * as childProcess from 'child_process';
interface Options {
    command: string;
    workingDirectory: string;
    changedFilePath?: string;
    onSpawn: (task: childProcess.ChildProcess) => void;
    onExit: (task: childProcess.ChildProcess) => void;
}
export declare const runTask: ({ command, workingDirectory, changedFilePath, onSpawn, onExit, }: Options) => Promise<void>;
export {};
