/** * @fileoverview Search hearings, floor sessions, and committee meetings (experimental). * @module mcp-server/tools/definitions/search-events */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const searchEvents: import("@cyanheads/mcp-ts-core").ToolDefinition; after: z.ZodOptional; before: z.ZodOptional; require_bills: z.ZodDefault; include: z.ZodOptional>>; page: z.ZodDefault>; per_page: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ results: z.ZodArray; status: z.ZodString; jurisdiction: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, z.core.$strip>; location: z.ZodOptional; }, z.core.$strip>>; links: z.ZodOptional>>; sources: z.ZodOptional>>; media: z.ZodOptional>>; documents: z.ZodOptional>>; participants: z.ZodOptional; }, z.core.$strip>>>; agenda: z.ZodOptional; subjects: z.ZodArray; related_entities: z.ZodArray>; }, z.core.$strip>>>; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodNumber; per_page: z.ZodNumber; max_page: z.ZodNumber; total_items: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, readonly [{ readonly reason: "jurisdiction_required"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "jurisdiction was omitted — the Open States events endpoint requires it."; readonly recovery: "Provide a jurisdiction (state name, abbreviation, or OCD-ID); the events endpoint has no all-states search."; }, { readonly reason: "upstream_timeout"; readonly code: JsonRpcErrorCode.Timeout; readonly when: "Open States did not answer within the per-request timeout — the query is too broad."; readonly recovery: "Narrow the search: bound it with after and before, set require_bills=true, and drop any include values you do not need."; }], { readonly totalCount: z.ZodNumber; readonly page: z.ZodNumber; readonly maxPage: z.ZodNumber; readonly coverageNote: z.ZodString; readonly notice: z.ZodOptional; readonly appliedFilters: z.ZodObject<{ jurisdiction: z.ZodOptional; after: z.ZodOptional; before: z.ZodOptional; require_bills: z.ZodBoolean; page: z.ZodNumber; per_page: z.ZodNumber; }, z.core.$strip>; }>; //# sourceMappingURL=search-events.tool.d.ts.map