import type { ExplorerView } from "@ledgerhq/ledger-wallet-framework/types"; import type { AccountLike, Operation } from "@ledgerhq/types-live"; import BigNumber from "bignumber.js"; export declare enum Methods { Transfer = 0, ERC20Transfer = 1, InvokeEVM = 3844450837 } export declare enum AccountType { Account = "Account", TokenAccount = "TokenAccount" } export declare enum BotScenario { DEFAULT = "default", ETH_RECIPIENT = "eth-recipient", F4_RECIPIENT = "f4-recipient", TOKEN_TRANSFER = "token-transfer" } export declare const isValidHex: (msg: string) => boolean; export declare const isValidBase64: (msg: string) => boolean; export declare const methodToString: (method: number) => string; export declare const getBufferFromString: (message: string) => Buffer; export declare const calculateEstimatedFees: (gasFeeCap: BigNumber, gasLimit: BigNumber) => BigNumber; export declare function getAccountUnit(account: AccountLike): import("@ledgerhq/types-live/lib-es/currency").Unit; export declare const expectedToFieldForTokenTransfer: (recipient: string) => string; /** * Filecoin explorers built on the Ethereum JSON-RPC (Blockscout) identify a native message by * its multihash digest (`EthHashFromCid` in Lotus), not by its CID. FEVM operations already carry * a `0x` hash, and anything that is not a dag-cbor / blake2b-256 message CID is returned unchanged. */ export declare const messageCidToEthHash: (hash: string) => string; export declare const getTransactionExplorer: (explorerView: ExplorerView | null | undefined, operation: Operation) => string | undefined; //# sourceMappingURL=utils.d.ts.map