import { IItem } from '../../types'; type GetItemParams = { /** * The ID of the item to fetch. */ itemId: string; /** * The root URL of the portal. Defaults to 'https://www.arcgis.com'. */ portalRoot?: string; /** * The authentication token to access the portal. */ token?: string; }; /** * Get an item from the ArcGIS REST API. * @param params - The parameters for the request. * @param params.itemId - The ID of the item to fetch. * @param params.portalRoot - The root URL of the portal. Defaults to 'https://www.arcgis.com'. * @param params.token - The authentication token to access the portal. This is optional and defaults to an empty string. * @returns */ export declare const getItem: ({ itemId, portalRoot, token, }: GetItemParams) => Promise; /** * Get an ArcGIS item with retry logic. * @param params - The parameters for the request. * @param retries - The number of retry attempts. Defaults to 3. * @param delay - The delay between retries in milliseconds. Defaults to 1000ms. * @returns A promise that resolves to the fetched item. */ export declare const getItemWithRetries: (params: GetItemParams, retries?: number, delay?: number) => Promise; export {};