/// import { Transaction, Keypair } from '@solana/web3.js'; import BaseWallet from './baseWallet.js'; declare type ExpanedProvider = WalletProvider & { keypair: Keypair; }; declare class SecretKeyWallet extends BaseWallet { constructor(secretKey: string, password?: string); static xor(a: Buffer | Uint8Array, b: Buffer | Uint8Array): Buffer | Uint8Array; static getPassword(): string; static setSecretKey(secretKey: string, pwd?: string): void; static getSecretKey(pwd?: string): string; getProvider(): Promise; getAddress(): Promise; signTransaction(transaction: Transaction): Promise; signAllTransactions(transactions: Transaction[]): Promise; signMessage(message: string): Promise<{ address: string; signature: string; message: string; }>; verifySignature(signature: string, message: string, address?: string): Promise; } export default SecretKeyWallet;