import type { ErrorService } from '../services/error.service.js';
import type { SolutionService } from '../services/solution.service.js';
import type { TerminalService } from '../services/terminal.service.js';
import type { PreventionService } from '../services/prevention.service.js';
import type { CodeService } from '../services/code.service.js';
import type { SynapseService } from '../services/synapse.service.js';
import type { ResearchService } from '../services/research.service.js';
import type { NotificationService } from '../services/notification.service.js';
import type { AnalyticsService } from '../services/analytics.service.js';
import type { GitService } from '../services/git.service.js';
import type { MemoryService } from '../services/memory.service.js';
import type { DecisionService } from '../services/decision.service.js';
import type { ChangelogService } from '../services/changelog.service.js';
import type { TaskService } from '../services/task.service.js';
import type { DocService } from '../services/doc.service.js';
import type { LearningEngine } from '../learning/learning-engine.js';
import type { AutoResolutionService } from '../services/auto-resolution.service.js';
import type { CrossBrainClient, CrossBrainSubscriptionManager, EcosystemService } from '@timmeck/brain-core';
import type { IpcServer } from '@timmeck/brain-core';
import type { WebhookService } from '@timmeck/brain-core';
import type { ExportService } from '@timmeck/brain-core';
import type { BackupService } from '@timmeck/brain-core';
import type { MetaLearningEngine } from '@timmeck/brain-core';
import type { CausalGraph } from '@timmeck/brain-core';
import type { HypothesisEngine } from '@timmeck/brain-core';
import type { AutonomousResearchScheduler } from '@timmeck/brain-core';
import type { SelfObserver } from '@timmeck/brain-core';
import type { AdaptiveStrategyEngine } from '@timmeck/brain-core';
import type { ExperimentEngine } from '@timmeck/brain-core';
import type { CrossDomainEngine } from '@timmeck/brain-core';
import type { CounterfactualEngine } from '@timmeck/brain-core';
import type { KnowledgeDistiller } from '@timmeck/brain-core';
import type { ResearchAgendaEngine } from '@timmeck/brain-core';
import type { AnomalyDetective } from '@timmeck/brain-core';
import type { ResearchJournal } from '@timmeck/brain-core';
import type { DreamEngine } from '@timmeck/brain-core';
import type { ThoughtStream, ConsciousnessServer } from '@timmeck/brain-core';
import type { PredictionEngine } from '@timmeck/brain-core';
import type { ResearchOrchestrator } from '@timmeck/brain-core';
import type { SignalScanner } from '@timmeck/brain-core';
import type { CodeGenerator } from '@timmeck/brain-core';
import type { CodeMiner } from '@timmeck/brain-core';
import type { PatternExtractor } from '@timmeck/brain-core';
import type { ProjectScanner } from '../services/project-scanner.js';
import type { ReposignalImporter } from '../services/reposignal-importer.js';
export interface Services {
    error: ErrorService;
    solution: SolutionService;
    terminal: TerminalService;
    prevention: PreventionService;
    code: CodeService;
    synapse: SynapseService;
    research: ResearchService;
    notification: NotificationService;
    analytics: AnalyticsService;
    git: GitService;
    memory: MemoryService;
    decision: DecisionService;
    changelog: ChangelogService;
    task: TaskService;
    doc: DocService;
    learning?: LearningEngine;
    autoResolution?: AutoResolutionService;
    crossBrain?: CrossBrainClient;
    ecosystem?: EcosystemService;
    webhook?: WebhookService;
    export?: ExportService;
    backup?: BackupService;
    metaLearning?: MetaLearningEngine;
    causal?: CausalGraph;
    hypothesis?: HypothesisEngine;
    researchScheduler?: AutonomousResearchScheduler;
    selfObserver?: SelfObserver;
    adaptiveStrategy?: AdaptiveStrategyEngine;
    experimentEngine?: ExperimentEngine;
    crossDomain?: CrossDomainEngine;
    counterfactual?: CounterfactualEngine;
    knowledgeDistiller?: KnowledgeDistiller;
    researchAgenda?: ResearchAgendaEngine;
    anomalyDetective?: AnomalyDetective;
    journal?: ResearchJournal;
    dreamEngine?: DreamEngine;
    thoughtStream?: ThoughtStream;
    consciousnessServer?: ConsciousnessServer;
    predictionEngine?: PredictionEngine;
    orchestrator?: ResearchOrchestrator;
    signalScanner?: SignalScanner;
    codeGenerator?: CodeGenerator;
    codeMiner?: CodeMiner;
    patternExtractor?: PatternExtractor;
    codegenServer?: import('@timmeck/brain-core').CodegenServer;
    attentionEngine?: import('@timmeck/brain-core').AttentionEngine;
    transferEngine?: import('@timmeck/brain-core').TransferEngine;
    unifiedServer?: import('@timmeck/brain-core').UnifiedDashboardServer;
    narrativeEngine?: import('@timmeck/brain-core').NarrativeEngine;
    curiosityEngine?: import('@timmeck/brain-core').CuriosityEngine;
    emergenceEngine?: import('@timmeck/brain-core').EmergenceEngine;
    debateEngine?: import('@timmeck/brain-core').DebateEngine;
    parameterRegistry?: import('@timmeck/brain-core').ParameterRegistry;
    metaCognitionLayer?: import('@timmeck/brain-core').MetaCognitionLayer;
    autoExperimentEngine?: import('@timmeck/brain-core').AutoExperimentEngine;
    selfTestEngine?: import('@timmeck/brain-core').SelfTestEngine;
    teachEngine?: import('@timmeck/brain-core').TeachEngine;
    dataScout?: import('@timmeck/brain-core').DataScout;
    simulationEngine?: import('@timmeck/brain-core').SimulationEngine;
    memoryPalace?: import('@timmeck/brain-core').MemoryPalace;
    goalEngine?: import('@timmeck/brain-core').GoalEngine;
    evolutionEngine?: import('@timmeck/brain-core').EvolutionEngine;
    reasoningEngine?: import('@timmeck/brain-core').ReasoningEngine;
    emotionalModel?: import('@timmeck/brain-core').EmotionalModel;
    projectScanner?: ProjectScanner;
    reposignalImporter?: ReposignalImporter;
}
export declare class IpcRouter {
    private services;
    private methods;
    private subscriptionManager;
    private ipcServer;
    constructor(services: Services);
    /**
     * Wire the subscription manager and IPC server for cross-brain event routing.
     */
    setSubscriptionManager(manager: CrossBrainSubscriptionManager, server: IpcServer): void;
    handle(method: string, params: unknown): unknown;
    listMethods(): string[];
    private buildMethodMap;
}
