import { InkPoint } from 'pptx-viewer-shared'; import { EditorState } from '../editor/editor-state.svelte'; export type PresentationInkTool = 'none' | 'pen' | 'highlighter' | 'eraser' | 'laser'; export interface PresentationStroke { id: string; points: InkPoint[]; color: string; width: number; tool: 'pen' | 'highlighter'; } export declare class PresentationAnnotations { #private; tool: PresentationInkTool; /** * Pen and highlighter carry SEPARATE colours, as they do in PowerPoint and * in every other binding. This used to be one `color` field with the * highlighter hardcoded to `#fde047`, which made the show toolbar's * highlighter palette a lie: picking a colour changed the pen instead. * The defaults are `PEN_COLORS[0]` and `HIGHLIGHTER_COLORS[0]`. */ penColor: string; highlighterColor: string; current: PresentationStroke | null; bySlide: Map; laser: InkPoint | null; get count(): number; get slideCount(): number; strokes(index: number): PresentationStroke[]; pointerDown(index: number, point: InkPoint): void; pointerMove(index: number, point: InkPoint): void; pointerUp(index: number): void; erase(index: number, point: InkPoint): void; clear(): void; keep(editor: EditorState): void; } //# sourceMappingURL=presentation-annotations.svelte.d.ts.map