import { RefObject } from 'react'; export declare function useAutofocus(elementRef: RefObject, autoFocus: boolean): void;