export const TOTAL_BLOCK_NAMESPACE = 'woocommerce_total_block';

export type TotalBlockSettings = {
	showSubtotal: boolean;
	showDiscount: boolean;
	showTax: boolean;
	textAlign?: 'left' | 'center' | 'right';
	textStyle?: {
		color?: string;
		fontFamily?: string;
		fontWeight?: string;
	};
};

export const DEFAULT_TOTAL_BLOCK_SETTINGS: TotalBlockSettings = {
	showSubtotal: true,
	showDiscount: true,
	showTax: true,
	textAlign: 'right',
};
