/** * @fileoverview Find legislators representing a geographic coordinate. * @module mcp-server/tools/definitions/get-legislators-by-location */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const getLegislatorsByLocation: import("@cyanheads/mcp-ts-core").ToolDefinition>>; }, z.core.$strip>, z.ZodObject<{ legislators: z.ZodArray; division_id: z.ZodOptional>; }, z.core.$strip>>; jurisdiction: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, z.core.$strip>; email: z.ZodString; openstates_url: z.ZodString; image: z.ZodOptional; offices: z.ZodOptional; fax: z.ZodOptional; address: z.ZodOptional; }, z.core.$strip>>>; links: z.ZodOptional>>; other_names: z.ZodOptional>>; other_identifiers: z.ZodOptional>>; sources: z.ZodOptional>>; }, z.core.$strip>>; }, z.core.$strip>, readonly [{ readonly reason: "invalid_coordinate"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "Latitude or longitude is outside valid range."; readonly recovery: "Latitude must be between -90 and 90, longitude between -180 and 180. For continental US: lat 24-50, lng -125 to -66. For Alaska: lat 51-72, lng -180 to -130."; }, { readonly reason: "upstream_timeout"; readonly code: JsonRpcErrorCode.Timeout; readonly when: "Open States did not answer within the per-request timeout."; readonly recovery: "Retry the lookup once; if it repeats, request fewer include values so the district lookup returns a smaller payload."; }], { readonly count: z.ZodNumber; readonly notice: z.ZodOptional; }>; //# sourceMappingURL=get-legislators-by-location.tool.d.ts.map