@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
27 lines • 1.02 kB
TypeScript
import type { Bridge } from "@ledgerhq/types-live";
import { TransactionStatus, Transaction, CantonAccount } from "@ledgerhq/coin-canton/types";
import { Resolver } from "../../hw/getAddress/types";
declare const bridge: Bridge<Transaction, CantonAccount, TransactionStatus>;
declare const resolver: Resolver;
declare const cliTools: {
options: ({
name: string;
type: StringConstructor;
desc: string;
} | {
name: string;
type: NumberConstructor;
desc: string;
})[];
inferTransactions: (transactions: Array<{
account: import("@ledgerhq/types-live").AccountLike;
transaction: Transaction;
}>, opts: {
tag?: number | null | undefined;
fee?: string;
}, { inferAmount, }: {
inferAmount: (account: import("@ledgerhq/types-live").AccountLike, fee?: string) => import("bignumber.js").BigNumber | null | undefined;
}) => Transaction[];
};
export { bridge, cliTools, resolver };
//# sourceMappingURL=setup.d.ts.map