import { IPopupOption, ScaleTypeName, StyleAttributeField, StyleAttributeOption } from '@antv/l7'; 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 interface ILabelOption { enable: boolean; color: AttributeType; field: string; size: AttributeType; stroke: string; strokeWidth: number; textAllowOverlap: boolean; padding: [number, number]; strokeOpacity: number; fontWeight: number; spacing: number; textAnchor: anchorType; textOffset: [number, number]; opacity: number; filter: AttributeType; } export interface IAttributeOption { field: StyleAttributeField; values: StyleAttributeOption; } export declare type AttributeType = IAttributeOption | string | number; export interface IPopupOptions { enable: boolean; openTriggerEvent: TriggeEventType; closeTriggerEvent: TriggeEventType; triggerLayer: 'fill' | 'bubble'; option?: Partial; Html: (properties: any) => string; } export interface IFillOptions { scale: ScaleTypeName | null; color: AttributeType; values: StyleAttributeOption; style: any; activeColor: string | boolean; filter: AttributeType; } export declare type TriggeEventType = 'mousemove' | 'click' | 'mousedown' | 'mouseenter' | 'mouseout' | 'dblclick' | 'contextmenu' | 'mouseup'; export declare type DrillUpTriggeEventType = 'mousemove' | 'unclick' | 'unmousedown' | 'undblclick' | 'uncontextmenu' | 'unmouseup'; export interface IBubbleOption { enable: boolean; shape: AttributeType; size: AttributeType; color: AttributeType; filter: AttributeType; scale: { field: string; type: ScaleTypeName; }; style: { opacity: number; stroke: string; strokeWidth: number; }; } export declare type adcodeType = string[] | string | number | number[]; export interface IDistrictLayerOption { zIndex: number; visible: boolean; enablePropagation: boolean; geoDataLevel: 1 | 2; viewType: 'normal' | 'standard'; data?: Array<{ [key: string]: any; }>; joinBy: [string, string]; adcode: adcodeType; simplifyTolerance: number | boolean; depth: 0 | 1 | 2 | 3; regionType: 'province' | 'region'; label: Partial; bubble: Partial; fill: Partial; showBorder: boolean; autoFit: boolean; stroke: string; strokeVisible: boolean; strokeOpacity: number; strokeWidth: number; provinceStroke: string; provinceStrokeVisible: boolean; cityStroke: string; provinceStrokeWidth: number; cityStrokeWidth: number; countyStroke: string; countyStrokeWidth: number; coastlineStroke: string; coastlineWidth: number; nationalStroke: string; nationalWidth: number; chinaNationalStroke: string; chinaNationalWidth: number; popup: Partial; onClick?: (properties: any, type: string) => void; } interface IDrawOption { depth: 0 | 1 | 2 | 3; joinBy: [string, string]; label: Partial; bubble: Partial; fill: Partial; } export interface IDrillDownOption { viewStart: DRILL_LEVEL; viewEnd: DRILL_LEVEL; drillDepth: 0 | 0.5 | 1 | 2; drillStart: 0 | 0.5 | 1 | 2; autoUpdateData: boolean; regionDrill: boolean; geoDataLevel: 1 | 2; customTrigger: boolean; drillDownTriggerEvent: TriggeEventType; drillUpTriggerEvent: TriggeEventType & DrillUpTriggeEventType; provinceData?: Array<{ [key: string]: any; }>; regionData?: Array<{ [key: string]: any; }>; cityData?: Array<{ [key: string]: any; }>; countyData?: Array<{ [key: string]: any; }>; joinBy: [string, string]; label: Partial; bubble: Partial; fill: Partial; popup: Partial; province: Partial; region: Partial; city: Partial; county: Partial; [key: string]: any; onClick?: (properties: any, type: string) => void; drillUpEvent: (properties: any) => void; drillDownEvent: (properties: any, type: string, adcode: string | string[]) => void; } export declare type DRILL_LEVEL = 'Country' | 'Region' | 'Province' | 'City' | 'County' | 'province' | 'city' | 'county' | 'region'; export {};