import { SupplierPromise } from "./types"; /** * Captures the possible {@link Error} in a rejection; otherwise, the fulfilled `value`. * * @param {SupplierPromise} supplier - A supplier of a value. * @returns {Promise} The fulfilled supplied value or a rejection of the error. */ export declare function attempt(supplier: SupplierPromise): Promise;