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