/** * How close to a 1:110m outline, in kilometres, still counts as that country nearby. * The outlines can sit tens of kilometres off a real coast, so a point this close is not reported as inside. * * @example * ```ts * import { PLACE_COAST_KM } from "@johnmorrisdotca/chikyu-earth/place"; * * console.log(PLACE_COAST_KM); * ``` */ export declare const PLACE_COAST_KM = 50; /** A country the outlines know, with the continent group chizu gives it. */ export interface LandHit { code: string | null; name: string; nameJa: string; group: string; groupJa: string; } export interface LandAnswer { /** Inside one outline, and not merely within {@link PLACE_COAST_KM} of its edge while sitting outside it. */ country: LandHit | null; /** Outside every outline, and within {@link PLACE_COAST_KM} of the nearest one. */ near: (LandHit & { distanceKm: number; }) | null; } /** The country at a longitude and latitude, or the nearest one when the point is just off a coarse outline. The shapes are Natural Earth 1:110m. */ export declare function landAt(lon: number, lat: number): LandAnswer;