import { ConsumerMethodPath, ServerError, ServerErrorsItem } from './types.js';
import './logging.js';
import 'winston';
import './requestLogger.js';
import 'node:buffer';
import 'node:http';
import './spanCollector.js';
import '@opentelemetry/sdk-trace-base';
import './tempGzipFile.js';

declare class ServerErrorCounter {
    private errorCounts;
    private errorDetails;
    private sentryEventIds;
    constructor();
    addServerError(serverError: ConsumerMethodPath & ServerError): void;
    getAndResetServerErrors(): ServerErrorsItem[];
    private getKey;
}
declare function truncateExceptionMessage(msg: string): string;
declare function truncateExceptionStackTrace(stack: string): string;

export { ServerErrorCounter as default, truncateExceptionMessage, truncateExceptionStackTrace };
