import type { ShapeParagraph } from "./types.js"; export type BulletGlyph = { text: string; font: string; color: string; width: number; }; export declare class NumberingState { private state; next(level: number, type: string, startAt: number): number; noteOther(level: number, kind: string): void; } export declare function paragraphRefFontPt(p: ShapeParagraph): number; export declare function computeLineHeight(p: ShapeParagraph, refPt: number, fontScale: number, lineScale: number): number; export declare function computeParaSpacing(pct: number | undefined, pts: number | undefined, refPt: number, fontScale: number): number; export declare function buildBulletGlyph(ctx: CanvasRenderingContext2D, p: ShapeParagraph, refPt: number, fontScale: number, numbering: NumberingState): BulletGlyph | null; export declare function drawBullet(ctx: CanvasRenderingContext2D, b: BulletGlyph, x: number, y: number, lineHeight: number): void;