import type GraphicOrigin from "./GraphicOrigin.js";
import type SceneLayer from "../layers/SceneLayer.js";

/**
 * Provides information about the [SceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-SceneLayer.html) from which a graphic originates.
 * The [origin](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html#origin) information may be available when a graphic is returned from methods such as
 * [hitTest()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#hitTest) or [queryFeatures()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-SceneLayer.html#queryFeatures).
 *
 * @since 5.0
 * @see [SceneView.hitTest()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#hitTest)
 * @see [Scene component hitTest()](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#hitTest)
 * @see [SceneLayer.queryFeatures()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-SceneLayer.html#queryFeatures)
 * @see [SceneLayerView.queryFeatures()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-SceneLayerView.html#queryFeatures)
 */
export default class SceneGraphicOrigin extends GraphicOrigin {
  constructor(layer: SceneLayer);
  /** A layer from which a graphic originates. */
  readonly layer: SceneLayer;
  /**
   * Indicates the type of layer the graphic originated from.
   *
   * @default "scene"
   */
  readonly type: SceneLayer["type"];
}