/// export declare function withStatics, S = {}>(component: C, statics?: S): C & S;