UNPKG

@ultraviolet/plus

Version:
10 lines (9 loc) 288 B
import type { Units } from './types'; export declare const calculatePrice: ({ price, amount, amountFree, timeUnit, timeAmount, discount, }: { price: number; amount: number; amountFree?: number; timeUnit: Units; timeAmount: number; discount?: number; }) => number;