import { ExceptionFilter, ArgumentsHost } from '@nestjs/common';
export interface ApiErrorResponse {
    success: false;
    error: {
        code: string;
        message: string;
        details?: any;
        field?: string;
        errors?: FieldError[];
        stack?: string;
    };
    timestamp: string;
    path: string;
    method: string;
    statusCode: number;
}
export interface FieldError {
    field: string;
    message: string;
    value?: any;
    constraint?: string;
}
export declare class AllExceptionsFilter implements ExceptionFilter {
    private readonly logger;
    catch(exception: unknown, host: ArgumentsHost): void;
    private getErrorCode;
    private formatValidationErrors;
    private getPerformanceErrorOverride;
}
