export interface SelectionRectangle {
    left: number;
    top: number;
    width: number;
    height: number;
    regionId?: string;
}
export interface TextSelection {
    selectionRectangles: SelectionRectangle[];
    text?: string;
}
export declare const domRectToSelectionRectangle: (rectangle: DOMRect, region: Element) => SelectionRectangle;
//# sourceMappingURL=TextSelection.d.ts.map