/**
 * copy pasted from https://github.com/facebook/react/issues/5465#issuecomment-157888325
 * referenced also in : https://reactjs.org/blog/2015/12/16/ismounted-antipattern.html
 */
export interface CancelablePromise<T> {
    promise: Promise<T>;
    cancel: () => void;
}
export declare function makeCancelable<T>(promise: Promise<T>): CancelablePromise<T>;
export declare function silenceCancelable<T>(promise: Promise<T>): Promise<T>;
//# sourceMappingURL=cancellable-promise.d.ts.map