import type { BotConfig } from '../../bot-registry.js'; import type { GlobalConfig } from '../../global-config.js'; export interface SessionPluginManifest { schemaVersion: 1; sessionId: string; botId?: string; source: 'bot' | 'machine-default'; pluginIds: string[]; generatedAt: string; } export declare function sessionPluginManifestPath(sessionId: string, dataDir?: string): string; export declare function readSessionPluginManifest(sessionId: string, dataDir?: string): SessionPluginManifest | null; export declare function writeSessionPluginManifest(manifest: SessionPluginManifest, dataDir?: string): void; export interface SessionPluginManifestOptions { sessionId: string; bot: Pick; global?: Pick; dataDir?: string; now?: () => string; } /** Recompute the plugin set for a newly spawned CLI process generation. */ export declare function refreshSessionPluginManifest(opts: SessionPluginManifestOptions): SessionPluginManifest; /** Keep the current CLI generation stable when a worker only reattaches to it. */ export declare function ensureSessionPluginManifest(opts: SessionPluginManifestOptions): SessionPluginManifest; //# sourceMappingURL=session-manifest.d.ts.map