declare const BASELINE_DIR: string; export interface SaveBaselineResult { name: string; path: string; bytes: number; } export interface DiffResult { name: string; baselinePath: string; currentPath: string; diffPath: string; matched: boolean; /** Pixels that differ between baseline and current beyond the threshold. */ mismatchedPixels: number; totalPixels: number; /** mismatchedPixels / totalPixels. Lower = more similar. 0 = identical. */ mismatchRatio: number; similarity: number; baselineDims: { width: number; height: number; }; currentDims: { width: number; height: number; }; /** True when baseline + current have different dimensions (auto-fail). */ sizeMismatch: boolean; } export declare function saveBaseline(currentPngPath: string, name: string): SaveBaselineResult; export declare function diffAgainstBaseline(currentPngPath: string, name: string, opts?: { threshold?: number; diffOutputPath?: string; }): DiffResult; export declare function baselineExists(name: string): boolean; export declare function listBaselines(): string[]; export { BASELINE_DIR }; //# sourceMappingURL=visual-diff.d.ts.map