import type { IUserRequestOptions } from "@esri/arcgis-rest-request"; import { IModel } from "../hub-types"; /** * Takes an IModel and an array of resources and upserts them to the * backing item. Then searches for the resources that were upserted * and attaches them to the model, which is returned. * * @export * @param {IModel} model * @param {Array<{ * resource: Record; * filename: string; * }>} resources * @param {IUserRequestOptions} requestOptions * @return {*} {Promise} */ export declare function upsertModelResources(model: IModel, resources: Array<{ resource: Record; filename: string; }>, requestOptions: IUserRequestOptions): Promise;