/**
 * Returns a ref and will focus on the element that ref is attached to
 * if the `autoFocus` boolean parameter is truthy.
 */
export declare const useAutofocus: <T extends HTMLElement>(autoFocus?: boolean) => import("react").MutableRefObject<T>;
export default useAutofocus;
