import { IRequestOptions } from "@esri/arcgis-rest-request";
import type { IItem } from "@esri/arcgis-rest-portal";
import { IPortal } from "@esri/arcgis-rest-portal";
import { IHubRequestOptions } from "../hub-types";
export interface IThumbnailOptions {
    token?: string;
    width?: number;
}
/**
 * Get the fully qualified URL for an item's thumbnail
 * @param item w/ id, thumbnail, and access
 * @param portalUrlOrObject a portal base or API URL, a portal object, or request options containing either of those
 * @param optionsOrToken options including width and/or 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 thumbnail, defaults to `https://www.arcgis.com/sharing/rest/content/items/{item.id}/info/{item.thumbnail}`. Returns `null` if the item does not have a thumbnail assigned.
 */
export declare function getItemThumbnailUrl(item: IItem, portalUrlOrObject?: string | IPortal | IHubRequestOptions | IRequestOptions, optionsOrToken?: IThumbnailOptions | string): string | null;
