export interface Type { new (...args: any[]): T; } export interface IRepo { save(a: T): Promise; } export interface IRepoStatic extends Type> { save(a: T): Promise; } export declare function staticImplements(): (constructor: T) => void;