import { ColorAttr, SizeAttr } from '../../types';
import { CoreLayerOptions } from '../../core/core-layer';
import { PointTextLayerStyleOptions } from '../point-layer/types';
/**
 * 文本图层 文本样式
 */
export declare type TextLayerStyleOptions = PointTextLayerStyleOptions & {
    fill?: ColorAttr;
    fontSize?: SizeAttr;
};
/**
 * 文本图层配置
 */
export interface TextLayerOptions extends Omit<CoreLayerOptions, 'shape' | 'color' | 'size' | 'animate'> {
    /** 映射的字段 */
    field?: string;
    /** 映射文本回调函数 */
    /**
     * 字体样式
     */
    style?: TextLayerStyleOptions;
}
