export interface ExecutionRecord { id: string; timestamp: string; type: "market_order" | "limit_order" | "cancel" | "stop_order" | "edit_order" | "rebalance" | "arb_entry" | "arb_close" | "bridge" | "multi_leg" | "multi_leg_rollback" | "split_order"; exchange: string; symbol: string; side: string; size: string; price?: string; notional?: number; status: "success" | "failed" | "simulated" | "unverified"; error?: string; meta?: Record; dryRun: boolean; } /** Append an execution record to the log */ export declare function logExecution(record: Omit): ExecutionRecord; /** Read execution log with optional filters */ export declare function readExecutionLog(opts?: { limit?: number; exchange?: string; symbol?: string; type?: string; since?: string; dryRunOnly?: boolean; }): ExecutionRecord[]; /** Get execution stats summary */ export declare function getExecutionStats(since?: string): { totalTrades: number; successRate: number; byExchange: Record; byType: Record; recentErrors: string[]; }; /** Clear old records (keep last N days) */ export declare function pruneExecutionLog(keepDays?: number): number;