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

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