import type { HttpServerFactory } from '../server/HttpServerFactory';
import type { Finalizable } from './final/Finalizable';
import { Initializer } from './Initializer';
/**
 * Creates and starts an HTTP server.
 */
export declare class ServerInitializer extends Initializer implements Finalizable {
    protected readonly logger: import("global-logger-factory").Logger<unknown>;
    private readonly serverFactory;
    private readonly port?;
    private readonly socketPath?;
    private server?;
    constructor(serverFactory: HttpServerFactory, port?: number, socketPath?: string);
    handle(): Promise<void>;
    finalize(): Promise<void>;
}
