import { default as React } from 'react';
export type ReactRef<T> = React.RefCallback<T> | React.MutableRefObject<T>;
/**
 * Custom hook to merge multiple React references into a single callback ref.
 *
 * @param refs - The React references to merge.
 * @returns A memoized callback function to assign the merged references to a node.
 */
declare const useMergeRefs: <T>(...refs: (ReactRef<T> | null | undefined)[]) => (node: T | null) => void;
export default useMergeRefs;
