import React from 'react'; import { Actions, ChartConfig, ChartOptions, ChartRef, Legend } from '../interfaces'; import { LooseObject } from '@antv/component'; import './styles/base.less'; export interface LayoutProps { options: ChartOptions; config?: ChartConfig; children: JSX.Element | JSX.Element[]; width?: number; onClickLegend?: (label: string) => void; } export interface ChartCanvasProps { legendList: (string | Legend)[]; config: ChartConfig; defaultOptions?: ChartOptions; data: LooseObject | LooseObject[]; width?: number; isDrag?: boolean; sizeRegister?: any; title?: string; fullHeight?: boolean; chart: Actions; } declare const core: (HighComponent: React.FC) => React.ForwardRefExoticComponent>; export default core;