import type { DataSource } from "./DataSource.js";
import type { Field as PortalField } from "./Field.js";
/**
 * A dynamic data layer derived from a registered workspace. More information on
 * this can be found in the ArcGIS REST API help. See
 * {@link https://developers.arcgis.com/web-map-specification/objects/dynamicDataLayer_source/}
 * {@link https://developers.arcgis.com/web-scene-specification/objects/dynamicDataLayer_source/}.
 *
 * @deprecated Use "json/*" modules instead.
 */
export interface DynamicDataLayer {
    /**
     * This object applies if the layerDefinition source is set to
     * DynamicDataLayer. See
     * {@link https://developers.arcgis.com/web-map-specification/objects/dataSource/}
     * {@link https://developers.arcgis.com/web-scene-specification/objects/dataSource/}.
     */
    dataSource?: DataSource;
    /**
     * An array of objects specifying information about an attribute field.
     */
    fields?: PortalField[];
    /**
     * A string value indicating the type. This value is dataLayer.
     */
    type: "dataLayer";
}
