import { ChildProcess } from 'child_process'; export declare function onExit(childProcess: ChildProcess, message?: string): Promise<{}>;