import React from 'react';
type RefOrDomOrId<T> = HTMLElement | string | React.Ref<T>;
type F = any;
/**
 * Passing a ref, id, or DOM element to obtain and set the focus state of the first non-disabled and non-readonly input or textarea.
 * @param {RefOrDomOrId} refOrDomOrId - 支持类型 HTMLElement | string | React.Ref<T>
 * @returns void
 */
export declare const useAutoFocus: (refOrDomOrId?: RefOrDomOrId<F>) => void;
export {};
