/** * Swaps two elements in an array. */ export declare function swap(array: T[], i: number, j: number): void; /** * Checks if two intervals are overlapping. * * Note: It returns false if the two intervals are just touching. * * @param lowA Lower bound of interval A. * @param highA Upper bound of interval A. * @param lowB Lower bound of interval B. * @param highB Upper bound of interval B. * * @returns True if the two intervals are overlapping, otherwise false. */ export declare function isOverlapping(lowA: number, highA: number, lowB: number, highB: number): boolean;