import { Word } from "../../../v1/parsing/standard/index.js";
import { StringDict } from "../../../parsing/stringDict.js";
export declare class OcrPage {
    #private;
    /** Flat list of all words read */
    allWords: Word[];
    /** List of words by which line they are on */
    allLines: Word[][];
    constructor(rawPrediction: StringDict);
    /**
     * Get all words on the page as ordered lines
     * @returns Sorted lines on the pages
     */
    getAllLines(): Word[][];
    /**
     * Default string representation.
     */
    toString(): string;
}
