import EsriPortalItem from "@arcgis/core/portal/PortalItem";
import type { SpatialReference } from "./SpatialReference.js";
export declare namespace Item {
    /**
     * Converts an Esri JavaScript API PortalItem object to its Portal JSON
     * representation.
     *
     * @deprecated Use "json/*" modules instead.
     * @param portalItem The item to convert.
     */
    function fromEsriApiPortalItem(portalItem: EsriPortalItem): Item;
    /**
     * Converts a JSON Portal item to its equivalent Esri JavaScript API object.
     *
     * @deprecated Use "json/*" modules instead.
     * @param itemJson The item to convert.
     */
    function toEsriApiPortalItem(itemJson: Item): EsriPortalItem;
}
/**
 * An item (a unit of content) in the portal. Each item has a unique identifier
 * and a well known URL that is independent of the user owning the item. An item
 * can have associated binary or textual data that's available via the item data
 * resource. For example, an item of type Map Package returns the actual bits
 * corresponding to the map package via the item data resource. The numViews is
 * incremented when an item is opened.
 *
 * See
 * {@link http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Item/02r30000007w000000/}.
 *
 * @deprecated Use "json/*" modules instead.
 */
export interface Item {
    /**
     * The unique ID for this item.
     */
    id: string;
    /**
     * An array of organization categories that are set on the item.
     */
    categories?: string[];
    /**
     * The username of the user who owns this item.
     */
    owner?: string;
    /**
     * A JSON object that primarily applies to system requirements, Terms and
     * Conditions, version, supported platforms, YouTube video ID, etc
     * associated with the application.
     */
    properties?: string;
    /**
     * An array that primarily applies to a list of categories that the
     * application item is applicable to.
     */
    appCategories?: string[];
    /**
     * The date the item was created. Shown in UNIX time in milliseconds.
     */
    created?: number;
    /**
     * The date the item was last modified. Shown in UNIX time in milliseconds.
     */
    modified?: number;
    /**
     * The file name of the item for file types. Read-only.
     */
    name?: string;
    /**
     * The title of the item. This is the name that's displayed to users and by
     * which they refer to the item. Every item must have a title.
     */
    title?: string;
    /**
     * The URL for the resource represented by the item. Applies only to items
     * that represent web-accessible resources such as map services.
     */
    url?: string;
    /**
     * A JSON object used to restrict service item response results based on
     * specified filter, i.e. limit results returned from a geocode service
     * based on defined filters.See serviceProxyFilter for object details.
     */
    proxyFilter?: Record<string, unknown>;
    /**
     * The GIS content type of this item. Example types include Web Map, Map
     * Service, Shapefile, and Web Mapping Application. See
     * {@link http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r3000000ms000000}.
     */
    type?: string;
    /**
     * A set of keywords that further describes the type of this item. Each item
     * is tagged with a set of type keywords that are derived based on its
     * primary type.
     */
    typeKeywords?: string[];
    /**
     * Item description.
     */
    description?: string;
    /**
     * User defined tags that describe the item.
     */
    tags?: string[];
    /**
     * A short summary description of the item.
     */
    snippet?: string;
    /**
     * The URL to the thumbnail used for the item.
     */
    thumbnail?: string;
    /**
     * The bounding rectangle of the item. Should always be in WGS84.
     */
    extent?: number[][];
    /**
     * The coordinate system of the item.
     */
    spatialReference?: SpatialReference;
    /**
     * Information on the source of the item and its copyright status.
     */
    accessInformation?: string;
    /**
     * Any license information or restrictions.
     */
    licenseInfo?: string;
    /**
     * The item locale information (language and country).
     */
    culture?: string;
    /**
     * Indicates the level of access to this item: private, shared, org, or
     * public.
     */
    access?: string;
    /**
     * Primarily applies to industries associated with the application.
     */
    industries?: string[];
    /**
     * Indicates user's control to the item.
     *
     * Values: admin (for item owner and org admin) | update (for members of
     * groups with item update capability that the item is shared with).
     */
    itemControl?: "admin" | "update";
    /**
     * Primarily applies to languages associated with the application.
     */
    languages?: string[];
    /**
     * Primarily applies to thumbnails associated with an application. The URL
     * to the thumbnail used for the application.
     */
    largeThumbnail?: string;
    /**
     * Primarily applies to the banner associated with an application. The URL
     * to the banner used for the application.
     */
    banner?: string;
    /**
     * Primarily applies to screenshots associated with an application. The URL
     * to the screenshots used for the application.
     */
    screenshots?: string[];
    /**
     * Primarily applies to the banner associated with an application. The URL
     * to the banner used for the application.
     */
    listed?: boolean;
    /**
     * The ID of the folder in which the owner has stored the item. The property
     * is only returned to the item owner or the org admin.
     */
    ownerFolder?: string;
    /**
     * The size of the item.
     */
    size?: number;
    /**
     * Protects the item from deletion. False is the default.
     */
    protected?: boolean;
    /**
     * Indicates if comments are allowed on the item.
     */
    commentsEnabled?: boolean;
    /**
     * Number of comments on the item.
     */
    numComments?: number;
    /**
     * Number of ratings on the item.
     */
    numRatings?: number;
    /**
     * Average rating. Uses a weighted average called "Bayesian average.".
     */
    avgRating?: number;
    /**
     * Number of views of the item.
     */
    numViews?: number;
    /**
     * Item information completeness score based upon item snippet, thumbnail,
     * description, title, tags etc.
     */
    scoreCompleteness?: number;
    /**
     * <not in spec>.
     */
    orgId?: string;
    /**
     * <not in spec>.
     */
    isOrgItem?: boolean;
    /**
     * <not in spec>.
     */
    guid?: string;
    /**
     * <not in spec>.
     */
    documentation?: unknown;
    /**
     * <not in spec>.
     */
    advancedSettings?: unknown;
    /**
     * <not in spec>.
     */
    subInfo?: number;
    /**
     * <not in spec>.
     */
    groupDesignations?: unknown;
    /**
     * <not in spec>.
     */
    contentOrigin?: string;
    /**
     * The portal to load the item from.
     */
    $portal?: string;
}
