import type { LayoutTabStop } from './input.js'; export interface TabPlacement { widthPx: number; leader?: LayoutTabStop['leader']; } /** * Where a tab at `positionPx` (from the paragraph's text margin) advances to, as Word does: * the next custom stop after it, else the hanging indent (an implicit stop for list labels), * else the next default stop. `followingPx` is the width of the text after the tab up to the * next tab or line end, used by right, center and decimal stops; `beforeDecimalPx` is the part * of it before the first decimal separator. */ export declare function placeTab(positionPx: number, stops: readonly LayoutTabStop[], hangingStopPx: number | undefined, followingPx: number, beforeDecimalPx: number): TabPlacement; //# sourceMappingURL=tab-stops.d.ts.map