import React from 'react'; import { Simplify } from 'type-fest'; import { ChartOptions as IChartOptions, DeepPartial, IChartApi } from 'lightweight-charts'; export declare type ChartObject = Simplify; export declare const useChart: () => ChartObject; export declare type ChartOptions = DeepPartial; export declare type ChartProps = { id?: string; children?: React.ReactNode | React.ReactNode[] | null; options?: ChartOptions; }; declare function Chart(props: ChartProps): JSX.Element; declare const _default: React.MemoExoticComponent; export default _default;