import type { CausalRelationType, DecisionLogEntry as CoreDecisionLogEntry } from '../core/types.ts'; export interface DecisionEntry extends CoreDecisionLogEntry { confidence?: number; decisionMaker?: string; validFrom?: string; validUntil?: string; reasoningEmbedding?: number[]; } export interface CausalEdge { id: string; source: string; target: string; relationshipType: CausalRelationType; timestamp: string; metadata?: Record; } export interface DecisionSearchResult { entry: DecisionEntry; score: number; matchField: 'id' | 'member' | 'tag' | 'keyword'; } export interface DecisionLogOptions { decisionsDir?: string; } export declare class DecisionLog { private decisionsDir; private cache; private edgesCache; constructor(options?: DecisionLogOptions); record(entry: DecisionEntry): Promise; addCausalRelationship(sourceId: string, targetId: string, relationshipType: CausalRelationType): Promise; traceDecisionChain(id: string): Promise; analyzeDecisionImpact(id: string): Promise; search(query: string, filters?: { member?: string; tags?: string[]; }): Promise; recent(count?: number): Promise; all(): Promise; get(id: string): Promise; count(): number; private matchEntry; private loadCache; private loadEdges; private saveEdges; private sanitizeId; private ensureDir; } //# sourceMappingURL=DecisionLog.d.ts.map