import { CleaningContext, Detection, ChangeDescription, ContextMetadata, ContextStats, ChangeLocation } from '../types/operation.types'; export declare class CleaningContextImpl implements CleaningContext { currentJson: string; readonly originalJson: string; readonly detections: Map; readonly checkpoints: Map; readonly changes: ChangeDescription[]; readonly metadata: ContextMetadata; constructor(json: string, metadata?: Partial); addDetection(type: string, location: number | ChangeLocation, confidence?: number, metadata?: Record): void; hasDetection(type: string): boolean; getDetections(type: string): Detection[]; createCheckpoint(name: string): void; rollbackTo(name: string): boolean; updateJson(newJson: string): void; recordChange(change: ChangeDescription): void; getStats(): ContextStats; isValidJson(): boolean; getDetectionsByConfidence(minConfidence?: number): Detection[]; getChangesByType(type: ChangeDescription['type']): ChangeDescription[]; getSizeChange(): number; getChangeRate(): number; analyzePatterns(): { hasControlChars: boolean; hasMissingCommas: boolean; hasExtraCommas: boolean; hasUnescapedQuotes: boolean; hasStructuralIssues: boolean; hasMarkdownBlocks: boolean; hasThinkTags: boolean; estimatedErrorCount: number; }; private detectMissingCommas; private detectExtraCommas; private detectUnescapedQuotes; private detectStructuralIssues; private estimateErrorCount; toString(): string; } //# sourceMappingURL=cleaning-context.d.ts.map