import type { HubEntity } from "../types/HubEntity";
import type { IArcGISContext } from "../../types/IArcGISContext";
/**
 * Resolves an entity:// reference by fetching the referenced Hub entity.
 * Example `$ref: "entity://:type/:id"` returns the Hub entity for the specified item.
 * @param ref The entity reference to resolve.
 * @param context The ArcGIS context for making the request.
 * @returns The resolved Hub entity.
 * @throws Error if the ref is invalid or the entity cannot be fetched.
 */
export declare function fetchEntityResolver(ref: string, context: IArcGISContext): Promise<HubEntity>;
