import { EnrichedTask } from '../../models/task';
import { Arrow } from './arrow';
export declare class Bar {
    private _actionCompleted?;
    private _gantt?;
    private _invalid?;
    private _height?;
    private _x?;
    private _y?;
    private _cornerRadius?;
    private _duration?;
    private _width?;
    private _barGroup;
    private _arrows?;
    private _group?;
    private _task;
    private _element;
    private _isPopUpOpen;
    constructor(gantt: any, task: any);
    get arrows(): Arrow[] | undefined;
    get task(): EnrichedTask;
    get element(): any;
    get group(): any;
    set arrows(arrows: Arrow[]);
    updateBarPosition({ x, width }: any): void;
    dateChanged(): void;
    setActionCompleted(): void;
    private _setDefaults;
    private _prepare;
    private _prepareValues;
    private _prepareHelpers;
    private _draw;
    private _drawBar;
    private _drawLabel;
    private _bind;
    private _setupClickEvent;
    private _showPopup;
    private _computeStartEndDate;
    private _computeX;
    private _computeY;
    private _updateAttr;
    private _updateLabelPosition;
    private _updateArrowPosition;
}
