import { z } from 'zod';
export type Legend = {
    /**
     * 图例功能是否开启
     * @default true
     * @example enable: true
     */
    enable?: boolean;
    /**
     * @description 图例边框是否开启
     * @warning 仅离散图例生效
     * @default true
     * @example border: true
     */
    border?: boolean;
    /**
     * @description 图例字体颜色
     */
    labelColor?: string;
    /**
     * @description 分页器icon颜色
     */
    pagerIconColor?: string;
    /**
     * @description 分页器icon置灰颜色
     */
    pagerIconDisableColor?: string;
    /**
     * @description 图例字体大小
     * @example labelFontSize: 10
     */
    labelFontSize?: number;
    /**
     * @description 图例字体颜色
     * @deprecated use labelColor instead
     */
    labelFontColor?: string;
    /**
     * @description 图例字体粗细
     * @example labelFontWeight: 400
     */
    labelFontWeight?: number | string;
    /**
     * @description 图例形状
     * @warning 仅离散图例生效
     * @example shapeType: 'circle'
     */
    shapeType?: 'circle' | 'cross' | 'diamond' | 'square' | 'arrow' | 'arrow2Left' | 'arrow2Right' | 'wedge' | 'thinTriangle' | 'triangle' | 'triangleUp' | 'triangleDown' | 'triangleRight' | 'triangleLeft' | 'stroke' | 'star' | 'wye' | 'rect' | 'arrowLeft' | 'arrowRight' | 'rectRound' | 'roundLine';
    /**
     * 图例位置
     * @default 'right'
     * @example position: 'rightTop'
     */
    position?: 'left' | 'leftTop' | 'leftBottom' | 'lt' | 'lb' | 'top' | 'topLeft' | 'topRight' | 'tl' | 'tr' | 'right' | 'rightTop' | 'rightBottom' | 'rt' | 'rb' | 'bottom' | 'bottomLeft' | 'bottomRight' | 'bl' | 'br';
    /**
     * @description 存在大量图例时, 最大列数 或 图例最大行数
     *  如果position为水平方向(bottom, bottomLeft, bottomRight, bl, br, top, topLeft, topRight, tl, tr), maxSize控制显示的列数
     *  如果position为垂直方向(left, leftTop, leftBottom, lt, lb, right, rightTop, rightBottom, rt, rb), maxSize控制显示的行数
     *
     * @warning 仅离散图例生效
     * @example maxSize: 2
     * @default 1
     */
    maxSize?: number;
};
export declare const zLegend: z.ZodObject<{
    enable: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
    border: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
    maxSize: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
    shapeType: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
        circle: "circle";
        cross: "cross";
        diamond: "diamond";
        square: "square";
        arrow: "arrow";
        arrow2Left: "arrow2Left";
        arrow2Right: "arrow2Right";
        wedge: "wedge";
        thinTriangle: "thinTriangle";
        triangle: "triangle";
        triangleUp: "triangleUp";
        triangleDown: "triangleDown";
        triangleRight: "triangleRight";
        triangleLeft: "triangleLeft";
        stroke: "stroke";
        star: "star";
        wye: "wye";
        rect: "rect";
        arrowLeft: "arrowLeft";
        arrowRight: "arrowRight";
        rectRound: "rectRound";
        roundLine: "roundLine";
    }>>>>;
    position: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
        left: "left";
        leftTop: "leftTop";
        leftBottom: "leftBottom";
        lt: "lt";
        lb: "lb";
        top: "top";
        topLeft: "topLeft";
        topRight: "topRight";
        tl: "tl";
        tr: "tr";
        right: "right";
        rightTop: "rightTop";
        rightBottom: "rightBottom";
        rt: "rt";
        rb: "rb";
        bottom: "bottom";
        bottomLeft: "bottomLeft";
        bottomRight: "bottomRight";
        bl: "bl";
        br: "br";
    }>>>>;
    pagerIconColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    pagerIconDisableColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    labelColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
    labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
    labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>>;
}, z.core.$strip>;
export type ColorLegend = Pick<Legend, 'position' | 'enable' | 'labelColor' | 'labelFontColor' | 'labelFontSize' | 'labelFontWeight'> & {
    railBackgroundColor?: string;
    handlerBorderColor?: string;
};
export declare const zColorLegend: z.ZodObject<{
    position: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
        left: "left";
        leftTop: "leftTop";
        leftBottom: "leftBottom";
        lt: "lt";
        lb: "lb";
        top: "top";
        topLeft: "topLeft";
        topRight: "topRight";
        tl: "tl";
        tr: "tr";
        right: "right";
        rightTop: "rightTop";
        rightBottom: "rightBottom";
        rt: "rt";
        rb: "rb";
        bottom: "bottom";
        bottomLeft: "bottomLeft";
        bottomRight: "bottomRight";
        bl: "bl";
        br: "br";
    }>>>>;
    enable: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
    railBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    handlerBorderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    labelColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
    labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
    labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>>;
}, z.core.$strip>;
