import React from 'react'; import './index.less'; declare type SubTotalKey = 'deposit' | 'total' | 'sub_total' | 'tax' | 'marketing' | 'delivery_fee' | 'discount' | 'point_deduction' | 'member_deduction' | 'custom' | string; export interface SubTotalItem extends React.HTMLAttributes { key: SubTotalKey; label?: string | React.ReactNode; value: number; count?: number; hidden?: boolean; tax?: { rate?: number; is_price_include_tax?: boolean; title?: string; }; bold?: boolean; } interface SubTotalProps extends React.HTMLAttributes { list: SubTotalItem[]; mode?: 'column1' | 'column2'; describe?: string; children?: React.ReactNode; } declare const SubTotal: (props: SubTotalProps) => React.JSX.Element; export default SubTotal;