import * as React from 'react'; import type { ChartsAxisSlotProps, ChartsAxisSlots } from '@mui/x-charts/ChartsAxis'; import type { ChartsGridProps } from '@mui/x-charts/ChartsGrid'; import type { ChartsTooltipSlotProps, ChartsTooltipSlots } from '@mui/x-charts/ChartsTooltip'; import type { ChartsOverlayProps, ChartsOverlaySlotProps, ChartsOverlaySlots } from '@mui/x-charts/ChartsOverlay'; import type { MakeOptional } from '@mui/x-internals/types'; import type { ChartsSlotProps, ChartsSlots } from '@mui/x-charts/internals'; import type { ChartsAxisHighlightProps } from '@mui/x-charts/ChartsAxisHighlight'; import type { ChartsToolbarProSlotProps, ChartsToolbarProSlots } from '@mui/x-charts-pro/ChartsToolbarPro'; import type { ChartsLegendSlotProps, ChartsLegendSlots } from '@mui/x-charts/ChartsLegend'; import type { OHLCSeriesType } from "../models/index.mjs"; import type { CandlestickChartPluginSignatures } from "./CandlestickChart.plugins.mjs"; import type { CandlestickPlotProps } from "./CandlestickPlot.mjs"; import type { ChartsContainerPremiumProps } from "../ChartsContainerPremium/index.mjs"; export interface CandlestickChartSlots extends ChartsAxisSlots, ChartsLegendSlots, ChartsOverlaySlots, ChartsTooltipSlots, ChartsToolbarProSlots, Partial {} export interface CandlestickChartSlotProps extends ChartsAxisSlotProps, ChartsLegendSlotProps, ChartsOverlaySlotProps, ChartsTooltipSlotProps, ChartsToolbarProSlotProps, Partial {} export type OHLCSeries = MakeOptional; export interface CandlestickChartProps extends Omit, 'series' | 'plugins' | 'experimentalFeatures'>, Omit, Omit { /** * The series to display in the candlestick chart. * An array of [[OHLCSeries]] objects. * * Currently, only one OHLC series is supported. If would like to display more than one OHLC * series, open an issue at https://github.com/mui/mui-x explaining your use case. */ series: ReadonlyArray; /** * Option to display a cartesian grid in the background. */ grid?: Pick; /** * The configuration of axes highlight. * @see See {@link https://mui.com/x/react-charts/highlighting/ highlighting docs} for more details. * @default { x: 'line', y: 'line' } */ axisHighlight?: ChartsAxisHighlightProps; /** * If true, shows the default chart toolbar. * @default false */ showToolbar?: boolean; /** * If `true`, the legend is not rendered. */ hideLegend?: boolean; /** * Overridable component slots. * @default {} */ slots?: CandlestickChartSlots; /** * The props used for each component slot. * @default {} */ slotProps?: CandlestickChartSlotProps; } /** * Demos: * * - [Candlestick](https://mui.com/x/react-charts/candlestick/) * * API: * * - [CandlestickChart API](https://mui.com/x/api/charts/candlestick/) */ declare const CandlestickChart: React.ForwardRefExoticComponent>; export { CandlestickChart };