import type { VDTLineSegment } from '../vdt.js'; /** A chip opening or closing a line keeps no gap margin on that side, so it * sits flush with the measure like a word. The pieces of a piece of * inline code the line did not break inside are joined first * ({@link joinCodePieces}). */ export declare function trimChipLineEdges(segments: VDTLineSegment[]): VDTLineSegment[]; /** * Inline code split at its spaces (#845, `InlineSpan.codeSpace`) is one box * again wherever a line holds two pieces of it: a piece, its space and the * next piece become one chip, the space a run as wide as the room between * the two pieces' text (the space's own width, which the measurer took the * two boxes' inner paddings and borders out of), so the line keeps the * width it was broken at. A piece that ends a line keeps its box; no chip * of the line keeps `joinNext`. */ export declare function joinCodePieces(segments: VDTLineSegment[]): VDTLineSegment[]; //# sourceMappingURL=chipEdges.d.ts.map