import { APIGatewayEvent, Context, ProxyResult, SNSEvent } from 'aws-lambda'; import { IncomingMessage, RequestListener, Server, ServerResponse } from 'http'; import { EpsilonGlobalHandler } from './epsilon-global-handler.js'; import { LocalServerOptions } from './config/local-server/local-server-options.js'; import { BackgroundEntry } from './background/background-entry.js'; export declare class LocalServer { private globalHandler; private server; private options; constructor(globalHandler: EpsilonGlobalHandler, inOpts?: LocalServerOptions); runServer(): Promise; static createNodeServer(opts: LocalServerOptions, requestHandler: RequestListener): Server; requestHandler(request: IncomingMessage, response: ServerResponse): Promise; static parseEpsilonBackgroundTriggerAsTask(evt: APIGatewayEvent): BackgroundEntry; static bodyAsBase64String(request: IncomingMessage): Promise; static messageToApiGatewayEvent(request: IncomingMessage, context: Context, options: LocalServerOptions): Promise; static createBackgroundSNSEvent(entry: BackgroundEntry): SNSEvent; static isProxyResult(val: any): boolean; static summarizeResponse(proxyResult: ProxyResult, sourceEvent: APIGatewayEvent): Record; static writeProxyResultToServerResponse(proxyResult: ProxyResult, response: ServerResponse, sourceEvent: APIGatewayEvent, options: LocalServerOptions): Promise; static parseQueryParamsFromUrlString(urlString: string): Record; static runSampleBatchOnlyServerFromCliArgs(_args: string[]): Promise; static runSampleLocalServerFromCliArgs(_args: string[]): Promise; static buildBackgroundTriggerFormHtml(names?: string[]): string; }