import { StringDict, Prediction } from "../../parsing/common";
import { ListField, CustomLines } from "../../parsing/custom";
/**
 * Page data for Custom builds.
 */
export declare class CustomV1Page implements Prediction {
    /** Map of page-specific fields for a Custom build. Cannot include Classification fields. */
    fields: Map<string, ListField>;
    constructor(rawPrediction: StringDict, pageId?: number);
    /**
     * Order column fields into line items.
     * @param anchorNames list of possible anchor fields.
     * @param fieldNames list of all column fields.
     * @param heightTolerance height tolerance to apply to lines.
     */
    columnsToLineItems(anchorNames: string[], fieldNames: string[], heightTolerance?: number): CustomLines;
    /**
     * Default string representation.
     */
    toString(): string;
}
