import { ReactElement, ReactNode } from 'react'; import { CardPaneContext } from '../../cards/cartesian-card'; import { ChartBars, ChartSeries, ChartYConfig } from '../../types'; export interface PaneProps { context: CardPaneContext; /** Names the pane for screen readers and in its corner label. */ label: string; /** Short text in the pane's top-left corner, e.g. "RSI 14". */ caption?: ReactNode; /** Values beside the caption for the hovered row, or the latest row at rest. */ readout?: (row: Row) => ReactNode; series: readonly ChartSeries[]; height: number; y?: ChartYConfig; bars?: ChartBars; /** Label the x axis under this pane; only the lowest pane should. */ xAxis?: boolean; children: ReactNode; } /** * A plot under a card's main plot, sharing its data, x, margins, and crosshair, so hover in any * pane reads the same observation in all of them. */ export declare function Pane({ context, label, caption, readout, series, height, y, bars, xAxis, children, }: PaneProps): ReactElement;