import * as React from 'react'; import type { SchedulerResourceId } from '@mui/x-scheduler-internals/models'; export declare const TITLE_HEADER_KEY: unique symbol; type Key = SchedulerResourceId | typeof TITLE_HEADER_KEY; type Report = (key: Key, width: number) => void; export declare const TitleColumnWidthProvider: React.Provider; export declare function useReportTitleWidth(): Report; /** * Tracks each rendered title cell's natural width and exposes the max * across all known resources, so virtualized-out rows still keep their * cached width and the column auto-sizes to fit the widest title. * * When `maxWidth` is provided, the visible column `width` is capped at it, * while `contentWidth` keeps the uncapped natural width so a horizontal * scrollbar can scroll the overflow. */ export declare function useTitleColumnWidth(parameters: { minWidth: number; maxWidth?: number; rows: readonly T[]; }): { width: number; contentWidth: number; hasOverflow: boolean; report: Report; }; export {};