import { type CanonicalRow, type CorpusAdapter } from "#types"; /** * Registry id for this adapter. * * Stamped into every row it emits, so a corpus record can be traced back to the dataset it came from. */ export declare const WOF_ADMIN_JP_ADAPTER_ID = "wof-admin-jp"; interface PlaceRow { id: number; name: string; placetype: string; parent_id: number; country: string; } /** * Synthesize a JP address from a hierarchy chain. * * Format: `〒? ?` * * No house numbers yet — needs mlit data. */ export declare function synthesizeJpAddress(chain: PlaceRow[], jpnNames: Map): { raw: string; components: CanonicalRow["components"]; } | null; /** * Build the JP adapter. * * Reads from the unified global WOF SQLite and walks admin chains from neighborhoods. * Yields canonical rows. */ export declare function createWOFAdminJpAdapter(): CorpusAdapter; /** * The configured adapter instance registered with the corpus builder. */ export declare const wofAdminJpAdapter: CorpusAdapter; export {}; //# sourceMappingURL=adapter.d.ts.map