/** * @fileoverview Search state legislative bills across all covered US jurisdictions. * @module mcp-server/tools/definitions/search-bills */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const searchBills: import("@cyanheads/mcp-ts-core").ToolDefinition; q: z.ZodOptional; session: z.ZodOptional; chamber: z.ZodOptional>; classification: z.ZodOptional; subject: z.ZodOptional>; sponsor: z.ZodOptional; sponsor_classification: z.ZodOptional; sort: z.ZodDefault>; action_since: z.ZodOptional; updated_since: z.ZodOptional; created_since: z.ZodOptional; include: z.ZodOptional>>; page: z.ZodDefault>; per_page: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ results: z.ZodArray; from_organization: z.ZodObject<{ name: z.ZodString; classification: z.ZodString; }, z.core.$strip>; classification: z.ZodArray; subject: z.ZodArray; first_action_date: z.ZodNullable; latest_action_date: z.ZodNullable; latest_action_description: z.ZodNullable; latest_passage_date: z.ZodNullable; updated_at: z.ZodOptional; openstates_url: z.ZodOptional; sponsorships: z.ZodOptional>; }, z.core.$strip>>>; actions: z.ZodOptional; order: z.ZodNumber; organization: z.ZodObject<{ name: z.ZodString; classification: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>>; abstracts: z.ZodOptional>>; other_titles: z.ZodOptional>>; other_identifiers: z.ZodOptional>>; sources: z.ZodOptional>>; versions: z.ZodOptional>; }, z.core.$strip>>>; documents: z.ZodOptional>; }, z.core.$strip>>>; votes: z.ZodOptional>; votes: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>>>; related_bills: z.ZodOptional>>; }, 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: "missing_scope"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "Neither jurisdiction nor q (full-text search) was provided."; readonly recovery: "Provide a jurisdiction (state name or OCD-ID) or a full-text search term via q, or both."; }, { 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: add a jurisdiction, a session, or an action_since/updated_since date filter, or use a more distinctive q term."; }], { readonly totalCount: z.ZodNumber; readonly page: z.ZodNumber; readonly maxPage: z.ZodNumber; readonly notice: z.ZodOptional; readonly appliedFilters: z.ZodObject<{ jurisdiction: z.ZodOptional; q: z.ZodOptional; session: z.ZodOptional; chamber: z.ZodOptional; classification: z.ZodOptional; action_since: z.ZodOptional; updated_since: z.ZodOptional; created_since: z.ZodOptional; sort: z.ZodString; page: z.ZodNumber; per_page: z.ZodNumber; }, z.core.$strip>; }>; //# sourceMappingURL=search-bills.tool.d.ts.map