import React from 'react'; import type { AxisCoordinates, HeaderConfig, XAxisConfig, YAxisConfig } from '../types'; export type ChartFrameProps = { isEmpty?: boolean; xAxisConfig: XAxisConfig; yAxisConfig: YAxisConfig; headerConfig?: HeaderConfig; width: number; height: number; renderContent: (props: { coordinates: AxisCoordinates; }) => React.ReactNode; /** * Text to display when the chart has no data (empty state). * If undefined, no empty label will appear even if the chart is empty. */ emptyText?: string; /** * If true, hides the grid lines for the Y-axis. * Defaults to false. */ hideYAxisGrid?: boolean; /** * If true, hides the grid lines for the X-axis. * Defaults to false. */ hideXAxisGrid?: boolean; }; declare const ChartFrame: ({ xAxisConfig, yAxisConfig, width, height, headerConfig, renderContent, isEmpty, emptyText, hideYAxisGrid, hideXAxisGrid, }: ChartFrameProps) => React.JSX.Element; export default ChartFrame;