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/defi-lend.d.ts /** * DeFi Lending Tool — supply, borrow, repay, withdraw on Aave V3 (Base). * * Actions: * - supply: Deposit assets as collateral to earn interest * - borrow: Borrow assets against your collateral * - repay: Repay borrowed assets * - withdraw: Withdraw supplied assets * - health_factor: Check your health factor and liquidation risk * - positions: View all active supply/borrow positions * - rates: View current supply/borrow APYs */ declare function createDefiLendTool(): { name: string; label: string; ownerOnly: boolean; description: string; parameters: TObject<{ action: TUnsafe<"supply" | "borrow" | "repay" | "withdraw" | "positions" | "health_factor" | "rates">; asset: TOptional; amount: TOptional; protocol: TOptional; address: TOptional; }>; execute: (_toolCallId: string, args: unknown) => Promise<{ content: Array<{ type: "text"; text: string; }>; details: unknown; }>; }; //#endregion export { createDefiLendTool }; //# sourceMappingURL=defi-lend.d.mts.map