@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
23 lines • 1.05 kB
TypeScript
import type { Bridge } from "@ledgerhq/types-live";
import { SolanaAccount, Transaction, TransactionStatus } from "@ledgerhq/coin-solana/types";
import type { Resolver } from "../../hw/getAddress/types";
declare const bridge: Bridge<Transaction, SolanaAccount, TransactionStatus>;
declare const messageSigner: {
signMessage: import("../../hw/signMessage/types").SignMessage;
};
declare const resolver: Resolver;
declare const cliTools: {
options: {
name: string;
type: StringConstructor;
desc: string;
}[];
inferAccounts: (mainAccount: import("@ledgerhq/types-live").Account, opts: Record<string, string>) => import("@ledgerhq/types-live").AccountLikeArray;
inferTransactions: (transactions: {
account: import("@ledgerhq/types-live").AccountLike;
mainAccount: import("@ledgerhq/types-live").Account;
transaction: Transaction;
}[], opts: Partial<Record<string, string>>) => Transaction[];
};
export { bridge, cliTools, messageSigner, resolver };
//# sourceMappingURL=setup.d.ts.map