import type { ServerConfig } from '@zhixuan92/multi-model-agent-core'; import type { ExecutionRegistry } from '@zhixuan92/multi-model-agent-core'; import type { SkillManifestSync } from './handlers/introspection/health.js'; import type { ProjectRegistry } from '../application/project-registry.js'; import type { InitiativeRecordRuntime } from '../application/initiative-record-runtime.js'; /** Server package version — read once at module load time (single source: server-version.ts). */ export declare const SERVER_VERSION: string; export interface RunningServer { port: number; /** The resolved address the server is bound to. Used by CLI to log the actual listen address. */ serverAddress: string | null; stop(): Promise; /** Shared ExecutionRegistry — exposed for testing and introspection handlers. */ executionRegistry: ExecutionRegistry; /** Shared ProjectRegistry — exposed for testing and introspection handlers. */ projectRegistry: ProjectRegistry; /** Shared InitiativeRecordRuntime over `/initiatives.db` — the one * application service Group 001B's HTTP, MCP, and CLI adapters depend on. */ initiativeRuntime: InitiativeRecordRuntime; /** Wall-clock ms when the server finished starting (Date.now()). Used for uptimeMs in /status. */ serverStartedAt: number; } export declare function startServer(config: ServerConfig, injectedManifestSync?: SkillManifestSync, configPath?: string): Promise; //# sourceMappingURL=server.d.ts.map