import { HubEntityType } from "../core/types/HubEntityType"; import { IArcGISContext } from "../types/IArcGISContext"; /** * Removes a Hub entity resource. This util handles delegating * to the correct resource remove logic based on the entity type. * * @param type - type of the entity to remove the resource for * @param identifier - id of the entity to remove the resource for * @param name - name of the new/existing resource file * @param context - contextual portal and auth information * @param opts.owner - (optional) owner of the resource to add, defaults to the current user if not provided * @param opts.prefix - (optional) folder in which to store the new resource * @throws {HubError} if there is an error during the remove process or if removeing is not yet implemented for the entity type */ export declare function removeHubEntityResource(type: HubEntityType, identifier: string, name: string, context: IArcGISContext, opts?: { owner?: string; prefix?: string; }): Promise;