import { HttpMiddleware as BaseHttpMiddleware, HttpRequest, HttpResponse } from '@deepkit/http';
import { ScopedLogger } from '@deepkit/logger';
export declare abstract class HttpMiddleware implements BaseHttpMiddleware {
    execute(request: HttpRequest, response: HttpResponse, next: (err?: any) => void): Promise<void>;
    abstract handle(request: HttpRequest, response: HttpResponse): Promise<void> | void;
}
export declare class HttpLogPayloadMiddleware extends HttpMiddleware {
    private logger;
    constructor(logger: ScopedLogger);
    handle(request: HttpRequest, _response: HttpResponse): Promise<void>;
}
//# sourceMappingURL=middleware.d.ts.map