import { FeatureLayerJSON, IItem, ValidationInfo } from '../../types'; /** * requires 90% of field value types to be present to receive a full score */ export declare const FIELD_VALUE_TYPES_REQUIRED_PERCENT = 0.9; /** * Validates the presence and completeness of `fieldValueType` descriptions for relevant fields * in the provided feature layers of an ArcGIS item. The validation assigns a scoring factor based * on the proportion of relevant fields that have a `fieldValueType` defined in their field description. * * - If the item is not a feature layer, the rule is skipped (weight 0). * - If there are no feature layers, a message is added and the rule is considered incomplete. * - If there are no relevant fields to check, the rule is considered fully satisfied. * - If none of the relevant fields have a `fieldValueType`, a message is added and the score is 0. * - If less than 80% of relevant fields have a `fieldValueType`, a message is added and the score is halved. * - If at least 80% of relevant fields have a `fieldValueType`, the rule is considered fully satisfied. * * @param item - The ArcGIS item to validate. * @param featureLayers - The feature layers associated with the item. * @returns ValidationInfo object containing the validation result, messages, and scoring factor. */ export declare const checkFeatureServiceFieldValueTypes: (item: IItem, featureLayers: FeatureLayerJSON[]) => ValidationInfo;