/** * @fileoverview Tool for searching and retrieving FEC candidate records. * Supports full-text search, single-candidate lookup by ID, and optional * financial totals merging from the /candidates/totals/ endpoint. * @module mcp-server/tools/definitions/search-candidates.tool */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const searchCandidates: import("@cyanheads/mcp-ts-core").ToolDefinition; candidate_id: z.ZodOptional; state: z.ZodOptional; district: z.ZodOptional; office: z.ZodOptional>; party: z.ZodOptional; cycle: z.ZodOptional; election_year: z.ZodOptional; incumbent_challenge: z.ZodOptional>; candidate_status: z.ZodOptional>; has_raised_funds: z.ZodOptional; include_totals: z.ZodOptional; page: z.ZodDefault; per_page: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ candidates: z.ZodArray>; totals: z.ZodOptional>>; missing_totals: z.ZodOptional>; pagination: z.ZodObject<{ page: z.ZodNumber; pages: z.ZodNumber; count: z.ZodNumber; per_page: z.ZodNumber; }, z.core.$strip>; search_criteria: z.ZodObject<{}, z.core.$loose>; }, z.core.$strip>, readonly [{ readonly reason: "candidate_not_found"; readonly code: JsonRpcErrorCode.NotFound; readonly when: "Single-candidate lookup by candidate_id returned no record"; readonly recovery: "Verify the candidate_id format (H/S/P + digits) or drop it and search by name, state, or cycle."; }], { readonly totalCount: z.ZodNumber; readonly notice: z.ZodOptional; }>; //# sourceMappingURL=search-candidates.tool.d.ts.map