import type { APIGatewayProxyEvent, APIGatewayProxyEventV2, APIGatewayProxyResult, APIGatewayProxyStructuredResultV2, Context } from "aws-lambda";
import { RestateHandler } from "./types.js";
export declare class LambdaHandler {
    private readonly handler;
    private readonly compressionSupported;
    constructor(handler: RestateHandler, compressionSupported: boolean);
    handleRequest(event: APIGatewayProxyEvent | APIGatewayProxyEventV2, context: Context): Promise<APIGatewayProxyResult | APIGatewayProxyStructuredResultV2>;
}
export declare function isCompressionSupported(): boolean;
//# sourceMappingURL=lambda.d.ts.map