import { MutableRefObject, Ref, RefObject } from 'react'; export declare function setRef(ref: Ref, value: T): void; export declare function getRef(ref: RefObject | Element): Element | null; export declare function useCallbackRef(initialValue: T | null, callback: (newValue: T | null, lastValue: T | null) => void): MutableRefObject; export declare function useForkRef(...refs: Ref[]): Ref; export declare function forkRef(...refs: Ref[]): Ref; export type NodeByRef = RefObject | Element | (() => RefObject | Element); export declare function getNodeByRef(ref: NodeByRef): Element | null;