import { Range } from 'slate';
import type { YooEditor } from '../types';
import type { GetRangeOptions } from './types';
/**
 * Get range from Slate selection
 *
 * @param editor - YooEditor instance
 * @param options - Get range options
 * @returns Range or null if no selection
 *
 * @example
 * ```typescript
 * // Get range from current block selection
 * const range = Selection.getRange(editor);
 *
 * // Get range from specific block
 * const range = Selection.getRange(editor, { at: 0 });
 * ```
 */
export declare function getRange(editor: YooEditor, options?: GetRangeOptions): Range | null;
//# sourceMappingURL=getRange.d.ts.map