import type { IUser } from "@esri/arcgis-rest-portal"; /** * TODO: If/when AGO implements this logic or runs a script on their end we can remove * this logic, or simply return passed in user. * Returns a cloned copy of the user object with updated privileges * based on whether or not the user has a subscription type not in the * allowed list * @param {object} user * @param {string} subscriptionInfoType * @returns */ export declare function removeInvalidPrivs(user: IUser, subscriptionInfoType: string): IUser;