/**
 * General layer utilities for the portal application.
 *
 * @internal
 * @internal
 */
import type FeatureLayer from "../../layers/FeatureLayer.js";

/**
 * Determine whether the layer supports field configuration. Returns `true` if the layer supports field configuration, `false` otherwise.
 *
 * @param layer - The layer to check.
 * @returns `true` if the layer supports field configuration, `false` otherwise.
 * @internal
 * @since 5.0
 * @internal
 */
export function supportsFieldConfiguration(layer: unknown): layer is FeatureLayer;