/** * `planning_applications` — planning applications near a point (SPEC §4.2). */ import { z } from "zod"; import { type PlanningStatusFilter } from "../sources/npad.js"; export declare const name = "planning_applications"; export declare const description = "Find Irish planning applications near a location, from the National Planning Application Database (all 31 local authorities, coverage back to ~2010, updated on varying cadences).\n\nUse this for property due diligence: pending or recent developments near a home (apartment blocks, roads, masts), extensions and attic conversions on the same street (precedents for what gets approved), and refusals that hint at site constraints. Returns per application: reference number, local authority, development description, address, status, decision with dates, distance in metres from the query point, and a link to the local authority's planning file where available.\n\nProvide either lat/lng (WGS84) or a free-text address (geocoded via OpenStreetMap; the resolved location is echoed back \u2014 verify it matches before drawing conclusions). Dates are ISO YYYY-MM-DD. The 'decided'/'pending' filter is based on whether a decision date is recorded; raw status strings vary by local authority and are returned verbatim. Coordinates of some older applications are approximate, and update lag differs by authority \u2014 absence of results is not evidence that nothing is planned."; export declare const inputSchema: { lat: z.ZodOptional; lng: z.ZodOptional; address: z.ZodOptional; radius_m: z.ZodDefault; since: z.ZodOptional; status: z.ZodDefault>; limit: z.ZodDefault; }; interface Input { lat?: number | undefined; lng?: number | undefined; address?: string | undefined; radius_m: number; since?: string | undefined; status: PlanningStatusFilter; limit: number; } export declare function handler(input: Input): Promise<{ content: { type: "text"; text: string; }[]; }>; export {};