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

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