import type { VDTDocument, VDTPage, VDTColumn, BoundingBox } from '../vdt.js'; import { type CjkGridCells } from '../pipeline/cjkGrid.js'; export declare function renderBaselineGrid(ctx: CanvasRenderingContext2D, contentArea: BoundingBox, baselineIncrement: number, color: string, lineWidth: number, textExtent: { top: number; bottom: number; }): void; /** The character grid (稿纸) over the type area (`cjk.grid.show`): one * square per character position, drawn in a light grey (see * `cjkGridCells`). */ export declare function renderCharacterGrid(ctx: CanvasRenderingContext2D, cells: CjkGridCells): void; export declare function renderColumnRule(ctx: CanvasRenderingContext2D, columns: VDTColumn[], color: string, lineWidth: number, footnoteAreas?: VDTPage['footnoteAreas']): void; export declare function renderCutLines(ctx: CanvasRenderingContext2D, page: VDTPage, doc: VDTDocument): void; /** The page's content area. Pages built by the pipeline carry it directly * (`page.contentArea` — per page, so mirrored margins are honoured); the * column-bbox inference below only serves hand-built pages. */ export declare function computeContentArea(page: VDTPage, doc: VDTDocument): BoundingBox; /** The separator rules above the footnotes of a page's columns. */ export declare function renderFootnoteRules(ctx: CanvasRenderingContext2D, page: VDTPage): void; //# sourceMappingURL=decorations.d.ts.map