///
import { Editor } from 'slate';
import { RenderElementProps } from 'slate-react';
import { DocumentFeatures } from './document-features';
import { ComponentBlock } from './component-blocks/api';
export declare const wrapLink: (editor: Editor, url: string) => void;
export declare const LinkElement: ({ attributes, children, element: __elementForGettingPath, }: RenderElementProps & {
element: {
type: 'link';
};
}) => JSX.Element;
export declare const linkButton: JSX.Element;
export declare function withLink(editorDocumentFeatures: DocumentFeatures, componentBlocks: Record, editor: Editor): Editor;