import { type MutableRefObject } from 'react'; /** * Returns a callback ref that will map it's argument * and set the given targetRef with the result. * @param targetRef Ref to assign mapped result to * @param map Function to map given ref value to another value */ export declare function useMappedRef(targetRef: MutableRefObject | ((ref: U) => void), map: (ref: T) => U): (ref: T) => void; export default useMappedRef; //# sourceMappingURL=useMappedRef.d.ts.map