import { z } from "zod";
import { zLocale } from "../../i18n/index.js";
import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zBarMaxWidth, zBarStyle, zColor, zCrosshairRect, zDataset, zDimensions, zEncoding, zLabel, zLegend, zMeasureTree, zPolynomialRegressionLine, zSort, zSortLegend, zStackCornerRadius, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
const zColumn = z.object({
    chartType: z.literal('column'),
    dataset: zDataset.nullish(),
    encoding: zEncoding.nullish(),
    dimensions: zDimensions.nullish(),
    measures: zMeasureTree.nullish(),
    backgroundColor: zBackgroundColor.nullish(),
    color: zColor.nullish(),
    label: zLabel.nullish(),
    legend: zLegend.nullish(),
    tooltip: zTooltip.nullish(),
    xAxis: zXBandAxis.nullish(),
    yAxis: zYLinearAxis.nullish(),
    sort: zSort.nullish(),
    sortLegent: zSortLegend.nullish(),
    crosshairRect: zCrosshairRect.nullish(),
    stackCornerRadius: zStackCornerRadius.nullish(),
    barMaxWidth: zBarMaxWidth.nullish(),
    theme: zTheme.nullish(),
    barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),
    annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),
    annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),
    annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),
    annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),
    polynomialRegressionLine: z.array(zPolynomialRegressionLine).or(zPolynomialRegressionLine).or(z.boolean()).nullish(),
    locale: zLocale.nullish()
});
export { zColumn };

//# sourceMappingURL=zColumn.js.map