import type { AgentService } from '../../agent/service.js'; import type { AutomationEvent } from '../../automations/index.js'; import type { Config } from '../../config/schema.js'; import { DiscussionLiveWorker, DiscussionOrganizerWorker, DiscussionSealer, DiscussionService } from '../../discussions/index.js'; import type { NotesService } from '../../notes/index.js'; import type { ProjectService } from '../../projects/index.js'; import type { RealtimeRuntime } from '../../realtime/runtime.js'; import type { SessionIndex } from '../../session/index.js'; import { EphemeralSideChatManager, SideChatPromotionService, SideChatRunService } from '../side-chat/index.js'; import type { GatewayAgentRunner } from './agent-runner.js'; export interface DiscussionSuiteDeps { notes: NotesService; projects: ProjectService; getConfig: () => Config; emit: (type: string, payload: unknown) => void; ingestAutomationEvent: (event: AutomationEvent) => unknown; } export declare function createGatewayDiscussionSuite(deps: DiscussionSuiteDeps): { discussions: DiscussionService; discussionWorker: DiscussionOrganizerWorker; discussionLiveWorker: DiscussionLiveWorker; discussionSealer: DiscussionSealer; }; export interface SideChatSuiteDeps { sessionIndex: SessionIndex; agentRunner: GatewayAgentRunner; realtime: RealtimeRuntime; getAgentService: () => AgentService; getWorkspacePath: () => string; } export declare function createGatewaySideChatSuite(deps: SideChatSuiteDeps): { sideChats: EphemeralSideChatManager; sideChatRuns: SideChatRunService; sideChatPromotions: SideChatPromotionService; };