/**
 * General layer utilities for the portal application.
 *
 * @experimental
 * @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.
 * @since 5.0
 * @experimental
 * @internal
 */
export function supportsFieldConfiguration(layer: unknown): layer is FeatureLayer;