export async function loadManagedStations(): Promise<unknown[]> {
  const response = await fetch('/stations.json');

  if (!response.ok) {
    throw new Error(`Failed to load managed stations: ${response.status}`);
  }

  const stations = await response.json();
  return Array.isArray(stations) ? stations : [];
}