import { type MutableRefObject, type RefCallback } from 'react';
/**
* Type-aware helper to assign multiple refs to a single element. The refs are
* wrapped into a RefCallback that can set the value of both RefObjects and other
* RefCallbacks.
*
* Useful when using both local and forwarded refs oh the same element:
*
*/
type MutableRefList = Array | MutableRefObject | undefined | null>;
export declare function setRefs(val: T, ...refs: MutableRefList): void;
export declare function mergeRefs(...refs: MutableRefList): RefCallback;
export {};