/** * Promise handler to show an error and reject the promise. * * @param reason the promise rejection error * @returns a rejected promise */ export declare function showError(reason: T): Promise; /** * Promise handler to show an error and resolve the promise with a recover * value. * * @param reason the promise rejection error * @param recoverWith the recover value * @returns a resolved promise */ export declare function showErrorAndRecover(reason: T, recoverWith: R): Promise;