type GetItemDataParams = { /** * 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; /** * Optional flag to bypass any caching by adding a query timestamp. */ bypassCache?: boolean; }; /** * Get the data of an ArcGIS item from the 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 The item data as a generic type T. */ export declare const getItemData: ({ itemId, portalRoot, token, bypassCache, }: GetItemDataParams) => Promise; /** * Get item data with retry logic. This will attempt to fetch the item data up to a specified number of retries if errors occur. * @param params - The parameters for fetching item data. * @param retries - The number of retry attempts. Defaults to 3. * @param retryDelay - The delay between retries in milliseconds. Defaults to 1000ms (1 second). * @returns */ export declare const getItemDataWithRetries: (params: GetItemDataParams, maxRetries?: number, retryDelay?: number) => Promise; export {};