/** * Specialized class for analyzing JSON problems * Detects specific error types and suggests solution strategies */ export declare class JsonCleanerAnalyzer { /** * Extended JSON problem analysis with specific solution suggestions */ static analyzeJsonProblems(jsonStr: string): { isValid: boolean; errors: string[]; suggestions: string[]; canBeFixed: boolean; severity: 'low' | 'medium' | 'high'; specificIssues: { hasCommaIssues: boolean; hasControlCharIssues: boolean; hasBracketIssues: boolean; hasQuoteIssues: boolean; }; repairStrategy: string[]; errorPosition?: number; problemContext?: string; }; /** * Analyzes structural problems in JSON */ private static analyzeStructuralIssues; /** * Extracts context around an error position */ private static extractErrorContext; /** * Counts different types of problems */ static getIssueCounts(jsonStr: string): { totalIssues: number; commaIssues: number; bracketIssues: number; quoteIssues: number; controlCharIssues: number; }; /** * Helper method: Counts expected quotes (simplified) */ private static countExpectedQuotes; /** * Prioritizes repair strategies based on analysis */ static prioritizeRepairStrategies(analysis: ReturnType): string[]; } //# sourceMappingURL=json-cleaner.analyzer.d.ts.map