import { IRequestOptions } from "@esri/arcgis-rest-request";
import { ISharingResponse } from "@esri/arcgis-rest-portal";
/**
 * Share an item to a set of groups
 * @param {String} itemId Item Id to share to the groups
 * @param {Array} groupIds Array of group id's to which the item will be shared
 * @param {IRequestOptions} requestOptions
 * @param {String} owner optional Owner username to determine which endpoint to hit
 */
export declare function shareItemToGroups(itemId: string, groupIds: string[], requestOptions: IRequestOptions, owner?: string): Promise<ISharingResponse[]>;
