import { OpenAQResults } from '../../types'; import type { AqicnData } from './validation'; /** * Sanitize the country we get here from aqicn. For example, for China, the * string after 'https://aqicn.org/city/' is not 'china', but directly the * Chinese privince, e.g. 'jiangsu'. In this case, we map directly to China. * See sanitized.json for some other sanitazations, these are empirical, so * we add them as we discover them. * * FIXME This is hacky. */ export declare function sanitizeCountry(input: string): string; /** * Normalize aqicn byGps data. Throws an error if the data cannot be normalized. * * @param data - The data to normalize */ export declare function normalize(data: AqicnData): OpenAQResults;