import { a as TObject, s as TString } from "../../helpers-DutyHbVD.mjs"; import { t as TUnsafe } from "../../unsafe-C_mX8nG4.mjs"; import { t as TOptional } from "../../optional-Bis1WTKK.mjs"; //#region extensions/crypto/src/tools/clawnchconnect.d.ts /** * ClawnchConnect Tool — wallet connection and transaction signing * * The core security model. The agent never holds private keys. * Every transaction goes to the user's phone wallet for approval, * unless spending policies auto-approve it. */ /** * @param api - OpenClawPluginApi instance (optional). When provided, the connect * action sends the WalletConnect link directly to the user via the channel, * bypassing LLM summarization which tends to drop URLs. */ declare function createClawnchConnectTool(api?: any): { name: string; label: string; ownerOnly: boolean; description: string; parameters: TObject<{ action: TUnsafe<"connect" | "disconnect" | "status" | "send_tx" | "set_policy" | "sign_message">; wallet: TOptional>; project_id: TOptional; to: TOptional; value: TOptional; data: TOptional; summary: TOptional; policy: TOptional; message: TOptional; }>; execute: (_toolCallId: string, args: unknown) => Promise<{ content: Array<{ type: "text"; text: string; }>; details: unknown; }>; }; //#endregion export { createClawnchConnectTool }; //# sourceMappingURL=clawnchconnect.d.mts.map