import { TEditor, Value } from "../slate/editor/TEditor"; import { EMarks } from "../slate/text/TText"; import { ToggleMarkPlugin } from "../types/plugin/ToggleMarkPlugin"; export interface ToggleMarkOptions = keyof EMarks> extends Pick, "clear"> { key: K; } /** * Add/remove marks in the selection. * @param editor * @param key mark to toggle * @param clear marks to clear when adding mark */ export declare const toggleMark: >>>> = keyof import("..").Simplify>>>>>(editor: TEditor, { key, clear }: ToggleMarkOptions) => void; //# sourceMappingURL=toggleMark.d.ts.map