import type { TtsService } from './voice/service.js'; import { StickerLibrary } from './chat/stickers.js'; import type { IncomingMessage, ServerResponse } from 'node:http'; import type { Context } from '@deepseek-ai/cordis'; import type { AgentPresetRegistry as AgentPresets } from '@deepseek-ai/dsh-agent-preset-registry'; import { PartnerStore } from './store.js'; import { PartnerCredentialVault } from './credentials.js'; import { ChannelManager } from './channels/manager.js'; import { WeixinLoginManager } from './channels/weixin/login.js'; import { PartnerAgentRuntime } from './agent-runtime.js'; import { PartnerMemoryStore } from './memory-store.js'; import { HeartbeatScheduler } from './heartbeat.js'; import { DailyReviewScheduler } from './daily-review.js'; import { PartnerConcernStore } from './concern-store.js'; import type { SkillService } from './skills/service.js'; import type { TaskBoardService } from './tasks/service.js'; import type { RequirementService } from './requirements/service.js'; import type { PartnerCollaborationService } from './collaboration/service.js'; import type { PartnerSchedulerService } from './scheduler/service.js'; import type { CompanionService } from './companions/service.js'; import type { AttachmentDeliveryService } from './attachments/service.js'; import type { PartnerInboxStore } from './notifications/store.js'; import type { StorageCoordinator } from './storage/coordinator.js'; import type { McpService } from './mcp/service.js'; import type { PushService } from './notifications/push-service.js'; export interface WebServerLike { register(route: { kind: 'prefix'; path: string; handler(req: IncomingMessage, res: ServerResponse): void | Promise; }): () => void; } interface ApiRuntime { continuous?: import('./continuous/service.js').ContinuousService; browser?: import('./browser/service.js').BrowserService; tts?: TtsService; groupTraining?: import('./channels/qq/attention-group-training.js').GroupAttentionTraining; attention?: import('./channels/qq/managed-attention.js').ManagedAttention; bilibili?: import('./channels/bilibili/service.js').BilibiliService; sleep?: import('./character/sleep-service.js').SleepService; stickers?: StickerLibrary; push?: PushService; concernExecution?: import('./concern-execution.js').ConcernExecutionDispatcher; mcp?: McpService; ctx: Context & { agentPresets: AgentPresets; }; store: PartnerStore; credentials: PartnerCredentialVault; channels: ChannelManager; agents: PartnerAgentRuntime; login: WeixinLoginManager; memory: PartnerMemoryStore; concerns: PartnerConcernStore; heartbeat: HeartbeatScheduler; dailyReview: DailyReviewScheduler; skills: SkillService; tasks: TaskBoardService; requirements?: RequirementService; collaboration: PartnerCollaborationService; scheduler: PartnerSchedulerService; companions: CompanionService; inbox: PartnerInboxStore; deliveries?: AttachmentDeliveryService; storage?: StorageCoordinator; } export declare function registerPartnerApi(webServer: WebServerLike, prefix: string, runtime: ApiRuntime): () => void; export {}; //# sourceMappingURL=api.d.ts.map