UNPKG

open-meteo-mcp-server

Version:

Model Context Protocol server for Open-Meteo weather APIs

505 lines 34.8 kB
import { z } from 'zod'; export declare const CoordinateSchema: z.ZodObject<{ latitude: z.ZodNumber; longitude: z.ZodNumber; }, "strip", z.ZodTypeAny, { latitude: number; longitude: number; }, { latitude: number; longitude: number; }>; export declare const TemperatureUnitSchema: z.ZodDefault<z.ZodEnum<["celsius", "fahrenheit"]>>; export declare const WindSpeedUnitSchema: z.ZodDefault<z.ZodEnum<["kmh", "ms", "mph", "kn"]>>; export declare const PrecipitationUnitSchema: z.ZodDefault<z.ZodEnum<["mm", "inch"]>>; export declare const TimeFormatSchema: z.ZodDefault<z.ZodEnum<["iso8601", "unixtime"]>>; export declare const GeocodingParamsSchema: z.ZodObject<{ name: z.ZodString; count: z.ZodOptional<z.ZodDefault<z.ZodNumber>>; language: z.ZodOptional<z.ZodString>; countryCode: z.ZodOptional<z.ZodString>; format: z.ZodOptional<z.ZodDefault<z.ZodEnum<["json", "protobuf"]>>>; }, "strip", z.ZodTypeAny, { name: string; count?: number | undefined; language?: string | undefined; countryCode?: string | undefined; format?: "json" | "protobuf" | undefined; }, { name: string; count?: number | undefined; language?: string | undefined; countryCode?: string | undefined; format?: "json" | "protobuf" | undefined; }>; export declare const LocationSchema: z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; latitude: z.ZodNumber; longitude: z.ZodNumber; elevation: z.ZodOptional<z.ZodNumber>; feature_code: z.ZodOptional<z.ZodString>; country_code: z.ZodOptional<z.ZodString>; admin1_id: z.ZodOptional<z.ZodNumber>; admin2_id: z.ZodOptional<z.ZodNumber>; admin3_id: z.ZodOptional<z.ZodNumber>; admin4_id: z.ZodOptional<z.ZodNumber>; timezone: z.ZodOptional<z.ZodString>; population: z.ZodOptional<z.ZodNumber>; postcodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; country_id: z.ZodOptional<z.ZodNumber>; country: z.ZodOptional<z.ZodString>; admin1: z.ZodOptional<z.ZodString>; admin2: z.ZodOptional<z.ZodString>; admin3: z.ZodOptional<z.ZodString>; admin4: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { latitude: number; longitude: number; name: string; id: number; elevation?: number | undefined; feature_code?: string | undefined; country_code?: string | undefined; admin1_id?: number | undefined; admin2_id?: number | undefined; admin3_id?: number | undefined; admin4_id?: number | undefined; timezone?: string | undefined; population?: number | undefined; postcodes?: string[] | undefined; country_id?: number | undefined; country?: string | undefined; admin1?: string | undefined; admin2?: string | undefined; admin3?: string | undefined; admin4?: string | undefined; }, { latitude: number; longitude: number; name: string; id: number; elevation?: number | undefined; feature_code?: string | undefined; country_code?: string | undefined; admin1_id?: number | undefined; admin2_id?: number | undefined; admin3_id?: number | undefined; admin4_id?: number | undefined; timezone?: string | undefined; population?: number | undefined; postcodes?: string[] | undefined; country_id?: number | undefined; country?: string | undefined; admin1?: string | undefined; admin2?: string | undefined; admin3?: string | undefined; admin4?: string | undefined; }>; export declare const GeocodingResponseSchema: z.ZodObject<{ results: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; latitude: z.ZodNumber; longitude: z.ZodNumber; elevation: z.ZodOptional<z.ZodNumber>; feature_code: z.ZodOptional<z.ZodString>; country_code: z.ZodOptional<z.ZodString>; admin1_id: z.ZodOptional<z.ZodNumber>; admin2_id: z.ZodOptional<z.ZodNumber>; admin3_id: z.ZodOptional<z.ZodNumber>; admin4_id: z.ZodOptional<z.ZodNumber>; timezone: z.ZodOptional<z.ZodString>; population: z.ZodOptional<z.ZodNumber>; postcodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; country_id: z.ZodOptional<z.ZodNumber>; country: z.ZodOptional<z.ZodString>; admin1: z.ZodOptional<z.ZodString>; admin2: z.ZodOptional<z.ZodString>; admin3: z.ZodOptional<z.ZodString>; admin4: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { latitude: number; longitude: number; name: string; id: number; elevation?: number | undefined; feature_code?: string | undefined; country_code?: string | undefined; admin1_id?: number | undefined; admin2_id?: number | undefined; admin3_id?: number | undefined; admin4_id?: number | undefined; timezone?: string | undefined; population?: number | undefined; postcodes?: string[] | undefined; country_id?: number | undefined; country?: string | undefined; admin1?: string | undefined; admin2?: string | undefined; admin3?: string | undefined; admin4?: string | undefined; }, { latitude: number; longitude: number; name: string; id: number; elevation?: number | undefined; feature_code?: string | undefined; country_code?: string | undefined; admin1_id?: number | undefined; admin2_id?: number | undefined; admin3_id?: number | undefined; admin4_id?: number | undefined; timezone?: string | undefined; population?: number | undefined; postcodes?: string[] | undefined; country_id?: number | undefined; country?: string | undefined; admin1?: string | undefined; admin2?: string | undefined; admin3?: string | undefined; admin4?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { results: { latitude: number; longitude: number; name: string; id: number; elevation?: number | undefined; feature_code?: string | undefined; country_code?: string | undefined; admin1_id?: number | undefined; admin2_id?: number | undefined; admin3_id?: number | undefined; admin4_id?: number | undefined; timezone?: string | undefined; population?: number | undefined; postcodes?: string[] | undefined; country_id?: number | undefined; country?: string | undefined; admin1?: string | undefined; admin2?: string | undefined; admin3?: string | undefined; admin4?: string | undefined; }[]; }, { results: { latitude: number; longitude: number; name: string; id: number; elevation?: number | undefined; feature_code?: string | undefined; country_code?: string | undefined; admin1_id?: number | undefined; admin2_id?: number | undefined; admin3_id?: number | undefined; admin4_id?: number | undefined; timezone?: string | undefined; population?: number | undefined; postcodes?: string[] | undefined; country_id?: number | undefined; country?: string | undefined; admin1?: string | undefined; admin2?: string | undefined; admin3?: string | undefined; admin4?: string | undefined; }[]; }>; export declare const GeocodingErrorSchema: z.ZodObject<{ error: z.ZodBoolean; reason: z.ZodString; }, "strip", z.ZodTypeAny, { error: boolean; reason: string; }, { error: boolean; reason: string; }>; export declare const HourlyVariablesSchema: z.ZodOptional<z.ZodArray<z.ZodEnum<["temperature_2m", "relative_humidity_2m", "dewpoint_2m", "apparent_temperature", "surface_temperature", "pressure_msl", "surface_pressure", "cloud_cover", "cloud_cover_low", "cloud_cover_mid", "cloud_cover_high", "wind_speed_10m", "wind_speed_80m", "wind_speed_120m", "wind_speed_180m", "wind_direction_10m", "wind_direction_80m", "wind_direction_120m", "wind_direction_180m", "wind_gusts_10m", "wind_u_component_10m", "wind_v_component_10m", "wind_u_component_80m", "wind_v_component_80m", "wind_u_component_120m", "wind_v_component_120m", "wind_u_component_180m", "wind_v_component_180m", "shortwave_radiation", "direct_radiation", "direct_normal_irradiance", "diffuse_radiation", "terrestrial_radiation", "sunshine_duration", "uv_index", "uv_index_clear_sky", "precipitation", "rain", "showers", "snowfall", "precipitation_probability", "snow_depth", "snow_height", "vapour_pressure_deficit", "et0_fao_evapotranspiration", "weather_code", "visibility", "is_day", "cape", "lifted_index", "convective_inhibition", "freezing_level_height", "boundary_layer_height", "updraft_velocity", "downdraft_velocity", "soil_temperature_0cm", "soil_temperature_6cm", "soil_temperature_18cm", "soil_temperature_54cm", "soil_moisture_0_1cm", "soil_moisture_1_3cm", "soil_moisture_3_9cm", "soil_moisture_9_27cm", "soil_moisture_27_81cm", "sensible_heat_flux", "latent_heat_flux", "growing_degree_days_base_0_limit_30", "leaf_wetness_probability", "skin_temperature"]>, "many">>; export declare const DailyVariablesSchema: z.ZodOptional<z.ZodArray<z.ZodEnum<["temperature_2m_max", "temperature_2m_min", "apparent_temperature_max", "apparent_temperature_min", "precipitation_sum", "precipitation_hours", "weather_code", "sunrise", "sunset", "wind_speed_10m_max", "wind_gusts_10m_max", "wind_direction_10m_dominant", "shortwave_radiation_sum", "uv_index_max", "uv_index_clear_sky_max", "et0_fao_evapotranspiration"]>, "many">>; export declare const WeatherModelsSchema: z.ZodOptional<z.ZodArray<z.ZodEnum<["meteofrance_arome_france_hd", "meteofrance_arome_france", "meteofrance_arpege_europe", "icon_eu", "icon_global", "ecmwf_ifs025", "gfs013"]>, "many">>; export declare const ForecastParamsSchema: z.ZodObject<{ latitude: z.ZodNumber; longitude: z.ZodNumber; } & { hourly: z.ZodOptional<z.ZodArray<z.ZodEnum<["temperature_2m", "relative_humidity_2m", "dewpoint_2m", "apparent_temperature", "surface_temperature", "pressure_msl", "surface_pressure", "cloud_cover", "cloud_cover_low", "cloud_cover_mid", "cloud_cover_high", "wind_speed_10m", "wind_speed_80m", "wind_speed_120m", "wind_speed_180m", "wind_direction_10m", "wind_direction_80m", "wind_direction_120m", "wind_direction_180m", "wind_gusts_10m", "wind_u_component_10m", "wind_v_component_10m", "wind_u_component_80m", "wind_v_component_80m", "wind_u_component_120m", "wind_v_component_120m", "wind_u_component_180m", "wind_v_component_180m", "shortwave_radiation", "direct_radiation", "direct_normal_irradiance", "diffuse_radiation", "terrestrial_radiation", "sunshine_duration", "uv_index", "uv_index_clear_sky", "precipitation", "rain", "showers", "snowfall", "precipitation_probability", "snow_depth", "snow_height", "vapour_pressure_deficit", "et0_fao_evapotranspiration", "weather_code", "visibility", "is_day", "cape", "lifted_index", "convective_inhibition", "freezing_level_height", "boundary_layer_height", "updraft_velocity", "downdraft_velocity", "soil_temperature_0cm", "soil_temperature_6cm", "soil_temperature_18cm", "soil_temperature_54cm", "soil_moisture_0_1cm", "soil_moisture_1_3cm", "soil_moisture_3_9cm", "soil_moisture_9_27cm", "soil_moisture_27_81cm", "sensible_heat_flux", "latent_heat_flux", "growing_degree_days_base_0_limit_30", "leaf_wetness_probability", "skin_temperature"]>, "many">>; daily: z.ZodOptional<z.ZodArray<z.ZodEnum<["temperature_2m_max", "temperature_2m_min", "apparent_temperature_max", "apparent_temperature_min", "precipitation_sum", "precipitation_hours", "weather_code", "sunrise", "sunset", "wind_speed_10m_max", "wind_gusts_10m_max", "wind_direction_10m_dominant", "shortwave_radiation_sum", "uv_index_max", "uv_index_clear_sky_max", "et0_fao_evapotranspiration"]>, "many">>; current_weather: z.ZodOptional<z.ZodBoolean>; temperature_unit: z.ZodDefault<z.ZodEnum<["celsius", "fahrenheit"]>>; wind_speed_unit: z.ZodDefault<z.ZodEnum<["kmh", "ms", "mph", "kn"]>>; precipitation_unit: z.ZodDefault<z.ZodEnum<["mm", "inch"]>>; timeformat: z.ZodDefault<z.ZodEnum<["iso8601", "unixtime"]>>; timezone: z.ZodOptional<z.ZodString>; past_days: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>>; start_date: z.ZodOptional<z.ZodString>; end_date: z.ZodOptional<z.ZodString>; start_hour: z.ZodOptional<z.ZodString>; end_hour: z.ZodOptional<z.ZodString>; models: z.ZodOptional<z.ZodArray<z.ZodEnum<["meteofrance_arome_france_hd", "meteofrance_arome_france", "meteofrance_arpege_europe", "icon_eu", "icon_global", "ecmwf_ifs025", "gfs013"]>, "many">>; }, "strip", z.ZodTypeAny, { latitude: number; longitude: number; temperature_unit: "celsius" | "fahrenheit"; wind_speed_unit: "kmh" | "ms" | "mph" | "kn"; precipitation_unit: "mm" | "inch"; timeformat: "iso8601" | "unixtime"; timezone?: string | undefined; hourly?: ("temperature_2m" | "relative_humidity_2m" | "dewpoint_2m" | "apparent_temperature" | "surface_temperature" | "pressure_msl" | "surface_pressure" | "cloud_cover" | "cloud_cover_low" | "cloud_cover_mid" | "cloud_cover_high" | "wind_speed_10m" | "wind_speed_80m" | "wind_speed_120m" | "wind_speed_180m" | "wind_direction_10m" | "wind_direction_80m" | "wind_direction_120m" | "wind_direction_180m" | "wind_gusts_10m" | "wind_u_component_10m" | "wind_v_component_10m" | "wind_u_component_80m" | "wind_v_component_80m" | "wind_u_component_120m" | "wind_v_component_120m" | "wind_u_component_180m" | "wind_v_component_180m" | "shortwave_radiation" | "direct_radiation" | "direct_normal_irradiance" | "diffuse_radiation" | "terrestrial_radiation" | "sunshine_duration" | "uv_index" | "uv_index_clear_sky" | "precipitation" | "rain" | "showers" | "snowfall" | "precipitation_probability" | "snow_depth" | "snow_height" | "vapour_pressure_deficit" | "et0_fao_evapotranspiration" | "weather_code" | "visibility" | "is_day" | "cape" | "lifted_index" | "convective_inhibition" | "freezing_level_height" | "boundary_layer_height" | "updraft_velocity" | "downdraft_velocity" | "soil_temperature_0cm" | "soil_temperature_6cm" | "soil_temperature_18cm" | "soil_temperature_54cm" | "soil_moisture_0_1cm" | "soil_moisture_1_3cm" | "soil_moisture_3_9cm" | "soil_moisture_9_27cm" | "soil_moisture_27_81cm" | "sensible_heat_flux" | "latent_heat_flux" | "growing_degree_days_base_0_limit_30" | "leaf_wetness_probability" | "skin_temperature")[] | undefined; daily?: ("et0_fao_evapotranspiration" | "weather_code" | "temperature_2m_max" | "temperature_2m_min" | "apparent_temperature_max" | "apparent_temperature_min" | "precipitation_sum" | "precipitation_hours" | "sunrise" | "sunset" | "wind_speed_10m_max" | "wind_gusts_10m_max" | "wind_direction_10m_dominant" | "shortwave_radiation_sum" | "uv_index_max" | "uv_index_clear_sky_max")[] | undefined; current_weather?: boolean | undefined; past_days?: 1 | 2 | undefined; start_date?: string | undefined; end_date?: string | undefined; start_hour?: string | undefined; end_hour?: string | undefined; models?: ("meteofrance_arome_france_hd" | "meteofrance_arome_france" | "meteofrance_arpege_europe" | "icon_eu" | "icon_global" | "ecmwf_ifs025" | "gfs013")[] | undefined; }, { latitude: number; longitude: number; timezone?: string | undefined; hourly?: ("temperature_2m" | "relative_humidity_2m" | "dewpoint_2m" | "apparent_temperature" | "surface_temperature" | "pressure_msl" | "surface_pressure" | "cloud_cover" | "cloud_cover_low" | "cloud_cover_mid" | "cloud_cover_high" | "wind_speed_10m" | "wind_speed_80m" | "wind_speed_120m" | "wind_speed_180m" | "wind_direction_10m" | "wind_direction_80m" | "wind_direction_120m" | "wind_direction_180m" | "wind_gusts_10m" | "wind_u_component_10m" | "wind_v_component_10m" | "wind_u_component_80m" | "wind_v_component_80m" | "wind_u_component_120m" | "wind_v_component_120m" | "wind_u_component_180m" | "wind_v_component_180m" | "shortwave_radiation" | "direct_radiation" | "direct_normal_irradiance" | "diffuse_radiation" | "terrestrial_radiation" | "sunshine_duration" | "uv_index" | "uv_index_clear_sky" | "precipitation" | "rain" | "showers" | "snowfall" | "precipitation_probability" | "snow_depth" | "snow_height" | "vapour_pressure_deficit" | "et0_fao_evapotranspiration" | "weather_code" | "visibility" | "is_day" | "cape" | "lifted_index" | "convective_inhibition" | "freezing_level_height" | "boundary_layer_height" | "updraft_velocity" | "downdraft_velocity" | "soil_temperature_0cm" | "soil_temperature_6cm" | "soil_temperature_18cm" | "soil_temperature_54cm" | "soil_moisture_0_1cm" | "soil_moisture_1_3cm" | "soil_moisture_3_9cm" | "soil_moisture_9_27cm" | "soil_moisture_27_81cm" | "sensible_heat_flux" | "latent_heat_flux" | "growing_degree_days_base_0_limit_30" | "leaf_wetness_probability" | "skin_temperature")[] | undefined; daily?: ("et0_fao_evapotranspiration" | "weather_code" | "temperature_2m_max" | "temperature_2m_min" | "apparent_temperature_max" | "apparent_temperature_min" | "precipitation_sum" | "precipitation_hours" | "sunrise" | "sunset" | "wind_speed_10m_max" | "wind_gusts_10m_max" | "wind_direction_10m_dominant" | "shortwave_radiation_sum" | "uv_index_max" | "uv_index_clear_sky_max")[] | undefined; current_weather?: boolean | undefined; temperature_unit?: "celsius" | "fahrenheit" | undefined; wind_speed_unit?: "kmh" | "ms" | "mph" | "kn" | undefined; precipitation_unit?: "mm" | "inch" | undefined; timeformat?: "iso8601" | "unixtime" | undefined; past_days?: 1 | 2 | undefined; start_date?: string | undefined; end_date?: string | undefined; start_hour?: string | undefined; end_hour?: string | undefined; models?: ("meteofrance_arome_france_hd" | "meteofrance_arome_france" | "meteofrance_arpege_europe" | "icon_eu" | "icon_global" | "ecmwf_ifs025" | "gfs013")[] | undefined; }>; export declare const ArchiveParamsSchema: z.ZodObject<{ latitude: z.ZodNumber; longitude: z.ZodNumber; } & { hourly: z.ZodOptional<z.ZodArray<z.ZodEnum<["temperature_2m", "relative_humidity_2m", "dewpoint_2m", "apparent_temperature", "surface_temperature", "pressure_msl", "surface_pressure", "cloud_cover", "cloud_cover_low", "cloud_cover_mid", "cloud_cover_high", "wind_speed_10m", "wind_speed_80m", "wind_speed_120m", "wind_speed_180m", "wind_direction_10m", "wind_direction_80m", "wind_direction_120m", "wind_direction_180m", "wind_gusts_10m", "wind_u_component_10m", "wind_v_component_10m", "wind_u_component_80m", "wind_v_component_80m", "wind_u_component_120m", "wind_v_component_120m", "wind_u_component_180m", "wind_v_component_180m", "shortwave_radiation", "direct_radiation", "direct_normal_irradiance", "diffuse_radiation", "terrestrial_radiation", "sunshine_duration", "uv_index", "uv_index_clear_sky", "precipitation", "rain", "showers", "snowfall", "precipitation_probability", "snow_depth", "snow_height", "vapour_pressure_deficit", "et0_fao_evapotranspiration", "weather_code", "visibility", "is_day", "cape", "lifted_index", "convective_inhibition", "freezing_level_height", "boundary_layer_height", "updraft_velocity", "downdraft_velocity", "soil_temperature_0cm", "soil_temperature_6cm", "soil_temperature_18cm", "soil_temperature_54cm", "soil_moisture_0_1cm", "soil_moisture_1_3cm", "soil_moisture_3_9cm", "soil_moisture_9_27cm", "soil_moisture_27_81cm", "sensible_heat_flux", "latent_heat_flux", "growing_degree_days_base_0_limit_30", "leaf_wetness_probability", "skin_temperature"]>, "many">>; daily: z.ZodOptional<z.ZodArray<z.ZodEnum<["temperature_2m_max", "temperature_2m_min", "apparent_temperature_max", "apparent_temperature_min", "precipitation_sum", "precipitation_hours", "weather_code", "sunrise", "sunset", "wind_speed_10m_max", "wind_gusts_10m_max", "wind_direction_10m_dominant", "shortwave_radiation_sum", "uv_index_max", "uv_index_clear_sky_max", "et0_fao_evapotranspiration"]>, "many">>; start_date: z.ZodString; end_date: z.ZodString; temperature_unit: z.ZodDefault<z.ZodEnum<["celsius", "fahrenheit"]>>; wind_speed_unit: z.ZodDefault<z.ZodEnum<["kmh", "ms", "mph", "kn"]>>; precipitation_unit: z.ZodDefault<z.ZodEnum<["mm", "inch"]>>; timeformat: z.ZodDefault<z.ZodEnum<["iso8601", "unixtime"]>>; timezone: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { latitude: number; longitude: number; temperature_unit: "celsius" | "fahrenheit"; wind_speed_unit: "kmh" | "ms" | "mph" | "kn"; precipitation_unit: "mm" | "inch"; timeformat: "iso8601" | "unixtime"; start_date: string; end_date: string; timezone?: string | undefined; hourly?: ("temperature_2m" | "relative_humidity_2m" | "dewpoint_2m" | "apparent_temperature" | "surface_temperature" | "pressure_msl" | "surface_pressure" | "cloud_cover" | "cloud_cover_low" | "cloud_cover_mid" | "cloud_cover_high" | "wind_speed_10m" | "wind_speed_80m" | "wind_speed_120m" | "wind_speed_180m" | "wind_direction_10m" | "wind_direction_80m" | "wind_direction_120m" | "wind_direction_180m" | "wind_gusts_10m" | "wind_u_component_10m" | "wind_v_component_10m" | "wind_u_component_80m" | "wind_v_component_80m" | "wind_u_component_120m" | "wind_v_component_120m" | "wind_u_component_180m" | "wind_v_component_180m" | "shortwave_radiation" | "direct_radiation" | "direct_normal_irradiance" | "diffuse_radiation" | "terrestrial_radiation" | "sunshine_duration" | "uv_index" | "uv_index_clear_sky" | "precipitation" | "rain" | "showers" | "snowfall" | "precipitation_probability" | "snow_depth" | "snow_height" | "vapour_pressure_deficit" | "et0_fao_evapotranspiration" | "weather_code" | "visibility" | "is_day" | "cape" | "lifted_index" | "convective_inhibition" | "freezing_level_height" | "boundary_layer_height" | "updraft_velocity" | "downdraft_velocity" | "soil_temperature_0cm" | "soil_temperature_6cm" | "soil_temperature_18cm" | "soil_temperature_54cm" | "soil_moisture_0_1cm" | "soil_moisture_1_3cm" | "soil_moisture_3_9cm" | "soil_moisture_9_27cm" | "soil_moisture_27_81cm" | "sensible_heat_flux" | "latent_heat_flux" | "growing_degree_days_base_0_limit_30" | "leaf_wetness_probability" | "skin_temperature")[] | undefined; daily?: ("et0_fao_evapotranspiration" | "weather_code" | "temperature_2m_max" | "temperature_2m_min" | "apparent_temperature_max" | "apparent_temperature_min" | "precipitation_sum" | "precipitation_hours" | "sunrise" | "sunset" | "wind_speed_10m_max" | "wind_gusts_10m_max" | "wind_direction_10m_dominant" | "shortwave_radiation_sum" | "uv_index_max" | "uv_index_clear_sky_max")[] | undefined; }, { latitude: number; longitude: number; start_date: string; end_date: string; timezone?: string | undefined; hourly?: ("temperature_2m" | "relative_humidity_2m" | "dewpoint_2m" | "apparent_temperature" | "surface_temperature" | "pressure_msl" | "surface_pressure" | "cloud_cover" | "cloud_cover_low" | "cloud_cover_mid" | "cloud_cover_high" | "wind_speed_10m" | "wind_speed_80m" | "wind_speed_120m" | "wind_speed_180m" | "wind_direction_10m" | "wind_direction_80m" | "wind_direction_120m" | "wind_direction_180m" | "wind_gusts_10m" | "wind_u_component_10m" | "wind_v_component_10m" | "wind_u_component_80m" | "wind_v_component_80m" | "wind_u_component_120m" | "wind_v_component_120m" | "wind_u_component_180m" | "wind_v_component_180m" | "shortwave_radiation" | "direct_radiation" | "direct_normal_irradiance" | "diffuse_radiation" | "terrestrial_radiation" | "sunshine_duration" | "uv_index" | "uv_index_clear_sky" | "precipitation" | "rain" | "showers" | "snowfall" | "precipitation_probability" | "snow_depth" | "snow_height" | "vapour_pressure_deficit" | "et0_fao_evapotranspiration" | "weather_code" | "visibility" | "is_day" | "cape" | "lifted_index" | "convective_inhibition" | "freezing_level_height" | "boundary_layer_height" | "updraft_velocity" | "downdraft_velocity" | "soil_temperature_0cm" | "soil_temperature_6cm" | "soil_temperature_18cm" | "soil_temperature_54cm" | "soil_moisture_0_1cm" | "soil_moisture_1_3cm" | "soil_moisture_3_9cm" | "soil_moisture_9_27cm" | "soil_moisture_27_81cm" | "sensible_heat_flux" | "latent_heat_flux" | "growing_degree_days_base_0_limit_30" | "leaf_wetness_probability" | "skin_temperature")[] | undefined; daily?: ("et0_fao_evapotranspiration" | "weather_code" | "temperature_2m_max" | "temperature_2m_min" | "apparent_temperature_max" | "apparent_temperature_min" | "precipitation_sum" | "precipitation_hours" | "sunrise" | "sunset" | "wind_speed_10m_max" | "wind_gusts_10m_max" | "wind_direction_10m_dominant" | "shortwave_radiation_sum" | "uv_index_max" | "uv_index_clear_sky_max")[] | undefined; temperature_unit?: "celsius" | "fahrenheit" | undefined; wind_speed_unit?: "kmh" | "ms" | "mph" | "kn" | undefined; precipitation_unit?: "mm" | "inch" | undefined; timeformat?: "iso8601" | "unixtime" | undefined; }>; export declare const AirQualityVariablesSchema: z.ZodOptional<z.ZodArray<z.ZodEnum<["pm10", "pm2_5", "carbon_monoxide", "nitrogen_dioxide", "ozone", "sulphur_dioxide", "ammonia", "dust", "aerosol_optical_depth", "carbon_dioxide", "methane"]>, "many">>; export declare const AirQualityParamsSchema: z.ZodObject<{ latitude: z.ZodNumber; longitude: z.ZodNumber; } & { hourly: z.ZodOptional<z.ZodArray<z.ZodEnum<["pm10", "pm2_5", "carbon_monoxide", "nitrogen_dioxide", "ozone", "sulphur_dioxide", "ammonia", "dust", "aerosol_optical_depth", "carbon_dioxide", "methane"]>, "many">>; timezone: z.ZodOptional<z.ZodString>; timeformat: z.ZodDefault<z.ZodEnum<["iso8601", "unixtime"]>>; past_days: z.ZodOptional<z.ZodNumber>; forecast_days: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { latitude: number; longitude: number; timeformat: "iso8601" | "unixtime"; timezone?: string | undefined; hourly?: ("pm10" | "pm2_5" | "carbon_monoxide" | "nitrogen_dioxide" | "ozone" | "sulphur_dioxide" | "ammonia" | "dust" | "aerosol_optical_depth" | "carbon_dioxide" | "methane")[] | undefined; past_days?: number | undefined; forecast_days?: number | undefined; }, { latitude: number; longitude: number; timezone?: string | undefined; hourly?: ("pm10" | "pm2_5" | "carbon_monoxide" | "nitrogen_dioxide" | "ozone" | "sulphur_dioxide" | "ammonia" | "dust" | "aerosol_optical_depth" | "carbon_dioxide" | "methane")[] | undefined; timeformat?: "iso8601" | "unixtime" | undefined; past_days?: number | undefined; forecast_days?: number | undefined; }>; export declare const MarineHourlyVariablesSchema: z.ZodOptional<z.ZodArray<z.ZodEnum<["wave_height", "wave_direction", "wave_period", "wind_wave_height", "wind_wave_direction", "wind_wave_period", "swell_wave_height", "swell_wave_direction", "swell_wave_period", "sea_surface_temperature"]>, "many">>; export declare const MarineDailyVariablesSchema: z.ZodOptional<z.ZodArray<z.ZodEnum<["wave_height_max", "wind_wave_height_max", "swell_wave_height_max"]>, "many">>; export declare const MarineParamsSchema: z.ZodObject<{ latitude: z.ZodNumber; longitude: z.ZodNumber; } & { hourly: z.ZodOptional<z.ZodArray<z.ZodEnum<["wave_height", "wave_direction", "wave_period", "wind_wave_height", "wind_wave_direction", "wind_wave_period", "swell_wave_height", "swell_wave_direction", "swell_wave_period", "sea_surface_temperature"]>, "many">>; daily: z.ZodOptional<z.ZodArray<z.ZodEnum<["wave_height_max", "wind_wave_height_max", "swell_wave_height_max"]>, "many">>; timezone: z.ZodOptional<z.ZodString>; timeformat: z.ZodDefault<z.ZodEnum<["iso8601", "unixtime"]>>; past_days: z.ZodOptional<z.ZodNumber>; forecast_days: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { latitude: number; longitude: number; timeformat: "iso8601" | "unixtime"; timezone?: string | undefined; hourly?: ("wave_height" | "wave_direction" | "wave_period" | "wind_wave_height" | "wind_wave_direction" | "wind_wave_period" | "swell_wave_height" | "swell_wave_direction" | "swell_wave_period" | "sea_surface_temperature")[] | undefined; daily?: ("wave_height_max" | "wind_wave_height_max" | "swell_wave_height_max")[] | undefined; past_days?: number | undefined; forecast_days?: number | undefined; }, { latitude: number; longitude: number; timezone?: string | undefined; hourly?: ("wave_height" | "wave_direction" | "wave_period" | "wind_wave_height" | "wind_wave_direction" | "wind_wave_period" | "swell_wave_height" | "swell_wave_direction" | "swell_wave_period" | "sea_surface_temperature")[] | undefined; daily?: ("wave_height_max" | "wind_wave_height_max" | "swell_wave_height_max")[] | undefined; timeformat?: "iso8601" | "unixtime" | undefined; past_days?: number | undefined; forecast_days?: number | undefined; }>; export declare const FloodDailyVariablesSchema: z.ZodOptional<z.ZodArray<z.ZodEnum<["river_discharge", "river_discharge_mean", "river_discharge_median", "river_discharge_max", "river_discharge_min", "river_discharge_p25", "river_discharge_p75"]>, "many">>; export declare const FloodParamsSchema: z.ZodObject<{ latitude: z.ZodNumber; longitude: z.ZodNumber; } & { daily: z.ZodOptional<z.ZodArray<z.ZodEnum<["river_discharge", "river_discharge_mean", "river_discharge_median", "river_discharge_max", "river_discharge_min", "river_discharge_p25", "river_discharge_p75"]>, "many">>; timezone: z.ZodOptional<z.ZodString>; timeformat: z.ZodDefault<z.ZodEnum<["iso8601", "unixtime"]>>; past_days: z.ZodOptional<z.ZodNumber>; forecast_days: z.ZodOptional<z.ZodNumber>; start_date: z.ZodOptional<z.ZodString>; end_date: z.ZodOptional<z.ZodString>; ensemble: z.ZodOptional<z.ZodBoolean>; cell_selection: z.ZodOptional<z.ZodDefault<z.ZodEnum<["land", "sea", "nearest"]>>>; }, "strip", z.ZodTypeAny, { latitude: number; longitude: number; timeformat: "iso8601" | "unixtime"; timezone?: string | undefined; daily?: ("river_discharge" | "river_discharge_mean" | "river_discharge_median" | "river_discharge_max" | "river_discharge_min" | "river_discharge_p25" | "river_discharge_p75")[] | undefined; past_days?: number | undefined; start_date?: string | undefined; end_date?: string | undefined; forecast_days?: number | undefined; ensemble?: boolean | undefined; cell_selection?: "land" | "sea" | "nearest" | undefined; }, { latitude: number; longitude: number; timezone?: string | undefined; daily?: ("river_discharge" | "river_discharge_mean" | "river_discharge_median" | "river_discharge_max" | "river_discharge_min" | "river_discharge_p25" | "river_discharge_p75")[] | undefined; timeformat?: "iso8601" | "unixtime" | undefined; past_days?: number | undefined; start_date?: string | undefined; end_date?: string | undefined; forecast_days?: number | undefined; ensemble?: boolean | undefined; cell_selection?: "land" | "sea" | "nearest" | undefined; }>; export declare const ElevationParamsSchema: z.ZodObject<{ latitude: z.ZodNumber; longitude: z.ZodNumber; }, "strip", z.ZodTypeAny, { latitude: number; longitude: number; }, { latitude: number; longitude: number; }>; export declare const WeatherResponseSchema: z.ZodObject<{ latitude: z.ZodNumber; longitude: z.ZodNumber; elevation: z.ZodNumber; generationtime_ms: z.ZodNumber; utc_offset_seconds: z.ZodNumber; hourly: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>>; hourly_units: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; daily: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>>; daily_units: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; current_weather: z.ZodOptional<z.ZodObject<{ time: z.ZodString; temperature: z.ZodNumber; wind_speed: z.ZodNumber; wind_direction: z.ZodNumber; weather_code: z.ZodNumber; }, "strip", z.ZodTypeAny, { weather_code: number; time: string; temperature: number; wind_speed: number; wind_direction: number; }, { weather_code: number; time: string; temperature: number; wind_speed: number; wind_direction: number; }>>; }, "strip", z.ZodTypeAny, { latitude: number; longitude: number; elevation: number; generationtime_ms: number; utc_offset_seconds: number; hourly?: Record<string, (string | number)[]> | undefined; daily?: Record<string, (string | number)[]> | undefined; current_weather?: { weather_code: number; time: string; temperature: number; wind_speed: number; wind_direction: number; } | undefined; hourly_units?: Record<string, string> | undefined; daily_units?: Record<string, string> | undefined; }, { latitude: number; longitude: number; elevation: number; generationtime_ms: number; utc_offset_seconds: number; hourly?: Record<string, (string | number)[]> | undefined; daily?: Record<string, (string | number)[]> | undefined; current_weather?: { weather_code: number; time: string; temperature: number; wind_speed: number; wind_direction: number; } | undefined; hourly_units?: Record<string, string> | undefined; daily_units?: Record<string, string> | undefined; }>; export declare const ElevationResponseSchema: z.ZodObject<{ elevation: z.ZodArray<z.ZodNumber, "many">; }, "strip", z.ZodTypeAny, { elevation: number[]; }, { elevation: number[]; }>; export type ForecastParams = z.infer<typeof ForecastParamsSchema>; export type ArchiveParams = z.infer<typeof ArchiveParamsSchema>; export type AirQualityParams = z.infer<typeof AirQualityParamsSchema>; export type MarineParams = z.infer<typeof MarineParamsSchema>; export type FloodParams = z.infer<typeof FloodParamsSchema>; export type ElevationParams = z.infer<typeof ElevationParamsSchema>; export type WeatherResponse = z.infer<typeof WeatherResponseSchema>; export type ElevationResponse = z.infer<typeof ElevationResponseSchema>; export type GeocodingParams = z.infer<typeof GeocodingParamsSchema>; export type Location = z.infer<typeof LocationSchema>; export type GeocodingResponse = z.infer<typeof GeocodingResponseSchema>; export type GeocodingError = z.infer<typeof GeocodingErrorSchema>; //# sourceMappingURL=types.d.ts.map