export declare function attachPropertiesToComponent>(component: C, properties: P): C & P;