UNPKG

@ledgerhq/live-common

Version:
360 lines • 15.8 kB
declare const _default: { aleo: { options: never[]; inferAccounts: (account: import("@ledgerhq/types-live").Account) => import("@ledgerhq/types-live").AccountLikeArray; inferTransactions: (transactions: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("@ledgerhq/coin-aleo/lib-es/types/bridge").Transaction; }>) => import("@ledgerhq/coin-aleo/lib-es/types/bridge").Transaction[]; }; algorand: { options: ({ name: string; type: StringConstructor; desc: string; alias?: never; multiple?: never; } | { 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: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("@ledgerhq/coin-algorand/lib-es/types").Transaction; }>, opts: Record<string, any>, { inferAmount }: any) => import("@ledgerhq/coin-algorand/lib-es/types").Transaction[]; }; aptos: { options: { name: string; alias: string; type: StringConstructor; desc: string; }[]; inferAccounts: (account: import("@ledgerhq/types-live").Account, opts: Record<string, any>) => import("@ledgerhq/types-live").AccountLikeArray; inferTransactions: (transactions: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("@ledgerhq/coin-aptos/lib-es/types/index").Transaction; }>) => import("@ledgerhq/coin-aptos/lib-es/types/index").Transaction[]; }; bitcoin: { options: ({ name: string; type: StringConstructor; desc: string; alias?: never; multiple?: never; } | { name: string; alias: string; type: StringConstructor; multiple: boolean; desc: string; } | { name: string; type: BooleanConstructor; desc: string; alias?: never; multiple?: never; })[]; inferTransactions: (transactions: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("@ledgerhq/coin-bitcoin/lib-es/types").Transaction; }>, opts: Record<string, any>) => import("@ledgerhq/coin-bitcoin/lib-es/types").Transaction[]; }; cardano: { options: { name: string; type: StringConstructor; desc: string; }[]; inferAccounts: (account: import("@ledgerhq/types-live").Account, opts: Record<string, any>) => import("@ledgerhq/types-live").Account[] | import("@ledgerhq/types-live").TokenAccount[]; inferTransactions: (transactions: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("@ledgerhq/coin-cardano/lib-es/types").Transaction; }>, opts: Record<string, any>) => import("@ledgerhq/coin-cardano/lib-es/types").Transaction[]; }; casper: { options: never[]; inferAccounts: (account: import("@ledgerhq/types-live").Account) => import("@ledgerhq/types-live").AccountLikeArray; inferTransactions: (transactions: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("@ledgerhq/coin-casper/lib-es/types/common").Transaction; mainAccount: import("@ledgerhq/types-live").Account; }>) => import("@ledgerhq/coin-casper/lib-es/types/common").Transaction[]; }; canton: { options: ({ name: string; type: StringConstructor; desc: string; } | { name: string; type: NumberConstructor; desc: string; })[]; inferTransactions: (transactions: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("@ledgerhq/coin-canton/lib-es/index").Transaction; }>, opts: { tag?: number | null | undefined; fee?: string; }, { inferAmount, }: { inferAmount: (account: import("@ledgerhq/types-live").AccountLike, fee?: string) => import("bignumber.js").BigNumber | null | undefined; }) => import("@ledgerhq/coin-canton/lib-es/index").Transaction[]; }; celo: { options: { name: string; type: StringConstructor; desc: string; }[]; inferAccounts: (account: import("@ledgerhq/types-live").Account) => import("@ledgerhq/types-live").AccountLikeArray; inferTransactions: (transactions: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("@ledgerhq/coin-celo/lib-es/types/types").Transaction; mainAccount: import("@ledgerhq/types-live").Account; }>, opts: Record<string, any>) => import("@ledgerhq/coin-celo/lib-es/types/types").Transaction[]; commands: { celoValidatorGroups: { args: never[]; job: () => import("rxjs").Observable<string>; }; }; }; concordium: { options: { name: string; type: StringConstructor; desc: string; }[]; inferTransactions: (transactions: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("@ledgerhq/coin-concordium/lib-es/index").Transaction; }>, opts: { memo?: string | null | undefined; fee?: string; }, { inferAmount, }: { inferAmount: (account: import("@ledgerhq/types-live").AccountLike, fee?: string) => import("bignumber.js").BigNumber | null | undefined; }) => import("@ledgerhq/coin-concordium/lib-es/index").Transaction[]; }; cosmos: { 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: import("@ledgerhq/coin-cosmos/lib-es/types/index").Transaction; }>, opts: Record<string, any>, { inferAmount }: any) => import("@ledgerhq/coin-cosmos/lib-es/types/index").Transaction[]; commands: { cosmosValidators: { args: { name: string; desc: string; type: StringConstructor; }[]; job: ({ format, }: Partial<{ format: string; }>) => import("rxjs").Observable<string>; }; }; }; evm: object; hedera: { options: never[]; inferAccounts: (account: import("@ledgerhq/types-live").Account) => import("@ledgerhq/types-live").AccountLikeArray; inferTransactions: (transactions: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("@ledgerhq/coin-hedera/lib-es/types/bridge").Transaction; mainAccount: import("@ledgerhq/types-live").Account; }>) => import("@ledgerhq/coin-hedera/lib-es/types/bridge").Transaction[]; }; filecoin: { options: { name: string; alias: string; type: StringConstructor; desc: string; }[]; inferAccounts: (account: import("@ledgerhq/types-live").Account, opts: Record<string, any>) => import("@ledgerhq/types-live").AccountLikeArray; inferTransactions: (transactions: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("@ledgerhq/coin-filecoin/lib-es/types/bridge").Transaction; }>) => import("@ledgerhq/coin-filecoin/lib-es/types/bridge").Transaction[]; }; internet_computer: { options: never[]; inferAccounts: (account: import("@ledgerhq/types-live").Account) => import("@ledgerhq/types-live").AccountLikeArray; inferTransactions: (transactions: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("@ledgerhq/coin-internet_computer/lib-es/types/common").Transaction; mainAccount: import("@ledgerhq/types-live").Account; }>) => import("@ledgerhq/coin-internet_computer/lib-es/types/common").Transaction[]; }; icon: { options: { name: string; type: StringConstructor; desc: string; }[]; inferTransactions: (transactions: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("@ledgerhq/coin-icon/lib-es/types/index").Transaction; }>, opts: Record<string, any>) => import("@ledgerhq/coin-icon/lib-es/types/index").Transaction[]; }; kaspa: { options: { name: string; type: StringConstructor; desc: string; }[]; inferTransactions: (transactions: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("@ledgerhq/coin-kaspa/lib-es/types/bridge").Transaction; }>, opts: Record<string, any>) => import("@ledgerhq/coin-kaspa/lib-es/types/bridge").Transaction[]; }; multiversx: { options: { name: string; type: StringConstructor; desc: string; }[]; inferTransactions: (transactions: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("@ledgerhq/coin-multiversx/lib-es/types").Transaction; }>, _opts: Record<string, any>) => import("@ledgerhq/coin-multiversx/lib-es/types").Transaction[]; }; near: { options: { name: string; type: StringConstructor; desc: string; }[]; inferTransactions: (transactions: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("@ledgerhq/coin-near/lib-es/types").Transaction; }>, opts: Record<string, string>) => import("@ledgerhq/coin-near/lib-es/types").Transaction[]; }; polkadot: import("@ledgerhq/coin-polkadot/lib-es/test/cli").CliTools; solana: { 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: Array<{ account: import("@ledgerhq/types-live").AccountLike; mainAccount: import("@ledgerhq/types-live").Account; transaction: import("@ledgerhq/coin-solana/lib-es/types").Transaction; }>, opts: Partial<Record<string, string>>) => Promise<import("@ledgerhq/coin-solana/lib-es/types").Transaction[]>; }; stacks: { options: never[]; inferAccounts: (account: import("@ledgerhq/types-live").Account) => import("@ledgerhq/types-live").AccountLikeArray; inferTransactions: (transactions: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("@ledgerhq/coin-stacks/lib-es/index").Transaction; mainAccount: import("@ledgerhq/types-live").Account; }>) => import("@ledgerhq/coin-stacks/lib-es/index").Transaction[]; }; stellar: { options: readonly [{ readonly name: "fee"; readonly type: StringConstructor; readonly desc: "how much fee"; }, { readonly name: "memoType"; readonly type: StringConstructor; readonly desc: "stellar memo type"; }, { readonly name: "memoValue"; readonly type: StringConstructor; readonly desc: "stellar memo value"; }, { readonly name: "mode"; readonly type: StringConstructor; readonly desc: "change operation type"; }, { readonly name: "assetIssuer"; readonly type: StringConstructor; readonly desc: "Asset issuer"; }, { readonly name: "assetCode"; readonly type: StringConstructor; readonly desc: "Same as token"; }]; inferTransactions: (transactions: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("../families/stellar/types").Transaction; }>, opts: Record<string, any>) => import("../families/stellar/types").Transaction[]; inferAccounts: (account: import("@ledgerhq/types-live").Account, opts: Record<string, any>) => import("@ledgerhq/types-live").AccountLikeArray; }; tezos: import("@ledgerhq/coin-tezos/lib-es/test/cli").CliTools; ton: { options: never[]; inferTransactions: (transactions: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("@ledgerhq/coin-ton/lib-es/types").Transaction; }>, opts: Record<string, string>) => import("@ledgerhq/coin-ton/lib-es/types").Transaction[]; }; tron: import("@ledgerhq/coin-tron/lib-es/test/cli").CliTools; vechain: { options: Array<{ name: string; type: any; desc: string; }>; inferTransactions: (transactions: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("@ledgerhq/coin-vechain/lib-es/types/bridge").Transaction; mainAccount: import("@ledgerhq/types-live").Account; }>, opts: Record<string, any>) => import("@ledgerhq/coin-vechain/lib-es/types/bridge").Transaction[]; }; xrp: { options: ({ name: string; type: StringConstructor; desc: string; } | { name: string; type: NumberConstructor; desc: string; })[]; inferTransactions: (transactions: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("../families/xrp/types").Transaction; }>, opts: { tag?: number | null | undefined; fee?: string; }, { inferAmount, }: { inferAmount: (account: import("@ledgerhq/types-live").AccountLike, fee?: string) => import("bignumber.js").BigNumber | null | undefined; }) => import("../families/xrp/types").Transaction[]; }; sui: import("@ledgerhq/coin-sui/lib-es/test/cli").CliTools; mina: { options: { name: string; type: StringConstructor; desc: string; }[]; inferAccounts: (account: import("@ledgerhq/types-live").Account) => import("@ledgerhq/types-live").AccountLikeArray; inferTransactions: (transactions: Array<{ account: import("@ledgerhq/types-live").AccountLike; transaction: import("@ledgerhq/coin-mina/lib-es/types/common").Transaction; }>, opts: Record<string, string>) => import("@ledgerhq/coin-mina/lib-es/types/common").Transaction[]; }; }; export default _default; //# sourceMappingURL=cli-transaction.d.ts.map