import type { ProblemLayout } from '../../createExamPdf.js';
import { type ImageSegment } from './ImageUtil.js';
declare function arrangeProblemsAndPreparePages({ problemLayout, onAddPage, renderComponent, componentHeaderHeight, problemImages, }: {
    problemImages: string[][];
    problemLayout: ProblemLayout;
    onAddPage: (params: {
        isFirstPage: boolean;
    }) => Promise<void>;
    renderComponent: (params: {
        index: number;
        offsetX: number;
        offsetY: number;
        segmentStartAt: number;
        imageSegments: ImageSegment[];
    }) => Promise<void>;
    componentHeaderHeight: number;
}): Promise<any[]>;
export declare const ProblemRenderer: {
    renderProblems: typeof arrangeProblemsAndPreparePages;
};
export {};
