import type { Editor, JSONContent } from '@tiptap/react'; import type { EditorCommands, FocusPosition, TiptapAdapter } from 'ricos-types'; import type { TextAlignment } from 'wix-rich-content-common'; import type { TiptapAdapterServices } from '../initializeTiptapAdapter'; export declare class RichContentAdapter implements TiptapAdapter { tiptapEditor: Editor; getToolbarProps: TiptapAdapter['getToolbarProps']; private readonly services; constructor(tiptapEditor: Editor, services: TiptapAdapterServices); getContainer: () => Element; getDocumentStyle: () => any; focus(focusPosition?: FocusPosition): void; blur(): void; setTiptapContent(content: JSONContent): void; getEditorCommands(): EditorCommands; editorMocks: { getAnchorableBlocks: () => { anchorableBlocks: never[]; pluginsIncluded: never[]; }; getTextAlignment: () => TextAlignment; isBlockTypeSelected: () => boolean; isUndoStackEmpty: () => any; isRedoStackEmpty: () => any; getSelectedData: () => string; getPluginsList: () => never[]; scrollToBlock: (_nodeId: any) => void; isBlockInContent: (_nodeId: any) => boolean; toggleBlockOverlay: (_nodeId: any) => boolean; getBlockSpacing: () => { 'line-height': any; 'padding-top': any; 'padding-bottom': any; }; saveEditorState: () => void; loadEditorState: () => void; saveSelectionState: () => void; loadSelectionState: () => void; setBlockType: () => void; _setSelection: () => void; getAnchorBlockInlineStyles: () => {}; getInlineStylesInSelection: () => {}; getWiredFontStyles: () => {}; isAtomicBlockInSelection: () => boolean; isTextBlockInSelection: () => boolean; getAnchorBlockType: () => string; focus: (focusPosition?: FocusPosition) => void; }; } //# sourceMappingURL=RichContentAdapter.d.ts.map