export declare function mergeProps(a: A, b: B): B & A;
export declare function mergeProps(a: A, b: B, c: C): C & B & A;
export declare function mergeProps(a: A, b: B, c: C, d: D): D & C & B & A;
/**
* Merge props and return the first non-undefined value.
* The later has higher priority. e.g. (10, 1, 5) => 5 wins.
* This is useful with legacy props that have been deprecated.
*/
export declare function mergeProp(defaultProp: DefaultT, ...propList: T[]): T | undefined;