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

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