import type { TickerData, OrderbookData, TradeEntry, LiquidationEntry, LiquidationAgg, FundingStatPoint, DerivStatus, WhaleEntry, TradeFlow, MarketSnapshot } from './types.js'; import type { AgentConfig } from '../core/config.js'; export declare function fetchJson(url: string): Promise; export declare function fetchTicker(cfg: AgentConfig): Promise; export declare function fetchOrderbook(cfg: AgentConfig, len?: number): Promise; export declare function fetchTrades(cfg: AgentConfig, limit?: number): Promise; export declare function aggregateTradeFlow(trades: TradeEntry[]): TradeFlow; export declare function fetchLiquidations(cfg: AgentConfig, limit?: number): Promise; export declare function aggregateLiquidations(liqs: LiquidationEntry[]): { w1m: LiquidationAgg; w5m: LiquidationAgg; w15m: LiquidationAgg; w1h: LiquidationAgg; w24h: LiquidationAgg; }; export declare function calcLiqIntensityPercentile(liqs: LiquidationEntry[]): number; export declare function fetchFundingStats(cfg: AgentConfig, limit?: number): Promise; export declare function fetchDerivStatus(cfg: AgentConfig): Promise; export declare function fetchRankings(cfg: AgentConfig): Promise; export declare function collectSnapshot(cfg: AgentConfig): Promise; //# sourceMappingURL=bitfinex-rest.d.ts.map