import type { IDocument } from "./types";
import { BaseElement, HeaderContainer, FooterContainer } from "./elements";
interface PageRef {
    header: HeaderContainer | null;
    footer: FooterContainer | null;
    root_elements: BaseElement[];
    get_content_width(): number;
    get_content_height(): number;
}
export declare class LayoutEngine {
    private document;
    private pdoc;
    constructor(document: IDocument, pdoc: any);
    run(page: PageRef): void;
    private wire_document;
    private measure_pass;
    private layout_pass;
    private render_pass;
}
export {};
