import { Ref, RefCallback } from 'react'; /** * Merges multiple React refs into a single callback ref. * Useful when a component needs to forward its ref while also keeping a local ref. */ declare function useForkRefs(...refs: Array | undefined>): null | RefCallback; export default useForkRefs;