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

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