import { PlotLayerOptions } from './layer';
import { ColorAttr, StateAttribute, SizeAttr } from './attr';
export declare type AnchorType = 'right' | 'top-right' | 'left' | 'bottom-right' | 'left' | 'top-left' | 'bottom-left' | 'bottom' | 'bottom-right' | 'bottom-left' | 'top' | 'top-right' | 'top-left' | 'center';
export declare type PointTextLayerStyleOptions = {
    fill?: ColorAttr;
    fontSize?: SizeAttr;
    opacity?: number;
    textAnchor?: AnchorType;
    textOffset?: [number, number];
    spacing?: number;
    padding?: [number, number];
    halo?: number;
    gamma?: number;
    stroke?: string;
    strokeWidth?: number;
    strokeOpacity?: number;
    fontFamily?: string;
    fontWeight?: string;
    textAllowOverlap?: boolean;
};
/**
 * Label
 */
export interface LabelOptions extends PlotLayerOptions {
    /** 映射的字段 */
    field?: string;
    /** 回调函数 */
    content?: string;
    /** 字体样式 */
    style?: PointTextLayerStyleOptions;
    state?: StateAttribute;
}
