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, zStackCornerRadius, zTheme, zTooltip, zXLinearAxis, zYBandAxis } from "../../properties/index.js";
const zBarPercent = z.object({
    chartType: z.literal('barPercent'),
    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: zXLinearAxis.nullish(),
    yAxis: zYBandAxis.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(),
    locale: zLocale.nullish()
});
export { zBarPercent };

//# sourceMappingURL=zBarPercent.js.map