import { Command, EditorState } from 'prosemirror-state'; import { RteFeatureImpl, SchemaContribution, ToolbarItemContribution } from '../feature'; export interface TextColorOnBlock { node: string; defaultColor?: string; } export interface RteTextColorPickerConfig { onBlocks?: TextColorOnBlock[]; } type SelectionColor = string | null; export declare class RteTextColorPickerFeatureImpl extends RteFeatureImpl { protected readonly config?: RteTextColorPickerConfig | undefined; name: string; defaultColorForNode?: Record; constructor(config?: RteTextColorPickerConfig | undefined); getTextblockMarks(): { priority: number; featureName: string; value: { markName: string; }; }[]; getSchema(): SchemaContribution[]; getToolbarItems(): ToolbarItemContribution[]; getSelectionColor(state: EditorState): SelectionColor; setColor(color: string): Command; } export declare const RteTextColorPickerFeature: { new (config?: RteTextColorPickerConfig | undefined): {}; }; export {};