import { CartItem, CartItemPrice } from './types'; export declare const defaultFormatPrice: (price: string | number) => string; export declare const getDiscountPrice: (price: CartItemPrice, quantity: number) => number | null; export declare const getPrice: (formatPriceFn: (price: string | number) => string, price: CartItemPrice, discountValueUpfront: number, discountValueMonthly: number, quantity: number) => string | null; export declare const sortByType: (items: T[]) => T[];