import { ScaleOption } from '../types/index.js';
import { BaseComponent } from './base.js';
import uPlot from 'uplot';
export declare class Scale extends BaseComponent<Record<'x' | 'y', ScaleOption>> {
    name: string;
    private get strategy();
    render(): void;
    update(): void;
    getOptions(): {
        scales: {
            x: {
                min: number;
                max: number;
            } | {
                min?: undefined;
                max: number;
            } | {
                min: number;
                max?: undefined;
            } | {
                min?: undefined;
                max?: undefined;
            };
            y: {
                auto: boolean;
                range: (_u: uPlot, dataMin: number, dataMax: number) => number[];
            };
        };
    };
    setScale(field: 'x' | 'y', limits: {
        min?: number;
        max?: number;
    }): void;
    private getXOptions;
    private getYOptions;
}
