import * as RealMap from 'realmap';
import { Annotation, ChartAnnotationOptions } from 'realmap';
import * as RealChart from 'realchart';
import { Chart } from 'realchart';

/**
 * Chart 어노테이션 모델.<br/>
 * {@page op.AnnotationOptions#type}은 {@page config.annotation.chart 'chart'}이고,
 * {@page options 설정} 모델은 {@page op.ChartAnnotationOptions}이다.
 *
 * @modules realmap-chart
 */
declare class ChartAnnotation extends Annotation<ChartAnnotationOptions> {
    static readonly DEF_SIZE = 100;
    static type: string;
    static defaults: ChartAnnotationOptions;
    private _chart;
    /**
     * realchart
     */
    get realchart(): Chart;
    set realchart(chart: Chart);
}

declare function registerModule(chart: typeof RealMap, realchart?: typeof RealChart): void;

export { ChartAnnotation, registerModule as default };
