import { HubEntityType } from "../core/types/HubEntityType"; import { IArcGISContext } from "../types/IArcGISContext"; /** * Fetches a Hub entity's resources. This util handles * delegating to the correct resource fetching logic * based on the entity type. * * @param type - type of the entity to fetch the resources for * @param identifier - id of the entity to fetch the resources for * @param context - contextual portal and auth information * @returns the fetched resources * @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 fetchHubEntityResources(type: HubEntityType, identifier: string, context: IArcGISContext): Promise<{ name: string; [key: string]: unknown; }[]>;