import { ExecOptions } from 'node:child_process';
export declare function to<T, U = Error>(promise: Promise<T>, errorExt?: object): Promise<[U, undefined] | [null, T]>;
export declare const asyncExec: (cmd: string, options?: ExecOptions) => Promise<unknown>;