import type { MouseEvent, RefObject } from "react"; import React from "react"; import { AllowReorderTask, ChildByLevelMap, Column, DateSetup, DependencyMap, Distances, GanttRenderIconsProps, MapTaskToNestedIndex, OnColumnVisibilityChange, OnResizeColumn, Task, RenderTask, TableRenderBottomProps } from "../../types"; export type TaskListProps = { ganttRef: RefObject; /** Ref to the horizontal scroll wrapper (used for containing popups) */ taskListHorizontalScrollRef?: RefObject; allowReorderTask?: AllowReorderTask; canReorderTasks?: boolean; canResizeColumns?: boolean; childTasksMap: ChildByLevelMap; columnsProp: readonly Column[]; cutIdsMirror: Readonly>; dateSetup: DateSetup; dependencyMap: DependencyMap; distances: Distances; fullRowHeight: number; ganttFullHeight: number; ganttHeight: number; getTaskCurrentState: (task: Task) => Task; handleAddTask: (task: Task | null) => void; handleDeleteTasks: (task: RenderTask[]) => void; handleEditTask: (task: RenderTask) => void; handleMoveTaskBefore: (target: RenderTask, taskForMove: RenderTask) => void; handleMoveTaskAfter: (target: RenderTask, taskForMove: RenderTask) => void; handleMoveTasksInside: (parent: Task, childs: readonly RenderTask[]) => void; handleOpenContextMenu: (task: RenderTask, clientX: number, clientY: number) => void; icons?: Partial; isShowTaskNumbers?: boolean; mapTaskToNestedIndex: MapTaskToNestedIndex; onClick?: (task: RenderTask) => void; onDoubleClick?: (task: RenderTask) => void; onExpanderClick: (task: Task) => void; scrollToBottomStep: () => void; scrollToTask: (task: Task) => void; scrollToTopStep: () => void; selectTaskOnMouseDown: (taskId: string, event: MouseEvent) => void; selectedIdsMirror: Readonly>; taskListContainerRef: RefObject; taskListRef: RefObject; tasks: readonly RenderTask[]; onResizeColumn?: OnResizeColumn; canToggleColumns?: boolean; onColumnVisibilityChange?: OnColumnVisibilityChange; tableBottom?: TableRenderBottomProps; onTaskInlineEdit?: (task: RenderTask, columnId: string, newValue: unknown) => void; }; export declare const TaskList: React.NamedExoticComponent;