import { PublicKey , Transaction } from '@solana/web3.js' ; export type WalletSigner = { publicKey : PublicKey | null ; signTransaction ( transaction ) : Promise < Transaction > ; signAllTransactions ( transaction ) : Promise < Transaction [ ] > ; } ; export declare class WalletError extends Error { error : any ; constructor ( message ? , error ? ) ; } export declare class WalletNotConnectedError extends WalletError { name : string ; } export function isWalletNotConnectedError ( error ) { return error instanceof WalletNotConnectedError ; }