export async function loadManagedStations(): Promise<unknown[]> {
  const response = await fetch(`${import.meta.env.BASE_URL}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 : [];
}