type Find = () => HTMLElement | null | undefined;
/** Parks focus on the drawer itself before a change takes away the control that has it. When
* the focused control goes away, the drawer pulls focus back to itself, then again a frame
* later, which would undo wherever focus is sent next; parked, nothing is lost and it doesn't. */
export declare function holdFocus(): void;
/** Returns a function that sends focus to what `find` returns once the change it goes with
* has rendered. A save resolves on its own time, so the next commit is the moment to look,
* not the next frame. */
export declare function useFocusAfterRender(): (find: Find) => void;
export {};