/** * Utility for handling ESRI Feature Layer Subtypes. */ declare function createDomainUtil(metadata: any): { /** * @returns the field section of the metadata with introduced domain values, * depending of the given state of subtype value in the attributes. * * TODO: This function appears to be unused. */ mergeDomainsIntoFields: (attributes: any) => any; /** * Accepts a record of feature attributes as input and returns a new record * where all coded domain values have been replaced with their actual name. */ toDomainValues(attributes: any): Record; /** * Test if a field has a domain. * @param {String} name field name. * @returns true if the field has domains. */ isDomainField(name: string): boolean; }; export { createDomainUtil, createDomainUtil as default };