import { IScaleControlOption } from '../interface';
import Control, { PositionType } from './BaseControl';
export default class Scale extends Control {
    private mScale;
    private iScale;
    constructor(cfg?: Partial<IScaleControlOption>);
    getDefault(): {
        position: PositionType;
        maxWidth: number;
        metric: boolean;
        updateWhenIdle: boolean;
        imperial: boolean;
        name: string;
    };
    onAdd(): any;
    onRemove(): void;
    update(): void;
    updateScales(maxMeters: number): void;
    private updateMetric;
    private updateImperial;
    private updateScale;
    private getRoundNum;
    private addScales;
}
