/** * Detection of "trvalý pobyt na úřadu" — when a Czech citizen has their * permanent residence registered at a municipal office address (úřad městské * části, magistrát, obecní úřad). * * Background: the Zákon o evidenci obyvatel (133/2000 Sb. § 10 odst. 5) * allows the municipality to register a person at the úřad address when: * - their previous residence was cancelled (housing eviction / debt * enforcement) and they didn't register a new one * - they explicitly request "evidence at úřad" * - other extraordinary circumstances * * Statistically, ~200 000 Czech adults have úřad-registered residence * (2024 data, Ministerstvo vnitra). Heavily skewed toward people in * personal insolvency, debt, homelessness, or used as nominees ("bílý kůň") * for shell companies. * * Detection approach (3 signals, OR'd): * 1. Address text contains markers: "úřad", "magistrát", "radnice", * "městská část" (case-insensitive, diacritics-fold) * 2. Known static list of úřad addresses for major cities (~30 entries * covering Prague, Brno, Ostrava, Plzeň, Liberec, Olomouc, Č. Bud.) * 3. (Future, not in MVP) Cross-check obyvatel-count at address from * RUIAN — úřad addresses have 100s/1000s registered residents * * Limitations: * - False positives possible (a real residence happens to be near úřad) * - False negatives for smaller obce not in static list * - Confidence "medium" — caller should treat as one signal among many, * not a smoking gun */ import type { AresAddressLike } from './clients.js'; export interface GovtAddressMatch { is_govt_address: boolean; signal: 'marker' | 'known_address' | 'none'; matched_token?: string; } export declare function detectGovtAddress(adresa: AresAddressLike | undefined): GovtAddressMatch; //# sourceMappingURL=govtAddress.d.ts.map