@elephant-xyz/cli
Version:
CLI tool for Elephant Network
21 lines • 743 B
TypeScript
import { ErrorEntry, WarningEntry, ReportSummary } from '../types/submit.types.js';
export declare class CsvReporterService {
private errorCsvPath;
private warningCsvPath;
private errorStream;
private warningStream;
private errorCount;
private warningCount;
private startTime;
constructor(errorCsvPath: string, warningCsvPath: string);
initialize(): Promise<void>;
private ensureDirectoriesExist;
logError(entry: ErrorEntry): Promise<void>;
logWarning(entry: WarningEntry): Promise<void>;
private escapeCsvValue;
finalize(): Promise<ReportSummary>;
private closeStreams;
getErrorCount(): number;
getWarningCount(): number;
}
//# sourceMappingURL=csv-reporter.service.d.ts.map