export declare type TaskScheduler = (fn: () => void) => void;