import { ColumnRegular, ColumnTypes } from '@revolist/revogrid'; import { TimelineScale } from './timeline'; import { GanttVisualConfig } from './types'; /** Default task-table columns used when the host grid has no columns yet. */ export declare const DEFAULT_TASK_COLUMNS: readonly ColumnRegular[]; /** * Return task-table columns with enterprise-compatible date column wiring. * * Host applications may provide their own columns. This helper preserves those * columns while forcing `startDate` and `endDate` through * `@revolist/revogrid-column-date`, matching the enterprise Gantt convention. */ export declare function normalizeTaskColumns(columns: readonly ColumnRegular[]): ColumnRegular[]; /** * Build the complete column list managed by the plugin. * * The task table stays on the normal grid side and the timeline is appended as * a pinned-end column so RevoGrid owns horizontal scrolling and virtualization. */ export declare function createManagedGanttColumns(originalColumns: readonly ColumnRegular[], timelineWidth: number): ColumnRegular[]; /** * Build the column type registry required by the minimal Gantt renderer. * * Existing host column types are preserved. The date type is installed only * when absent, while the Gantt type is always refreshed so it reads the latest * timeline scale and visual configuration closures. */ export declare function createManagedColumnTypes(currentColumnTypes: ColumnTypes | undefined, getScale: () => TimelineScale | null, getVisuals: () => GanttVisualConfig | undefined): ColumnTypes; //# sourceMappingURL=grid-config.d.ts.map