import { Editor } from 'slate'; /** * 为 Slate 编辑器方法包一层错误日志;失败时 rethrow,避免静默吞错导致文档半一致状态。 */ export declare const withErrorReporting: (editor: Editor) => Editor;