import type { YooEditor } from '../types'; import type { SetSlateSelectionOptions } from './types'; /** * Set Slate selection in block * * @param editor - YooEditor instance * @param options - Set selection options * * @example * ```typescript * // Set selection in current block * Selection.setSlateSelection(editor, { * selection: { anchor: { path: [0, 0], offset: 0 }, focus: { path: [0, 0], offset: 5 } } * }); * * // Set selection in specific block * Selection.setSlateSelection(editor, { * selection: { anchor: { path: [0, 0], offset: 0 }, focus: { path: [0, 0], offset: 5 } }, * at: 0 * }); * ``` */ export declare function setSlateSelection(editor: YooEditor, options: SetSlateSelectionOptions): void; //# sourceMappingURL=setSlateSelection.d.ts.map