import { type FastifyInstance } from 'fastify'; import { KLogOptions } from '../../types.js'; import type Kronos from './Kronos.js'; declare class HttpServer { #private; private fastify; private port; private host; private isStarted; private kronos; constructor(kronos: Kronos, logConfig: boolean | KLogOptions | undefined, port?: number, host?: string); /** * Start the HTTP server */ start(): Promise; /** * Stop the HTTP server */ stop(): Promise; /** * Get the underlying Fastify instance for advanced configuration */ getFastifyInstance(): FastifyInstance; /** * Check if server is running */ isRunning(): boolean; /** * Update server configuration */ setPort(port: number): void; setHost(host: string): void; } export default HttpServer;