import type { VDTChip, VDTChipRun } from '../vdt.js'; /** * Inline chip (`:chip[…]`): the box — fill, then the outline stroked inside * its edge — and the text runs on the line's baseline. `x` is the segment's * left edge (the box starts after its gap margin); `inkFor` gives a run's * colour when the chip style sets none. Shared by the body-text and * resource-block painters. */ /** The dash pattern of a chip's underline (#1227): dots one stroke wide * with round caps, two strokes apart; dashes three strokes long. */ export declare function chipUnderlineDash(kind: 'solid' | 'dotted' | 'dashed', width: number): number[] | undefined; export declare function paintChip(ctx: CanvasRenderingContext2D, chip: VDTChip, x: number, baseline: number, inkFor: (run: VDTChipRun) => string): void; //# sourceMappingURL=chip.d.ts.map