import { City } from './City'; import type { CityAttributes } from './types'; /** * Internal city list type (normalized to array) */ declare type CityDataList = CityAttributes[]; /** * CityLoader - Static class for loading and searching city data */ export declare class CityLoader { static loadForCountry(countryCode: string): CityDataList; static getCity(countryCode: string, citySlugOrName: string): City | null; static searchByName(countryCode: string, query: string): City[]; static getCitiesInState(countryCode: string, stateCode: string): City[]; static getCitiesInMetro(countryCode: string, metro: string): City[]; static findNearest(countryCode: string, latitude: number, longitude: number, maxDistanceKm?: number): City | null; static findWithinRadius(countryCode: string, latitude: number, longitude: number, radiusKm: number): Array<{ city: City, distance: number }>; static getAllCities(countryCode: string): City[]; static getTopCities(countryCode: string, limit?: number): City[]; static clearCache(): void; }