/** * @copyright Sister Software * @license AGPL-3.0 * @author Teffen Ellis, et al. * * Fetch Korea's local-government permit registry (지방행정인허가데이터): one CSV per permit category, * every business a local authority has licensed, about 195 categories. Each row carries BOTH address * forms of the same premises — `소재지전체주소` (the lot-number form, 지번) and `도로명전체주소` (the * road-name form) — plus both postcodes and a planar coordinate (`좌표정보(x/y)`, EPSG:5174). That * pairing is the cheapest dual-format signal Korean addresses offer, and the coordinate is the * board's coordinate half, which is why this is the NOISY source for Korean and not a side dish. * * The public-data portal labels the category files "이용허락범위 제한 없음" and links them to * `file.localdata.go.kr`, which serves them behind a session: the category page sets the XSRF cookie, * `/file/validate/download-count` is the portal's own rate check (429 when it wants a pause), and * `/file/download//info` streams the CSV. The files are CP949 as delivered; the adapter * decodes. The restaurant category alone is about 700 MB. * * Invoke via `mailwoman corpus fetch localdata-kr --out-root `, optionally with * `--categories general_restaurants,rest_cafes`. */ import type { BaseFetchOptions, FetchSummary } from "#tools/fetch/download/index"; export interface FetchLocaldataKROptions extends BaseFetchOptions { /** * Category slugs to fetch (the path segment of `/file//info`). Defaults to every category the portal lists. */ categories?: string[]; } export declare function fetchLocaldataKR(options: FetchLocaldataKROptions, report?: (line: string) => void): Promise; //# sourceMappingURL=localdata.d.ts.map