import type { ContextProvider } from "../types.js"; /** Asset-level trend direction. */ export declare enum AssetTrend { UP = "UP", DOWN = "DOWN", NEUTRAL = "NEUTRAL" } /** Trend classification for one asset. */ export interface AssetTrendResult { asset: string; assetTrend: AssetTrend; trendStrength: number; timeframe: string; } /** * Computes trend direction from raw OHLCV candle data. * * Uses EMA 8/21 crossover and price-vs-EMA position to determine direction. * Returns trend classification with strength (0-1). */ export declare function computeTrend(candles: Array<{ close: number; high: number; low: number; }>, emaFast?: number, emaSlow?: number): { trend: AssetTrend; strength: number; }; /** * Asset trend context provider. * * Extracts the signal asset from the triggering event, fetches 1h candle * data via the Senpi MCP client, and computes the asset's local trend * direction using EMA crossover analysis. * * entry.value is ignored — this provider always analyzes the signal's asset. * * Returns null if candle data cannot be fetched or the signal asset * cannot be determined. */ export declare const assetTrendProvider: ContextProvider; //# sourceMappingURL=asset-trend.provider.d.ts.map