import { FeatureServiceAdminJSON, IItem } from '../../types'; /** * Fetches the admin JSON of a feature service. This resource provides basic information about the feature service including the feature layers and tables that it contains, the service description, etc. * The administrative feature service resource maintains a set of operations that manage the state and contents of the service. * * @param item - The item representing the feature service. * @param token - The token for authentication. * @param bypassCache - Whether to bypass the cache (default is false). If true, a query timestamp is added to the request to bypass any cached responses. * @returns A promise that resolves to a FeatureServiceAdminJSON object. * @throws An error if the item is not a feature service or if the URL is not found. * * @see https://developers.arcgis.com/rest/services-reference/enterprise/hosted-feature-service/#json-response-syntax */ export declare const fetchFeatureServiceAdminJSON: (item: IItem, token: string, bypassCache?: boolean) => Promise;