import { UserSession } from '@esri/arcgis-rest-auth'; import { IGroup, IItem, ISharingResponse } from '@esri/arcgis-rest-portal'; /** * Share items to a Group, in batches so we don't overwhelm * the backing API * * Extracted mainly to simplify stubbing for testing functions * that consume this function * * @internal * @param {IItem[]} itemsToShare * @param {IGroup} group * @param {UserSession} session * @return {*} {Promise} */ export declare function batchShareItems(itemsToShare: IItem[], group: IGroup, session: UserSession): Promise;