type NodeChangeHandler = (nextElement: T | null, prevElement: T | null) => void; /** * Hook to receive a stable ref setter with an optional onChange handler */ export declare const useNodeRef: (onChange?: NodeChangeHandler) => readonly [import("react").MutableRefObject, (element: U | null) => void]; export {};