// @flow import * as React from "react"; import type { Value } from "../.."; export type Props = {| value: Value, max: number, min: number, onMouseDown: (event: SyntheticMouseEvent) => void, hasHistogram: boolean, |}; declare export default React.AbstractComponent; export type CalculateBarPosition = ( value: Value, max: number, min: number, hasHistogram: boolean, ) => {| left: number, width: number |}; declare export var calculateBarPosition: CalculateBarPosition;