import { EventEmitter } from 'eventemitter3'; import type { TileBounds, TileLoadDataOptions, TileOptions } from './types'; /** * 单个瓦片 * 负责瓦片数据加载、缓存数据、缓存图层 */ export declare class SourceTile extends EventEmitter { x: number; y: number; z: number; warp: boolean; tileSize: number; isVisible: boolean; isCurrent: boolean; isVisibleChange: boolean; loadedLayers: number; isLayerLoaded: boolean; isLoad: boolean; isChildLoad: boolean; parent: SourceTile | null; children: SourceTile[]; data: any; properties: Record; xhrCancel?: () => void; private loadStatus; private abortController; private loadDataId; private _bounds; private _bboxPolygon; constructor(options: TileOptions); get isLoading(): boolean; get isLoaded(): boolean; get isFailure(): boolean; setTileLayerLoaded(): void; get isCancelled(): boolean; get isDone(): boolean; get bounds(): TileBounds; get bboxPolygon(): any; get key(): string; layerLoad(): void; loadData({ getData, onLoad, onError }: TileLoadDataOptions): Promise; reloadData(params: TileLoadDataOptions): void; abortLoad(): void; }