import { BaseSignerWalletAdapter, WalletName, WalletReadyState } from '@solana/wallet-adapter-base'; import { Transaction, TransactionVersion, VersionedTransaction } from '@solana/web3.js'; export interface IHardcodedWalletStandardAdapter { id: string; name: WalletName; url: string; icon: string; deepLink?: () => string; } export default class HardcodedWalletStandardAdapter extends BaseSignerWalletAdapter { name: WalletName; url: string; icon: string; deepLink?: () => string; supportedTransactionVersions: ReadonlySet; /** * Storing a keypair locally like this is not safe because any application using this adapter could retrieve the * secret key, and because the keypair will be lost any time the wallet is disconnected or the window is refreshed. */ private _keypair; readyState: WalletReadyState; constructor({ name, url, icon, deepLink }: Omit); get connecting(): boolean; get publicKey(): import("@solana/web3.js").PublicKey | null; connect(): Promise; disconnect(): Promise; signTransaction(transaction: T): Promise; }