import { IItem, ValidationInfo } from '../../types'; import { FeatureLayerItemData, ImageryLayerItemData, WebmapData, WebmapLayerDataByItemId } from '../../types/item-data'; type CheckItemPopupOptions = { /** * Feature layer item data that is associated with the item if the item is a feature service */ featureLayerItemData?: FeatureLayerItemData; /** * Imagery layer item data that is associated with the item if the item is an imagery service */ imageryLayerItemData?: ImageryLayerItemData; /** * Web map data that is associated with the item if the item is a web map. This is used to check the pop-up configuration for layers within the web map. */ webmapData?: WebmapData; /** * Web map layer data by item ID. The key is the item ID and the value is the item data returned from the REST API. * This is used to check the pop-up configuration for layers within the web map that have an associated item. */ webmapLayerDataByItemId?: WebmapLayerDataByItemId; }; /** * Validates the pop-up configuration for feature services, imagery services, and web maps. * * This function examines the `popupInfo` object for each layer, looking for meaningful content * such as text, images, charts, or custom elements (excludes fields table and attachments). * * @param item - The item to validate. * @param options - Layer data associated with the item based on its type. * @returns ValidationInfo for item pop-up configuration * * To see the specs for popupInfo object, refer to: * @see https://developers.arcgis.com/web-map-specification/objects/popupInfo/ * * To learn more about configuring item pop-ups, see: * @see https://doc.arcgis.com/en/arcgis-online/create-maps/configure-pop-ups-mv.htm */ export declare const checkItemPopup: (item: IItem, { featureLayerItemData, imageryLayerItemData, webmapData, webmapLayerDataByItemId, }: CheckItemPopupOptions) => ValidationInfo; export {};