export type RangeSegmentProps = { lowerIndex: number upperIndex: number } export type SegmentProps = { index: number }