import type { ServerConfig } from "./config";
declare const exitEvents: string[];
export declare class Server {
    #private;
    constructor(config?: ServerConfig);
    start(): Promise<{
        port: string;
        ip: string;
    }>;
    stop(): boolean | undefined;
}
export type { ServerConfig };
export { exitEvents };
