#!/usr/bin/env node
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
/**
 * Server state management interface
 */
export interface ServerState {
    status: 'initializing' | 'running' | 'error' | 'degraded' | 'shutting_down' | 'shutdown';
    startTime: Date;
    lastHealthCheck: Date;
    activeOperations: Map<string, {
        operation: string;
        startTime: Date;
    }>;
    errors: Array<{
        timestamp: Date;
        message: string;
        code?: string;
    }>;
    registeredTools: Set<string>;
    registeredResources: Set<string>;
    failedRegistrations: Array<{
        type: 'tool' | 'resource';
        name: string;
        error: any;
        attempts: number;
    }>;
    requiredTools: Set<string>;
    requiredResources: Set<string>;
}
/**
 * Create and initialize an MCP server instance with all tools and resources
 *
 * This function configures the MCP server with security settings, tools, and resources.
 * It connects the server to a transport (currently stdio) and returns the initialized
 * server instance.
 *
 * @returns A promise that resolves to the initialized McpServer instance
 * @throws {McpError} If the server fails to initialize
 */
export declare const createMcpServer: () => Promise<McpServer>;
