import { BlockType, MarkType, TextEditorEngine, Slate, SlateReact } from './text-editor-constants';
export default class TextEditorService {
    private slate;
    private slateReact;
    constructor(slate: Slate, slateReact: SlateReact);
    focus(editor: TextEditorEngine): void;
    isMarkActive(editor: TextEditorEngine, format: MarkType): boolean;
    isBlockActive(editor: TextEditorEngine, format: BlockType): boolean;
    toggleMark(editor: TextEditorEngine, format: MarkType): void;
    checkIsList(format: BlockType): boolean;
    toggleBlock(editor: TextEditorEngine, format: BlockType): void;
    insertLink(editor: TextEditorEngine, url: string): void;
    clearFormatting(editor: TextEditorEngine): void;
    removeLink(editor: TextEditorEngine): void;
    deleteContent(editor: TextEditorEngine): void;
}
