import type { Fee } from "../types"; /** * Sums up the basis points for fees. * @param fees The fees to sum up * @returns sum of basis points */ export declare const totalBasisPointsForFees: (fees: Fee[]) => bigint; /** * Converts a fee to its basis points representation. * A fee of 2.5 means 2.5%, which is 250 basis points. * * Uses string-based arithmetic to avoid IEEE 754 floating point errors * (e.g. Math.round(2.505 * 100) === 250 due to 2.505 * 100 === 250.49999...). * Handles scientific notation (e.g. 1e-7) by normalizing to decimal string first. * @param fee The fee to convert * @returns the basis points */ export declare const basisPointsForFee: (fee: Fee) => bigint;