UNPKG

amaran-light-cli

Version:

Command line tool for controlling Aputure Amaran lights via WebSocket to a local Amaran desktop app.

35 lines 968 B
import type { WeatherOptions } from './types.js'; interface WttrResponse { current_condition: Array<{ weatherCode: string; temp_C: string; weatherDesc: Array<{ value: string; }>; localObsDateTime: string; [key: string]: unknown; }>; weather: Array<{ date: string; hourly: Array<{ time: string; weatherCode: string; tempC: string; weatherDesc: Array<{ value: string; }>; [key: string]: unknown; }>; }>; [key: string]: unknown; } export declare function getWeatherData(lat: number, lon: number, date?: Date, debug?: boolean): Promise<WeatherOptions & { raw?: WttrResponse; source: 'api' | 'cache' | 'forecast'; description?: string; effectiveTime?: string; dataTimestamp?: number; temp_C?: string; }>; export {}; //# sourceMappingURL=weatherUtil.d.ts.map