/** * Annotation data types and constants for the screenshot annotation canvas. * All coordinates are normalized to 0..1 ratios relative to screenshot dimensions. */ export type AnnotationTool = 'brush' | 'arrow' | 'text'; export interface Point { x: number; y: number; } export interface BrushAnnotation { kind: 'brush'; points: Point[]; color: string; strokeWidth: number; } export interface ArrowAnnotation { kind: 'arrow'; start: Point; end: Point; color: string; strokeWidth: number; } export interface TextAnnotation { kind: 'text'; position: Point; content: string; color: string; fontSize: number; } export type Annotation = BrushAnnotation | ArrowAnnotation | TextAnnotation; export declare const COLOR_PALETTE: readonly string[]; export declare const DEFAULT_COLOR = "#ef4444"; export declare const STROKE_WIDTHS: readonly number[]; export declare const DEFAULT_STROKE_WIDTH = 3; export declare const DEFAULT_FONT_SIZE = 16; export declare const UNDO_STACK_LIMIT = 50; //# sourceMappingURL=annotation-types.d.ts.map