/** * @fileoverview FBI CDE NIBRS breakdown tool: victim, offender, and offense category counts for one * NIBRS offense, summed over a month window at national, state, or agency scope. * @module mcp-server/tools/definitions/get-nibrs-breakdown.tool */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const fbiGetNibrsBreakdown: import("@cyanheads/mcp-ts-core").ToolDefinition, unknown>; ori: z.ZodPreprocess, unknown>; from_year: z.ZodNumber; from_month: z.ZodDefault; to_year: z.ZodNumber; to_month: z.ZodDefault; scope: z.ZodEnum<{ agency: "agency"; national: "national"; state: "state"; }>; offense: z.ZodPreprocess, unknown>; include_monthly: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ scope: z.ZodEnum<{ agency: "agency"; national: "national"; state: "state"; }>; state_abbr: z.ZodOptional; ori: z.ZodOptional; from: z.ZodString; to: z.ZodString; offense: z.ZodEnum<{ "09A": "09A"; "09B": "09B"; "09C": "09C"; 100: "100"; 101: "101"; 103: "103"; "11A": "11A"; "11B": "11B"; "11C": "11C"; "11D": "11D"; 120: "120"; "13A": "13A"; "13B": "13B"; "13C": "13C"; 200: "200"; 210: "210"; 220: "220"; "23A": "23A"; "23B": "23B"; "23C": "23C"; "23D": "23D"; "23E": "23E"; "23F": "23F"; "23G": "23G"; "23H": "23H"; 240: "240"; 250: "250"; "26A": "26A"; "26B": "26B"; "26C": "26C"; "26D": "26D"; "26E": "26E"; "26F": "26F"; "26G": "26G"; "26H": "26H"; 270: "270"; 280: "280"; 290: "290"; "30A": "30A"; "30B": "30B"; "30C": "30C"; "30D": "30D"; "35A": "35A"; "35B": "35B"; 360: "360"; "36A": "36A"; "36B": "36B"; 370: "370"; "39A": "39A"; "39B": "39B"; "39C": "39C"; "39D": "39D"; "40A": "40A"; "40B": "40B"; "40C": "40C"; "49A": "49A"; "49B": "49B"; "49C": "49C"; 510: "510"; 520: "520"; 521: "521"; 522: "522"; 526: "526"; "58A": "58A"; "58B": "58B"; "61A": "61A"; "61B": "61B"; 620: "620"; "64A": "64A"; "64B": "64B"; 720: "720"; }>; offense_label: z.ZodString; victim: z.ZodObject<{ age: z.ZodRecord>; sex: z.ZodRecord>; race: z.ZodRecord>; location: z.ZodRecord>; ethnicity: z.ZodRecord>; relationship: z.ZodRecord>; }, z.core.$strip>; offender: z.ZodObject<{ age: z.ZodRecord>; sex: z.ZodRecord>; race: z.ZodRecord>; ethnicity: z.ZodRecord>; }, z.core.$strip>; offense_details: z.ZodObject<{ weapons: z.ZodRecord>; related_offenses: z.ZodRecord>; }, z.core.$strip>; data_last_updated: z.ZodOptional; max_data_date: z.ZodOptional; monthly: z.ZodOptional; participated_population: z.ZodNullable; population_coverage_percent: z.ZodNullable; actual_count: z.ZodNullable; clearance_count: z.ZodNullable; clearance_rate_per_100k: z.ZodNullable; rate_per_100k: z.ZodNullable; }, z.core.$strip>>>; }, z.core.$strip>, readonly [{ readonly reason: "scope_param_missing"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "scope is \"state\" but state_abbr is missing, or scope is \"agency\" but ori is missing."; readonly recovery: "Provide state_abbr for state scope, or ori (9-character ORI code) for agency scope."; readonly thrownBy: "service"; }, { readonly reason: "scope_param_incompatible"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "Identifiers are supplied for a scope that does not apply them."; readonly recovery: "For national scope omit state_abbr and ori; for state provide only state_abbr; for agency provide only ori."; readonly thrownBy: "service"; }, { readonly reason: "year_out_of_range"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "from_year or to_year is after the current UTC year."; readonly recovery: "Use from_year and to_year from 1991 through the current year."; readonly thrownBy: "service"; }, { readonly reason: "invalid_date_range"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "The complete starting year/month is later than the ending year/month."; readonly recovery: "Correct from_year/from_month and to_year/to_month so the start is no later than the end."; readonly thrownBy: "service"; }, { readonly reason: "no_data"; readonly code: JsonRpcErrorCode.NotFound; readonly when: "CDE returned no value for any category: an unrecognized state or ORI, no NIBRS data for the window, a window after CDE's latest data month, months an agency has not submitted, or no reported incidents of the offense in the window."; readonly recovery: "Confirm the identifier first (the ORI and its NIBRS start date with fbi_search_agencies, or state_abbr), then try a wider window that ends by CDE's latest data month; for an agency, check with fbi_get_arrests and include_monthly which months it submitted."; }], undefined>; //# sourceMappingURL=get-nibrs-breakdown.tool.d.ts.map