import { NodeSpec } from 'prosemirror-model'; import { EditorState, Command } from 'prosemirror-state'; import { PluginContribution, RteFeatureImpl } from '../../feature'; import { RteInstanceImpl } from '../../instance'; import { TextblockAttrs } from '../../utils/textblock-attrs'; import { TextblockMarks } from '../../utils/textblock-marks'; type EnabledBlocks = { heading1: boolean; heading2: boolean; heading3: boolean; paragraph: boolean; }; export declare class RteBasicTextBlocksImpl extends RteFeatureImpl { protected enabledBlocks: EnabledBlocks; name: string; constructor(enabledBlocks: EnabledBlocks); getStyles(): { priority: number; featureName: string; value: string; }[]; getSchema(textblockAttrs: TextblockAttrs, textblockMarks: TextblockMarks): { priority: number; featureName: string; value: { nodes: Record; }; }[]; getPlugins(rte: RteInstanceImpl): PluginContribution[]; getCurrentBlockType(state: EditorState): string | null; setBlockType(rte: RteInstanceImpl, name: string): Command; } export {};