export declare class Range {
    from: number;
    to: number;
    constructor(from?: number, to?: number);
    equals(other: Range): boolean;
    /**
     * Subtracts the given range and returns an array of the remaining ranges.
     */
    subtract(other: Range): Range[];
    /**
     * Subtracts every given range and returns an array of the remaining ranges.
     */
    subtractAll(others: Range[]): Range[];
    shrink(other: Range): Range;
    union(other: Range): Range[];
    add(other: Range): Range;
    intersect(other: Range): Range;
    size(): number;
    contains(value: number): boolean;
    toString(): string;
}
//# sourceMappingURL=Range.d.ts.map