import { IImageExportOptions } from '../types/index';
import { ILegend, ILegendContainer } from '../Legends';
export declare function toImage(chartContainer: HTMLElement | null | undefined, legendsToSvgCallback?: ILegendContainer['toSVG'], isRTL?: boolean, opts?: IImageExportOptions): Promise<string>;
export declare function cloneLegendsToSVG(legends: ILegend[], svgWidth: number, config: {
    selectedLegends: Record<string, boolean>;
    centerLegends: boolean;
    textClassName: string;
    isRTL: boolean;
}, legendContainer?: HTMLElement | null): {
    node: SVGGElement | null;
    width: number;
    height: number;
};
