import React, { MouseEvent } from "react"; import { ChildByLevelMap, CriticalPaths, DependencyMap, DependentMap, Distances, GanttRelationEvent, GanttTaskBarActions, GlobalRowIndexToTaskMap, RelationKind, RelationMoveTarget, RenderCustomLabel, RenderTask, Task, TaskBarMoveAction, TaskCoordinates, ViewMode } from "../../types"; import type { OptimizedListParams } from "../../helpers/use-optimized-list"; export interface TaskGanttContentProps extends GanttTaskBarActions { authorizedRelations: RelationKind[]; additionalLeftSpace: number; additionalRightSpace: number; checkIsHoliday: (date: Date) => boolean; childTasksMap: ChildByLevelMap; comparisonLevels: number; criticalPaths: CriticalPaths | null; dependencyMap: DependencyMap; dependentMap: DependentMap; distances: Distances; endColumnIndex: number; fullRowHeight: number; ganttRelationEvent: GanttRelationEvent | null; getDate: (index: number) => Date; getTaskCoordinates: (task: Task) => TaskCoordinates; onTaskBarRelationStart: (target: RelationMoveTarget, task: Task) => void; onDeleteTask: (task: RenderTask) => void; onTaskBarDragStart: (action: TaskBarMoveAction, task: Task, clientX: number, taskRootNode: Element) => void; mapGlobalRowIndexToTask: GlobalRowIndexToTaskMap; onArrowDoubleClick: (taskFrom: Task, taskTo: Task) => void; onArrowClick?: (taskFrom: Task, taskTo: Task) => void; activeArrowKey?: string | null; activeTaskId?: string | null; onClick?: (task: Task, event: React.MouseEvent) => void; onDoubleClick?: (task: Task) => void; renderedRowIndexes: OptimizedListParams | null; rtl: boolean; waitCommitTasks?: boolean; selectTaskOnMouseDown: (taskId: string, event: MouseEvent) => void; selectedIdsMirror: Readonly>; onTooltipTask: (task: Task | null, element: Element | null) => void; startColumnIndex: number; taskYOffset: number; visibleTasksMirror: Readonly>; taskHeight: number; taskHalfHeight: number; renderCustomLabel?: RenderCustomLabel; isProgressChangeable?: (task: Task) => boolean; isDateChangeable?: (task: Task) => boolean; isRelationChangeable?: (task: Task) => boolean; taskBarMovingAction: (task: RenderTask) => TaskBarMoveAction | null; viewMode: ViewMode; showProgress?: boolean; hideProjectProgress?: boolean; progressColor?: string; } export declare const TaskGanttContent: React.NamedExoticComponent;