import { BacktraceClient } from '@backtrace/node';
import { ArgumentsHost, HttpServer } from '@nestjs/common';
import { BaseExceptionFilter } from '@nestjs/core';
import { BacktraceExceptionHandler, BacktraceExceptionHandlerOptions } from './backtrace.handler.js';
export type BacktraceExceptionFilterOptions = BacktraceExceptionHandlerOptions<ArgumentsHost>;
export declare class BacktraceExceptionFilter extends BaseExceptionFilter {
    private readonly _handler;
    /**
     * Creates a filter with the global client instance.
     *
     * The instance will be resolved while catching the exception.
     * If the instance is not available, an error will be thrown.
     */
    constructor(options?: BacktraceExceptionFilterOptions, applicationRef?: HttpServer);
    /**
     * Creates a filter with the provided client instance.
     */
    constructor(options: BacktraceExceptionFilterOptions | undefined, client: BacktraceClient, applicationRef?: HttpServer);
    constructor(handler: BacktraceExceptionHandler, applicationRef?: HttpServer);
    catch(exception: unknown, host: ArgumentsHost): void;
}
