export declare function merge(a: A, b?: B): A | (A & B);