export declare type InstanceOf = T extends new (...args: any[]) => infer R ? R : any; export default InstanceOf;