/** * Check whether an object is a generator. */ export declare function isGenerator(obj: any): obj is Generator; /** * Check whether a function is generator. */ export declare function isGeneratorFunction(fn: any): fn is GeneratorFunction; export declare function isClassConstructorFunction(a: any): any;