type Range = [start: number, end: number];