import { IRequestOptions } from "@esri/arcgis-rest-request"; import { IItem, IPortal } from "@esri/arcgis-rest-portal"; import { IHubRequestOptions } from "../hub-types"; /** * Get the fully qualified URL to the REST end point for an item. * @param item w/ id and access * @param portalUrlOrObject a portal base or API URL, a portal object, or request options containing either of those * @param token token for the current user's session; will only be appended as a query parameter if the item's access is **not** `public` * @returns URL to the item's REST end point, defaults to `https://www.arcgis.com/sharing/rest/content/items/{item.id}?f=json` */ export declare const getItemApiUrl: (item: IItem, portalUrlOrObject?: string | IPortal | IHubRequestOptions | IRequestOptions, token?: string) => string;