/** * Cities and landmarks, and the country the catalogue sells. * * A customer says "saya pengen ke kyoto". The catalogue answers in countries, * because that is the only unit Telkomsel sells roaming in. Nothing bridges the * two: `region=kyoto` returned nothing at all, while `region=tokyo` happened to * return Japan — not by design, but because the string "tokyo" appears in some * package description. That is the worst kind of behaviour to build on, because * it works until it does not. * * This is the same bridge `telkomsel_resolve_intent` builds for "nonton" → * "wetv": the vocabulary a customer uses is not the vocabulary the catalogue * uses, and the mapping cannot be derived from the catalogue. It is static, it * does not vary by number, and every key here is a country the roaming list * actually publishes — verified against `GET mapped-regions`, not from memory. * * Deliberately NOT exhaustive. A name is listed when it is one a customer would * plausibly say instead of a country. Names that belong to two countries at once * ("dead sea", "lapland", "san jose") are left out: a wrong destination is worse * than no destination, and the resolver already refuses to guess between ties. */ /** Cities and landmarks in a country the catalogue sells roaming for. */ export declare const CITY_TO_COUNTRY: Record; /** * Cities in the home country. Roaming does not apply to them, and saying so is * far better than the silence a customer gets today: "bali" currently returns * nothing at all, which reads as a broken search rather than as an answer. */ export declare const HOME_CITIES: string[]; /** * Countries not published as a single-country destination, but which the * catalogue reaches anyway: group packages name the countries they cover in * their description, and the region filter matches that text. * * Read off the catalogue, not guessed. An earlier version of this file called * eighteen countries uncovered on the strength of the published destination list * alone, and thirteen of them were wrong — "maldives" returns packages, because * Internet RoaMAX Eropa lists it among its countries. The published list is the * single-country destinations; it is not the coverage. */ export declare const GROUP_COVERED: Record; /** * Lands the catalogue genuinely does not reach: named in no roster, and returning * nothing when searched. Small on purpose, and every entry was checked against * the catalogue rather than inferred from the published destination list. * * Three of the five entries this held until 2026-10-18 — Seychelles, Cuba and * Jamaica — were reached all along, by `Internet RoaMAX Prestige`, whose roster * names them. That package was invisible: it sits past the twelfth row of its * subcategory, and the listing caps every group at twelve, so a search for those * countries returned nothing and this file recorded the emptiness as a fact about * the world. Fiji stayed here, and the reason is worth keeping: a first pass * "confirmed" it by matching "nadi" inside "Grenadines" in that roster, which is a * substring, not a destination. Whole-word matching is what settled it. The lesson * is the one the roster section already taught — an absence in a capped listing is * not an absence in the catalogue — with the corollary that a presence needs to be * read as a word. */ export declare const UNCOVERED_CITIES: Record; /** * Every name a group-covered country is reached by, country name included. * * The roster is the authority, and it does not always spell the country: `Internet * RoaMAX Prestige` reaches Fiji as "Nadi". Answering "fiji" with the single alias * "fiji" therefore searched for a word no package contains, and returned nothing — * the same emptiness that had been recorded as "lands the catalogue does not * reach". The alias list is the whole row of the table. */ export declare function groupCoveredNames(country: string): string[]; export type CityLookup = { kind: 'country'; city: string; country: string; } | { kind: 'group'; city: string; country: string; } | { kind: 'home'; city: string; } | { kind: 'uncovered'; city: string; country: string; } | null; /** * Read a city or landmark. Matching is longest-name-first over every run of * words, so a sentence can be offered as it was typed: "saya pengen ke kyoto" * finds Kyoto, and "jalan jalan ke jeju" finds Jeju, without the caller having * to tokenise anything first. */ export declare function lookupCity(value: string): CityLookup; /** Every city that reaches a destination, for a router to read once. */ export declare function cityAliasTable(): { country: string; kind: 'single' | 'group'; cities: string[]; }[];