export type CancelablePromise = { cancel: () => void; promise: Promise; }; /** * Adds a cancel function on your promise to cancel future execution of then or catch functions. * `makeCancelable` also cancels all callbacks attached to new promises returned by then or catch. * * @param {Promise} promise - The value to be evaluated. * @returns {Promise} * @public */ export declare const makeCancelable: (promise: Promise) => CancelablePromise;