import { CSSProperties, ReactElement } from 'react'; import { ChartAxis, ChartBackground, ChartHoverStyle, ChartLoadingStyle, ChartEmptyState, ChartMotion, ChartStyle, ChartSurface } from '../../types'; import { AnimatedNumberVariant } from '../../motion/animated-number'; import { BookLevel } from '../indicators'; export interface DepthChartCardProps { /** Optional visible title. Use aria-label to name an embedded chart. */ title?: string; /** Show the header, including headline and period controls. Defaults to true. */ header?: boolean; /** Accessible name, independent of the visible title. */ 'aria-label'?: string; /** Resting buy orders: a price and the size at it. Order does not matter. */ bids: readonly BookLevel[]; /** Resting sell orders. */ asks: readonly BookLevel[]; /** Draws both sides' edges as lit tubes with a soft shadow; the steps keep their exact prices. */ depth?: boolean; /** Price format for the mid, spread and axis, e.g. `{ style: 'currency', currency: 'USD' }`. */ valueFormat?: Intl.NumberFormatOptions; /** Size format for depth. Defaults to compact numbers. */ sizeFormat?: Intl.NumberFormatOptions; locale?: string; /** Plot height in pixels. Defaults to 220. */ height?: number; axis?: ChartAxis; background?: ChartBackground; hoverStyle?: ChartHoverStyle; surface?: ChartSurface; numberStyle?: AnimatedNumberVariant; loading?: boolean; loadingStyle?: ChartLoadingStyle; /** * What the card shows when there is no data: `dots` (default), the chart's own `shape`, your * own element such as `No book yet`, or `null` for nothing. */ empty?: ChartEmptyState; motion?: ChartMotion; className?: string; style?: CSSProperties | ChartStyle; } /** * Order book depth: how much could trade at each price, buying and selling, as stepped areas, with * the mid, spread and total depth in the header. Hover reads the size resting at each price. */ export declare function DepthChartCard({ title, header, 'aria-label': ariaLabel, bids, asks, valueFormat, sizeFormat, locale, height, axis, background, hoverStyle, surface, numberStyle, loading, loadingStyle, empty, motion, className, style, depth, }: DepthChartCardProps): ReactElement;