import { HttpRouter, httpWorkflow } from '@deepkit/http';
import { LoggerInterface } from '@deepkit/logger';
export declare class HttpWorkflowListenerOptions {
    logRequestBodyOnError: boolean;
}
export declare class HttpWorkflowListener {
    protected router: HttpRouter;
    protected logger: LoggerInterface;
    protected options: HttpWorkflowListenerOptions;
    constructor(router: HttpRouter, logger: LoggerInterface, options: HttpWorkflowListenerOptions);
    onRouteOverride(event: typeof httpWorkflow.onRoute.event): Promise<void>;
    onParametersFailed(event: typeof httpWorkflow.onParametersFailed.event): void;
    onControllerError(event: typeof httpWorkflow.onControllerError.event): void;
    private handleHttpErrorFromEvent;
    private decorateErrorWithRequest;
    private getRequestBodyForErrorLogging;
}
//# sourceMappingURL=workflow.d.ts.map