import { IGoogleMapsMarker } from '../../modules/marker/i-google-maps-marker'; import { IGoogleMapsPolygon } from '../../modules/polygon/i-google-maps-polygon'; import { IGoogleMapsPolyline } from '../../modules/polyline/i-google-maps-polyline'; import { IGoogleMapsData } from '../../modules/data/i-google-maps-data'; /** * Represents a snapshot of the map's overlays after changes happened. * @see OverlaysTracker.changes observable */ export declare class OverlaysState { /** `true` if this is the first change (tracker was just created); otherwise `false`. */ readonly first: boolean; /** All current markers on the map. */ readonly markers: IGoogleMapsMarker[]; /** All current polygons on the map. */ readonly polygons: IGoogleMapsPolygon[]; /** All current polygons on the map. */ readonly polylines: IGoogleMapsPolyline[]; /** All current data layers on the map. */ readonly dataLayers: IGoogleMapsData[]; constructor( /** `true` if this is the first change (tracker was just created); otherwise `false`. */ first: boolean, /** All current markers on the map. */ markers?: IGoogleMapsMarker[], /** All current polygons on the map. */ polygons?: IGoogleMapsPolygon[], /** All current polygons on the map. */ polylines?: IGoogleMapsPolyline[], /** All current data layers on the map. */ dataLayers?: IGoogleMapsData[]); /** * `true` if no overlays exist on the map; otherwise `false`. */ get empty(): boolean; }