import type { ResolvedPageConfig } from './types.js'; /** One crop mark, in page px: a line on the prolongation of a trim edge, * from its end nearer the trim (`x1`, `y1`) outwards (`x2`, `y2`). */ export interface CropMarkSegment { x1: number; y1: number; x2: number; y2: number; } /** * The crop marks of a page laid out with `page.cutLines` on: two at each * trim corner, one on each trim edge's line, `markLength` long. A mark * starts `markOffset` outside the trim, or at the bleed edge when the bleed * is wider, so it never lies over art that runs into the bleed. The sheet * grows by `bleed + markOffset + markLength` on every side, so a mark never * runs past it. Empty when cut lines are off. The canvas and PDF backends * draw these. * * `trimOffset` is how far the trim box sits inside the sheet: pass the * document's `doc.trimOffset`, which also places the PDF's `TrimBox`, so * the marks and the box can never disagree. Left out, it is worked out * from `cutLines` as the layout does. */ export declare function cropMarkSegments(page: { width: number; height: number; }, pageConfig: Pick, trimOffset?: number): CropMarkSegment[]; //# sourceMappingURL=cropMarks.d.ts.map