import { CausalLink, CausalChain } from '../types.js'; import { GlobalBrain } from './global-brain.js'; export declare class CausalChains { private brain; private links; private byEffect; private byCause; private initialized; constructor(brain?: GlobalBrain); init(): Promise; /** Record that `effectId` was caused by `causeId`. */ link(effectId: string, causeId: string, rationale?: string, strength?: number): Promise; /** Walk back from an effect to trace all ancestor causes. */ trace(effectId: string, opts?: { maxDepth?: number; }): Promise; /** Walk forward from a cause to find all effects it influenced. */ influence(causeId: string, opts?: { maxDepth?: number; }): Promise; /** Simple stats for dashboards. */ stats(): { totalLinks: number; effects: number; causes: number; }; /** Remove a single link. */ unlink(linkId: string): Promise; private index; private rebuildIndexes; private nodeFromMemoryId; private renderDot; private persist; } export declare function getCausalChains(): CausalChains; export declare function resetCausalChainsForTests(): void; //# sourceMappingURL=causal-chains.d.ts.map