export default WithLegend; declare class WithLegend extends Component { constructor(props: any); constructor(props: any, context: any); getContainerDirection(): "row" | "row-reverse" | "column-reverse" | "column"; getLegendJustifyContent(): any; render(): import("react").JSX.Element; } declare namespace WithLegend { export { propTypes }; export { defaultProps }; } import { Component } from "react"; declare namespace propTypes { const className: PropTypes.Requireable; const width: PropTypes.Requireable>; const height: PropTypes.Requireable>; const renderChart: PropTypes.Validator<(...args: any[]) => any>; const renderLegend: PropTypes.Validator<(...args: any[]) => any>; const position: PropTypes.Requireable; const legendJustifyContent: PropTypes.Requireable; } declare namespace defaultProps { const className_1: string; export { className_1 as className }; const width_1: string; export { width_1 as width }; const height_1: string; export { height_1 as height }; const position_1: string; export { position_1 as position }; const legendJustifyContent_1: undefined; export { legendJustifyContent_1 as legendJustifyContent }; } import PropTypes from "prop-types"; //# sourceMappingURL=WithLegend.d.ts.map