/// <reference types="node" />
import { RouterConfig } from './http/route/router-config';
import { IncomingMessage, ServerResponse } from 'http';
/**
 * A simplistic server for testing your lambdas locally
 */
export declare class LocalServer {
    private routerConfig;
    private port;
    private server;
    private webHandler;
    private aborted;
    constructor(routerConfig: RouterConfig, port?: number);
    runServer(): Promise<boolean>;
    checkFinished(): Promise<boolean>;
    requestHandler(request: IncomingMessage, response: ServerResponse): Promise<any>;
    private bodyAsBase64String;
    private messageToApiGatewayEvent;
    private writeProxyResultToServerResponse;
}
export declare function createSampleRouterConfig(): RouterConfig;
export declare function loadSampleOpenApiYaml(): string;
