/** * Hook used to focus the first tabbable element on mount. * * @param {boolean | 'firstElement'} focusOnMount Focus on mount mode. * @return {import('react').RefCallback} Ref callback. * * @example * ```js * import { useFocusOnMount } from '@gechiui/compose'; * * const WithFocusOnMount = () => { * const ref = useFocusOnMount() * return ( *
*
* ); * } * ``` */ export default function useFocusOnMount(focusOnMount?: boolean | 'firstElement'): import('react').RefCallback; //# sourceMappingURL=index.d.ts.map