import type { TransactionIntent } from "@ledgerhq/coin-module-framework/api/index"; import { CryptoCurrency } from "@ledgerhq/ledger-wallet-framework/types"; import { StakeMeta } from "./network/chain/account/stake"; import { SolanaStake, StakeAction } from "./types"; export declare function isSolanaStakingTransactionIntent(intent: TransactionIntent): boolean; export type Awaited = T extends PromiseLike ? U : T; export declare const isValidBase58Address: (address: string) => boolean; export declare const isEd25519Address: (address: string) => boolean; export declare function encodeAccountIdWithTokenAccountAddress(accountId: string, address: string): string; export declare function decodeAccountIdWithTokenAccountAddress(accountIdWithTokenAccountAddress: string): { accountId: string; address: string; }; export declare function stakeActions(stake: SolanaStake): StakeAction[]; export declare function withdrawableFromStake({ stakeAccBalance, activation, rentExemptReserve, }: { stakeAccBalance: number; activation: SolanaStake["activation"]; rentExemptReserve: number; }): number; export declare function isStakeLockUpInForce({ lockup, custodianAddress, epoch, }: { lockup: StakeMeta["lockup"]; custodianAddress: string; epoch: number; }): boolean; export declare function stakeActivePercent(stake: SolanaStake): number; /** * Getter for the CAL content hash */ export declare const getCALHash: (currency: CryptoCurrency) => string; /** * Setter for the CAL content hash */ export declare const setCALHash: (currency: CryptoCurrency, hash: string) => string; export declare const __resetCALHash: () => void; //# sourceMappingURL=logic.d.ts.map