import React from 'react'; declare type PossibleRef = React.Ref | undefined; /** * A utility to compose multiple refs together * Accepts callback refs and RefObject(s) */ export declare function composeRefs(...refs: PossibleRef[]): (node: T) => void; /** * A custom hook that composes multiple refs * Accepts callback refs and RefObject(s) */ export declare function useComposedRefs(...refs: PossibleRef[]): (node: T) => void; /** * A custom hook that converts a callback to a ref * to avoid triggering re-renders when passed as a prop * or avoid re-executing effects when passed as a dependency */ export declare function useCallbackRef(callback: (...args: T[]) => void): (...args: any[]) => void; export {};