import { BaseService } from "@/types/services";
import { IErrorHandler, IErrorProcessingStrategy, IErrorHandlerDeps, IErrorHandlerOptions, IErrorOperationOptions } from "../interfaces/IErrorHandler";
export declare class ErrorHandler extends BaseService implements IErrorHandler {
    private readonly deps;
    private readonly processingStrategies;
    private readonly debug;
    private readonly logToConsole;
    private readonly logToFile;
    private readonly logFilePath?;
    private readonly rethrow;
    constructor(deps: IErrorHandlerDeps, options?: IErrorHandlerOptions);
    initialize(): Promise<void>;
    cleanup(): void;
    private logDebug;
    registerStrategy(strategy: IErrorProcessingStrategy): void;
    handle(error: Error, options?: IErrorOperationOptions): void;
    handleBatch(errors: Error[]): void;
    createErrorBoundary(fn: () => Promise<void>): Promise<void>;
    private createConsoleStrategy;
    private createFileStrategy;
}
