import { FeatureLayerJSON, IItem, ValidationInfo } from '../../types'; type CheckFeatureServiceFieldIndexesOptions = { /** * An array of feature layer JSON objects from the feature service, which contain the indexes information used to determine if appropriate field indexes are set. * This is required to perform the validation, but may not be available when validating items that are not owned by the user or if the item is a hosted feature layer view without source layers. */ featureLayers: FeatureLayerJSON[]; /** * A boolean indicating whether advisories should be checked and included in the validation result. * If false, the function will return 'not-applicable' for items that are Feature Services, instead of performing the field index checks and returning 'warning' if issues are found. */ shouldCheckAdvisories?: boolean; }; /** * Check if feature layers have appropriate field indexes set. * @param item ArcGIS Online item to validate * @param options.featureLayers Array of feature layers JSON objects from the feature service * @param options.shouldCheckAdvisories A boolean indicating whether advisories should be checked and included in the validation result. If false, the function will return 'not-applicable' for items that are Feature Services, instead of performing the field index checks and returning 'warning' if issues are found. * @returns ValidationInfo object containing the validation result * * @see https://developers.arcgis.com/documentation/portal-and-data-services/data-services/feature-services/field-and-spatial-indexes/ */ export declare const checkFeatureServiceFieldIndexes: (item: IItem, { featureLayers, shouldCheckAdvisories, }: CheckFeatureServiceFieldIndexesOptions) => ValidationInfo; export {};