export declare function toPromiseTuple(promise: Promise, errorExt?: object): Promise<[U, undefined] | [null, T]>;