import type { ServerOptions, FetchHandler } from '@burgerTypes';
export declare class Server {
    private options;
    private server;
    /**
     * Initializes a new instance of the Server class with the given options.
     * @param options - Configuration options for the server.
     */
    constructor(options: ServerOptions);
    start(routes: {
        [key: string]: any;
    } | undefined, handler: FetchHandler, port: number, cb?: () => void): void;
    /**
     * Stops the server.
     * If the server is currently running, this method will stop the server and
     * log a message to the console indicating that the server has been stopped.
     * If the server is not running, this method does nothing.
     */
    stop(): void;
}
