import type EsriLayer from "@arcgis/core/layers/Layer";
export declare const ERR_LAYER_TYPE_MISMATCH = "Layer type mismatch";
/**
 * Not all layers support the legendEnabled property. To avoid casts to any, we
 * could cast to this interface, when accessing it.
 *
 * @deprecated Use "json/*" modules instead.
 */
export interface LayerWithLegendEnabledProperty extends EsriLayer {
    /**
     * Indicates whether the layer will be included in the legend.
     */
    legendEnabled: boolean;
}
