export declare const extend: (a: A) => (b: B) => A & B;