import { HubEntityType } from "../core/types/HubEntityType"; import { IArcGISContext } from "../types/IArcGISContext"; /** * Fetches a Hub entity resource. This util handles * delegating to the correct resource fetching logic * based on the entity type. * * @param type - type of the entity to fetch the resource for * @param identifier - id of the entity to fetch the resource for * @param fileName - name of the info file (including the optional folder path) to fetch * @param context - contextual portal and auth information * @returns the fetched resource * @throws {HubError} if there is an error during the fetch process or if fetching is not yet implemented for the entity type */ export declare function fetchHubEntityResource(type: HubEntityType, identifier: string, fileName: string, context: IArcGISContext): Promise;