import { SyntaxNode } from 'web-tree-sitter';
export declare class Point {
    byte: number;
    line: number;
    column: number;
    constructor(line: number, column: number, byte: number);
}
export declare class TextRange {
    start: Point;
    end: Point;
    private readonly text;
    constructor(start: Point, end: Point, text: string);
    getText(): string;
    static empty(): TextRange;
    static from(node: SyntaxNode): TextRange;
    private static extracted;
    /**
     * Checks if the current text range contains the specified text range.
     *
     * @param other The text range to check for containment.
     * @returns `true` if the current text range contains the specified text range; otherwise, `false`.
     */
    contains(other: TextRange): boolean;
    compare(other: TextRange): number;
    size(): number;
    contentFromRange(src: string): string;
}
