import type Basemap from "../Basemap.js"; import type Accessor from "../core/Accessor.js"; import type Collection from "../core/Collection.js"; import type { BasemapsSourceState } from "./types.js"; /** * Properties for constructing a [BasemapsSource](https://developers.arcgis.com/javascript/latest/references/core/basemapGallery/BasemapsSource/). * * @since 5.2 */ export interface BasemapsSourceProperties {} /** * Defines a source of basemaps. * * @since 5.2 */ export default abstract class BasemapsSource extends Accessor { /** @since 5.2 */ constructor(properties?: BasemapsSourceProperties); /** * The collection of basemaps provided by the source. * * @since 5.2 */ abstract basemaps: Collection; /** * The current state of the source. * * @since 5.2 */ abstract readonly state: BasemapsSourceState; /** * Refreshes the basemaps provided by the source. * * @since 5.2 */ abstract refresh(): void; }