import { BigNumber } from "bignumber.js"; import { Transaction } from "../../generated/types"; import { TransactionCommon } from "@ledgerhq/types-live"; import { CustomErrorType } from "../../wallet-api/Exchange"; export type { SwapLiveError } from "@ledgerhq/wallet-api-exchange-module"; export declare function defaultTransaction({ family, amount, recipient, customFeeConfig, }: TransactionWithCustomFee): Partial; export declare function cardanoTransaction({ amount, recipient, customFeeConfig, }: TransactionWithCustomFee): Partial>; export declare function nearTransaction({ amount, recipient, customFeeConfig, }: TransactionWithCustomFee): Extract; export declare function tezosTransaction({ amount, recipient, customFeeConfig, }: TransactionWithCustomFee): Partial>; export declare function tronTransaction({ amount, recipient, customFeeConfig, }: TransactionWithCustomFee): Partial>; export declare function stellarTransaction({ amount, recipient, customFeeConfig, payinExtraId, customErrorType, }: TransactionWithCustomFee): Extract; export declare function rippleTransaction({ amount, recipient, customFeeConfig, payinExtraId, customErrorType, }: TransactionWithCustomFee): Partial>; export declare function evmTransaction({ amount, recipient, customFeeConfig, extraTransactionParameters, sponsored, }: TransactionWithCustomFee): Partial>; export declare function bitcoinTransaction({ amount, recipient, customFeeConfig, extraTransactionParameters, }: TransactionWithCustomFee): Partial>; export declare function solanaTransaction({ amount, recipient, customFeeConfig: _customFeeConfig, extraTransactionParameters, }: TransactionWithCustomFee): Extract; export declare function elrondTransaction({ amount, recipient, customFeeConfig, }: TransactionWithCustomFee): Extract; export declare function cosmosTransaction({ amount, recipient, customFeeConfig, payinExtraId, }: TransactionWithCustomFee): Partial>; export declare function hederaTransaction({ amount, recipient, customFeeConfig, payinExtraId, }: TransactionWithCustomFee): Partial>; export type TransactionWithCustomFee = TransactionCommon & { customFeeConfig: { [key: string]: BigNumber; }; payinExtraId?: string; customErrorType?: CustomErrorType; extraTransactionParameters?: string; family: string; sponsored?: boolean; }; export type TransactionStrategyFunction = (params: TransactionWithCustomFee) => Partial; export declare const transactionStrategy: { [K in Transaction["family"]]: TransactionStrategyFunction; }; //# sourceMappingURL=transactionStrategies.d.ts.map