import React from 'react'; type CallbackRef = (ref: T | null) => void; type Ref = React.MutableRefObject | CallbackRef; /** * Merges two React refs into a single ref callback. */ export declare function mergeRefs(refA?: Ref | null, refB?: Ref | null): React.RefCallback; export default mergeRefs;