export type ScheduledFn = () => T | PromiseLike; export type SchedulerFn = (cb: ScheduledFn) => void; /** * Schedules a function to be called on the next tick after the other promises * have been resolved. */ export declare const scheduleOnNextTick: (cb: ScheduledFn) => void;