import { LatLng } from '../../types'; import { AqicnData } from './validation'; export interface AqicnOptions { /** * Aqicn token * @see https://aqicn.org/data-platform/token/#/ */ token: string; } /** * Fetch the closest station to the user's current position * * @param gps - Latitude and longitude of the user's current position */ export declare function fetchByGps(gps: LatLng, options: AqicnOptions): Promise; /** * Fetch data by station * * @param stationId - The station ID to search */ export declare function fetchByStation(stationId: string, options: AqicnOptions): Promise;