import type { SlateEditor, TNode } from '@udecode/plate-common'; export declare function withResetFormattingOnBreak(match: (node: TNode) => boolean): (editor: T) => T;