/**
 * Trading execution capabilities — the three-to-four tools that let the
 * agent inspect its portfolio, open/close paper positions, and (when a
 * persistent trade log is attached) query cross-session history.
 *
 * This file is now the "router" layer only: it binds the engine to tool
 * handlers and delegates rendering to `trading-views.ts`. The portfolio
 * math, risk math, and exchange simulation all live in `../trading/*`.
 * The split mirrors OpenBB's router/engine/view layering and keeps every
 * layer testable in isolation.
 */
import type { CapabilityHandler } from '../agent/types.js';
import type { TradingEngine } from '../trading/engine.js';
import type { RiskConfig } from '../trading/risk.js';
import type { TradeLog } from '../trading/trade-log.js';
export interface TradingCapabilitiesDeps {
    engine: TradingEngine;
    /** Risk config used for "you're at X% of your exposure cap" readout. */
    riskConfig?: RiskConfig;
    /** Hook run after state-changing calls — typically persists to disk. */
    onStateChange?: () => void | Promise<void>;
    /** Persistent trade log; when provided, TradingHistory is registered. */
    tradeLog?: TradeLog;
}
export declare function createTradingCapabilities(deps: TradingCapabilitiesDeps): CapabilityHandler[];
