///
import { Application } from 'express';
import * as http from 'http';
export declare function startServer(app: Application, options: ServerOptions): Promise;
export declare function preHook(fn: Function): Promise;
export declare function postHook(fn: Function, httpServer: http.Server): Promise;
export interface ServerOptions {
port: number;
title?: string;
https?: {
port: number;
privateKey: string;
certificate: string;
};
headersTimeout?: number;
keepAliveTimeout?: number;
pre?: Function;
post?: (server: http.Server) => void | Promise;
}