export type GateType = 'standard' | 'agent'; export type AgentGateMode = 'observability' | 'orchestrated'; export type SessionStatus = 'active' | 'idle' | 'completed' | 'runaway' | 'budget_exceeded'; export interface SessionToolCall { name: string; input: Record; id: string; } export interface SessionToolResult { toolUseId: string; content: string; isError: boolean; } export interface AgentSession { id: string; gateId: string; userId: string; sessionId: string; mode: AgentGateMode; orchestrationType: string | null; status: SessionStatus; totalRequests: number; totalCost: number; totalTokens: number; totalLatencyMs: number; spendingLimit: number | null; hardLimit: number | null; timeoutMinutes: number; startedAt: string; lastRequestAt: string | null; completedAt: string | null; metadata: Record; createdAt: string; } export type OrchestrationType = 'static' | 'dynamic'; export interface RoutingDecision { id: string; gateId: string; cacheKey: string; selectedModel: string; selectedPoolIndex: number; reasoning: string; toolNames: string[]; systemPromptHash: string; hitCount: number; createdAt: string; expiresAt: string; updatedAt: string; } //# sourceMappingURL=sessions.d.ts.map