export type PatternAnomalyKind = 'reference-offset' | 'structure-mismatch' | 'hardcode-break' | 'empty-gap' | 'circular-reference' | 'error-value'; export interface PatternAnomaly { kind: PatternAnomalyKind; cell: string; message: string; expected: string | null; actual: string | null; confidence: number | null; slot?: string; expectedOffsets?: { colOffset: number | null; rowOffset: number | null; }; actualOffsets?: { colOffset: number | null; rowOffset: number | null; }; } export interface ColumnPatternReport { sheet: string; column: string; cellCount: number; expected: Record; anomalies: PatternAnomaly[]; } export declare function detectPatternAnomalies(cells: Record): ColumnPatternReport[]; export declare function detectHardcodeBreaks(cells: Record): PatternAnomaly[]; export declare function detectEmptyGaps(cells: Record): PatternAnomaly[]; /** * Detect cells whose content carries an Excel error value such as #REF! or * #DIV/0! (both literal error constants and formulas whose cached result is * an error token). */ export declare function detectErrorValues(cells: Record): PatternAnomaly[]; //# sourceMappingURL=patterns.d.ts.map