import { ArgumentsHost, ExceptionFilter } from "@nestjs/common";
/**
 * Global exception filter that formats errors in a user-friendly way.
 * Handles agent errors, internal errors, Zod validation errors, and HTTP exceptions.
 */
export declare class PrettyErrorFilter implements ExceptionFilter {
    private readonly logger;
    private readonly showStackTraces;
    constructor(showStackTraces?: boolean);
    catch(exception: unknown, host: ArgumentsHost): void;
    private formatError;
    /**
     * Categorizes errors into user-friendly categories with helpful messages
     */
    private categorizeError;
    /**
     * Extract helpful details from agent loading errors
     */
    private extractAgentLoadingDetails;
    /**
     * Extract module name from "Cannot find module" errors
     */
    private extractModuleName;
    /**
     * Determine HTTP status code from error characteristics
     */
    private determineStatusFromError;
    /**
     * Clean up and prettify error messages
     */
    private prettifyMessage;
}
//# sourceMappingURL=pretty-error.filter.d.ts.map