import { a as TObject, s as TString } from "../../helpers-DutyHbVD.mjs"; import { t as TUnsafe } from "../../unsafe-C_mX8nG4.mjs"; import { t as TNumber } from "../../number-BDPWg_Sz.mjs"; import { t as TOptional } from "../../optional-Bis1WTKK.mjs"; //#region extensions/crypto/src/tools/analytics.d.ts /** * Analytics Tool — OHLCV candlestick data and technical indicators. * * Fetches price candles from DexScreener and computes standard technical * indicators in pure TypeScript (no external TA library). Designed for * the agent to make data-driven trading decisions. * * Actions: * candles — Fetch OHLCV candlestick data for a token pair * rsi — Relative Strength Index (default period: 14) * macd — MACD line, signal line, histogram * bollinger — Bollinger Bands (middle, upper, lower) * sma — Simple Moving Average * ema — Exponential Moving Average * summary — All-in-one technical analysis summary * * Data source: DexScreener pair candles endpoint. */ declare function createAnalyticsTool(): { name: string; label: string; ownerOnly: boolean; description: string; parameters: TObject<{ action: TUnsafe<"candles" | "summary" | "rsi" | "macd" | "bollinger" | "sma" | "ema">; token: TOptional; chain: TOptional; interval: TOptional>; period: TOptional; limit: TOptional; }>; execute: (_toolCallId: string, args: unknown) => Promise<{ content: Array<{ type: "text"; text: string; }>; details: unknown; }>; }; //#endregion export { createAnalyticsTool }; //# sourceMappingURL=analytics.d.mts.map