import type { TargetExtractor } from '../../input/identifier/TargetExtractor';
import type { ResponseDescription } from '../response/ResponseDescription';
import type { ErrorHandlerArgs } from './ErrorHandler';
import { ErrorHandler } from './ErrorHandler';
/**
 * Adds metadata to an error to indicate the identifier of the originally targeted resource.
 */
export declare class TargetExtractorErrorHandler extends ErrorHandler {
    protected readonly logger: import("global-logger-factory").Logger<unknown>;
    protected readonly errorHandler: ErrorHandler;
    protected readonly targetExtractor: TargetExtractor;
    constructor(errorHandler: ErrorHandler, targetExtractor: TargetExtractor);
    canHandle(input: ErrorHandlerArgs): Promise<void>;
    handle(input: ErrorHandlerArgs): Promise<ResponseDescription>;
}
