import type FeatureLayer from "../FeatureLayer.js";
import type GeoJSONLayer from "../GeoJSONLayer.js";
import type OrientedImageryLayer from "../OrientedImageryLayer.js";
import type SceneLayer from "../SceneLayer.js";
import type SubtypeGroupLayer from "../SubtypeGroupLayer.js";
import type KnowledgeGraphSublayer from "../knowledgeGraph/KnowledgeGraphSublayer.js";
import type SubtypeSublayer from "./SubtypeSublayer.js";

export type EditableLayerUnion = FeatureLayer | GeoJSONLayer | OrientedImageryLayer | SceneLayer | SubtypeGroupLayer | KnowledgeGraphSublayer;

export type LayerWithFeatureTemplatesUnion = Exclude<EditableLayerUnion, SubtypeGroupLayer> | SubtypeSublayer | KnowledgeGraphSublayer;