import { PublicKey, Transaction } from '@solana/web3.js'; import { IdentityDriver } from '../identityModule'; export type WalletAdapter = { publicKey: PublicKey | null; signMessage?: (message: Uint8Array) => Promise; signTransaction?: (transaction: Transaction) => Promise; signAllTransactions?: (transactions: Transaction[]) => Promise; }; export declare class WalletAdapterIdentityDriver implements IdentityDriver { readonly walletAdapter: WalletAdapter; constructor(walletAdapter: WalletAdapter); get publicKey(): PublicKey; signMessage(message: Uint8Array): Promise; signTransaction(transaction: Transaction): Promise; signAllTransactions(transactions: Transaction[]): Promise; }