/** * Zod validation schemas for MCP tool inputs * Provides runtime type safety and input validation */ import { z } from 'zod'; export declare const SearchDataflowsSchema: z.ZodObject<{ query: z.ZodString; limit: z.ZodDefault>; }, "strip", z.ZodTypeAny, { limit: number; query: string; }, { query: string; limit?: number | undefined; }>; export declare const ListDataflowsSchema: z.ZodObject<{ category: z.ZodOptional>; limit: z.ZodDefault>; }, "strip", z.ZodTypeAny, { limit: number; category?: "ECO" | "HEA" | "EDU" | "JOB" | "TRD" | "FIN" | "GOV" | "ENV" | "NRG" | "AGR" | "SOC" | "DEV" | "STI" | "REG" | "TAX" | "TRA" | "IND" | undefined; }, { category?: "ECO" | "HEA" | "EDU" | "JOB" | "TRD" | "FIN" | "GOV" | "ENV" | "NRG" | "AGR" | "SOC" | "DEV" | "STI" | "REG" | "TAX" | "TRA" | "IND" | undefined; limit?: number | undefined; }>; export declare const GetDataStructureSchema: z.ZodObject<{ dataflow_id: z.ZodString; }, "strip", z.ZodTypeAny, { dataflow_id: string; }, { dataflow_id: string; }>; export declare const QueryDataSchema: z.ZodObject<{ dataflow_id: z.ZodString; filter: z.ZodOptional; start_period: z.ZodOptional; end_period: z.ZodOptional; last_n_observations: z.ZodOptional; }, "strip", z.ZodTypeAny, { dataflow_id: string; filter?: string | undefined; start_period?: string | undefined; end_period?: string | undefined; last_n_observations?: number | undefined; }, { dataflow_id: string; filter?: string | undefined; start_period?: string | undefined; end_period?: string | undefined; last_n_observations?: number | undefined; }>; export declare const SearchIndicatorsSchema: z.ZodObject<{ indicator: z.ZodString; category: z.ZodOptional>; }, "strip", z.ZodTypeAny, { indicator: string; category?: "ECO" | "HEA" | "EDU" | "JOB" | "TRD" | "FIN" | "GOV" | "ENV" | "NRG" | "AGR" | "SOC" | "DEV" | "STI" | "REG" | "TAX" | "TRA" | "IND" | undefined; }, { indicator: string; category?: "ECO" | "HEA" | "EDU" | "JOB" | "TRD" | "FIN" | "GOV" | "ENV" | "NRG" | "AGR" | "SOC" | "DEV" | "STI" | "REG" | "TAX" | "TRA" | "IND" | undefined; }>; export declare const GetDataflowUrlSchema: z.ZodObject<{ dataflow_id: z.ZodString; filter: z.ZodOptional; }, "strip", z.ZodTypeAny, { dataflow_id: string; filter?: string | undefined; }, { dataflow_id: string; filter?: string | undefined; }>; export declare const GetCategoriesSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const GetPopularDatasetsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const ListCategoriesDetailedSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export type SearchDataflowsInput = z.infer; export type ListDataflowsInput = z.infer; export type GetDataStructureInput = z.infer; export type QueryDataInput = z.infer; export type SearchIndicatorsInput = z.infer; export type GetDataflowUrlInput = z.infer; /** * Validate input data against a Zod schema * Returns validated data or throws descriptive error */ export declare function validateInput(schema: z.ZodSchema, data: unknown, toolName: string): T; //# sourceMappingURL=validation.d.ts.map