/** Token amount needed for route economics calculations. */ export type Amount = { /** Quantity in the token's smallest unit. */ baseUnits: string; /** Monetary denomination represented by the token. */ currency: string; /** Number of decimal places used by the token. */ decimals: number; }; /** Returns the signed basis-point difference from a reference amount. */ export declare function differenceBps(options: differenceBps.Options): number | undefined; export declare namespace differenceBps { /** Reference and observed values in the same monetary denomination. */ type Options = { /** Amount treated as the zero-cost reference. */ reference: Amount; /** Amount compared with the reference. */ value: Amount; }; } /** Returns a finite USD amount, or undefined for non-USD denominations. */ export declare function usd(amount: Amount): number | undefined; /** Returns a finite amount expressed in whole token units. */ export declare function units(amount: Amount): number | undefined; //# sourceMappingURL=Economics.d.ts.map