import React from 'react'; export type BaseTrackProps = { style?: React.CSSProperties; label: string; isSmall?: boolean; perc: number; index: number; breakValuesLen: number; trackMargin: string; colorOverride?: [boolean, string]; }; export type Color_Props = { perc: number; breakValuesLen: number; index: number; style: React.CSSProperties; trackMargin: string; label: string; }; /** * read the index of the props, and apply margin to the color_props.style accordingly. * The first track only has right margin, the last track only has left margin, and the middle tracks have both left and right margin. This is to avoid double margin between tracks. */ export declare function applyTrackMargin(props: BaseTrackProps, color_props: Color_Props): void;