import type { DecodedImage } from './mask.js'; /** The columns where any of `rows` differs from its own leftmost pixel: where it holds something. */ export declare function inkOf(rows: readonly (readonly [DecodedImage, number])[]): [number, number] | undefined; /** * Whether row `y` holds anything between columns `from` and `to`: more than a * border's worth of pixels unlike the colour most of that stretch is. */ export declare function inked(image: DecodedImage, y: number, from: number, to: number): boolean; /** * Whether row `y` runs through text between columns `from` and `to`. A row * across a code block or a card changes colour only at the box's edges; one * through a line of text changes at every stroke. */ export declare function texted(image: DecodedImage, y: number, from: number, to: number): boolean; /** * Whether row `y` is spacing between rows `above` and `below`: all one colour, * the colour those rows are mostly. A row of another colour is a rule across * the page, and content. */ export declare function spacingRow(image: DecodedImage, y: number, above: number, below: number): boolean; /** * Columns `from` to `to` moved out to the space before and after the word at * each edge on `rows`: a region starts at the first pixel that differs, which * is often inside a word. An edge with no space within `reach` stays put. */ export declare function blankColumns(image: DecodedImage, rows: readonly number[], from: number, to: number, reach: number): [number, number]; //# sourceMappingURL=change-ink.d.ts.map