import { UserSession } from '@esri/arcgis-rest-auth'; import { IServiceDetails, OperationStackResponse } from '@esri/templates-common'; /** * Get all the details of a service * * * Issues request to the service admin end-point to get the details of the service * /sharing/rest/admin/services//FeatureServer?f=json * * If the service is a view, it also gets the sources json * - /sharing/rest/admin/services//FeatureServer/sources?f=json * * * @export * @param {string} serviceUrl * @param {UserSession} session * @return {*} {(Promise)} */ export declare function getServiceDetails(serviceUrl: string, session: UserSession): Promise;