import type { RawCommands } from '../../tiptap/index';
import type { NodeType } from '../../tiptap/pm/model';
declare module '../../tiptap/core/index' {
    interface Commands<ReturnType> {
        toggleTextNode: {
            /**
             * Toggle a node with another node.
             */
            toggleTextNode: (typeOrName: string | NodeType, toggleTypeOrName: string | NodeType, attributes?: Record<string, any>) => ReturnType;
        };
    }
}
export declare const toggleTextNode: RawCommands['toggleTextNode'];
//# sourceMappingURL=toggle-text-node.d.ts.map