import { FastifyInstance } from 'fastify'; import { OMSSConfig } from './types/index.js'; import { ProviderRegistry } from '../providers/provider-registry.js'; export declare class OMSSServer { private app; private config; private registry; private cache; private sourceService; private proxyService; private healthService; private tmdbService; private stremioService; private contentController; private proxyController; private healthController; private stremioController?; private mcpController?; constructor(config: OMSSConfig, registry?: ProviderRegistry); /** * Setup middleware */ private setupMiddleware; /** * Setup routes */ private setupRoutes; /** * Setup error handlers */ private setupErrorHandlers; /** * Start the server */ start(): Promise; /** * Stop the server gracefully */ stop(): Promise; /** * Get the Fastify instance (for testing or custom configuration) */ getInstance(): FastifyInstance; /** * Get the provider registry */ getRegistry(): ProviderRegistry; } //# sourceMappingURL=server.d.ts.map