import type { Component } from "../types/component"; import type { PackageInfo, VariableDictionary } from "../types/variables"; /** Highest monthly price among the tab's packages, nested tabs included. */ export declare function mostExpensivePricePerMonth(tab: Component, infoPerPackage: Record | undefined): number | undefined; /** * Recalculates `product.relative_discount` using the highest monthly price in the current scope. * Replaces other discount variables with host-provided values for that price, when available. * Returns the original variables when either monthly price is unknown. */ export declare function withScopedRelativeDiscount(variables: VariableDictionary | undefined, packageInfo: PackageInfo | undefined, mostExpensivePricePerMonth: number | undefined): VariableDictionary | undefined;