export declare function attachProps, B extends Record>(rawProps: A, newProps: B): A & B;