import "./gantt_view.css"; import type * as React from "react"; import { useRender } from "@base-ui/react/use-render"; import { type StyleProps } from "../style_props"; import type { GanttLabels, GanttScale, GanttTask } from "./types"; export interface GanttViewProps extends StyleProps { tasks: GanttTask[]; defaultScale?: GanttScale; /** What counts as today for the marker and the opening scroll position. */ today?: Date; /** BCP-47 tag for the axis tick names. Defaults to the active * `LoticsLocaleProvider` pack's `bcp47`; pass one only to override it. */ locale?: string; /** Optional toolbar caption shown left of the zoom switch. */ title?: string; /** Per-instance overrides; the rest resolve from `LoticsLocale.gantt`. */ labels?: Partial; onTaskPress?: (task: GanttTask) => void; testID?: string; ref?: React.Ref; render?: useRender.RenderProp; } /** * A Gantt chart: a frozen label column beside a zoomable, horizontally scrollable * axis, with tasks in lanes. * * **Reach for this over `CalendarView` when the ROWS are the subject** — a phase, * an owner, a vehicle — and dates are the horizontal axis. A calendar answers * "what happens on the 14th"; this answers "what is this team doing". * * **Lanes** come from `group`, **milestones** render as diamonds, and `progress` * fills a portion of the bar. There are deliberately no dependency connectors: * lane order and bar position already carry the sequence. * * Renders at its natural height — wrap in a `ScrollView` for very long lists. */ export declare function GanttView(props: GanttViewProps): React.ReactElement>;