import ArenaCursorText from '../interfaces/ArenaCursorText';
import { ArenaNodeText } from '../interfaces/ArenaNode';
export declare type ArenaSelectionDiection = 'forward' | 'backward';
export default class ArenaSelection {
    startNode: ArenaNodeText;
    startOffset: number;
    endNode: ArenaNodeText;
    endOffset: number;
    direction: ArenaSelectionDiection;
    constructor(startNode: ArenaNodeText, startOffset: number, endNode: ArenaNodeText, endOffset: number, direction: ArenaSelectionDiection);
    clone(): ArenaSelection;
    setStartNode(startNode: ArenaNodeText, startOffset: number): ArenaSelection;
    setEndNode(endNode: ArenaNodeText, endOffset: number): ArenaSelection;
    setBoth(node: ArenaNodeText, offset: number): ArenaSelection;
    getCursor(): ArenaCursorText;
    setCursor(cursor: ArenaCursorText): ArenaSelection;
    isCollapsed(): boolean;
    isSameNode(): boolean;
    isSelectionOnBegin(): boolean;
    isSelectionOnEnd(): boolean;
    collapse(): ArenaSelection;
    collapseBackward(): ArenaSelection;
    trim(): ArenaSelection;
}
//# sourceMappingURL=ArenaSelection.d.ts.map