import { z } from "zod";
import { zLocale } from "../../i18n/index.js";
import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zAreaStyle, zBackgroundColor, zBarGapInGroup, zBarMaxWidth, zBarStyle, zBrush, zColor, zCrosshairRect, zDataset, zDimensionLinkage, zDimensions, zDualMeasures, zLabel, zLegend, zLineStyle, zPage, zPointStyle, zSort, zSortLegend, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
const zDualAxis = z.object({
    chartType: z.literal('dualAxis'),
    dataset: zDataset.nullish(),
    dimensions: zDimensions.nullish(),
    measures: zDualMeasures.nullish(),
    page: zPage.nullish(),
    alignTicks: z.array(z.boolean()).or(z.boolean()).nullish(),
    primaryYAxis: z.array(zYLinearAxis).or(zYLinearAxis).nullish(),
    secondaryYAxis: z.array(zYLinearAxis).or(zYLinearAxis).nullish(),
    xAxis: zXBandAxis.nullish(),
    backgroundColor: zBackgroundColor.nullish(),
    color: zColor.nullish(),
    label: zLabel.nullish(),
    legend: zLegend.nullish(),
    tooltip: zTooltip.nullish(),
    brush: zBrush.nullish(),
    crosshairRect: zCrosshairRect.nullish(),
    sort: zSort.nullish(),
    sortLegend: zSortLegend.nullish(),
    theme: zTheme.nullish(),
    barMaxWidth: zBarMaxWidth.nullish(),
    barGapInGroup: zBarGapInGroup.nullish(),
    barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),
    pointStyle: z.array(zPointStyle).or(zPointStyle).nullish(),
    lineStyle: z.array(zLineStyle).or(zLineStyle).nullish(),
    areaStyle: z.array(zAreaStyle).or(zAreaStyle).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(),
    dimensionLinkage: zDimensionLinkage.nullish(),
    locale: zLocale.nullish()
});
export { zDualAxis };

//# sourceMappingURL=zDualAxis.js.map