import { isoly } from "isoly"; import { Supplier } from "../Supplier"; import { Amount } from "./Amount"; export interface Total { expected: Amount; outcome?: Amount; collected?: Total.Collected; settled?: Total.Settled; } export declare namespace Total { type Collected = { transactions: Collected.Transaction | Collected.Transaction[]; }; namespace Collected { type Transaction = { net: string; fee?: string; supplier?: Supplier; }; namespace Transaction { const type: import("isly/dist/cjs/object").IslyObject; } const type: import("isly/dist/cjs/object").IslyObject; } type Settled = { net: number; transactions: string[]; fee?: string; }; const Settled: import("isly/dist/cjs/object").IslyObject; const type: import("isly/dist/cjs/object").IslyObject; function create(): Total; function verify(currency: isoly.Currency, total: Total, type: "outcome" | "settled"): boolean; function add(currency: isoly.Currency, addendee: Total, addend: Partial): Total; }