import { IItem, WebmapData } from '../../'; type GetWebmapLayerItemsParams = { /** * The webmap data object containing layers. */ webmapData: WebmapData; /** * The root URL of the portal. Defaults to 'https://www.arcgis.com'. */ portalRoot?: string; /** * The authentication token to access the portal. */ token?: string; /** * If true, the function will attempt to use cached item details if available. Defaults to false. */ shouldUseCachedResponse?: boolean; }; /** * Get all layer items from the webmap data * * This function finds all layers in the webmap (both operational and base layers) that reference to ArcGIS items, * and retrieves their item details from the portal. * * This function handles errors gracefully by logging them and skipping layers that fail to fetch. So that the process continues for other layers. * And the items that fail to fetch are simply omitted from the final result. * * @param webmapData Webmap data object * @returns Array of layer items */ export declare const getWebmapLayerItems: ({ webmapData, portalRoot, token, shouldUseCachedResponse, }: GetWebmapLayerItemsParams) => Promise; export {};