import type { ForwardedRef } from 'react'; /** * This hook allows to forward ref to multiple holders. * * @example * * const ref1 = useRef(null) * const ref2 = useRef(null) * * const ref = useMultipleForwardRefs([ref1, ref2]) * *
* * console.log(ref1.current) // * console.log(ref2.current) // */ declare const useMultipleForwardRefs: