declare type NotFN = () => false; declare type Next = Promise<() => void>; declare type Gen = (genF: GeneratorFunction) => NotFN | Next; export declare const timeslice: NotFN | Gen; export default timeslice;