import type { LayoutDocumentInput, LayoutFloat } from './input.js'; import type { LayoutColumnBox, LayoutPageBox } from './result.js'; export declare const FLOAT_WRAP_NOTE = "Text wraps around floating pictures on their largest side (square, tight and through wrapping use the picture\u2019s rectangle, not its outline); lines continuing onto a later page keep their wrapped widths."; /** * A floating picture's top-left on the page (CSS pixels), from its horizontal and vertical frame, * alignment and offset. `paragraph` is the anchor paragraph's page-relative top and height. */ export declare function floatPosition(float: LayoutFloat, page: LayoutPageBox, column: Pick, paragraph: { topPx: number; heightPx: number; }): { xPx: number; yPx: number; }; /** * Positions each paragraph's floating pictures on the page where the paragraph starts, from their * `wp:positionH`/`wp:positionV` reference frame, alignment and offset. Returns whether any were placed. */ export declare function positionFloats(input: LayoutDocumentInput, pages: LayoutPageBox[]): boolean; //# sourceMappingURL=floats.d.ts.map