/** * Weather data module. * Primary source: wttr.in (no API key required). * Fallback: Open-Meteo API (no API key required). */ import type { WeatherData } from './types.js'; export type WeatherProvider = 'wttr' | 'open-meteo'; /** * Fetch current weather and forecast for the given location. * * @param location - City name, coordinates, or any wttr.in-compatible query. * @param units - `'metric'` (Celsius, km/h) or `'imperial'` (Fahrenheit, mph). * @param provider - `'wttr'` tries wttr.in first with open-meteo fallback; * `'open-meteo'` goes directly to Open-Meteo. */ export declare function fetchWeather(location: string, units?: 'metric' | 'imperial', provider?: WeatherProvider): Promise; //# sourceMappingURL=weather.d.ts.map