export type Constructor> = { new (...args: A): T; }; export type Factory> = (...args: A) => T; export declare function isConstructor = unknown[]>(ctor: T | any, ...testArgs: A): ctor is Constructor;