///
import * as http from 'http';
import * as https from 'https';
import { IServiceConfig, ICommandLineArgs, BasicLogger } from '../shared';
import { TeardownHandler } from '../shared/teardown';
export declare function serviceSetup = {}>(server: http.Server | https.Server, config: IServiceConfig, params: ICommandLineArgs, logger: BasicLogger): Promise;