import type Viewpoint from "@arcgis/core/Viewpoint"; import type Extent from "@arcgis/core/geometry/Extent"; import type SpatialReference from "@arcgis/core/geometry/SpatialReference"; import { MapExtension } from "@vertigis/arcgis-extensions/mapping/MapExtension"; import type { MessageBus } from "../messaging"; import type { ComponentModel } from "../models"; import type { MapOrSceneView } from "../support/esri"; /** * Extends the capabilities of an Esri Map object. Used as the base class for * Web's map component model. */ export declare abstract class MapModel extends MapExtension implements ComponentModel { /** * @inheritdoc */ abstract icon: string | undefined; /** * @inheritdoc */ isLandmark: boolean; /** * Access to the viewer message bus. */ abstract messages: MessageBus; /** * The current map or scene view being used by the map component. */ abstract view: MapOrSceneView; /** * The current view for the map component. */ abstract get viewpoint(): Viewpoint; /** * The current extent for the map component. */ abstract get extent(): Extent; /** * The current spatial reference for the map component. */ abstract get spatialReference(): SpatialReference; /** * Indicates whether the map is currently in the middle of being panned, * zoomed, rotated, etc. */ abstract get isInteracting(): boolean; }