import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import type { Archiver } from "../engine/archiver.js"; import type { TwiningConfig } from "../utils/types.js"; import type { IAgentStore, IBlackboardStore, IDecisionStore, IGraphStore } from "../storage/interfaces.js"; /** Build/backend identity threaded from createServer so a session can learn * which server build and storage backend serve it from the response itself * (2026-08-15 field audit: two builds served concurrent sessions on one * machine and nothing in any response could tell them apart). */ export interface ServerIdentity { serverVersion?: string; backend?: "files" | "sqlite"; backendReason?: string; legacyUnread?: boolean; recordsUnread?: boolean; } export declare function registerLifecycleTools(server: McpServer, twiningDir: string, blackboardStore: IBlackboardStore, decisionStore: IDecisionStore, graphStore: IGraphStore, archiver: Archiver, config: TwiningConfig, agentStore?: IAgentStore | null, identity?: ServerIdentity): void; //# sourceMappingURL=lifecycle-tools.d.ts.map