import * as express from 'express'; import { IProxySettings, IGatewayServerSettings, IGatewayClientSettings, IProxyCallback, IProxyErrorCallback } from './interfaces'; export default class RestProxy { private app; private settings; private routers; private logger; private isExtApp; constructor(settings?: IProxySettings, app?: express.Application); serveProxy(callback?: IProxyCallback): void; serveGateway: (settings: IGatewayServerSettings) => void; serveClient: (settings: IGatewayClientSettings) => void; serve(callback?: IProxyCallback, errorCallback?: IProxyErrorCallback): void; } export { IProxySettings, IProxyContext, IGatewayClientSettings, IGatewayServerSettings } from './interfaces';