/// import { Signal } from "./signals"; import { inspect } from "util"; export declare class Cancellable { private impl; cancelled: Signal; constructor(); get isCancelled(): boolean; throwIfCancelled(): void; cancel(): void; [inspect.custom](): string; } export declare type CancelledHandler = () => void;