@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
26 lines • 776 B
TypeScript
import type { AccountLike } from "@ledgerhq/types-live";
import BigNumber from "bignumber.js";
import type { Transaction } from "./types";
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