/**
 * Provides a utility function to determine whether a graphic's origin is a [SubtypeGroupGraphicOrigin](https://developers.arcgis.com/javascript/latest/api-reference/esri-graphic-SubtypeGroupGraphicOrigin.html).
 *
 * @since 5.0
 */
import type GraphicOrigin from "./GraphicOrigin.js";
import type SubtypeGroupGraphicOrigin from "./SubtypeGroupGraphicOrigin.js";

/**
 * Utility function that determines whether a graphic’s origin is a [SubtypeGroupGraphicOrigin](https://developers.arcgis.com/javascript/latest/api-reference/esri-graphic-SubtypeGroupGraphicOrigin.html).
 *
 * @param origin - The graphic origin to check.
 * @returns Returns `true` if the graphic origin is of type [SubtypeGroupGraphicOrigin](https://developers.arcgis.com/javascript/latest/api-reference/esri-graphic-SubtypeGroupGraphicOrigin.html), `false` otherwise.
 */
export function isSubtypeGroupGraphicOrigin(origin: GraphicOrigin | null | undefined): origin is SubtypeGroupGraphicOrigin;