import type { IUser } from "@esri/arcgis-rest-portal";
import { IGroupsByMembership } from "./types/IGroupsByMembership";
import { IQuery } from "./types/IHubCatalog";
/**
 * Given a query and a user, return an object with the set of groups
 * that are in the Query, and which the user is a member of, split by
 * membership type.
 * NOTE: This excludes viewOnly groups the user is just a member of.
 * @param query
 * @param user
 * @returns
 */
export declare function getUserGroupsFromQuery(query: IQuery, user: IUser): IGroupsByMembership;
