/// <reference types="node" />
/// <reference types="node" />
import { ChildProcess } from 'child_process';
interface IProcessOptions {
    onStdout?: (data: Buffer) => any;
    onStderr?: (data: Buffer) => any;
}
export declare function promisifyProcess(p: ChildProcess, opts?: IProcessOptions): Promise<unknown>;
export {};
