import { type RefObject } from 'react';
/**
 * Returns a function that focuses the given element on the next render commit.
 *
 * The target is stored in a ref (not state) and the effect is gated by a
 * version counter, so calling `focus()` produces exactly one render — never
 * the two-render cascade you'd get from `setState(target)` followed by
 * `setState(null)` inside the effect.
 */
export declare function useFocus(): (target: HTMLElement | RefObject<HTMLElement>) => void;
//# sourceMappingURL=useFocus.d.ts.map