import { MentionNodeData } from '@udecode/slate-plugins';
import { Descendant, Selection } from 'slate';
/**
 * 获取图片的路径
 * 因为image目前在编译器为block元素，所以必定会在value的第一层，故一层循环即可
 * 若之后更改为inline，这里需要改造成递归寻找path
 **/
export declare type ImageDescendant = Descendant & {
    key: string;
};
export declare const getImagePathByKey: (value: ImageDescendant[], key: string) => Selection;
export declare const renderUserMentionLabel: (mentionable: MentionNodeData) => string;
export declare const renderTemplateMentionLabel: (mentionable: MentionNodeData) => string;
