import { NodeType } from 'prosemirror-model'; import { Command, EditorState } from 'prosemirror-state'; import { PluginContribution, RteFeatureImpl, SchemaContribution, StyleContribution, ToolbarItemContribution } from '../feature'; import { RteInstanceImpl } from '../instance'; import { TextblockAttrs } from '../utils/textblock-attrs'; export type RteListConfig = { bulletList?: boolean; numberedList?: boolean; }; export declare class RteListFeatureImpl extends RteFeatureImpl { protected config: RteListConfig; name: string; constructor(config: RteListConfig); getStyles(): StyleContribution[]; getSchema(textblockAttrs: TextblockAttrs): SchemaContribution[]; protected rte: RteInstanceImpl; getPlugins(rte: RteInstanceImpl): PluginContribution[]; getToolbarItems(rte: RteInstanceImpl): ToolbarItemContribution[]; toggleList(type: NodeType): Command; isSelectionInList(type: NodeType, state: EditorState): boolean; } export declare const RteListFeature: { new (config: RteListConfig): {}; };