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

/**
 * Provides information about the [PointCloudLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-PointCloudLayer.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 [PointCloudLayerView.queryFeatures()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-PointCloudLayerView.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)
 */
export default class PointCloudGraphicOrigin extends GraphicOrigin {
  constructor(layer: PointCloudLayer);
  /** A layer from which a graphic originates. */
  readonly layer: PointCloudLayer;
  /**
   * Indicates the type of layer the graphic originated from.
   *
   * @default "point-cloud"
   */
  readonly type: PointCloudLayer["type"];
}