import type { YooEditor } from '../types'; import type { ClearMarksOptions } from './types'; /** * Clear all marks from specified selection or blocks * * @param editor - YooEditor instance * @param options - Clear marks options * * @example * ```typescript * // Clear all marks from current text selection (slate.selection) or whole block * Marks.clear(editor); * * // Clear all marks from specific selection * Marks.clear(editor, { * selection: { anchor: { path: [0, 0], offset: 0 }, focus: { path: [0, 0], offset: 5 } } * }); * * // Clear all marks from specific block * Marks.clear(editor, { at: 0 }); * * // Clear all marks from multiple blocks * Marks.clear(editor, { at: [0, 1, 2] }); * ``` */ export declare function clearMarks(editor: YooEditor, options?: ClearMarksOptions): void; //# sourceMappingURL=clearMarks.d.ts.map