export interface CityEntry { city: string; stateAbbreviation: string; state: string; mailableCity: boolean; } export interface AlternateCounty { countyFips: string; countyName: string; stateAbbreviation: string; state: string; } export interface ZipcodeEntry { zipcode: string; zipcodeType: string; defaultCity: string; countyFips: string; countyName: string; latitude: number; longitude: number; precision: string; stateAbbreviation: string; state: string; alternateCounties: AlternateCounty[]; } interface RawAlternateCounty { county_fips?: string; county_name?: string; state_abbreviation?: string; state?: string; } interface RawCityState { city?: string; state_abbreviation?: string; state?: string; mailable_city?: boolean; } interface RawZipcode { zipcode?: string; zipcode_type?: string; default_city?: string; county_fips?: string; county_name?: string; latitude?: number; longitude?: number; precision?: string; state_abbreviation?: string; state?: string; alternate_counties?: RawAlternateCounty[]; } export interface RawZipcodeResult { input_index?: number; status?: string; reason?: string; city_states?: RawCityState[]; zipcodes?: RawZipcode[]; } export default class Result { inputIndex: number; status: string | undefined; reason: string | undefined; valid: boolean; cities: CityEntry[]; zipcodes: ZipcodeEntry[]; constructor(responseData: RawZipcodeResult); } export {};