declare function isGenerator(fn: unknown): fn is GeneratorFunction;

export = isGenerator;
