import { EditorState } from 'prosemirror-state'; import { SyntheticEvent } from 'react'; import { ReactEditorView } from '../../hooks/useEditor'; import { PMEditorProps } from '../../types'; export declare const preventDefault: (e: SyntheticEvent) => void; export declare function someProp(editorState: EditorState, propName: T, cb: (prop: Exclude) => any): any; export declare function hasEditableTarget(editorView: ReactEditorView, target: Node): boolean; //# sourceMappingURL=utils.d.ts.map