/**
 * Extract default units from map of view.
 *
 * @internal
 * @internal
 */
import type { MapViewOrSceneView } from "../../views/MapViewOrSceneView.js";

/**
 * Extracts the default unit preferences defined the portal instance
 * of a webmap/webscene used in a a view.
 *
 * @param view
 * @internal
 * @internal
 */
export function getDefaultUnitForView(view: MapViewOrSceneView): "imperial" | "metric";