import { InkPptxElement } from 'pptx-viewer-core'; import { InkStrokeAnimationStyle, PressureCircle } from 'pptx-viewer-shared'; /** * View-model builder for `ink` elements (port of the vanilla binding's * `renderInkElement`). Pressure maths (path-point extraction, interpolated * widths, circle generation) come from `pptx-viewer-shared`; this module only * resolves per-stroke colour/width/opacity and picks path vs circles. */ /** One rendered ink stroke: a constant-width path, or pressure circles. */ export interface InkStrokeView { key: string; d: string; color: string; width: number; opacity: number; /** Per-point pressure circles; `null` renders the plain ``. */ circles: PressureCircle[] | null; /** Sequential reveal style, enabled only while presenting. */ replay: InkStrokeAnimationStyle | null; } /** SVG `viewBox` for the ink element's bounding box (min 1x1). */ export declare function inkViewBox(element: InkPptxElement): string; /** Project the element's parallel ink arrays into per-stroke view models. */ export declare function buildInkStrokes(element: InkPptxElement, replay?: boolean): InkStrokeView[]; //# sourceMappingURL=ink-view.d.ts.map