import { Value } from "../../slate/editor/TEditor"; import { TazeEditor } from "../../types/taze/TazeEditor"; import { RenderLeaf } from "../../types/taze/RenderLeaf"; import { TazePlugin } from "../../types/plugin/TazePlugin"; /** * Get a `Editable.renderLeaf` handler for `options.type`. * If the type is equals to the slate leaf type, render `options.component`. * Else, return `children`. */ export declare const pluginRenderLeaf: (editor: TazeEditor, { key, type, component, props }: TazePlugin<{}, V, TazeEditor, any>) => RenderLeaf; //# sourceMappingURL=pluginRenderLeaf.d.ts.map