import type { Config, RunResult, StatsEntry, TransformContext } from '../types.js'; import { type ValidationError } from './error.js'; export declare class Stats { config: Config; success: StatsEntry[]; errors: StatsEntry[]; skipped: StatsEntry[]; constructor(config: Config); toEntry(context: TransformContext): { id: string; locale: string; contentTypeId: string; }; addSuccess(context: TransformContext, message?: string): void; addError(context: TransformContext, error: unknown): void; addSkipped(context: TransformContext, error: ValidationError): void; print(prev?: RunResult): Promise; }