/// <reference types="react" />
import * as React from 'react';
export interface Props {
    data: any;
    config: any;
    width?: string;
    height: string;
    callback?: (elm: HTMLElement) => void;
}
declare class Chart extends React.Component<Props> {
    element: HTMLElement | null;
    chart: any;
    constructor(props: Props);
    componentDidMount(): void;
    componentWillUpdate(props: Props): void;
    render(): JSX.Element;
}
export default Chart;
