import { Editable } from '@editablejs/editor'; import * as _editablejs_models from '@editablejs/models'; import { Text, Editor } from '@editablejs/models'; type FontSizeHotkey = Record boolean)>; interface FontSizeOptions { hotkey?: FontSizeHotkey; defaultSize?: string; } interface FontSize extends Text { fontSize?: string; } declare const FontSize: { isFontSize: (value: any) => value is FontSize; }; interface FontSizeEditor extends Editor { toggleFontSize: (size: string) => void; } declare const FontSizeEditor: { isFontSizeEditor: (editor: Editor) => editor is FontSizeEditor; isFontSize: (editor: Editor, node: any) => node is FontSize; queryActive: (editor: Editor) => string | null; toggle: (editor: Editor, size: string) => void; getOptions: (editor: _editablejs_models.BaseEditor & { isSolidVoid: (element: _editablejs_models.BaseElement) => boolean; isGrid: (value: any) => value is _editablejs_models.Grid; isGridRow: (value: any) => value is _editablejs_models.GridRow; isGridCell: (value: any) => value is _editablejs_models.GridCell; isList: (value: any) => value is _editablejs_models.List; getFragment: (range?: _editablejs_models.BaseRange | undefined) => _editablejs_models.Descendant[]; normalizeSelection: (fn: (selection: _editablejs_models.BaseSelection, options?: { grid: _editablejs_models.NodeEntry<_editablejs_models.Grid>; row: number; col: number; } | undefined) => void, at?: _editablejs_models.Location | undefined) => void; }) => FontSizeOptions; }; declare const withFontSize: (editor: T, options?: FontSizeOptions) => T & FontSizeEditor; export { FontSizeEditor, FontSizeHotkey, FontSizeOptions, withFontSize };