import { McpConfigType } from "./config/ServerConfiguration.js"; declare class MCPWordPressServer { private mcpConfig?; private server; private wordpressClients; private initialized; private siteConfigs; private toolRegistry; private logger; constructor(mcpConfig?: McpConfigType); private loadConfiguration; private setupTools; private testClientConnections; run(): Promise; /** * Races server.connect() against a timeout, expressed as a rejected * promise rather than a setTimeout() callback that throws directly — * that would be an uncaught exception outside this method's call stack, * bypassing normal error handling/cleanup (main()'s catch, process exit * code, and any future shutdown hooks). */ private connectWithTimeout; shutdown(): Promise; } declare function main(): Promise; /** * Finite health check for `docker healthcheck` / `docker-compose`: verifies * configuration loads and at least one WordPress site is configured, then * exits immediately. Deliberately does not connect a stdio transport or * test live WordPress connectivity — either would make the check hang or * turn transient network issues into container restarts. */ declare function runHealthCheck(): Promise; export default MCPWordPressServer; export { MCPWordPressServer, runHealthCheck, main }; //# sourceMappingURL=index.d.ts.map