import type { Agent, OneShotAgentOutput } from '@vibe-agent-toolkit/agent-schema'; import type { AgentRegistration, ArchetypeAdapter, GatewayConfig, Logger, MCPToolDefinition, ObservabilityProvider } from '../types.js'; /** * Internal registration with resolved adapter */ interface ResolvedToolRegistration { name: string; agent: Agent>; adapter: ArchetypeAdapter; definition: MCPToolDefinition; } /** * MCP Gateway - exposes VAT agents through Model Context Protocol * * Phase 1: Stdio transport, stateless agents only */ export declare class MCPGateway { protected readonly tools: Map; protected readonly observability: ObservabilityProvider; protected readonly logger: Logger; protected readonly transport: 'stdio' | 'http'; constructor(config: GatewayConfig); /** * Register an agent with the gateway */ protected registerAgent(registration: AgentRegistration): void; /** * Get adapter for archetype (Phase 1: stateless only) */ protected getAdapter(archetype: string): ArchetypeAdapter; /** * Get all registered tool definitions (for MCP tools/list) */ getToolDefinitions(): MCPToolDefinition[]; /** * Get tool registration by name */ protected getToolRegistration(name: string): ResolvedToolRegistration; /** * Start the gateway (to be implemented by transport-specific subclasses) */ start(): Promise; } export {}; //# sourceMappingURL=mcp-gateway.d.ts.map