///
import React from 'react';
import { SeriesData } from '../../types/data';
import { CSVConfig } from '../../utils/csv';
interface Props {
config?: CSVConfig;
text: string;
width: string | number;
height: string | number;
onSeriesParsed: (data: SeriesData[], text: string) => void;
}
interface State {
text: string;
data: SeriesData[];
}
/**
* Expects the container div to have size set and will fill it 100%
*/
export declare class TableInputCSV extends React.PureComponent {
constructor(props: Props);
readCSV: (() => void) & import("lodash").Cancelable;
componentDidUpdate(prevProps: Props, prevState: State): void;
onTextChange: (event: any) => void;
render(): JSX.Element;
}
export default TableInputCSV;