import * as React from "react"; declare type ReactRef = React.Ref | React.MutableRefObject; export declare function assignRef(ref: ReactRef | undefined, value: T): void; /** * React hook that merges react refs into a single memoized function * * @example * import React from "react"; * import { useMergeRefs } from `@hakuna-matata-ui/hooks`; * * const Component = React.forwardRef((props, ref) => { * const internalRef = React.useRef(); * return
; * }); */ export declare function useMergeRefs(...refs: (ReactRef | undefined)[]): ((node: T) => void) | null; export {}; //# sourceMappingURL=use-merge-refs.d.ts.map