import type { Cancelled, WaitFor } from '../types'; export declare const createCancelled: (taskId: number) => Cancelled; export declare const createWaitFor: (cancelled: () => boolean) => WaitFor; export declare const cancelTask: (taskId: number) => void;