import { type Component } from '../../tui/index.js';
export declare class LineSelectionScrollContainer implements Component {
    private readonly source;
    private viewportHeight;
    private scrollTop;
    private sticky;
    private contentHeight;
    private anchorContentRow;
    private focusContentRow;
    private selecting;
    private selectionActive;
    private lastPlainContentLines;
    private lastVisibleStart;
    private lastVisibleRows;
    private lastRenderWidth;
    constructor(source: Component);
    setViewportHeight(height: number): void;
    getViewportHeight(): number;
    getScrollTop(): number;
    getContentHeight(): number;
    isAtBottom(): boolean;
    scrollTo(scrollTop: number): void;
    scrollBy(delta: number): void;
    scrollPage(direction: number): void;
    scrollToBottom(): void;
    invalidate(): void;
    render(width: number): string[];
    startSelectionAtScreenRow(screenRow: number, screenCol: number): boolean;
    extendSelectionAtScreenRow(screenRow: number, screenCol: number): boolean;
    finishSelection(): void;
    clearSelection(): boolean;
    hasSelection(): boolean;
    isSelecting(): boolean;
    getAutoScrollDeltaForScreenRow(screenRow: number): number;
    extendSelectionByAutoScroll(delta: number): boolean;
    getSelectedText(): string;
    private screenRowToContentRow;
    private screenRowToContentRowForDrag;
    private getMaxScrollTop;
    private clamp;
    private getSelectionRange;
}
//# sourceMappingURL=line-selection-scroll-container.d.ts.map