@ledgerhq/coin-canton
Version:
26 lines • 777 B
TypeScript
import type { AccountLike } from "@ledgerhq/types-live";
import type { Transaction } from "../types";
import BigNumber from "bignumber.js";
declare function inferTransactions(transactions: Array<{
account: AccountLike;
transaction: Transaction;
}>, opts: {
tag?: number | null | undefined;
fee?: string;
}, { inferAmount, }: {
inferAmount: (account: AccountLike, fee?: string) => BigNumber | null | undefined;
}): Transaction[];
export default function makeCliTools(): {
options: ({
name: string;
type: StringConstructor;
desc: string;
} | {
name: string;
type: NumberConstructor;
desc: string;
})[];
inferTransactions: typeof inferTransactions;
};
export {};
//# sourceMappingURL=cli.d.ts.map