import type { SupportedModel } from './gates.js'; import type { TaskAnalysis } from './smart-routing.js'; import type { ModelType } from './model-registry.js'; export declare const ANALYSIS_METHODS: readonly ["cost", "balanced", "performance", "custom"]; export type AnalysisMethod = (typeof ANALYSIS_METHODS)[number]; export declare const ROUTING_STRATEGIES: readonly ["single", "fallback", "round-robin"]; export type RoutingStrategy = (typeof ROUTING_STRATEGIES)[number]; export declare const REANALYSIS_PERIODS: readonly ["daily", "weekly", "monthly", "never"]; export type ReanalysisPeriod = (typeof REANALYSIS_PERIODS)[number]; export declare const APPLIED_BY_VALUES: readonly ["user", "auto"]; export type AppliedBy = (typeof APPLIED_BY_VALUES)[number]; export declare const ACTIVITY_ACTIONS: readonly ["manual_update", "auto_update", "reanalysis", "rollback"]; export type ActivityAction = (typeof ACTIVITY_ACTIONS)[number]; export interface GateHistory { id: string; gateId: string; name: string; description: string; model: SupportedModel; fallbackModels: SupportedModel[]; routingStrategy?: RoutingStrategy; temperature?: number; maxTokens?: number; topP?: number; costWeight: number; latencyWeight: number; qualityWeight: number; analysisMethod: AnalysisMethod; taskType?: ModelType; taskAnalysis?: TaskAnalysis; systemPrompt?: string; reanalysisPeriod: ReanalysisPeriod; autoApplyRecommendations: boolean; appliedBy: AppliedBy; appliedAt: Date; changedFields?: string[]; createdAt: Date; } export interface ActivityLog { id: string; gateId: string; userId: string | null; userEmail?: string | null; action: ActivityAction; details: { historyId?: string; changedFields?: string[]; reasoning?: string; previousModel?: string; newModel?: string; [key: string]: any; }; timestamp: Date; } export interface RollbackGateRequest { historyId: string; } //# sourceMappingURL=history.d.ts.map