import { type MagicalInkId } from '../configs/inkPaint'; import type { Gradient } from '../types/slides'; import { type FreehandPoint } from './freehand'; export type ScribbleInkStroke = { points: FreehandPoint[]; size: number; color: string; gradient?: Gradient; gradientId?: MagicalInkId; simulatePressure?: boolean; }; export type JoinedScribbleShape = { path: string; viewBox: [number, number]; minX: number; minY: number; maxX: number; maxY: number; color: string; gradient?: Gradient; groupId?: string; }; /** * Nearby strokes become one shape. Same-paint strokes in a cluster are merged * into a compound path; different colors/gradients in the same cluster share a groupId. */ export declare const joinScribbleInk: (strokes: ScribbleInkStroke[]) => JoinedScribbleShape[];