import uPlot from 'uplot';
import { ShapeOptions } from '../../types/index.js';
import { Shape } from './index.js';
import { View } from '../../chart/view.js';
export declare type SizeCallback = (...args: unknown[]) => number;
/**
 * Point 点图
 */
export default class Point extends Shape<Point> {
    type: "point";
    private pointSize;
    private sizeField;
    private readonly maxPointSize;
    private sizeRange;
    private sizeCallback;
    private hRect;
    private get strategy();
    private get qt();
    map(name: string): this;
    /**
     * 设置 point 大小
     * @param field size 映射的数据字段 或者是大小
     * @param cfg [最大值,最小值] 或者 回调
     * @returns
     */
    size(field: number | string, options?: [number, number] | SizeCallback): Point;
    constructor(ctrl: View, opt?: ShapeOptions);
    getSeries(): {
        stroke: string;
        label: string;
        paths: (u: uPlot, seriesIdx: number, idx0: number, idx1: number) => any;
        points: {};
        fill: string;
    }[];
    getOptions(): {
        cursor: {
            y: boolean;
            points: {
                show: boolean;
            };
            drag: {
                x: boolean;
                y: boolean;
                setScale: boolean;
                uni: number;
            };
            focus: {
                prox: number;
            };
        } & uPlot.Cursor;
    };
    private readonly getCursorOption;
}
