/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
/**
 * A map keyed on integers allowing reading and writing contiguous ranges of integer keys.
 */
export declare type RangeMap<T> = RangeEntry<T>[];
/**
 * An association between a range of integer keys a single value.
 * @alpha
 */
export interface RangeEntry<T> {
    start: number;
    length: number;
    value: T;
}
/**
 * @returns The first `RangeEntry` in `map` which intersects the range defined by `start` and `length`.
 */
export declare function getFirstFromRangeMap<T>(map: RangeMap<T>, start: number, length: number): RangeEntry<T> | undefined;
/**
 * Sets the keys from `start` to `start + length - 1` to `value`.
 */
export declare function setInRangeMap<T>(map: RangeMap<T>, start: number, length: number, value: T): void;
//# sourceMappingURL=rangeMap.d.ts.map