import { PromiseHandler } from "@lambda-middleware/utils";
import { APIGatewayProxyEvent, APIGatewayProxyResult } from "aws-lambda";
export declare const errorHandler: () => (handler: PromiseHandler<APIGatewayProxyEvent, APIGatewayProxyResult>) => PromiseHandler<APIGatewayProxyEvent, APIGatewayProxyResult>;
