export declare function useFocus(): { ref: { current: T; }; restore: () => any; setPreviouslyFocused: () => Element | null; }; export declare function useImperativeFocus(): { initiallyFocused: Element | null; lastFocus: Element | null; update: () => void; restoreOnUnmount: ({ to }?: { to?: "initial" | "custom" | undefined; }) => void; };