import { Mindmap } from '../..';
import Exporter from './Exporter';
/**
 * Based on https://mybyways.com/blog/convert-svg-to-png-using-your-browser
 */
declare class BinaryImageExporter extends Exporter {
    svgElement: Element;
    mindmap: Mindmap;
    width: number;
    height: number;
    constructor(mindmap: Mindmap, svgElement: Element, width: number, height: number, imgFormat: 'image/png' | 'image/jpeg');
    export(): Promise<string>;
    exportAndEndcode(): Promise<string>;
}
export default BinaryImageExporter;
