import { EditorState, Command } from 'prosemirror-state'; import { RteInstanceImpl } from '../instance'; import { RteFeatureImpl, SchemaContribution, ToolbarItemContribution } from '../feature'; export interface FontSizeOption { size: string; label: string; } export interface FontSizeOnBlock { node: string; defaultSize?: string; } export type RteFontSizePickerConfig = { options: FontSizeOption[]; onBlocks?: FontSizeOnBlock[]; }; declare const mixedFontSize: unique symbol; type MixedFontSize = typeof mixedFontSize; type SelectionFontSize = string | MixedFontSize | null; export declare class RteFontSizePickerFeatureImpl extends RteFeatureImpl { protected config: RteFontSizePickerConfig; name: string; fontSizes: FontSizeOption[]; defaultFontSizeForNode?: Record; constructor(config: RteFontSizePickerConfig); getTextblockMarks(): { priority: number; featureName: string; value: { markName: string; }; }[]; getSchema(): SchemaContribution[]; getPlugins(): { priority: number; featureName: string; value: import('prosemirror-state').Plugin; }[]; getToolbarItems(rte: RteInstanceImpl): ToolbarItemContribution[]; getFontSizeFromSelection(state: EditorState): SelectionFontSize; setFontSize(size: string): Command; adjustFontSize(adjustment: -1 | 1): Command; } export declare const RteFontSizePickerFeature: { new (config: RteFontSizePickerConfig): {}; }; export {};