import type { Transaction, TransactionSpec } from '@codemirror/state'; import type { EditorView } from '@codemirror/view'; import { type RefObject } from 'react'; /** * Encapsulates EditorView methods to apply ErrorBoundary aware error handling * on main methods * @internal */ export declare const useErrorAwareViewRef: (viewRef: RefObject) => { viewDispatch: (args: Transaction | TransactionSpec | TransactionSpec[]) => void; }; //# sourceMappingURL=useErrorAwareViewRef.d.ts.map