import type * as React from 'react'; import { type ChartConfig, ChartContainer } from '../../ui/chart.js'; import type { ChartSeries } from '../../../types/data.js'; type CartesianLegendPosition = 'none' | 'top' | 'bottom' | 'right'; interface CartesianChartFrameProps { children: React.ComponentProps['children']; config: ChartConfig; ariaLabel: string; ariaLabelledBy?: string; series: ChartSeries[]; legendPosition: CartesianLegendPosition; highlightedSeries: string | null; onSeriesHover: (seriesId: string | null) => void; yAxisLabel?: string; topLegendAlign?: 'center' | 'end'; } /** * Private layout seam shared by Cartesian charts. * * Axis primitives and marks remain owned by each chart; this module owns only * the repeated plot, axis-title, and interactive-legend frame. */ declare function CartesianChartFrame({ children, config, ariaLabel, ariaLabelledBy, series, legendPosition, highlightedSeries, onSeriesHover, yAxisLabel, topLegendAlign, }: CartesianChartFrameProps): React.JSX.Element; declare namespace CartesianChartFrame { var displayName: string; } export type { CartesianChartFrameProps, CartesianLegendPosition }; export { CartesianChartFrame };