import type { NodeType } from '../types/synapse.types.js';
import type { NetworkStats } from '../types/synapse.types.js';
import type { SynapseManager } from '../synapses/synapse-manager.js';
import type { ActivationResult, SynapsePath, SynapseRecord } from '@timmeck/brain-core';
export interface ErrorContext {
    solutions: ActivationResult[];
    relatedErrors: ActivationResult[];
    relevantModules: ActivationResult[];
    preventionRules: ActivationResult[];
    insights: ActivationResult[];
}
export interface RelatedQuery {
    nodeType: NodeType;
    nodeId: number;
    maxDepth?: number;
    minWeight?: number;
}
export declare class SynapseService {
    private manager;
    constructor(manager: SynapseManager);
    getErrorContext(errorId: number): ErrorContext;
    findPath(fromType: NodeType, fromId: number, toType: NodeType, toId: number): SynapsePath | null;
    getRelated(query: RelatedQuery): ActivationResult[];
    getNetworkStats(): NetworkStats;
    getStrongestSynapses(limit?: number): SynapseRecord[];
    runDecay(): {
        decayed: number;
        pruned: number;
    };
}
