type Range = [number, number];
export declare function InsertRangeIndex(ranges: Range[], sparam: number): number;
export declare function InsertSortedIndex<T, E>(array: T[], element: E, comparefunc: (a: E, b: T) => number): number;
/**
 * 插入范围,并且合并范围
 */
export declare function InsertRangeAndUnion(ranges: Range[], sparam: number, eparam: number, insertIndex?: number): Range[];
export declare function RangeUnion(ranges: Range[]): Range[];
export declare function Intersection(range1: Range, range2: Range): Range | undefined;
export {};
//# sourceMappingURL=RangeUtils.d.ts.map