import { IAsyncComponent, ICancellation, ICancellable } from "../interfaces"; export declare class AsyncComponent implements IAsyncComponent, ICancellable { _cancel: ((e: any) => void); _completion: Promise; getCompletion(): Promise; runOperation(op: (ct: ICancellation) => any, ct?: ICancellation): Promise; cancel(reason: any): void; }