/** * Token ↔ column table and the fixed facts every other module shares. * Pure module: no runtime imports. */ import type { AddressColumn, AddressLevel, AddressToken } from './types.js'; /** Google token → the EverShop column(s) it expands to. `%A` expands to up to three lines. */ export declare const TOKEN_COLUMNS: Record; /** Column → token. `country` and `telephone` have no postal token. */ export declare const COLUMN_TOKENS: Partial>; /** The 14 shared columns, in the storage order of § 3.1. */ export declare const ADDRESS_COLUMNS: readonly AddressColumn[]; /** Geographic levels, outermost first. `dependsOn` chains follow this order. */ export declare const LEVEL_ORDER: readonly AddressLevel[]; /** Token for each geographic level. */ export declare const LEVEL_TOKENS: Record; /** * Row keys that are not address data. `unknown_field` is computed over the * payload keys minus these, so an API client may echo a row back unchanged. */ export declare const ADDRESS_ROW_METADATA_KEYS: readonly string[]; /** Google's `require` letters that map to a field we collect. */ export declare const REQUIRABLE_TOKENS: readonly AddressToken[]; /** The loose core telephone rule (§ 3.5): digits, plus, spaces and common separators, 6–20 chars. */ export declare const CORE_TELEPHONE_PATTERN = "^\\+?[0-9 ().\\-]{6,20}$"; /** The default record's country code in Google's dataset. */ export declare const DEFAULT_COUNTRY_CODE = "ZZ"; export declare function isAddressColumn(id: string): id is AddressColumn;