import { z } from "zod";
import { zLocale } from "../../i18n/index.js";
import { zBackgroundColor, zBodyCellStyle, zDataset, zDimensions, zMeasureTree, zTheme, zTotalType } from "../../properties/index.js";
import { zPage } from "../../properties/page/index.js";
const zTable = z.object({
    chartType: z.literal('table'),
    dataset: zDataset.nullish(),
    dimensions: zDimensions.nullish(),
    measures: zMeasureTree.nullish(),
    page: zPage.nullish(),
    backgroundColor: zBackgroundColor.nullish(),
    borderColor: z.string().nullish(),
    bodyFontSize: z.number().nullish(),
    bodyFontColor: z.string().nullish(),
    bodyBackgroundColor: z.string().nullish(),
    hoverBodyBackgroundColor: z.string().nullish(),
    hoverBodyInlineBackgroundColor: z.string().nullish(),
    headerFontSize: z.number().nullish(),
    headerFontColor: z.string().nullish(),
    headerBackgroundColor: z.string().nullish(),
    hoverHeaderBackgroundColor: z.string().nullish(),
    hoverHeaderInlineBackgroundColor: z.string().nullish(),
    selectedBorderColor: z.string().nullish(),
    selectedBackgroundColor: z.string().nullish(),
    bodyCellStyle: z.array(zBodyCellStyle).or(zBodyCellStyle).nullish(),
    totals: zTotalType.nullish(),
    theme: zTheme.nullish(),
    locale: zLocale.nullish()
});
export { zTable };

//# sourceMappingURL=zTable.js.map