export declare type Constructor = { new (...x: any[]): T; }; export declare type Class = Constructor & { prototype: T; name: string; };