import { z } from 'zod';
import { type TableCalculation } from '../../../../types/field';
import type { Filters } from '../../../../types/filter';
import type { AiMetricQueryWithFilters } from '../../types';
import type { ToolVerticalBarArgsTransformed } from '../tools';
export declare const verticalBarMetricVizConfigSchema: z.ZodObject<{
    exploreName: z.ZodString;
    xDimension: z.ZodString;
    yMetrics: z.ZodArray<z.ZodString, "many">;
    sorts: z.ZodArray<z.ZodObject<{
        fieldId: z.ZodString;
        descending: z.ZodBoolean;
        nullsFirst: z.ZodNullable<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        fieldId: string;
        descending: boolean;
        nullsFirst: boolean | null;
    }, {
        fieldId: string;
        descending: boolean;
        nullsFirst: boolean | null;
    }>, "many">;
    limit: z.ZodNullable<z.ZodNumber>;
    breakdownByDimension: z.ZodNullable<z.ZodString>;
    stackBars: z.ZodNullable<z.ZodBoolean>;
    xAxisType: z.ZodUnion<[z.ZodLiteral<"category">, z.ZodLiteral<"time">]>;
    xAxisLabel: z.ZodNullable<z.ZodString>;
    yAxisLabel: z.ZodNullable<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    exploreName: string;
    sorts: {
        fieldId: string;
        descending: boolean;
        nullsFirst: boolean | null;
    }[];
    limit: number | null;
    xDimension: string;
    yMetrics: string[];
    breakdownByDimension: string | null;
    stackBars: boolean | null;
    xAxisType: "time" | "category";
    xAxisLabel: string | null;
    yAxisLabel: string | null;
}, {
    exploreName: string;
    sorts: {
        fieldId: string;
        descending: boolean;
        nullsFirst: boolean | null;
    }[];
    limit: number | null;
    xDimension: string;
    yMetrics: string[];
    breakdownByDimension: string | null;
    stackBars: boolean | null;
    xAxisType: "time" | "category";
    xAxisLabel: string | null;
    yAxisLabel: string | null;
}>;
export type VerticalBarMetricVizConfigSchemaType = z.infer<typeof verticalBarMetricVizConfigSchema>;
export declare const metricQueryVerticalBarViz: ({ vizConfig, filters, maxLimit, customMetrics, tableCalculations, }: {
    vizConfig: VerticalBarMetricVizConfigSchemaType;
    filters: Filters;
    maxLimit: number;
    customMetrics: ToolVerticalBarArgsTransformed["customMetrics"] | null;
    tableCalculations: TableCalculation[];
}) => AiMetricQueryWithFilters;
//# sourceMappingURL=verticalBarViz.d.ts.map