import { Server } from '@modelcontextprotocol/sdk/server/index.js';
import { SmartRouter } from './fetch/router.js';
import { MultiBrowserPool } from './fetch/browser-pool.js';
import { BackendStatus } from './server/backend-status.js';
import { PluginRegistry } from './plugins/registry.js';
import type { SearchEngine } from './types.js';
export interface Subsystems {
    searchEngines: SearchEngine[];
    browserPool: MultiBrowserPool;
    router: SmartRouter;
    backendStatus: BackendStatus;
    pluginRegistry: PluginRegistry;
    shutdown: () => Promise<void>;
    bootstrapSearxng: () => Promise<void>;
}
export declare function initSubsystems(): Promise<Subsystems>;
export declare function createMcpServer(subsystems: Subsystems): Server;
export declare function startServer(): Promise<void>;
//# sourceMappingURL=server.d.ts.map