import type { EarnExecutionStep, EarnSigningPayload, ServerKeyShare, SignMessageContext, TraceContext, WalletMetadata } from '@dynamic-labs-wallet/node'; export type { EarnExecutionStep, EarnTransactionResult } from '@dynamic-labs-wallet/node'; /** Position of the transaction about to be signed within the ordered sequence. */ export type EarnTransactionStepProgress = { label?: string; ordinal: number; total: number; }; /** Wallet context and chain access every Earn write action needs. */ export type SvmEarnWalletParams = { walletMetadata: WalletMetadata; password?: string; externalServerKeyShares?: ServerKeyShare[]; /** Opt in to Dynamic gas sponsorship for every transaction in the sequence. */ sponsored?: boolean; /** Solana RPC endpoint; defaults to the public cluster for the payload's `chainId` (101 mainnet, 103 devnet). */ rpcUrl?: string; chainId?: string; context?: SignMessageContext; onStepChange?: (step: EarnExecutionStep) => void; /** Invoked as each transaction in the sequence is about to be signed. */ onTransactionStepChange?: (step: EarnTransactionStepProgress) => void; traceContext?: TraceContext; }; export type ExecuteEarnTransactionParams = Omit & { signingPayload: EarnSigningPayload; }; export type DepositToEarnVaultParams = SvmEarnWalletParams & { vaultId: string; amount: string; receiverAddress?: string; }; export type WithdrawFromEarnVaultParams = SvmEarnWalletParams & { vaultId: string; amount: string; receiverAddress?: string; }; export type ClaimEarnRewardsParams = SvmEarnWalletParams & { vaultId: string; }; //# sourceMappingURL=earn.types.d.ts.map