import { type GateMcpClient } from "../wallets/wallet-mcp-clients.js"; import type { ResolveSignerContext, ResolvedSignerSession, SignModeAvailability, SignModeDefinition } from "./types.js"; export interface QuickWalletModeOptions { mcpWalletUrl: string; mcpApiKey?: string; } /** 与 resolveSigner 内设备流登录参数一致,供独立授权工具复用 */ export declare function runQuickWalletDeviceAuthIfNeeded(mcp: GateMcpClient, mcpWalletUrl: string, context: ResolveSignerContext): Promise<"already_authenticated" | "login_succeeded">; export declare function getQuickWalletAddressPayload(mcp: GateMcpClient): Promise; export declare class QuickWalletMode implements SignModeDefinition { private readonly options; readonly id: "quick_wallet"; readonly priority = 20; constructor(options: QuickWalletModeOptions); checkAvailability(): Promise; resolveSigner(context: ResolveSignerContext): Promise; getCacheKey(): string; } //# sourceMappingURL=quick-wallet.d.ts.map