import { ILayer, ScaleConfig, ScaleConfigMap, ColorAttr, SizeAttr, ShapeAttr, RotateAttr, AnimateAttr, StateAttribute, TextureAttr, FilterAttr } from '../../types'; /** * 获得映射函数 * @param mappingFields * @param callback */ export declare function getMappingFunction(mappingFields: string[], callback: (data: Record) => any): (...args: any[]) => any; export declare class MappingLayer { static shape(layer: ILayer, shape: ShapeAttr): void; static size(layer: ILayer, size: SizeAttr): void; static color(layer: ILayer, color: ColorAttr): void; static style(layer: ILayer, style: unknown): void; static state(layer: ILayer, state: StateAttribute): void; static rotate(layer: ILayer, rotate: RotateAttr): void; static texture(layer: ILayer, texture: TextureAttr): void; static animate(layer: ILayer, animate: AnimateAttr): void; static scale(layer: ILayer, field: string | ScaleConfigMap, cfg: ScaleConfig): void; static filter(layer: ILayer, filter: FilterAttr): void; }