export interface Cancellable { readonly cancelled?: unknown; readonly requested?: unknown; readonly reason?: unknown; } export declare class SimpleCancellable implements Cancellable { private isCancelled; get requested(): boolean; cancel(): void; } export declare function isCancelled(cancellable: Cancellable | undefined): boolean;