import { MutableRefObject } from "react"; interface useFocusProps { formRef: MutableRefObject; resultsRef: MutableRefObject; setActive: StateSetter; } interface FocusHookOptions { onBlur: (e: any) => void; onKeyDown: (e: any) => void; onClick: (e: any) => void; onFocus: () => void; } type useFocusHook = (props: useFocusProps) => FocusHookOptions; declare const useFocus: useFocusHook; export { useFocus }; export type { FocusHookOptions };