///
import type { ActionsType } from '../../store';
declare type Props = {
autoFocus: boolean;
editorRef: React.RefObject;
toolbarRef: React.RefObject;
wrapperRef: React.RefObject;
onFocus: () => void;
onBlur: () => void;
dispatch: React.Dispatch;
};
declare const useOnFocus: ({ autoFocus, editorRef, toolbarRef, wrapperRef, onFocus, onBlur, dispatch, }: Props) => {
isEditorFocused: boolean;
handleFocus: (e: React.FocusEvent) => void;
handleBlur: (e: React.FocusEvent) => void;
};
export default useOnFocus;
//# sourceMappingURL=useOnFocus.d.ts.map