@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
27 lines • 1.21 kB
TypeScript
import type { AlgorandAccount, AlgorandOperation, Transaction, TransactionStatus } from "@ledgerhq/coin-algorand/types";
import { Bridge } from "@ledgerhq/types-live";
import type { Resolver } from "../../hw/getAddress/types";
declare const bridge: Bridge<Transaction, AlgorandAccount, TransactionStatus, AlgorandOperation>;
declare const resolver: Resolver;
declare const cliTools: {
options: ({
name: string;
type: StringConstructor;
desc: string;
alias?: undefined;
multiple?: undefined;
} | {
name: string;
alias: string;
type: StringConstructor;
desc: string;
multiple: boolean;
})[];
inferAccounts: (account: import("@ledgerhq/types-live").Account, opts: Record<string, any>) => import("@ledgerhq/types-live").AccountLikeArray;
inferTransactions: (transactions: {
account: import("@ledgerhq/types-live").AccountLike;
transaction: import("@ledgerhq/coin-algorand/types").AlgorandTransaction;
}[], opts: Record<string, any>, { inferAmount }: any) => import("@ledgerhq/coin-algorand/types").AlgorandTransaction[];
};
export { bridge, cliTools, resolver };
//# sourceMappingURL=setup.d.ts.map