import type { PageContent } from '../renderer/types'; /** * Find a repeated strip across the spine. `left` and `right` are RGBA pixels of two strips of the * same size (`width` columns, `height` rows): `left` ends at the left page's spine edge, `right` * starts at the right page's. Returns the overlap in columns, or 0 when there is no clear repeat. */ export declare function matchOverlap(left: Uint8ClampedArray, right: Uint8ClampedArray, width: number, height: number): number; /** * The print-gutter overlap between two facing pages, as a fraction of page width (0 = none found). * Pages of different sizes are never matched: their rows would not line up. */ export declare function detectOverlap(left: PageContent, right: PageContent): number;