export default function useRefWithCallback(cb: (node: T) => void): (node: T | null) => void;