import type { KeyValidationResult, SolanaNft, SolanaTokenBalance, WalletAddresses, WalletChain, WalletGenerateResult, WalletImportResult, WalletKeys } from "../contracts/wallet"; export type { BscTradeExecuteRequest, BscTradeExecuteResponse, BscTradeExecutionResult, BscTradePreflightRequest, BscTradePreflightResponse, BscTradeQuoteRequest, BscTradeQuoteResponse, BscTradeSide, BscTradeTxStatus, BscTradeTxStatusResponse, BscTransferExecuteRequest, BscTransferExecuteResponse, BscTransferExecutionResult, BscUnsignedApprovalTx, BscUnsignedTradeTx, BscUnsignedTransferTx, EvmChainBalance, EvmNft, EvmTokenBalance, KeyValidationResult, SolanaNft, SolanaTokenBalance, TradePermissionMode, WalletAddresses, WalletBalancesResponse, WalletChain, WalletConfigStatus, WalletGenerateResult, WalletImportResult, WalletKeys, WalletNftsResponse, WalletTradeLedgerEntry, WalletTradeSource, WalletTradingProfileResponse, WalletTradingProfileSourceFilter, WalletTradingProfileWindow, } from "../contracts/wallet"; export { computeValueUsd, DEX_PRICE_TIMEOUT_MS, DEXPAPRIKA_CHAIN_MAP, DEXSCREENER_CHAIN_MAP, type DexScreenerPair, type DexTokenMeta, fetchDexPaprikaPrices, fetchDexPrices, fetchDexScreenerPrices, WRAPPED_NATIVE, } from "./wallet-dex-prices"; export { type AnkrTokenAsset, DEFAULT_EVM_CHAINS, type EvmProviderKeys, fetchEvmBalances, fetchEvmNfts, resolveEvmProviderKeys, } from "./wallet-evm-balance"; export declare const MANAGED_EVM_ADDRESS_ENV_KEY = "MILADY_MANAGED_EVM_ADDRESS"; export declare const MANAGED_SOLANA_ADDRESS_ENV_KEY = "MILADY_MANAGED_SOLANA_ADDRESS"; export declare function deriveEvmAddress(privateKeyHex: string): string; export declare function deriveSolanaAddress(privateKeyString: string): string; export declare function validateEvmPrivateKey(key: string): KeyValidationResult; export declare function validateSolanaPrivateKey(key: string): KeyValidationResult; /** Auto-detect chain from key format and validate. */ export declare function validatePrivateKey(key: string): KeyValidationResult; /** Mask a secret string for safe display (e.g. logs, UI). */ export declare function maskSecret(value: string): string; export declare function generateWalletKeys(): WalletKeys; export declare function generateWalletForChain(chain: WalletChain): WalletGenerateResult; /** Validate key, store in process.env. Caller persists to config if needed. */ export declare function importWallet(chain: WalletChain, privateKey: string): WalletImportResult; /** Derive addresses from env keys. Works without a running runtime. */ export declare function getWalletAddresses(): WalletAddresses; export declare function fetchSolanaBalances(address: string, heliusKey: string): Promise<{ solBalance: string; solValueUsd: string; tokens: SolanaTokenBalance[]; }>; export declare function fetchSolanaNativeBalanceViaRpc(address: string, rpcUrls: string[]): Promise<{ solBalance: string; solValueUsd: string; tokens: SolanaTokenBalance[]; }>; export declare function fetchSolanaNfts(address: string, heliusKey: string): Promise; //# sourceMappingURL=wallet.d.ts.map