export interface Options {
    beforeExit?: () => void | Promise<void>;
    env?: {
        [key: string]: string | undefined;
    };
}
export declare function run(wrapModule: string, cmd: Array<string>, options?: Options): void;
