/** * ReloadableLayer is a mixin that adds support for reloading layer's schema and properties. * * @since 5.2 */ export abstract class ReloadableLayer { constructor(...args: any[]); /** * Indicates if the layer is in the process of reloading its properties and schema after a call to [reload()](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/ReloadableLayer/#reload). * * @since 5.2 * @see [reload()](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/ReloadableLayer/#reload) */ get reloading(): boolean; /** * Reloads the layer's schema and properties. * * This method is debounced to prevent redundant, concurrent network requests. * If called while an update is already in progress, a single subsequent execution is queued, * and any other intermediate calls are discarded. * * @returns `true` when the layer is successfully updated with data from the portal item or service; * `false` when the layer is not updated, not loaded, or does not reference a service. * @since 5.2 * @see [reloading](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/ReloadableLayer/#reloading) */ reload(): Promise; }