/** Currency and locale override the INR and en-IN defaults. */ export type PriceFormatOptions = { currency?: string; locale?: string; maximumFractionDigits?: number; }; export declare const DEFAULT_CURRENCY = "INR"; export declare const DEFAULT_LOCALE = "en-IN"; export declare function formatPrice(value: number, options?: PriceFormatOptions): string; export declare function discountPercent(price: number, mrp?: number): number; export declare function discountAmount(price: number, mrp?: number): number; export type UnitPrice = { value: number; per: number; unit: string; }; export declare function unitPrice(price: number, quantity: number, unit: string, per?: number): UnitPrice | null;