/** * Build ActionContext from trading recipe config and runtime deps. */ import type { ActionContext } from "../actions/types.js"; import type { SenpiClient } from "../senpi/client.js"; import type { StateManager } from "../types/action.js"; import type { HookSystem } from "../types/hooks.js"; import type { LlmDecision } from "../actions/types.js"; import type { ContextBuilder } from "../context/types.js"; import type { RiskGuard } from "../types/action.js"; import type { NotificationService } from "../types/notification.js"; import type { StrategyConfig } from "../types/strategy.js"; import type { RuntimeConfig } from "./runtime-config.js"; export interface CreateActionContextDeps { senpi: SenpiClient; stateManager: StateManager; hookSystem: HookSystem; llmDecision: LlmDecision; contextBuilder: ContextBuilder; riskGuard: RiskGuard; notifications: NotificationService; strategy: StrategyConfig; playbook: { runtimeName: string; version: string; }; maxLeverageData?: Record; } /** * Build ActionContext from trading recipe config and injected deps. * Strategy and playbook are derived from config; rest from deps. */ export declare function createActionContext(config: RuntimeConfig, deps: Omit): ActionContext; //# sourceMappingURL=create-action-context.d.ts.map