import type { YooEditor } from '../types'; import type { UpdateMarkOptions } from './types'; /** * Update mark value in specified selection or blocks * * @param editor - YooEditor instance * @param options - Update mark options * * @example * ```typescript * // Update color mark in current text selection (slate.selection) or whole block * Marks.update(editor, { * type: 'color', * value: '#ff0000' * }); * * // Update mark in specific selection * Marks.update(editor, { * type: 'color', * value: '#ff0000', * selection: { anchor: { path: [0, 0], offset: 0 }, focus: { path: [0, 0], offset: 5 } } * }); * * // Update font size in specific block * Marks.update(editor, { * type: 'fontSize', * value: 16, * at: 0 * }); * ``` */ export declare function update(editor: YooEditor, options: UpdateMarkOptions): void; //# sourceMappingURL=update.d.ts.map