/** * Fastify server for the Manager UI and HTTP API * Provides web interface and REST endpoints for knowledge base management */ import { FastifyInstance } from 'fastify'; import type { KnowledgeBaseService } from '../../domains/knowledgebase/knowledgebase.service.js'; import type { SearchService } from '../../domains/search/search.service.js'; import type { IngestionService } from '../../domains/ingestion/ingestion.service.js'; import type { Config } from '../../shared/types/index.js'; /** * Error thrown when Fastify server operations fail */ export declare class FastifyServerError extends Error { cause?: unknown | undefined; constructor(message: string, cause?: unknown | undefined); } /** * Fastify server wrapper */ export declare class FastifyServer { private fastify; private config; private knowledgeBaseService; private searchService; private ingestionService; private isRunning; constructor(knowledgeBaseService: KnowledgeBaseService, searchService: SearchService, ingestionService: IngestionService, config: Config); /** * Set up server middleware and routes */ private setupServer; /** * Start the Fastify server */ start(): Promise; /** * Stop the Fastify server */ stop(): Promise; /** * Get the server URL */ getUrl(): string; /** * Check if server is running */ isServerRunning(): boolean; /** * Get the Fastify instance (for testing) */ getInstance(): FastifyInstance; } //# sourceMappingURL=fastify-server.d.ts.map