import { type PluginWalletClient } from "../wallets/plugin-wallet-client.js"; import type { ResolveSignerContext, ResolvedSignerSession, SignModeAvailability, SignModeDefinition } from "./types.js"; export interface PluginWalletModeOptions { serverUrl?: string; clientFactory?: (serverUrl: string) => Promise; } export declare class PluginWalletMode implements SignModeDefinition { private readonly options; readonly id: "plugin_wallet"; readonly priority = 30; private evmConnectCache; private solanaConnectCache; constructor(options?: PluginWalletModeOptions); checkAvailability(): Promise; resolveSigner(context: ResolveSignerContext): Promise; /** * 解析 EVM 签名器 */ private resolveEvmSigner; /** * 解析 Solana 签名器 * @throws 如果连接失败或用户拒绝 */ private resolveSolanaSigner; getCacheKey(): string; private getServerUrl; private getClient; private resolveAddress; private resolveSolanaAddress; } //# sourceMappingURL=plugin-wallet.d.ts.map