import type { DaDataSuggestion, Nullable } from '../../core-types'; export interface DaDataAddressMetro { name: string; line: string; distance: number; } export type DaDataAddressBeltwayHit = 'IN_MKAD' | 'OUT_MKAD' | 'IN_KAD' | 'OUT_KAD'; export interface DaDataAddress { area: Nullable; area_fias_id: Nullable; area_kladr_id: Nullable; area_type: Nullable; area_type_full: Nullable; area_with_type: Nullable; beltway_distance: Nullable; beltway_hit: Nullable; block: Nullable; block_type: Nullable; block_type_full: Nullable; federal_district: Nullable; capital_marker: '0' | '1' | '2' | '3' | '4'; city: Nullable; city_area: Nullable; city_district: Nullable; city_district_fias_id: Nullable; city_district_kladr_id: Nullable; city_district_type: Nullable; city_district_type_full: Nullable; city_district_with_type: Nullable; city_fias_id: Nullable; city_kladr_id: Nullable; city_type: Nullable; city_type_full: Nullable; city_with_type: Nullable; country: string; country_iso_code: string; fias_id: string; fias_level: string; flat: Nullable; flat_area: Nullable; flat_price: null; flat_type: Nullable; flat_type_full: Nullable; flat_fias_id?: Nullable; flat_cadnum?: null; geo_lat: Nullable; geo_lon: Nullable; geoname_id: Nullable; history_values: Nullable; house: Nullable; house_fias_id: Nullable; house_kladr_id: Nullable; house_type: Nullable; house_type_full: Nullable; house_cadnum?: null; entrance?: null; floor?: null; kladr_id: string; okato: Nullable; oktmo: Nullable; postal_box: Nullable; postal_code: Nullable; qc: null; qc_complete: null; qc_geo: Nullable<'0' | '1' | '2' | '3' | '4' | '5'>; qc_house: null; region: string; region_fias_id: string; region_kladr_id: string; region_type: string; region_type_full: string; region_with_type: string; settlement: Nullable; settlement_fias_id: Nullable; settlement_kladr_id: Nullable; settlement_type: Nullable; settlement_type_full: Nullable; settlement_with_type: Nullable; source: Nullable; square_meter_price?: Nullable; street: Nullable; street_fias_id: Nullable; street_kladr_id: Nullable; street_type: Nullable; street_type_full: Nullable; street_with_type: Nullable; stead?: Nullable; stead_fias_id?: Nullable; stead_kladr_id?: Nullable; stead_type?: Nullable; stead_type_full?: Nullable; stead_cadnum?: null; tax_office: Nullable; tax_office_legal: Nullable; timezone: Nullable; unparsed_parts: null; fias_code: string; region_iso_code: string; fias_actuality_state: string; metro: Nullable; divisions?: unknown; } export type DaDataAddressBounds = 'country' | 'region' | 'area' | 'city' | 'settlement' | 'street' | 'house'; export type DaDataAddressSuggestion = DaDataSuggestion;