export interface ContrastMatch { pattern_name: string; match_text: string; } export interface TropeMatch { trope_name: string; category: string; match_text: string; } export interface SlopScoreResult { slopScore: number; computeMs: number; charCount: number; wordCount: number; metrics?: { slop_list_matches_per_1k_words: number; slop_trigram_matches_per_1k_words: number; not_x_but_y_per_1k_chars: number; trope_patterns_per_1k_chars: number; }; details?: { wordHits: Array<[string, number]>; trigramHits: Array<[string, number]>; contrastMatches: ContrastMatch[]; tropeMatches: TropeMatch[]; }; } export interface SlopScoreTextInput { text: string; language: string; } export interface NormalizedText { text: string; charCount: number; wordCount: number; tokens: string[]; } export interface SlopAssets { words: Set; trigrams: Set; version: string; } export interface SubScores { wordScore: number; trigramScore: number; patternScore: number; } //# sourceMappingURL=types.d.ts.map