import { FeatureServiceAdminJSON, IItem, ValidationInfo } from '../../types'; type CheckFeatureServiceCDNSettingOptions = { /** * The admin JSON of the Feature Service, which contains the cacheMaxAge property used to determine if CDN is enabled. * This is required to perform the validation, but may not be available when validating items that are not owned by the user. */ featureServiceAdminJSON: FeatureServiceAdminJSON; /** * A boolean indicating whether advisories should be checked and included in the validation result. */ shouldCheckAdvisories?: boolean; }; /** * Checks if the Feature Service has CDN enabled. * @param item - The ArcGIS item to validate * @param options.featureServiceAdminJSON - The admin JSON of the Feature Service, which contains the cacheMaxAge property used to determine if CDN is enabled. This is required to perform the validation, but may not be available when validating items that are not owned by the user. * @param options.shouldCheckAdvisories - A boolean indicating whether advisories should be checked and included in the validation result. * @returns A ValidationInfo object containing the validation result * * @see https://developers.arcgis.com/documentation/portal-and-data-services/data-services/feature-services/cdn-caching/#how-the-cdn-cache-works */ export declare const checkFeatureServiceCDNSetting: (item: IItem, { featureServiceAdminJSON, shouldCheckAdvisories, }: CheckFeatureServiceCDNSettingOptions) => ValidationInfo; export {};