import { isoly } from "isoly"; import type { Card } from "../../Card"; import type { Rail } from "../../Rail"; import type { Transaction } from "../../Transaction"; import { Fx as ChargeFx } from "./Fx"; import { Merchant as ChargeMerchant } from "./Merchant"; export type Charge = { merchant?: Charge.Merchant; fx?: Charge.Fx; }; export declare namespace Charge { export import Merchant = ChargeMerchant; export import Fx = ChargeFx; const type: import("isly/dist/cjs/object").IslyObject; function evaluate(counterpart: Rail.Address.Card.Counterpart, currency: isoly.Currency, amount: number, preset?: Card.Preset, charges?: Charge, exchange?: Transaction.Exchange): Transaction.Amount.Charge; }