@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
36 lines • 1.23 kB
TypeScript
import { CosmosAccount, CosmosOperation, Transaction, TransactionStatus } from "@ledgerhq/coin-cosmos/types/index";
import { Bridge } from "@ledgerhq/types-live";
import { Resolver } from "../../hw/getAddress/types";
declare const bridge: Bridge<Transaction, CosmosAccount, TransactionStatus, CosmosOperation>;
declare const resolver: Resolver;
declare const cliTools: {
options: ({
name: string;
type: StringConstructor;
desc: string;
multiple?: never;
} | {
name: string;
type: StringConstructor;
multiple: boolean;
desc: string;
})[];
inferTransactions: (transactions: Array<{
account: import("@ledgerhq/types-live").AccountLike;
transaction: Transaction;
}>, opts: Record<string, any>, { inferAmount }: any) => Transaction[];
commands: {
cosmosValidators: {
args: {
name: string;
desc: string;
type: StringConstructor;
}[];
job: ({ format, }: Partial<{
format: string;
}>) => import("rxjs").Observable<string>;
};
};
};
export { bridge, cliTools, resolver };
//# sourceMappingURL=setup.d.ts.map