/** * Unlike 'useRef', 'useElementRef' will trigger a rerender when the reference is updated. */ export declare function useElementRef(): [HTMLElement | undefined, (e: HTMLElement | null) => void];