import { z } from 'zod'; import { type MetricFilter } from '@hypequery/datasets'; export declare const queryMetricArgsSchema: z.ZodObject<{ dimensions: z.ZodOptional>; filters: z.ZodOptional; value: z.ZodEffects; }, "strict", z.ZodTypeAny, { operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "in" | "notIn" | "between" | "like"; field: string; value?: any; }, { operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "in" | "notIn" | "between" | "like"; field: string; value?: any; }>, "many">>; grain: z.ZodOptional>; orderBy: z.ZodOptional; }, "strict", z.ZodTypeAny, { field: string; direction: "asc" | "desc"; }, { field: string; direction: "asc" | "desc"; }>, "many">>; limit: z.ZodOptional; offset: z.ZodOptional; } & { dataset: z.ZodOptional; metric: z.ZodOptional; }, "strict", z.ZodTypeAny, { dataset?: string | undefined; metric?: string | undefined; dimensions?: string[] | undefined; filters?: { operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "in" | "notIn" | "between" | "like"; field: string; value?: any; }[] | undefined; grain?: "day" | "week" | "month" | "quarter" | "year" | undefined; orderBy?: { field: string; direction: "asc" | "desc"; }[] | undefined; limit?: number | undefined; offset?: number | undefined; }, { dataset?: string | undefined; metric?: string | undefined; dimensions?: string[] | undefined; filters?: { operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "in" | "notIn" | "between" | "like"; field: string; value?: any; }[] | undefined; grain?: "day" | "week" | "month" | "quarter" | "year" | undefined; orderBy?: { field: string; direction: "asc" | "desc"; }[] | undefined; limit?: number | undefined; offset?: number | undefined; }>; export declare const queryDatasetArgsSchema: z.ZodObject<{ dimensions: z.ZodOptional>; filters: z.ZodOptional; value: z.ZodEffects; }, "strict", z.ZodTypeAny, { operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "in" | "notIn" | "between" | "like"; field: string; value?: any; }, { operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "in" | "notIn" | "between" | "like"; field: string; value?: any; }>, "many">>; grain: z.ZodOptional>; orderBy: z.ZodOptional; }, "strict", z.ZodTypeAny, { field: string; direction: "asc" | "desc"; }, { field: string; direction: "asc" | "desc"; }>, "many">>; limit: z.ZodOptional; offset: z.ZodOptional; } & { dataset: z.ZodOptional; measures: z.ZodOptional>; }, "strict", z.ZodTypeAny, { dataset?: string | undefined; dimensions?: string[] | undefined; filters?: { operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "in" | "notIn" | "between" | "like"; field: string; value?: any; }[] | undefined; grain?: "day" | "week" | "month" | "quarter" | "year" | undefined; orderBy?: { field: string; direction: "asc" | "desc"; }[] | undefined; limit?: number | undefined; offset?: number | undefined; measures?: string[] | undefined; }, { dataset?: string | undefined; dimensions?: string[] | undefined; filters?: { operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "in" | "notIn" | "between" | "like"; field: string; value?: any; }[] | undefined; grain?: "day" | "week" | "month" | "quarter" | "year" | undefined; orderBy?: { field: string; direction: "asc" | "desc"; }[] | undefined; limit?: number | undefined; offset?: number | undefined; measures?: string[] | undefined; }>; export declare function parseToolArgs(schema: z.ZodType, toolName: string, args: unknown): T; export declare function toMetricFilters(filters?: Array<{ field: string; operator: MetricFilter['operator']; value?: unknown; }>): MetricFilter[]; //# sourceMappingURL=args.d.ts.map