import { Action, ActionMetadata } from "@node-boot/context"; import { NodeBootDriver } from "../core"; export declare class ErrorHandler { private readonly driver; constructor(driver: NodeBootDriver); handleError(error: any, action: ActionMetadata | undefined, options: Action): any; handleJsonError(error: any): any; handleTextError(error: any): any; }