import { Doc } from '../../view/Doc';
import { ISelectionRange, Rect } from '../types/cursor';
/**
 * 将 selection（逻辑选区）转换成一组视觉矩形（canvas 绝对坐标）
 */
export declare function getSelectionRects(doc: Doc, selection: ISelectionRange, upgrade: boolean): Rect[];
