import EsriCodedValueDomain from "@arcgis/core/layers/support/CodedValueDomain";
import type { DomainBase } from "./Domain.js";
export declare namespace CodedValueDomain {
    /**
     * Converts an ArcGIS Portal JSON representation of an CodedValueDomain to
     * its Esri JavaScript API representation.
     *
     * @deprecated Use "json/*" modules instead.
     * @param codedValueDomainJson The coded value domain JSON to convert.
     */
    function toEsriApiCodedValueDomain(codedValueDomainJson: CodedValueDomain): EsriCodedValueDomain;
    /**
     * Applies an ArcGIS Portal JSON representation of a CodedValueDomain to its
     * Esri JavaScript API representation.
     *
     * @deprecated Use "json/*" modules instead.
     * @param codedValueDomainJson The coded value domain JSON to apply.
     * @param codedValueDomain The CodedValueDomain object to apply the JSON to.
     */
    function applyToEsriApiCodedValueDomain(codedValueDomainJson: CodedValueDomain, codedValueDomain: EsriCodedValueDomain): void;
    /**
     * Converts an Esri JavaScript API representation of a CodedValueDomain to
     * its ArcGIS Portal JSON representation.
     *
     * @deprecated Use "json/*" modules instead.
     * @param codedValueDomain The CodedValueDomain object to convert.
     */
    function fromEsriApiCodedValueDomain(codedValueDomain: EsriCodedValueDomain): CodedValueDomain;
}
/**
 * Coded value domain specifies an explicit set of valid values for a field.
 * Each valid value is assigned a unique name. See
 * {@link https://developers.arcgis.com/web-map-specification/objects/codedValue_domain/}.
 *
 * @deprecated Use "json/*" modules instead.
 */
export interface CodedValueDomain extends DomainBase {
    /**
     * The name of the domain.
     */
    name: string;
    /**
     * The set of valid coded values.
     */
    codedValues: CodedValue[];
    /**
     * @inheritDoc
     */
    type: "codedValue";
}
/**
 * A set of valid coded values with unique names. See
 * {@link https://developers.arcgis.com/web-map-specification/objects/codedValue/}
 * {@link https://developers.arcgis.com/web-scene-specification/objects/codedValue_domain/}.
 *
 * @deprecated Use "json/*" modules instead.
 */
export interface CodedValue {
    /**
     * Value indicating which unique code is used to identify the feature
     * attribute.
     */
    code: string | number;
    /**
     * The human-readable name for the coded value.
     */
    name: string;
}
