import { DoomMcpProjectionSource } from "./mcpProjection.mjs"; import { Static, Type } from "typebox"; //#region src/schemas/mcpSession.d.ts /** Environment variable carrying the neutral MCP session wire document. */ export declare const DOOM_MCP_SESSION_ENV_VAR = "DOOM_MCP_SESSION"; export declare const DoomMcpSessionAllowlistSchema: Type.TObject<{ servers: Type.TOptional>; proxy: Type.TOptional>; }>; export type DoomMcpSessionAllowlist = Static; export interface DoomMcpSessionConfig { enabled?: boolean; repoRoot: string; stagingDirectory: string; generatedConfigPath?: string; pluginConfigPaths?: string[]; sources?: readonly DoomMcpProjectionSource[]; allowlist?: DoomMcpSessionAllowlist; } export declare const DoomMcpSessionConfigSchema: Type.TObject<{ enabled: Type.TOptional; repoRoot: Type.TString; stagingDirectory: Type.TString; generatedConfigPath: Type.TOptional; pluginConfigPaths: Type.TOptional>; sources: Type.TOptional, Type.TLiteral<"plugin">]>; format: Type.TLiteral<"native">; configPath: Type.TString; contentDigest: Type.TString; }>, Type.TObject<{ sourceId: Type.TString; owner: Type.TLiteral<"plugin">; format: Type.TLiteral<"agent-plugin-v1">; configPath: Type.TString; contentDigest: Type.TString; pluginId: Type.TString; pluginRoot: Type.TString; pluginDataDirectory: Type.TString; mcpSchemaUrl: Type.TLiteral<"https://agent-plugins.org/schemas/1.0.0/mcp.schema.json">; }>]>>>; allowlist: Type.TOptional>; proxy: Type.TOptional>; }>>; }>; /** Serializes one validated session document for a child process boundary. */ export declare function serializeDoomMcpSessionConfig(config: DoomMcpSessionConfig): string; /** Parses a session wire document. Invalid input resolves to the fail-closed absence state. */ export declare function parseDoomMcpSessionConfig(value: string): DoomMcpSessionConfig | undefined; /** Reads a session document without adding feature-specific fallback policy. */ export declare function readDoomMcpSessionConfig(environment: Readonly>): DoomMcpSessionConfig | undefined; /** Builds the environment fragment inherited by an MCP-enabled child process. */ export declare function doomMcpSessionEnvironment(config: DoomMcpSessionConfig): Record; //#endregion //# sourceMappingURL=mcpSession.d.mts.map