import * as React from "react";
import type { Value } from "../../types";
export declare const calculateBarPosition: (value: Value, max: number, min: number, hasHistogram: boolean) => {
    left: number;
    width: number;
};
export declare const StyledBarPart: import("styled-components").StyledComponent<({ width, left, theme, active, ...props }: any) => JSX.Element, import("styled-components").DefaultTheme, {
    style: {
        [x: string]: string;
        width: string;
    };
}, "style">;
interface Props {
    value: Value;
    max: number;
    min: number;
    onMouseDown: React.MouseEventHandler<HTMLDivElement>;
    hasHistogram: boolean;
}
declare const Bar: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
export default Bar;
