/** * CSO PxStat adapters for recorded crime under the New Garda Operating Model. * Dimensions and fields pinned from live metadata on 2026-08-14: * * - CJA11 annual station/sub-district counts, groups 03–16, 2003–2025 * - CJA39 revised annual public-reported fraud, 2024–2025 * - CJQ10 quarterly division counts (groups 01–16), through 2026Q1 * - CJQ11 revised quarterly public-reported fraud, 2023Q3–2026Q1 */ export declare const OFFENCE_GROUPS: { readonly "03": "Attempts/threats to murder, assaults, harassments and related offences"; readonly "04": "Dangerous or negligent acts"; readonly "05": "Kidnapping and related offences"; readonly "06": "Robbery, extortion and hijacking offences"; readonly "07": "Burglary and related offences"; readonly "08": "Theft and related offences"; readonly "09": "Fraud, deception and related offences"; readonly "10": "Controlled drug offences"; readonly "11": "Weapons and explosives offences"; readonly "12": "Damage to property and to the environment offences"; readonly "13": "Public order and other social code offences"; readonly "14": "Road and traffic offences"; readonly "15": "Offences against government, justice procedures and organisation of crime"; readonly "16": "Offences not elsewhere classified"; }; export type OffenceCode = keyof typeof OFFENCE_GROUPS; /** Current CJQ10/CJQ11 division labels keyed by their published codes. */ export declare const DIVISION_LABELS: Record; interface CrimeMetadata { annualYears: string[]; annualUpdated: string; fraudAnnualYears: string[]; fraudAnnualUpdated: string; quarters: string[]; quarterlyUpdated: string; fraudQuarters: string[]; fraudQuarterlyUpdated: string; } export interface AnnualCrimeValue { year: string; offence_code: OffenceCode; offence_group: string; incidents: number | null; source_table: "CJA11" | "CJA39"; } export interface QuarterlyCrimeValue { quarter: string; offence_code: OffenceCode; offence_group: string; incidents: number | null; source_table: "CJQ10" | "CJQ11"; } export declare function queryCrimeMetadata(fetchImpl?: typeof fetch): Promise; export declare function queryAnnualCrime(stationCode: string, yearCount: number, offenceCodes: OffenceCode[], fetchImpl?: typeof fetch): Promise<{ values: AnnualCrimeValue[]; years: string[]; metadata: CrimeMetadata; }>; export declare function queryDivisionCrimeTrend(divisionCode: string, offenceCodes: OffenceCode[], quarterCount?: number, fetchImpl?: typeof fetch): Promise<{ values: QuarterlyCrimeValue[]; quarters: string[]; }>; export declare const CSO_CRIME_META: { readonly source: "CSO Ireland recorded crime tables CJA11, CJA39, CJQ10 and CJQ11"; readonly source_url: "https://data.cso.ie/table/CJA11"; readonly licence: "CC-BY 4.0 (CSO PxStat)"; readonly data_vintage: "Annual station-area series through 2025 and quarterly division series through 2026Q1 when pinned; live metadata selects the latest published periods"; }; export {};