import { PublicKey, Transaction } from "@solana/web3.js"; import { PrimaryWallet } from "./wallet.js"; /** * Solana Wallet Adapter interface that matches the Dynamic Labs getSigner return type */ export interface SolanaWalletAdapter { publicKey: PublicKey; signAllTransactions?: (transactions: Transaction[]) => Promise; signTransaction?: (transaction: Transaction) => Promise; } /** * Extended PrimaryWallet type that includes the getSigner method for Solana wallets. * This type should be used when you've verified the wallet is a Solana wallet using isSolanaWallet. */ export type PrimaryWalletWithSolanaSigner = PrimaryWallet & { getSigner(): Promise; }; //# sourceMappingURL=solana.d.ts.map