///
///
import * as http from 'http';
import * as https from 'https';
import Application from 'koa';
export declare function setupServer(app: Application, server: http.Server | https.Server, host: string, port: number, keepAliveTimeout?: number): Promise<() => Promise>;