import { ReactElement } from 'react';
import { Editor as SlateEditor, Descendant } from 'slate';
import { RenderElementProps, RenderLeafProps } from 'slate-react';
import { ElementFormat } from './types';
export declare const validSlateStateAdapter: (value: unknown) => Descendant[];
export declare const isMarkActive: (editor: SlateEditor, format: string) => boolean;
export declare const isBlockActive: (editor: SlateEditor, format: ElementFormat) => boolean;
export declare const toggleMark: (editor: SlateEditor, format: string) => void;
export declare const toggleBlock: (editor: SlateEditor, format: ElementFormat) => void;
export declare const focusEditor: (editor: SlateEditor) => void;
export declare const resetEditor: (editor: SlateEditor, value: string) => void;
export declare const withLinks: (editor: SlateEditor) => SlateEditor;
export declare const Element: ({ attributes, children, element, }: RenderElementProps) => ReactElement;
export declare const Leaf: ({ attributes, children, leaf, }: RenderLeafProps) => ReactElement;
export declare const Softbreaker: {
    placeholderCharacter: string;
    serialize: (string: string) => string;
    deserialize: (string: string) => string;
};
