import { MapView as HostMapView, type MapViewOptions } from "./host.js"; export * from "./host.js"; /** canvas 上的地图视图。用 `MapView.create(...)` 创建,不再使用时调用 `destroy()`。 */ export declare class MapView extends HostMapView { /** * 在容器(自动插入一个铺满的 canvas)或现有 canvas 上创建地图视图。 * 图形后端优先 WebGPU,不可用时退回 WebGL2;默认在 Worker 里渲染(见 `MapViewOptions.worker`), * Worker 不可用时自动退回主线程。 */ static create(target: HTMLElement, options?: MapViewOptions): Promise; } export type { StyleSpecification, StyleDataEvent, StyleLifecycleState } from "./styles.js";