import { IGroup } from "@esri/arcgis-rest-portal";
import type { IArcGISContext } from "../types/IArcGISContext";
import { IHubItemEntity } from "./types/IHubItemEntity";
/**
 * Fetches an array of groups the entity is shared with
 * @param entity An IHubItemEntity
 * @param context An IArcGISContext
 * @returns a promise that resolves an array of groups the entity is shared with
 */
export declare function getEntityGroups(entity: IHubItemEntity, context: IArcGISContext): Promise<IGroup[]>;
