import { Tool, JSONOutput, RunOptions } from "../core/Tool"; import { ExecutionContext } from "../core/ExecutionContext"; import { z } from "zod"; interface WeatherToolInput { location: string | { name?: string; country?: string; language?: string; latitude?: number; longitude?: number; }; startDate?: string; start_date?: string; endDate?: string; end_date?: string; temperatureUnit?: "celsius" | "fahrenheit"; } interface WeatherData { latitude: number; longitude: number; timezone: string; current: { temperature: number; apparentTemperature: number; rain: number; time: string; }; daily: { time: string[]; temperatureMax: number[]; temperatureMin: number[]; sunrise: string[]; sunset: string[]; }; } declare class WeatherTool extends Tool> { constructor(); schema(): z.ZodSchema; private geocode; protected execute(input: WeatherToolInput, context: ExecutionContext, options: RunOptions): Promise>; } export { WeatherTool, type WeatherToolInput, type WeatherData };