import type { XYChartAxisInternal, XYChartVariantsInternal } from '../types/xy-chart-internals.js'; import type { XYChartData } from '../types/xy-chart.js'; type ScrollFitArgs = { height: number | string | undefined; rowCount: number; rowHeightPx: number; overheadPx: number; }; type ScrollFit = { /** Height of the chart itself: all rows when scrolling or `'auto'`. */ chartHeight: string | undefined; /** Height of the scroll container; `undefined` when the rows fit. */ scrollHeight: string | undefined; /** Height of the wrapper when the rows fit a percentage height such as `'100%'`. */ containerHeight: string | undefined; }; /** * Sizes a flame chart to its rows. Rows that do not fit the given height * scroll; `'auto'` grows to fit every row. * * A percentage height cannot be converted to pixels, so the rows are compared * against `DEFAULT_CHART_HEIGHT` instead of the parent's real height. A parent * smaller than rows that fit that default is therefore not scrollable. * @internal */ export declare function resolveScrollFit({ height, rowCount, rowHeightPx, overheadPx, }: ScrollFitArgs): ScrollFit; type ScrollableSeriesArgs = { height: number | string | undefined; data: XYChartData[]; series: XYChartVariantsInternal[]; axes: XYChartAxisInternal[]; ariaLabel: string | undefined; }; /** * Fits the first flame series of a chart, or returns `undefined` when the chart * has no flame series. * @internal */ export declare function resolveScrollableSeries({ height, data, series, axes, ariaLabel, }: ScrollableSeriesArgs): (ScrollFit & { scrollLabel: string; scrollResetKey: unknown; }) | undefined; export {}; //# sourceMappingURL=resolve-scrollable-series.d.ts.map