import React from "react";
declare type BarDisplayProps = {
    x: number;
    y: number;
    type: string;
    startProgressWidth: number;
    endProgressWidth: number;
    width: number;
    height: number;
    isSelected: boolean;
    progressX: number;
    progressWidth: number;
    barCornerRadius: number;
    criticalPathArrows?: Array<{
        taskId: string;
        arrowColor: string;
    }>;
    segments?: Array<{
        x1: number;
        x2: number;
    }>;
    styles: {
        taskProgressColor?: string;
        backgroundColor: string;
        backgroundSelectedColor: string;
        progressColor: string;
        progressSelectedColor: string;
        criticalPathColor?: string;
    };
    onMouseDown: (event: React.MouseEvent<SVGPolygonElement, MouseEvent>) => void;
};
export declare const BarDisplay: React.FC<BarDisplayProps>;
export {};
