import { a as TObject, s as TString } from "../../helpers-DutyHbVD.mjs"; import { t as TUnsafe } from "../../unsafe-C_mX8nG4.mjs"; import { t as TBoolean } from "../../boolean-m0GDZxcD.mjs"; import { t as TNumber } from "../../number-BDPWg_Sz.mjs"; import { t as TOptional } from "../../optional-Bis1WTKK.mjs"; //#region extensions/crypto/src/tools/yield.d.ts /** * Yield Aggregation Tool — find and execute yield opportunities across DeFi. * * Actions: * search — Search DeFiLlama for yield opportunities (filter by chain, asset, APY) * top_yields — Top yields for a specific asset on a chain * deposit — Deposit into a Yearn V3 vault (ERC-4626) on Base * withdraw — Withdraw from a Yearn V3 vault * positions — View vault positions and earned yield * vaults — List available vaults for direct deposit * * Data from DeFiLlama yields API. Execution via Yearn V3 vaults on Base. */ declare function createYieldTool(): { name: string; label: string; ownerOnly: boolean; description: string; parameters: TObject<{ action: TUnsafe<"search" | "withdraw" | "positions" | "top_yields" | "deposit" | "vaults">; asset: TOptional; chain: TOptional; amount: TOptional; vault: TOptional; min_tvl: TOptional; min_apy: TOptional; stable_only: TOptional; project: TOptional; limit: TOptional; }>; execute: (_toolCallId: string, args: unknown) => Promise<{ content: Array<{ type: "text"; text: string; }>; details: unknown; }>; }; //#endregion export { createYieldTool }; //# sourceMappingURL=yield.d.mts.map