@pixerate/editor 0.36.0 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,8 +5,8 @@ export { ANIMATION_TIME_EPSILON, AnimationKeyframe, AnimationPlayerOptions, Manu
5
5
  import { b as CanvasNodeUpdate, N as NodeRectOptions, A as AlignEdge, c as AlignNodesOptions, D as DistributeAxis, a as DistributeMode, d as DistributeNodesOptions, S as SizeDimension, M as MatchSizeOptions, Z as ZOrderOperation, C as CanvasArrangeAction } from '../arrange-B6GH5Qcc.cjs';
6
6
  export { e as ArrangeShortcutBinding, f as DEFAULT_ARRANGE_SHORTCUTS, L as LOCKED_DATA_KEY, g as LOCKED_PREVIOUS_FLAGS_KEY, h as alignNodes, i as applyNodeUpdates, j as createNodeLookup, k as distributeNodes, l as getAbsolutePosition, m as getNodeRect, n as getNodeSize, o as invertNodeUpdates, p as isLocked, q as lockNodes, r as matchArrangeShortcut, s as matchSize, t as readStyleSize, u as reorderNodes, v as toggleLockNodes, w as unlockNodes, x as withStyleSize } from '../arrange-B6GH5Qcc.cjs';
7
7
  import { C as Command, M as MergedExecutionOptions } from '../types-DsiXGmjo.cjs';
8
- import { a as BezierPath, P as PolygonBooleanOperation, B as BezierPathInput, b as PolygonFillRule, c as BezierSegment, d as BezierContour, e as ShapeDescription, f as PolygonRing, g as ShapeSize, C as CanvasGradientDef } from '../bezier-D8bsO-L0.cjs';
9
- export { A as AffineMatrix, h as BezierCommand, i as BezierPathToSvgOptions, j as CANVAS_GRADIENT_PRESETS, k as CanvasLinearGradient, l as CanvasRadialGradient, E as EllipseShape, F as FlattenOptions, G as GetShapeRenderDataOptions, m as GradientStop, M as MultiPolygon, n as PathCommand, o as PathPointAtLength, p as PathShape, q as PolygonBooleanOptions, r as PolygonInput, s as PolygonOperand, t as PolygonPiece, u as PolygonToPathOptions, v as PolygonWithHoles, R as RectShape, w as RegularPolygonShape, x as SHAPE_KINDS, y as ShapeKind, z as ShapePaint, D as ShapeRenderData, H as StarShape, S as SvgGradientDef, I as SvgGradientStop, J as angleToSvgLinearCoords, K as arcToCubics, L as bezierPathBounds, N as bezierPathLength, O as bezierPathPointAtLength, Q as bezierPathSignedArea, T as bezierPathToSvg, U as closeContour, V as contourSignedArea, W as contoursToPath, X as countPathSegments, Y as distanceToBezierPath, Z as dividePolygons, _ as flattenSvgPath, $ as formatNumber, a0 as getShapeRenderData, a1 as getShapeSvg, a2 as gradientToSvgDef, a3 as intersectPolygons, a4 as isCanvasGradient, a5 as isShapeDescription, a6 as multiPolygonArea, a7 as multiPolygonBounds, a8 as parseCssGradient, a9 as parseSvgPath, aa as pathToContours, ab as pointInBezierPath, ac as pointInMultiPolygon, ad as pointInRings, ae as polygonArea, af as polygonBoolean, ag as polygonToSvgPath, ah as resolveCanvasGradient, ai as ringSignedArea, aj as segmentBounds, ak as segmentCurvature, al as segmentDerivative, am as segmentExtrema, an as segmentLength, ao as segmentNearest, ap as segmentParamAtLength, aq as segmentPoint, ar as segmentTangent, as as shapeToPolygon, at as simplifyRing, au as splitSegment, av as subSegment, aw as subtractPolygons, ax as toBezierPath, ay as transformBezierPath, az as trimSegments, aA as unionPolygons, aB as windingNumber, aC as xorPolygons } from '../bezier-D8bsO-L0.cjs';
8
+ import { b as StrokeJoin, c as StrokeCap, g as ShapeDescription, a as BezierPath, h as PolygonFillRule, i as PolygonRing, j as ShapeSize, C as CanvasGradientDef } from '../pathfinder-Bd87_lsQ.cjs';
9
+ export { A as AffineMatrix, k as BezierCommand, l as BezierContour, B as BezierPathInput, m as BezierPathToSvgOptions, d as BezierSegment, n as CANVAS_GRADIENT_PRESETS, o as CanvasLinearGradient, p as CanvasRadialGradient, D as DashedPath, q as DividePathsResult, E as EllipseShape, F as FlattenOptions, G as GetShapeRenderDataOptions, r as GradientStop, M as MultiPolygon, O as OffsetPathOptions, s as OutlineStrokeOptions, t as PATHFINDER_OPERATIONS, u as PathBooleanOperation, v as PathBooleanResult, w as PathCommand, x as PathOperand, y as PathOperandInput, z as PathOpsError, H as PathOpsOptions, I as PathOpsReport, J as PathPiece, K as PathPointAtLength, L as PathSelectResult, N as PathShape, e as PathfinderOperation, Q as PathfinderPiece, R as PathfinderResult, f as PathfinderShape, T as PlanarChain, U as PlanarFace, V as PlanarInput, P as PlanarMap, W as PlanarMapOptions, X as PlanarSplitEdge, Y as PlanarSplitResult, Z as PolygonBooleanOperation, _ as PolygonBooleanOptions, $ as PolygonInput, a0 as PolygonOperand, a1 as PolygonPiece, a2 as PolygonToPathOptions, a3 as PolygonWithHoles, a4 as RectShape, a5 as RegularPolygonShape, a6 as SHAPE_KINDS, a7 as SegmentIntersection, a8 as ShapeKind, a9 as ShapePaint, aa as ShapeRenderData, ab as StarShape, S as SvgGradientDef, ac as SvgGradientStop, ad as angleToSvgLinearCoords, ae as arcToCubics, af as bezierPathArea, ag as bezierPathBounds, ah as bezierPathLength, ai as bezierPathPointAtLength, aj as bezierPathSignedArea, ak as bezierPathToSvg, al as closeContour, am as contourSignedArea, an as contoursToPath, ao as countPathSegments, ap as dashContours, aq as distanceToBezierPath, ar as dividePaths, as as dividePolygons, at as excludePaths, au as flattenSvgPath, av as formatNumber, aw as getShapeRenderData, ax as getShapeSvg, ay as gradientToSvgDef, az as interiorPoint, aA as intersectPaths, aB as intersectPolygons, aC as isCanvasGradient, aD as isShapeDescription, aE as multiPolygonArea, aF as multiPolygonBounds, aG as normalizeBezierPath, aH as offsetPath, aI as outlineStroke, aJ as parseCssGradient, aK as parseSvgPath, aL as pathBoolean, aM as pathBooleanSelect, aN as pathToContours, aO as pathfinder, aP as planarSplit, aQ as pointInBezierPath, aR as pointInMultiPolygon, aS as pointInRings, aT as polygonArea, aU as polygonBoolean, aV as polygonToSvgPath, aW as resolveCanvasGradient, aX as ringSignedArea, aY as segmentBounds, aZ as segmentCurvature, a_ as segmentDerivative, a$ as segmentExtrema, b0 as segmentIntersections, b1 as segmentLength, b2 as segmentNearest, b3 as segmentParamAtLength, b4 as segmentPoint, b5 as segmentTangent, b6 as shapeToPolygon, b7 as simplifyRing, b8 as splitSegment, b9 as strokeOutlineRings, ba as subSegment, bb as subtractPaths, bc as subtractPolygons, bd as toBezierPath, be as transformBezierPath, bf as trimSegments, bg as unionPolygons, bh as unitePaths, bi as windingNumber, bj as xorPolygons } from '../pathfinder-Bd87_lsQ.cjs';
10
10
  import { d as TokenModeContext, r as TokenType, o as TokenScope, f as TokenLiteral, c as TokenVariable, e as TokenResolution, T as TokenState } from '../model-C1zApQM8.cjs';
11
11
  import { A as AnimationEasing } from '../easing-DTmX99QG.cjs';
12
12
  export { a as ANIMATION_EASING_LABELS, b as ANIMATION_EASING_PRESETS, c as AnimationEasingPreset, C as CUBIC_BEZIER_PRESETS, d as CubicBezierEasing, E as ElasticEasing, S as SpringEasing, e as cubicBezierAt, f as easingFromInfluence, g as easingLabel, h as easingToCss, i as elasticAt, j as evaluateEasing, k as isAnimationEasing, p as parseCssEasing, r as resolveEasing, s as springAt } from '../easing-DTmX99QG.cjs';
@@ -565,220 +565,6 @@ declare function fitViewportToNodes(nodes: CanvasNode[], size: {
565
565
  height: number;
566
566
  }, ids?: Iterable<string>, options?: FitViewportOptions & NodeRectOptions): CanvasViewport | null;
567
567
 
568
- /**
569
- * Curve-preserving boolean operations (union, intersection, difference, xor and divide) on
570
- * Bézier paths.
571
- *
572
- * Algorithm (planar arrangement of curve pieces + winding classification):
573
- * 1. Every segment of every operand (open subpaths closed for filling) is a *source*; it is
574
- * cut into pieces monotone in x and y. Each piece remembers its source and its parameter
575
- * range there, so results can be rebuilt from exact sub-curves of the inputs.
576
- * 2. Pieces are intersected pairwise (pruned by a sweep on x): lines analytically, curves by
577
- * recursive subdivision down to flat sub-curves, chord intersection and Newton polishing.
578
- * Endpoints lying on another piece (T-junctions, tangent touches), collinear / coincident
579
- * overlaps and clusters of hits along a tangency are resolved first. Points closer than
580
- * `epsilon` share one vertex. Splitting repeats until no piece crosses another.
581
- * 3. Coincident pieces (shared edges, identical curves) merge into one edge carrying every
582
- * operand's signed multiplicity.
583
- * 4. Each edge is classified by casting a horizontal or vertical ray from its midpoint (the
584
- * pieces are monotone, so a ray crosses each at most once); the operands' fill rules turn
585
- * the winding numbers on both sides into inside flags and the operation picks the edges
586
- * with the result on exactly one side.
587
- * 5. The kept edges are traced into rings, taking the sharpest left turn at each vertex
588
- * (ties between tangent curves broken by a short chord along each curve), and consecutive
589
- * pieces of one source are merged back into one exact sub-curve, so circles stay four
590
- * cubics and rectangles four lines.
591
- *
592
- * When the curve engine fails (non-converging intersections on near-coincident curves,
593
- * an inconsistent arrangement) the operation falls back to the polygon engine
594
- * (`polygonBoolean`) on flattened input and reports it (`engine: 'polygon'`).
595
- *
596
- * Portions ported from vectorcraft-main/crates/pathops/src/boolean.rs (MIT OR Apache-2.0,
597
- * © ArtCraft Team and contributors). See THIRD_PARTY_NOTICES.md.
598
- */
599
-
600
- /** Boolean operations (same names as `polygonBoolean`). `xor` is Exclude. */
601
- type PathBooleanOperation = PolygonBooleanOperation;
602
- /** A path with the fill rule it is read with (default `nonzero`). */
603
- interface PathOperand {
604
- path: BezierPathInput;
605
- fillRule?: PolygonFillRule;
606
- }
607
- type PathOperandInput = BezierPathInput | PathOperand;
608
- interface PathOpsOptions {
609
- /**
610
- * Distance below which points are treated as equal. Defaults to `1e-9` times the
611
- * largest coordinate magnitude (at least `1e-9`).
612
- */
613
- epsilon?: number;
614
- /** Fall back to the polygon engine when the curve engine fails (default `true`). */
615
- fallback?: boolean;
616
- /** Flattening tolerance used by the polygon fallback (default 0.05). */
617
- fallbackTolerance?: number;
618
- /** Called with the reason whenever the polygon fallback is used. */
619
- onFallback?: (reason: string) => void;
620
- /**
621
- * Work budget of the curve–curve intersection search (flat sub-curve pairs per pair of
622
- * pieces, default 20,000). Exceeding it (nearly coincident curves) falls back.
623
- */
624
- subdivisionBudget?: number;
625
- }
626
- /** Which engine produced a result, and why the curve engine was not used. */
627
- interface PathOpsReport {
628
- engine: 'curve' | 'polygon';
629
- fallbackReason?: string;
630
- /** Set when the input cannot be processed at all (non-finite coordinates); the result is empty. */
631
- error?: string;
632
- }
633
- interface PathBooleanResult extends PathOpsReport {
634
- path: BezierPath;
635
- }
636
- /** One region of `dividePaths`, with the indices of the operands that cover it. */
637
- interface PathPiece {
638
- path: BezierPath;
639
- operands: number[];
640
- }
641
- interface DividePathsResult extends PathOpsReport {
642
- pieces: PathPiece[];
643
- }
644
- /** Raised by the curve engine when it cannot produce a reliable arrangement. */
645
- declare class PathOpsError extends Error {
646
- constructor(message: string);
647
- }
648
- /** A crossing or touch of two segments: the parameter on each and the point. */
649
- interface SegmentIntersection {
650
- ta: number;
651
- tb: number;
652
- point: Point;
653
- }
654
- /**
655
- * Every point where two segments (lines, quadratics or cubics, as control points) cross or
656
- * touch, by the same subdivision search the boolean operations use: flat sub-curves, chord
657
- * intersection, Newton polishing. Hits closer than `epsilon` (default: 1e-9 of the segments'
658
- * size) are one. Coincident stretches report the hits the search finds along them.
659
- */
660
- declare function segmentIntersections(a: BezierSegment, b: BezierSegment, options?: {
661
- epsilon?: number;
662
- budget?: number;
663
- }): SegmentIntersection[];
664
- /**
665
- * Applies a boolean operation to any number of path operands, keeping curves:
666
- * - `union`: covered by any operand.
667
- * - `intersection`: covered by every operand.
668
- * - `difference`: the first operand minus all others.
669
- * - `xor`: covered by an odd number of operands (Exclude).
670
- *
671
- * Open subpaths are closed for filling. Non-finite input gives an empty path (`error`); with
672
- * `fallback: false` a failure of the curve engine throws a `PathOpsError`. The result is a set of simple closed subpaths that
673
- * never cross (they may touch at points): outer subpaths run counter-clockwise in a y-up
674
- * frame (clockwise on screen), holes the other way, so it fills the same with `nonzero`
675
- * and `evenodd`. Segments of the inputs are kept as exact sub-curves.
676
- */
677
- declare function pathBoolean(operation: PathBooleanOperation, operands: PathOperandInput[], options?: PathOpsOptions): PathBooleanResult;
678
- declare const unitePaths: (a: PathOperandInput, b: PathOperandInput, options?: PathOpsOptions) => BezierPath;
679
- declare const intersectPaths: (a: PathOperandInput, b: PathOperandInput, options?: PathOpsOptions) => BezierPath;
680
- declare const subtractPaths: (a: PathOperandInput, b: PathOperandInput, options?: PathOpsOptions) => BezierPath;
681
- declare const excludePaths: (a: PathOperandInput, b: PathOperandInput, options?: PathOpsOptions) => BezierPath;
682
- /**
683
- * Splits the arrangement of the operands into its regions (Divide): every connected area
684
- * covered by the same set of operands becomes one piece (an outer subpath with its holes).
685
- * Pieces are ordered by operand set, then by area (largest first).
686
- */
687
- declare function dividePaths(operands: PathOperandInput[], options?: PathOpsOptions): DividePathsResult;
688
- /**
689
- * Resolves self-intersections and overlaps of one filled path into simple, consistently
690
- * oriented subpaths (outer subpaths and holes) under its fill rule.
691
- */
692
- declare function normalizeBezierPath(path: BezierPathInput, fillRule?: PolygonFillRule, options?: PathOpsOptions): BezierPath;
693
- /** Filled area of a path under its fill rule (overlaps counted once; exact for curves). */
694
- declare function bezierPathArea(path: BezierPathInput, fillRule?: PolygonFillRule, options?: PathOpsOptions): number;
695
-
696
- /**
697
- * Offset Path and Outline Stroke on Bézier paths.
698
- *
699
- * The stroker offsets every segment by ± half the width (lines exactly, curves by cubic
700
- * approximations refined until they stay within `tolerance` of the true offset), joins the
701
- * pieces (miter with a miter limit, round or bevel on the outer side of a turn; through the
702
- * vertex on the inner side) and adds caps (butt, round, square) to open subpaths. Dashes
703
- * follow arc length, restart on every subpath and join across the start of a closed
704
- * subpath. The raw outline overlaps itself, so it is filled with the non-zero rule and
705
- * normalised with the curve boolean engine.
706
- *
707
- * When the stroke is wider than a curve's radius of curvature the inner offset turns inside
708
- * out and its loops cancel winding, leaving holes that are really covered. Every face of
709
- * the true result is bounded by the arrangement, so a face is spurious exactly when a point
710
- * deep inside it is closer to the path than the offset distance (holes when growing,
711
- * islands when insetting); such faces are dropped.
712
- *
713
- * Portions ported from vectorcraft-main/crates/pathops/src/offset.rs,
714
- * vectorcraft-main/crates/pathops/src/boolean.rs (`try_merge`) and
715
- * vectorcraft-main/crates/effects/src/stroke/dash.rs (MIT OR Apache-2.0, © ArtCraft Team
716
- * and contributors). See THIRD_PARTY_NOTICES.md.
717
- */
718
-
719
- /** Line join (as SVG `stroke-linejoin`). */
720
- type StrokeJoin = 'miter' | 'round' | 'bevel';
721
- /** Line cap (as SVG `stroke-linecap`). */
722
- type StrokeCap = 'butt' | 'round' | 'square';
723
- interface OutlineStrokeOptions extends PathOpsOptions {
724
- /** Stroke width. Non-positive or non-finite widths give an empty result. */
725
- width: number;
726
- /** Default `miter` (as SVG). */
727
- join?: StrokeJoin;
728
- /** Default `butt` (as SVG). */
729
- cap?: StrokeCap;
730
- /** Miter length / stroke width above which a miter join is bevelled (default 4, as SVG). */
731
- miterLimit?: number;
732
- /** Dash pattern (as SVG `stroke-dasharray`); odd patterns repeat twice. */
733
- dash?: readonly number[];
734
- /** Distance into the dash pattern at the start of each subpath (as `stroke-dashoffset`). */
735
- dashOffset?: number;
736
- /** Maximum distance between the approximated and the true offset curve (default 0.01). */
737
- tolerance?: number;
738
- }
739
- interface OffsetPathOptions extends PathOpsOptions {
740
- /** Corner style of the grown / shrunk outline (default `miter`). */
741
- join?: StrokeJoin;
742
- /** Miter limit (default 4). */
743
- miterLimit?: number;
744
- /** Fill rule of the input (default `nonzero`). */
745
- fillRule?: PolygonFillRule;
746
- /** Maximum distance between the approximated and the true offset curve (default 0.01). */
747
- tolerance?: number;
748
- }
749
- interface DashedPath {
750
- /** The dashes, as open subpaths. */
751
- contours: BezierContour[];
752
- /** Zero-length dashes: where they sit and the path direction there. */
753
- dots: {
754
- point: Point;
755
- tangent: Point;
756
- }[];
757
- }
758
- /**
759
- * Applies a dash pattern (SVG `stroke-dasharray` / `stroke-dashoffset` semantics) to the
760
- * subpaths. Returns `null` when the pattern is invalid (negative or non-finite entries),
761
- * has no positive entry, or would make more than 200,000 dashes: the line is solid.
762
- */
763
- declare function dashContours(contours: readonly BezierContour[], pattern: readonly number[], offset?: number): DashedPath | null;
764
- /**
765
- * The raw (overlapping) outline of a stroke as closed subpaths to fill with `nonzero`.
766
- * `outlineStroke` normalises it; this is useful for previews.
767
- */
768
- declare function strokeOutlineRings(input: BezierPathInput, options: OutlineStrokeOptions): BezierPath;
769
- /**
770
- * Outline Stroke: the filled area painted by stroking `path`, as one clean path (overlaps
771
- * removed, consistently oriented). Joins, caps, miter limit and dashes follow SVG.
772
- */
773
- declare function outlineStroke(input: BezierPathInput, options: OutlineStrokeOptions): BezierPath;
774
- /**
775
- * Offset Path: grows (`distance > 0`) or shrinks (`distance < 0`) the filled area by
776
- * `distance`. Closed subpaths are a filled region (read with `fillRule`); open subpaths are
777
- * outlined with a stroke of width `2·|distance|` and butt caps (when growing). Loops of the
778
- * offset curves are removed.
779
- */
780
- declare function offsetPath(input: BezierPathInput, distance: number, options?: OffsetPathOptions): BezierPath;
781
-
782
568
  /**
783
569
  * Shape nodes and Freeform-style shape boolean operations (Unite / Intersect / Subtract /
784
570
  * Exclude / Divide) on canvas nodes.
@@ -3011,4 +2797,4 @@ declare function createCanvasDrawController<TNode extends CanvasNode = CanvasNod
3011
2797
  };
3012
2798
  type CanvasDrawController = ReturnType<typeof createCanvasDrawController>;
3013
2799
 
3014
- export { ANIMATABLE_PROPERTIES, ANIMATION_DATA_KEY, AUTO_LAYOUT_DATA_KEY, type AddCanvasVariantOptions, AlignEdge, AlignNodesOptions, type AnimatableProperty, type AnimateNodeOptions, type AnimationDocument, AnimationEasing, AnimationEditError, type AnimationEditErrorCode, type AnimationFrame, type AnimationHistoryTarget, type AnimationKeyframeClipboard, AnimationLoopMode, type AnimationMotionPath, type AnimationOverrides, AnimationPlayer, AnimationPlayerState, type AnimationPropertyOptions, type AnimationStop, AnimationTrack, AnimationValue, AnimationValueType, type ArrangeHistoryTarget, type AutoLayout, type AutoLayoutAlignContent, type AutoLayoutAlignCross, type AutoLayoutAlignMain, type AutoLayoutCellAlign, type AutoLayoutChild, type AutoLayoutConstraints, type AutoLayoutGrid, type AutoLayoutGridArea, type AutoLayoutGridCell, type AutoLayoutGridGeometry, type AutoLayoutGridTrack, type AutoLayoutHorizontalConstraint, type AutoLayoutInsertTarget, type AutoLayoutMeasure, type AutoLayoutMode, type AutoLayoutOptions, type AutoLayoutPadding, type AutoLayoutSize, type AutoLayoutSizing, type AutoLayoutSizingPair, type AutoLayoutVerticalConstraint, BezierContour, BezierPath, BezierPathInput, BezierSegment, CANVAS_COMPONENT_DRAG_TYPE, CANVAS_TOKEN_PROPERTIES, CHILD_LAYOUT_DATA_KEY, COMPONENT_DATA_KEY, COMPONENT_OVERRIDES_DATA_KEY, COMPONENT_PROPERTY_REFS_DATA_KEY, COMPONENT_SET_DATA_KEY, COMPONENT_SOURCE_DATA_KEY, CONNECTION_LINE_TYPES, CSS_ANIMATION_PROPERTIES, type CanvasAnimationController, type CanvasAnimationControllerOptions, type CanvasAnimationState, CanvasArrangeAction, type CanvasArrangeController, type CanvasArrangeControllerOptions, type CanvasAutoLayoutController, type CanvasAutoLayoutControllerOptions, CanvasClipboardPayload, type CanvasComponentData, type CanvasComponentErrorCode, type CanvasComponentInfo, type CanvasComponentPropertyDef, type CanvasComponentPropertyField, type CanvasComponentPropertyType, type CanvasComponentPropertyValue, type CanvasComponentResult, type CanvasComponentSetData, type CanvasComponentSetInfo, type CanvasComponentSyncOptions, type CanvasComponentsController, type CanvasComponentsControllerOptions, type CanvasConnectionLineType, type CanvasDrawController, type CanvasDrawControllerOptions, CanvasEdge, CanvasGradientDef, type CanvasHeightOptions, type CanvasInstanceData, type CanvasInstanceInfo, type CanvasInstancePropertyInfo, CanvasLayoutOptions, CanvasNode, CanvasNodeStyle, CanvasNodeUpdate, type CanvasScene, type CanvasScenesOptions, type CanvasScenesState, CanvasScenesStore, type CanvasTokenBindingInfo, type CanvasTokenOptions, type CanvasTokenProperty, type CanvasViewport, Clock, type CombineShapeNodesOptions, type CombineShapeNodesRefusal, type CombineShapeNodesResult, type ConnectorSnap, type ConnectorSnapOptions, type ConnectorSnapTarget, type CreateCanvasComponentOptions, type CreateCanvasInstanceOptions, type CssAnimationExport, type CssExportOptions, type CssPropertyAnimation, type CubicSegment, DEFAULT_NODE_HEIGHT, DEFAULT_NODE_WIDTH, DEFAULT_PLACEMENT_GAP, type DashedPath, DirectionalDisplacementOptions, DistributeAxis, DistributeMode, DistributeNodesOptions, type DividePathsResult, type EvaluateAnimationOptions, FanOutTrajectoryOptions, type FitCubicsOptions, type FitPathDataOptions, type FitViewportOptions, type FreehandDrawOptions, type FreehandStroke, type FreehandStrokeStyle, type FreehandTool, type GuideIndex, type GuideLine, INSTANCE_DATA_KEY, IncrementalLayoutOptions, type KeyframeDragState, type KeyframePatch, type KeyframeRangeOptions, type KeyframeRef, type KeyframeSnap, MAX_KEYFRAME_REFS, MatchSizeOptions, type MeasureGuide, type MeasureSelectionOptions, type MeasureSelectionResult, type MoveKeyframesResult, type MultiNodeTransitionOptions, type NodeAnimation, NodeRectOptions, NodeTransition, type OffsetPathOptions, type OffsetShapeNodesOptions, type OutlineShapeStrokesOptions, type OutlineStrokeOptions, type PathBooleanOperation, type PathBooleanResult, type PathOperand, type PathOperandInput, PathOpsError, type PathOpsOptions, type PathOpsReport, type PathPiece, PlaceBesideOptions, Point, PolygonBooleanOperation, PolygonFillRule, PolygonRing, Position, type PositionChangeLike, RESIZE_HANDLES, type RecordAnimationOptions, Rect, ReflowDisplacementOptions, type ResizeHandle, SHAPE_DATA_KEY, SHAPE_NODE_TYPE, SHAPE_OPERATIONS, type SampleAnimationOptions, type ScaleKeyframesOptions, type SegmentIntersection, type SerializedCanvasScenes, type SetCanvasVariantPropertiesOptions, type SetKeyframeOptions, ShapeDescription, type ShapeNodePolygonOptions, type ShapeOperation, type ShapePathEditOperation, type ShapePathEditRefusal, type ShapePathEditResult, ShapeSize, Side, SizeDimension, type SnapGuidesOptions, type SnapNodeDragOptions, type SnapNodeDragResult, type SnapNodeResizeOptions, type SnapNodeResizeResult, type SnapResizeOptions, type SnapResizeResult, type SnapResult, StreamingLayoutManager, type StreamingLayoutManagerOptions, type StrokeCap, type StrokeJoin, type StrokeToShapeNodeOptions, TOKEN_BINDINGS_DATA_KEY, TOKEN_MODES_DATA_KEY, type TimelineKeyframe, type TimelineRow, type TimelineRowsOptions, TrajectoryFunction, type WebAnimationSpec, XYPosition, ZOrderOperation, addCanvasVariant, addKeyframesAtTime, animateNode, applyAnimation, applyAnimationOverrides, applyConstraints, applyShapeCombination, applyShapeReplacement, bezierPathArea, bindCanvasComponentProperty, bindCanvasToken, blendLayout, boundsOf, calculateDagreReflowDisplacement, calculateDirectionalDisplacement, canCombineShapeNodes, canOffsetShapeNodes, canOutlineShapeNodeStrokes, canvasHeight, centerNodes, centre, clampAnimationValue, clampLayoutSize, collectDescendantIds, combineCanvasComponentsAsVariants, combineShapeNodes, computeNodesBoundingBox, computeSnapGuides, connectedOnly, copyKeyframes, createBezierTrajectory, createCanvasAnimationController, createCanvasArrangeController, createCanvasAutoLayoutController, createCanvasComponent, createCanvasComponentsController, createCanvasDrawController, createCanvasInstance, createCanvasScenesStore, createDefaultStrokeStyle, createFanOutTrajectory, createGuideIndex, createNodeGuideIndex, cubicPointAt, cubicsToPathData, dashContours, defaultEasing, deleteKeyframes, detachCanvasInstance, detachTokenBindings, diffOverrideGroups, dividePaths, ensureLayout, estimateCanvasHeight, estimateNodeSize, evaluateAnimation, excludePaths, exportCssAnimation, findConnectorSnap, findStrokesAtPoint, findVariant, fitCubicRun, fitCubicWithTangents, fitCubics, fitFreehandPath, fitPathData, fitViewportToNodes, fitViewportToRect, flowSide, formatAnimationTime, formatVariantName, getAnimatableProperty, getAnimatedProperties, getAnimatedValue, getAnimationDuration, getAnimationTrack, getAutoLayout, getAutoLayoutGrid, getAutoLayoutInsertTarget, getBindableTokenProperties, getCanvasComponentDragId, getCanvasTokenProperty, getCenteredNodePosition, getChildLayout, getComponentData, getComponentInstances, getComponentPropertyDefs, getComponentPropertyRefs, getComponentSourceId, getCssPropertyAnimations, getDefaultVariant, getEffectiveTokenModes, getFlowChildren, getInstanceData, getInstanceProperties, getInstanceStatus, getKeyframeTimes, getLayerName, getLayoutParent, getLayoutSizing, getLayoutedNodes, getNextVariantValues, getNodeAnimation, getNodeOverrides, getNodeShape, getNodeTokenBindings, getNodeTokenModes, getOwningComponent, getOwningInstance, getResizingNodeRect, getRootInstance, getTimelineRows, getTimelineTicks, getTokenPropertyScope, getTokensForProperty, getVariantConflicts, getVariantOptions, getVariantSet, getVariantValues, handlePoint, hasVisibleStroke, inferResizeHandle, inspectCanvasInstance, inspectNodeTokens, intersectPaths, isAutoLayoutFrame, isCanvasComponent, isCanvasComponentSet, isCanvasInstance, isCssExportExact, isEventFromTextInput, isInsideInstance, isKeyframeSelected, isMeasureModifierHeld, isNodeAnimated, isShapeNode, isStraightCubic, isValidCanvasEdge, isValidCanvasNode, isValidCanvasScene, isValidUrl, layoutAll, layoutBounds, layoutFrame, layoutUp, layoutUpMany, linearPositionTrajectory, linearTrajectory, listCanvasComponents, makeSizingCoherent, measureBetween, measureLabel, measureSelection, measureToLine, mergeNodeUpdates, moveKeyframes, moveLayoutChild, nearestHandlePositions, normalizeBezierPath, offsetPath, offsetShapeNodes, oppositePosition, outlineShapeNodeStrokes, outlineStroke, overlaps, parseCanvasClipboardData, parseCanvasScenes, parseKeyframeClipboard, parseNodeStyleDeclarations, parseVariantName, pasteKeyframes, pathBoolean, placeBeside, playWebAnimations, positionToSide, pruneCanvasTokenModes, pushCanvasInstanceOverrides, readAnimatableValue, readNodeStyleProperty, readOverrideGroup, recordAnimationChanges, relayoutUpdates, remapPastedNodes, removeCanvasVariant, removeTrack, renameCanvasVariantProperty, renameCanvasVariantValue, repositionNodesTo, resetCanvasInstanceOverrides, resizeHandleAxes, resolveCanvasTokens, resolvePadding, restoreCanvasMainComponent, revertShapeCombination, runMultiNodeTransition, sampleAnimationFrames, scaleKeyframes, segmentIntersections, serializeCanvasNodes, setCanvasComponentProperty, setCanvasInstanceProperties, setCanvasTokenMode, setCanvasVariantProperties, setKeyframe, setKeyframeEasing, setMotionPath, setTrackEnabled, shapeNodeToBezierPath, shapeNodeToPolygon, shapeToBezierPath, sideToPosition, snapKeyframeDelta, snapNodeDrag, snapNodeResize, snapResize, snapTimeToFrame, snapToGrid, streamlinePoints, strokeBoundingBox, strokeOutlineRings, strokePointsToPathData, strokeToShapeNode, subtractPaths, swapCanvasInstance, syncAllCanvasInstances, syncCanvasComponents, syncCanvasInstance, timeToX, toWebAnimations, unitePaths, updateKeyframe, withNodeAnimation, withStyleOpacity, wouldCreateComponentCycle, writeNodeStyleProperty, writeOverrideGroup, xToTime };
2800
+ export { ANIMATABLE_PROPERTIES, ANIMATION_DATA_KEY, AUTO_LAYOUT_DATA_KEY, type AddCanvasVariantOptions, AlignEdge, AlignNodesOptions, type AnimatableProperty, type AnimateNodeOptions, type AnimationDocument, AnimationEasing, AnimationEditError, type AnimationEditErrorCode, type AnimationFrame, type AnimationHistoryTarget, type AnimationKeyframeClipboard, AnimationLoopMode, type AnimationMotionPath, type AnimationOverrides, AnimationPlayer, AnimationPlayerState, type AnimationPropertyOptions, type AnimationStop, AnimationTrack, AnimationValue, AnimationValueType, type ArrangeHistoryTarget, type AutoLayout, type AutoLayoutAlignContent, type AutoLayoutAlignCross, type AutoLayoutAlignMain, type AutoLayoutCellAlign, type AutoLayoutChild, type AutoLayoutConstraints, type AutoLayoutGrid, type AutoLayoutGridArea, type AutoLayoutGridCell, type AutoLayoutGridGeometry, type AutoLayoutGridTrack, type AutoLayoutHorizontalConstraint, type AutoLayoutInsertTarget, type AutoLayoutMeasure, type AutoLayoutMode, type AutoLayoutOptions, type AutoLayoutPadding, type AutoLayoutSize, type AutoLayoutSizing, type AutoLayoutSizingPair, type AutoLayoutVerticalConstraint, BezierPath, CANVAS_COMPONENT_DRAG_TYPE, CANVAS_TOKEN_PROPERTIES, CHILD_LAYOUT_DATA_KEY, COMPONENT_DATA_KEY, COMPONENT_OVERRIDES_DATA_KEY, COMPONENT_PROPERTY_REFS_DATA_KEY, COMPONENT_SET_DATA_KEY, COMPONENT_SOURCE_DATA_KEY, CONNECTION_LINE_TYPES, CSS_ANIMATION_PROPERTIES, type CanvasAnimationController, type CanvasAnimationControllerOptions, type CanvasAnimationState, CanvasArrangeAction, type CanvasArrangeController, type CanvasArrangeControllerOptions, type CanvasAutoLayoutController, type CanvasAutoLayoutControllerOptions, CanvasClipboardPayload, type CanvasComponentData, type CanvasComponentErrorCode, type CanvasComponentInfo, type CanvasComponentPropertyDef, type CanvasComponentPropertyField, type CanvasComponentPropertyType, type CanvasComponentPropertyValue, type CanvasComponentResult, type CanvasComponentSetData, type CanvasComponentSetInfo, type CanvasComponentSyncOptions, type CanvasComponentsController, type CanvasComponentsControllerOptions, type CanvasConnectionLineType, type CanvasDrawController, type CanvasDrawControllerOptions, CanvasEdge, CanvasGradientDef, type CanvasHeightOptions, type CanvasInstanceData, type CanvasInstanceInfo, type CanvasInstancePropertyInfo, CanvasLayoutOptions, CanvasNode, CanvasNodeStyle, CanvasNodeUpdate, type CanvasScene, type CanvasScenesOptions, type CanvasScenesState, CanvasScenesStore, type CanvasTokenBindingInfo, type CanvasTokenOptions, type CanvasTokenProperty, type CanvasViewport, Clock, type CombineShapeNodesOptions, type CombineShapeNodesRefusal, type CombineShapeNodesResult, type ConnectorSnap, type ConnectorSnapOptions, type ConnectorSnapTarget, type CreateCanvasComponentOptions, type CreateCanvasInstanceOptions, type CssAnimationExport, type CssExportOptions, type CssPropertyAnimation, type CubicSegment, DEFAULT_NODE_HEIGHT, DEFAULT_NODE_WIDTH, DEFAULT_PLACEMENT_GAP, DirectionalDisplacementOptions, DistributeAxis, DistributeMode, DistributeNodesOptions, type EvaluateAnimationOptions, FanOutTrajectoryOptions, type FitCubicsOptions, type FitPathDataOptions, type FitViewportOptions, type FreehandDrawOptions, type FreehandStroke, type FreehandStrokeStyle, type FreehandTool, type GuideIndex, type GuideLine, INSTANCE_DATA_KEY, IncrementalLayoutOptions, type KeyframeDragState, type KeyframePatch, type KeyframeRangeOptions, type KeyframeRef, type KeyframeSnap, MAX_KEYFRAME_REFS, MatchSizeOptions, type MeasureGuide, type MeasureSelectionOptions, type MeasureSelectionResult, type MoveKeyframesResult, type MultiNodeTransitionOptions, type NodeAnimation, NodeRectOptions, NodeTransition, type OffsetShapeNodesOptions, type OutlineShapeStrokesOptions, PlaceBesideOptions, Point, PolygonFillRule, PolygonRing, Position, type PositionChangeLike, RESIZE_HANDLES, type RecordAnimationOptions, Rect, ReflowDisplacementOptions, type ResizeHandle, SHAPE_DATA_KEY, SHAPE_NODE_TYPE, SHAPE_OPERATIONS, type SampleAnimationOptions, type ScaleKeyframesOptions, type SerializedCanvasScenes, type SetCanvasVariantPropertiesOptions, type SetKeyframeOptions, ShapeDescription, type ShapeNodePolygonOptions, type ShapeOperation, type ShapePathEditOperation, type ShapePathEditRefusal, type ShapePathEditResult, ShapeSize, Side, SizeDimension, type SnapGuidesOptions, type SnapNodeDragOptions, type SnapNodeDragResult, type SnapNodeResizeOptions, type SnapNodeResizeResult, type SnapResizeOptions, type SnapResizeResult, type SnapResult, StreamingLayoutManager, type StreamingLayoutManagerOptions, StrokeCap, StrokeJoin, type StrokeToShapeNodeOptions, TOKEN_BINDINGS_DATA_KEY, TOKEN_MODES_DATA_KEY, type TimelineKeyframe, type TimelineRow, type TimelineRowsOptions, TrajectoryFunction, type WebAnimationSpec, XYPosition, ZOrderOperation, addCanvasVariant, addKeyframesAtTime, animateNode, applyAnimation, applyAnimationOverrides, applyConstraints, applyShapeCombination, applyShapeReplacement, bindCanvasComponentProperty, bindCanvasToken, blendLayout, boundsOf, calculateDagreReflowDisplacement, calculateDirectionalDisplacement, canCombineShapeNodes, canOffsetShapeNodes, canOutlineShapeNodeStrokes, canvasHeight, centerNodes, centre, clampAnimationValue, clampLayoutSize, collectDescendantIds, combineCanvasComponentsAsVariants, combineShapeNodes, computeNodesBoundingBox, computeSnapGuides, connectedOnly, copyKeyframes, createBezierTrajectory, createCanvasAnimationController, createCanvasArrangeController, createCanvasAutoLayoutController, createCanvasComponent, createCanvasComponentsController, createCanvasDrawController, createCanvasInstance, createCanvasScenesStore, createDefaultStrokeStyle, createFanOutTrajectory, createGuideIndex, createNodeGuideIndex, cubicPointAt, cubicsToPathData, defaultEasing, deleteKeyframes, detachCanvasInstance, detachTokenBindings, diffOverrideGroups, ensureLayout, estimateCanvasHeight, estimateNodeSize, evaluateAnimation, exportCssAnimation, findConnectorSnap, findStrokesAtPoint, findVariant, fitCubicRun, fitCubicWithTangents, fitCubics, fitFreehandPath, fitPathData, fitViewportToNodes, fitViewportToRect, flowSide, formatAnimationTime, formatVariantName, getAnimatableProperty, getAnimatedProperties, getAnimatedValue, getAnimationDuration, getAnimationTrack, getAutoLayout, getAutoLayoutGrid, getAutoLayoutInsertTarget, getBindableTokenProperties, getCanvasComponentDragId, getCanvasTokenProperty, getCenteredNodePosition, getChildLayout, getComponentData, getComponentInstances, getComponentPropertyDefs, getComponentPropertyRefs, getComponentSourceId, getCssPropertyAnimations, getDefaultVariant, getEffectiveTokenModes, getFlowChildren, getInstanceData, getInstanceProperties, getInstanceStatus, getKeyframeTimes, getLayerName, getLayoutParent, getLayoutSizing, getLayoutedNodes, getNextVariantValues, getNodeAnimation, getNodeOverrides, getNodeShape, getNodeTokenBindings, getNodeTokenModes, getOwningComponent, getOwningInstance, getResizingNodeRect, getRootInstance, getTimelineRows, getTimelineTicks, getTokenPropertyScope, getTokensForProperty, getVariantConflicts, getVariantOptions, getVariantSet, getVariantValues, handlePoint, hasVisibleStroke, inferResizeHandle, inspectCanvasInstance, inspectNodeTokens, isAutoLayoutFrame, isCanvasComponent, isCanvasComponentSet, isCanvasInstance, isCssExportExact, isEventFromTextInput, isInsideInstance, isKeyframeSelected, isMeasureModifierHeld, isNodeAnimated, isShapeNode, isStraightCubic, isValidCanvasEdge, isValidCanvasNode, isValidCanvasScene, isValidUrl, layoutAll, layoutBounds, layoutFrame, layoutUp, layoutUpMany, linearPositionTrajectory, linearTrajectory, listCanvasComponents, makeSizingCoherent, measureBetween, measureLabel, measureSelection, measureToLine, mergeNodeUpdates, moveKeyframes, moveLayoutChild, nearestHandlePositions, offsetShapeNodes, oppositePosition, outlineShapeNodeStrokes, overlaps, parseCanvasClipboardData, parseCanvasScenes, parseKeyframeClipboard, parseNodeStyleDeclarations, parseVariantName, pasteKeyframes, placeBeside, playWebAnimations, positionToSide, pruneCanvasTokenModes, pushCanvasInstanceOverrides, readAnimatableValue, readNodeStyleProperty, readOverrideGroup, recordAnimationChanges, relayoutUpdates, remapPastedNodes, removeCanvasVariant, removeTrack, renameCanvasVariantProperty, renameCanvasVariantValue, repositionNodesTo, resetCanvasInstanceOverrides, resizeHandleAxes, resolveCanvasTokens, resolvePadding, restoreCanvasMainComponent, revertShapeCombination, runMultiNodeTransition, sampleAnimationFrames, scaleKeyframes, serializeCanvasNodes, setCanvasComponentProperty, setCanvasInstanceProperties, setCanvasTokenMode, setCanvasVariantProperties, setKeyframe, setKeyframeEasing, setMotionPath, setTrackEnabled, shapeNodeToBezierPath, shapeNodeToPolygon, shapeToBezierPath, sideToPosition, snapKeyframeDelta, snapNodeDrag, snapNodeResize, snapResize, snapTimeToFrame, snapToGrid, streamlinePoints, strokeBoundingBox, strokePointsToPathData, strokeToShapeNode, swapCanvasInstance, syncAllCanvasInstances, syncCanvasComponents, syncCanvasInstance, timeToX, toWebAnimations, updateKeyframe, withNodeAnimation, withStyleOpacity, wouldCreateComponentCycle, writeNodeStyleProperty, writeOverrideGroup, xToTime };
@@ -5,8 +5,8 @@ export { ANIMATION_TIME_EPSILON, AnimationKeyframe, AnimationPlayerOptions, Manu
5
5
  import { b as CanvasNodeUpdate, N as NodeRectOptions, A as AlignEdge, c as AlignNodesOptions, D as DistributeAxis, a as DistributeMode, d as DistributeNodesOptions, S as SizeDimension, M as MatchSizeOptions, Z as ZOrderOperation, C as CanvasArrangeAction } from '../arrange-BPAXGdMm.js';
6
6
  export { e as ArrangeShortcutBinding, f as DEFAULT_ARRANGE_SHORTCUTS, L as LOCKED_DATA_KEY, g as LOCKED_PREVIOUS_FLAGS_KEY, h as alignNodes, i as applyNodeUpdates, j as createNodeLookup, k as distributeNodes, l as getAbsolutePosition, m as getNodeRect, n as getNodeSize, o as invertNodeUpdates, p as isLocked, q as lockNodes, r as matchArrangeShortcut, s as matchSize, t as readStyleSize, u as reorderNodes, v as toggleLockNodes, w as unlockNodes, x as withStyleSize } from '../arrange-BPAXGdMm.js';
7
7
  import { C as Command, M as MergedExecutionOptions } from '../types-DsiXGmjo.js';
8
- import { a as BezierPath, P as PolygonBooleanOperation, B as BezierPathInput, b as PolygonFillRule, c as BezierSegment, d as BezierContour, e as ShapeDescription, f as PolygonRing, g as ShapeSize, C as CanvasGradientDef } from '../bezier-BvqVmWMg.js';
9
- export { A as AffineMatrix, h as BezierCommand, i as BezierPathToSvgOptions, j as CANVAS_GRADIENT_PRESETS, k as CanvasLinearGradient, l as CanvasRadialGradient, E as EllipseShape, F as FlattenOptions, G as GetShapeRenderDataOptions, m as GradientStop, M as MultiPolygon, n as PathCommand, o as PathPointAtLength, p as PathShape, q as PolygonBooleanOptions, r as PolygonInput, s as PolygonOperand, t as PolygonPiece, u as PolygonToPathOptions, v as PolygonWithHoles, R as RectShape, w as RegularPolygonShape, x as SHAPE_KINDS, y as ShapeKind, z as ShapePaint, D as ShapeRenderData, H as StarShape, S as SvgGradientDef, I as SvgGradientStop, J as angleToSvgLinearCoords, K as arcToCubics, L as bezierPathBounds, N as bezierPathLength, O as bezierPathPointAtLength, Q as bezierPathSignedArea, T as bezierPathToSvg, U as closeContour, V as contourSignedArea, W as contoursToPath, X as countPathSegments, Y as distanceToBezierPath, Z as dividePolygons, _ as flattenSvgPath, $ as formatNumber, a0 as getShapeRenderData, a1 as getShapeSvg, a2 as gradientToSvgDef, a3 as intersectPolygons, a4 as isCanvasGradient, a5 as isShapeDescription, a6 as multiPolygonArea, a7 as multiPolygonBounds, a8 as parseCssGradient, a9 as parseSvgPath, aa as pathToContours, ab as pointInBezierPath, ac as pointInMultiPolygon, ad as pointInRings, ae as polygonArea, af as polygonBoolean, ag as polygonToSvgPath, ah as resolveCanvasGradient, ai as ringSignedArea, aj as segmentBounds, ak as segmentCurvature, al as segmentDerivative, am as segmentExtrema, an as segmentLength, ao as segmentNearest, ap as segmentParamAtLength, aq as segmentPoint, ar as segmentTangent, as as shapeToPolygon, at as simplifyRing, au as splitSegment, av as subSegment, aw as subtractPolygons, ax as toBezierPath, ay as transformBezierPath, az as trimSegments, aA as unionPolygons, aB as windingNumber, aC as xorPolygons } from '../bezier-BvqVmWMg.js';
8
+ import { b as StrokeJoin, c as StrokeCap, g as ShapeDescription, a as BezierPath, h as PolygonFillRule, i as PolygonRing, j as ShapeSize, C as CanvasGradientDef } from '../pathfinder-fLmmFOJw.js';
9
+ export { A as AffineMatrix, k as BezierCommand, l as BezierContour, B as BezierPathInput, m as BezierPathToSvgOptions, d as BezierSegment, n as CANVAS_GRADIENT_PRESETS, o as CanvasLinearGradient, p as CanvasRadialGradient, D as DashedPath, q as DividePathsResult, E as EllipseShape, F as FlattenOptions, G as GetShapeRenderDataOptions, r as GradientStop, M as MultiPolygon, O as OffsetPathOptions, s as OutlineStrokeOptions, t as PATHFINDER_OPERATIONS, u as PathBooleanOperation, v as PathBooleanResult, w as PathCommand, x as PathOperand, y as PathOperandInput, z as PathOpsError, H as PathOpsOptions, I as PathOpsReport, J as PathPiece, K as PathPointAtLength, L as PathSelectResult, N as PathShape, e as PathfinderOperation, Q as PathfinderPiece, R as PathfinderResult, f as PathfinderShape, T as PlanarChain, U as PlanarFace, V as PlanarInput, P as PlanarMap, W as PlanarMapOptions, X as PlanarSplitEdge, Y as PlanarSplitResult, Z as PolygonBooleanOperation, _ as PolygonBooleanOptions, $ as PolygonInput, a0 as PolygonOperand, a1 as PolygonPiece, a2 as PolygonToPathOptions, a3 as PolygonWithHoles, a4 as RectShape, a5 as RegularPolygonShape, a6 as SHAPE_KINDS, a7 as SegmentIntersection, a8 as ShapeKind, a9 as ShapePaint, aa as ShapeRenderData, ab as StarShape, S as SvgGradientDef, ac as SvgGradientStop, ad as angleToSvgLinearCoords, ae as arcToCubics, af as bezierPathArea, ag as bezierPathBounds, ah as bezierPathLength, ai as bezierPathPointAtLength, aj as bezierPathSignedArea, ak as bezierPathToSvg, al as closeContour, am as contourSignedArea, an as contoursToPath, ao as countPathSegments, ap as dashContours, aq as distanceToBezierPath, ar as dividePaths, as as dividePolygons, at as excludePaths, au as flattenSvgPath, av as formatNumber, aw as getShapeRenderData, ax as getShapeSvg, ay as gradientToSvgDef, az as interiorPoint, aA as intersectPaths, aB as intersectPolygons, aC as isCanvasGradient, aD as isShapeDescription, aE as multiPolygonArea, aF as multiPolygonBounds, aG as normalizeBezierPath, aH as offsetPath, aI as outlineStroke, aJ as parseCssGradient, aK as parseSvgPath, aL as pathBoolean, aM as pathBooleanSelect, aN as pathToContours, aO as pathfinder, aP as planarSplit, aQ as pointInBezierPath, aR as pointInMultiPolygon, aS as pointInRings, aT as polygonArea, aU as polygonBoolean, aV as polygonToSvgPath, aW as resolveCanvasGradient, aX as ringSignedArea, aY as segmentBounds, aZ as segmentCurvature, a_ as segmentDerivative, a$ as segmentExtrema, b0 as segmentIntersections, b1 as segmentLength, b2 as segmentNearest, b3 as segmentParamAtLength, b4 as segmentPoint, b5 as segmentTangent, b6 as shapeToPolygon, b7 as simplifyRing, b8 as splitSegment, b9 as strokeOutlineRings, ba as subSegment, bb as subtractPaths, bc as subtractPolygons, bd as toBezierPath, be as transformBezierPath, bf as trimSegments, bg as unionPolygons, bh as unitePaths, bi as windingNumber, bj as xorPolygons } from '../pathfinder-fLmmFOJw.js';
10
10
  import { d as TokenModeContext, r as TokenType, o as TokenScope, f as TokenLiteral, c as TokenVariable, e as TokenResolution, T as TokenState } from '../model-C1zApQM8.js';
11
11
  import { A as AnimationEasing } from '../easing-DTmX99QG.js';
12
12
  export { a as ANIMATION_EASING_LABELS, b as ANIMATION_EASING_PRESETS, c as AnimationEasingPreset, C as CUBIC_BEZIER_PRESETS, d as CubicBezierEasing, E as ElasticEasing, S as SpringEasing, e as cubicBezierAt, f as easingFromInfluence, g as easingLabel, h as easingToCss, i as elasticAt, j as evaluateEasing, k as isAnimationEasing, p as parseCssEasing, r as resolveEasing, s as springAt } from '../easing-DTmX99QG.js';
@@ -565,220 +565,6 @@ declare function fitViewportToNodes(nodes: CanvasNode[], size: {
565
565
  height: number;
566
566
  }, ids?: Iterable<string>, options?: FitViewportOptions & NodeRectOptions): CanvasViewport | null;
567
567
 
568
- /**
569
- * Curve-preserving boolean operations (union, intersection, difference, xor and divide) on
570
- * Bézier paths.
571
- *
572
- * Algorithm (planar arrangement of curve pieces + winding classification):
573
- * 1. Every segment of every operand (open subpaths closed for filling) is a *source*; it is
574
- * cut into pieces monotone in x and y. Each piece remembers its source and its parameter
575
- * range there, so results can be rebuilt from exact sub-curves of the inputs.
576
- * 2. Pieces are intersected pairwise (pruned by a sweep on x): lines analytically, curves by
577
- * recursive subdivision down to flat sub-curves, chord intersection and Newton polishing.
578
- * Endpoints lying on another piece (T-junctions, tangent touches), collinear / coincident
579
- * overlaps and clusters of hits along a tangency are resolved first. Points closer than
580
- * `epsilon` share one vertex. Splitting repeats until no piece crosses another.
581
- * 3. Coincident pieces (shared edges, identical curves) merge into one edge carrying every
582
- * operand's signed multiplicity.
583
- * 4. Each edge is classified by casting a horizontal or vertical ray from its midpoint (the
584
- * pieces are monotone, so a ray crosses each at most once); the operands' fill rules turn
585
- * the winding numbers on both sides into inside flags and the operation picks the edges
586
- * with the result on exactly one side.
587
- * 5. The kept edges are traced into rings, taking the sharpest left turn at each vertex
588
- * (ties between tangent curves broken by a short chord along each curve), and consecutive
589
- * pieces of one source are merged back into one exact sub-curve, so circles stay four
590
- * cubics and rectangles four lines.
591
- *
592
- * When the curve engine fails (non-converging intersections on near-coincident curves,
593
- * an inconsistent arrangement) the operation falls back to the polygon engine
594
- * (`polygonBoolean`) on flattened input and reports it (`engine: 'polygon'`).
595
- *
596
- * Portions ported from vectorcraft-main/crates/pathops/src/boolean.rs (MIT OR Apache-2.0,
597
- * © ArtCraft Team and contributors). See THIRD_PARTY_NOTICES.md.
598
- */
599
-
600
- /** Boolean operations (same names as `polygonBoolean`). `xor` is Exclude. */
601
- type PathBooleanOperation = PolygonBooleanOperation;
602
- /** A path with the fill rule it is read with (default `nonzero`). */
603
- interface PathOperand {
604
- path: BezierPathInput;
605
- fillRule?: PolygonFillRule;
606
- }
607
- type PathOperandInput = BezierPathInput | PathOperand;
608
- interface PathOpsOptions {
609
- /**
610
- * Distance below which points are treated as equal. Defaults to `1e-9` times the
611
- * largest coordinate magnitude (at least `1e-9`).
612
- */
613
- epsilon?: number;
614
- /** Fall back to the polygon engine when the curve engine fails (default `true`). */
615
- fallback?: boolean;
616
- /** Flattening tolerance used by the polygon fallback (default 0.05). */
617
- fallbackTolerance?: number;
618
- /** Called with the reason whenever the polygon fallback is used. */
619
- onFallback?: (reason: string) => void;
620
- /**
621
- * Work budget of the curve–curve intersection search (flat sub-curve pairs per pair of
622
- * pieces, default 20,000). Exceeding it (nearly coincident curves) falls back.
623
- */
624
- subdivisionBudget?: number;
625
- }
626
- /** Which engine produced a result, and why the curve engine was not used. */
627
- interface PathOpsReport {
628
- engine: 'curve' | 'polygon';
629
- fallbackReason?: string;
630
- /** Set when the input cannot be processed at all (non-finite coordinates); the result is empty. */
631
- error?: string;
632
- }
633
- interface PathBooleanResult extends PathOpsReport {
634
- path: BezierPath;
635
- }
636
- /** One region of `dividePaths`, with the indices of the operands that cover it. */
637
- interface PathPiece {
638
- path: BezierPath;
639
- operands: number[];
640
- }
641
- interface DividePathsResult extends PathOpsReport {
642
- pieces: PathPiece[];
643
- }
644
- /** Raised by the curve engine when it cannot produce a reliable arrangement. */
645
- declare class PathOpsError extends Error {
646
- constructor(message: string);
647
- }
648
- /** A crossing or touch of two segments: the parameter on each and the point. */
649
- interface SegmentIntersection {
650
- ta: number;
651
- tb: number;
652
- point: Point;
653
- }
654
- /**
655
- * Every point where two segments (lines, quadratics or cubics, as control points) cross or
656
- * touch, by the same subdivision search the boolean operations use: flat sub-curves, chord
657
- * intersection, Newton polishing. Hits closer than `epsilon` (default: 1e-9 of the segments'
658
- * size) are one. Coincident stretches report the hits the search finds along them.
659
- */
660
- declare function segmentIntersections(a: BezierSegment, b: BezierSegment, options?: {
661
- epsilon?: number;
662
- budget?: number;
663
- }): SegmentIntersection[];
664
- /**
665
- * Applies a boolean operation to any number of path operands, keeping curves:
666
- * - `union`: covered by any operand.
667
- * - `intersection`: covered by every operand.
668
- * - `difference`: the first operand minus all others.
669
- * - `xor`: covered by an odd number of operands (Exclude).
670
- *
671
- * Open subpaths are closed for filling. Non-finite input gives an empty path (`error`); with
672
- * `fallback: false` a failure of the curve engine throws a `PathOpsError`. The result is a set of simple closed subpaths that
673
- * never cross (they may touch at points): outer subpaths run counter-clockwise in a y-up
674
- * frame (clockwise on screen), holes the other way, so it fills the same with `nonzero`
675
- * and `evenodd`. Segments of the inputs are kept as exact sub-curves.
676
- */
677
- declare function pathBoolean(operation: PathBooleanOperation, operands: PathOperandInput[], options?: PathOpsOptions): PathBooleanResult;
678
- declare const unitePaths: (a: PathOperandInput, b: PathOperandInput, options?: PathOpsOptions) => BezierPath;
679
- declare const intersectPaths: (a: PathOperandInput, b: PathOperandInput, options?: PathOpsOptions) => BezierPath;
680
- declare const subtractPaths: (a: PathOperandInput, b: PathOperandInput, options?: PathOpsOptions) => BezierPath;
681
- declare const excludePaths: (a: PathOperandInput, b: PathOperandInput, options?: PathOpsOptions) => BezierPath;
682
- /**
683
- * Splits the arrangement of the operands into its regions (Divide): every connected area
684
- * covered by the same set of operands becomes one piece (an outer subpath with its holes).
685
- * Pieces are ordered by operand set, then by area (largest first).
686
- */
687
- declare function dividePaths(operands: PathOperandInput[], options?: PathOpsOptions): DividePathsResult;
688
- /**
689
- * Resolves self-intersections and overlaps of one filled path into simple, consistently
690
- * oriented subpaths (outer subpaths and holes) under its fill rule.
691
- */
692
- declare function normalizeBezierPath(path: BezierPathInput, fillRule?: PolygonFillRule, options?: PathOpsOptions): BezierPath;
693
- /** Filled area of a path under its fill rule (overlaps counted once; exact for curves). */
694
- declare function bezierPathArea(path: BezierPathInput, fillRule?: PolygonFillRule, options?: PathOpsOptions): number;
695
-
696
- /**
697
- * Offset Path and Outline Stroke on Bézier paths.
698
- *
699
- * The stroker offsets every segment by ± half the width (lines exactly, curves by cubic
700
- * approximations refined until they stay within `tolerance` of the true offset), joins the
701
- * pieces (miter with a miter limit, round or bevel on the outer side of a turn; through the
702
- * vertex on the inner side) and adds caps (butt, round, square) to open subpaths. Dashes
703
- * follow arc length, restart on every subpath and join across the start of a closed
704
- * subpath. The raw outline overlaps itself, so it is filled with the non-zero rule and
705
- * normalised with the curve boolean engine.
706
- *
707
- * When the stroke is wider than a curve's radius of curvature the inner offset turns inside
708
- * out and its loops cancel winding, leaving holes that are really covered. Every face of
709
- * the true result is bounded by the arrangement, so a face is spurious exactly when a point
710
- * deep inside it is closer to the path than the offset distance (holes when growing,
711
- * islands when insetting); such faces are dropped.
712
- *
713
- * Portions ported from vectorcraft-main/crates/pathops/src/offset.rs,
714
- * vectorcraft-main/crates/pathops/src/boolean.rs (`try_merge`) and
715
- * vectorcraft-main/crates/effects/src/stroke/dash.rs (MIT OR Apache-2.0, © ArtCraft Team
716
- * and contributors). See THIRD_PARTY_NOTICES.md.
717
- */
718
-
719
- /** Line join (as SVG `stroke-linejoin`). */
720
- type StrokeJoin = 'miter' | 'round' | 'bevel';
721
- /** Line cap (as SVG `stroke-linecap`). */
722
- type StrokeCap = 'butt' | 'round' | 'square';
723
- interface OutlineStrokeOptions extends PathOpsOptions {
724
- /** Stroke width. Non-positive or non-finite widths give an empty result. */
725
- width: number;
726
- /** Default `miter` (as SVG). */
727
- join?: StrokeJoin;
728
- /** Default `butt` (as SVG). */
729
- cap?: StrokeCap;
730
- /** Miter length / stroke width above which a miter join is bevelled (default 4, as SVG). */
731
- miterLimit?: number;
732
- /** Dash pattern (as SVG `stroke-dasharray`); odd patterns repeat twice. */
733
- dash?: readonly number[];
734
- /** Distance into the dash pattern at the start of each subpath (as `stroke-dashoffset`). */
735
- dashOffset?: number;
736
- /** Maximum distance between the approximated and the true offset curve (default 0.01). */
737
- tolerance?: number;
738
- }
739
- interface OffsetPathOptions extends PathOpsOptions {
740
- /** Corner style of the grown / shrunk outline (default `miter`). */
741
- join?: StrokeJoin;
742
- /** Miter limit (default 4). */
743
- miterLimit?: number;
744
- /** Fill rule of the input (default `nonzero`). */
745
- fillRule?: PolygonFillRule;
746
- /** Maximum distance between the approximated and the true offset curve (default 0.01). */
747
- tolerance?: number;
748
- }
749
- interface DashedPath {
750
- /** The dashes, as open subpaths. */
751
- contours: BezierContour[];
752
- /** Zero-length dashes: where they sit and the path direction there. */
753
- dots: {
754
- point: Point;
755
- tangent: Point;
756
- }[];
757
- }
758
- /**
759
- * Applies a dash pattern (SVG `stroke-dasharray` / `stroke-dashoffset` semantics) to the
760
- * subpaths. Returns `null` when the pattern is invalid (negative or non-finite entries),
761
- * has no positive entry, or would make more than 200,000 dashes: the line is solid.
762
- */
763
- declare function dashContours(contours: readonly BezierContour[], pattern: readonly number[], offset?: number): DashedPath | null;
764
- /**
765
- * The raw (overlapping) outline of a stroke as closed subpaths to fill with `nonzero`.
766
- * `outlineStroke` normalises it; this is useful for previews.
767
- */
768
- declare function strokeOutlineRings(input: BezierPathInput, options: OutlineStrokeOptions): BezierPath;
769
- /**
770
- * Outline Stroke: the filled area painted by stroking `path`, as one clean path (overlaps
771
- * removed, consistently oriented). Joins, caps, miter limit and dashes follow SVG.
772
- */
773
- declare function outlineStroke(input: BezierPathInput, options: OutlineStrokeOptions): BezierPath;
774
- /**
775
- * Offset Path: grows (`distance > 0`) or shrinks (`distance < 0`) the filled area by
776
- * `distance`. Closed subpaths are a filled region (read with `fillRule`); open subpaths are
777
- * outlined with a stroke of width `2·|distance|` and butt caps (when growing). Loops of the
778
- * offset curves are removed.
779
- */
780
- declare function offsetPath(input: BezierPathInput, distance: number, options?: OffsetPathOptions): BezierPath;
781
-
782
568
  /**
783
569
  * Shape nodes and Freeform-style shape boolean operations (Unite / Intersect / Subtract /
784
570
  * Exclude / Divide) on canvas nodes.
@@ -3011,4 +2797,4 @@ declare function createCanvasDrawController<TNode extends CanvasNode = CanvasNod
3011
2797
  };
3012
2798
  type CanvasDrawController = ReturnType<typeof createCanvasDrawController>;
3013
2799
 
3014
- export { ANIMATABLE_PROPERTIES, ANIMATION_DATA_KEY, AUTO_LAYOUT_DATA_KEY, type AddCanvasVariantOptions, AlignEdge, AlignNodesOptions, type AnimatableProperty, type AnimateNodeOptions, type AnimationDocument, AnimationEasing, AnimationEditError, type AnimationEditErrorCode, type AnimationFrame, type AnimationHistoryTarget, type AnimationKeyframeClipboard, AnimationLoopMode, type AnimationMotionPath, type AnimationOverrides, AnimationPlayer, AnimationPlayerState, type AnimationPropertyOptions, type AnimationStop, AnimationTrack, AnimationValue, AnimationValueType, type ArrangeHistoryTarget, type AutoLayout, type AutoLayoutAlignContent, type AutoLayoutAlignCross, type AutoLayoutAlignMain, type AutoLayoutCellAlign, type AutoLayoutChild, type AutoLayoutConstraints, type AutoLayoutGrid, type AutoLayoutGridArea, type AutoLayoutGridCell, type AutoLayoutGridGeometry, type AutoLayoutGridTrack, type AutoLayoutHorizontalConstraint, type AutoLayoutInsertTarget, type AutoLayoutMeasure, type AutoLayoutMode, type AutoLayoutOptions, type AutoLayoutPadding, type AutoLayoutSize, type AutoLayoutSizing, type AutoLayoutSizingPair, type AutoLayoutVerticalConstraint, BezierContour, BezierPath, BezierPathInput, BezierSegment, CANVAS_COMPONENT_DRAG_TYPE, CANVAS_TOKEN_PROPERTIES, CHILD_LAYOUT_DATA_KEY, COMPONENT_DATA_KEY, COMPONENT_OVERRIDES_DATA_KEY, COMPONENT_PROPERTY_REFS_DATA_KEY, COMPONENT_SET_DATA_KEY, COMPONENT_SOURCE_DATA_KEY, CONNECTION_LINE_TYPES, CSS_ANIMATION_PROPERTIES, type CanvasAnimationController, type CanvasAnimationControllerOptions, type CanvasAnimationState, CanvasArrangeAction, type CanvasArrangeController, type CanvasArrangeControllerOptions, type CanvasAutoLayoutController, type CanvasAutoLayoutControllerOptions, CanvasClipboardPayload, type CanvasComponentData, type CanvasComponentErrorCode, type CanvasComponentInfo, type CanvasComponentPropertyDef, type CanvasComponentPropertyField, type CanvasComponentPropertyType, type CanvasComponentPropertyValue, type CanvasComponentResult, type CanvasComponentSetData, type CanvasComponentSetInfo, type CanvasComponentSyncOptions, type CanvasComponentsController, type CanvasComponentsControllerOptions, type CanvasConnectionLineType, type CanvasDrawController, type CanvasDrawControllerOptions, CanvasEdge, CanvasGradientDef, type CanvasHeightOptions, type CanvasInstanceData, type CanvasInstanceInfo, type CanvasInstancePropertyInfo, CanvasLayoutOptions, CanvasNode, CanvasNodeStyle, CanvasNodeUpdate, type CanvasScene, type CanvasScenesOptions, type CanvasScenesState, CanvasScenesStore, type CanvasTokenBindingInfo, type CanvasTokenOptions, type CanvasTokenProperty, type CanvasViewport, Clock, type CombineShapeNodesOptions, type CombineShapeNodesRefusal, type CombineShapeNodesResult, type ConnectorSnap, type ConnectorSnapOptions, type ConnectorSnapTarget, type CreateCanvasComponentOptions, type CreateCanvasInstanceOptions, type CssAnimationExport, type CssExportOptions, type CssPropertyAnimation, type CubicSegment, DEFAULT_NODE_HEIGHT, DEFAULT_NODE_WIDTH, DEFAULT_PLACEMENT_GAP, type DashedPath, DirectionalDisplacementOptions, DistributeAxis, DistributeMode, DistributeNodesOptions, type DividePathsResult, type EvaluateAnimationOptions, FanOutTrajectoryOptions, type FitCubicsOptions, type FitPathDataOptions, type FitViewportOptions, type FreehandDrawOptions, type FreehandStroke, type FreehandStrokeStyle, type FreehandTool, type GuideIndex, type GuideLine, INSTANCE_DATA_KEY, IncrementalLayoutOptions, type KeyframeDragState, type KeyframePatch, type KeyframeRangeOptions, type KeyframeRef, type KeyframeSnap, MAX_KEYFRAME_REFS, MatchSizeOptions, type MeasureGuide, type MeasureSelectionOptions, type MeasureSelectionResult, type MoveKeyframesResult, type MultiNodeTransitionOptions, type NodeAnimation, NodeRectOptions, NodeTransition, type OffsetPathOptions, type OffsetShapeNodesOptions, type OutlineShapeStrokesOptions, type OutlineStrokeOptions, type PathBooleanOperation, type PathBooleanResult, type PathOperand, type PathOperandInput, PathOpsError, type PathOpsOptions, type PathOpsReport, type PathPiece, PlaceBesideOptions, Point, PolygonBooleanOperation, PolygonFillRule, PolygonRing, Position, type PositionChangeLike, RESIZE_HANDLES, type RecordAnimationOptions, Rect, ReflowDisplacementOptions, type ResizeHandle, SHAPE_DATA_KEY, SHAPE_NODE_TYPE, SHAPE_OPERATIONS, type SampleAnimationOptions, type ScaleKeyframesOptions, type SegmentIntersection, type SerializedCanvasScenes, type SetCanvasVariantPropertiesOptions, type SetKeyframeOptions, ShapeDescription, type ShapeNodePolygonOptions, type ShapeOperation, type ShapePathEditOperation, type ShapePathEditRefusal, type ShapePathEditResult, ShapeSize, Side, SizeDimension, type SnapGuidesOptions, type SnapNodeDragOptions, type SnapNodeDragResult, type SnapNodeResizeOptions, type SnapNodeResizeResult, type SnapResizeOptions, type SnapResizeResult, type SnapResult, StreamingLayoutManager, type StreamingLayoutManagerOptions, type StrokeCap, type StrokeJoin, type StrokeToShapeNodeOptions, TOKEN_BINDINGS_DATA_KEY, TOKEN_MODES_DATA_KEY, type TimelineKeyframe, type TimelineRow, type TimelineRowsOptions, TrajectoryFunction, type WebAnimationSpec, XYPosition, ZOrderOperation, addCanvasVariant, addKeyframesAtTime, animateNode, applyAnimation, applyAnimationOverrides, applyConstraints, applyShapeCombination, applyShapeReplacement, bezierPathArea, bindCanvasComponentProperty, bindCanvasToken, blendLayout, boundsOf, calculateDagreReflowDisplacement, calculateDirectionalDisplacement, canCombineShapeNodes, canOffsetShapeNodes, canOutlineShapeNodeStrokes, canvasHeight, centerNodes, centre, clampAnimationValue, clampLayoutSize, collectDescendantIds, combineCanvasComponentsAsVariants, combineShapeNodes, computeNodesBoundingBox, computeSnapGuides, connectedOnly, copyKeyframes, createBezierTrajectory, createCanvasAnimationController, createCanvasArrangeController, createCanvasAutoLayoutController, createCanvasComponent, createCanvasComponentsController, createCanvasDrawController, createCanvasInstance, createCanvasScenesStore, createDefaultStrokeStyle, createFanOutTrajectory, createGuideIndex, createNodeGuideIndex, cubicPointAt, cubicsToPathData, dashContours, defaultEasing, deleteKeyframes, detachCanvasInstance, detachTokenBindings, diffOverrideGroups, dividePaths, ensureLayout, estimateCanvasHeight, estimateNodeSize, evaluateAnimation, excludePaths, exportCssAnimation, findConnectorSnap, findStrokesAtPoint, findVariant, fitCubicRun, fitCubicWithTangents, fitCubics, fitFreehandPath, fitPathData, fitViewportToNodes, fitViewportToRect, flowSide, formatAnimationTime, formatVariantName, getAnimatableProperty, getAnimatedProperties, getAnimatedValue, getAnimationDuration, getAnimationTrack, getAutoLayout, getAutoLayoutGrid, getAutoLayoutInsertTarget, getBindableTokenProperties, getCanvasComponentDragId, getCanvasTokenProperty, getCenteredNodePosition, getChildLayout, getComponentData, getComponentInstances, getComponentPropertyDefs, getComponentPropertyRefs, getComponentSourceId, getCssPropertyAnimations, getDefaultVariant, getEffectiveTokenModes, getFlowChildren, getInstanceData, getInstanceProperties, getInstanceStatus, getKeyframeTimes, getLayerName, getLayoutParent, getLayoutSizing, getLayoutedNodes, getNextVariantValues, getNodeAnimation, getNodeOverrides, getNodeShape, getNodeTokenBindings, getNodeTokenModes, getOwningComponent, getOwningInstance, getResizingNodeRect, getRootInstance, getTimelineRows, getTimelineTicks, getTokenPropertyScope, getTokensForProperty, getVariantConflicts, getVariantOptions, getVariantSet, getVariantValues, handlePoint, hasVisibleStroke, inferResizeHandle, inspectCanvasInstance, inspectNodeTokens, intersectPaths, isAutoLayoutFrame, isCanvasComponent, isCanvasComponentSet, isCanvasInstance, isCssExportExact, isEventFromTextInput, isInsideInstance, isKeyframeSelected, isMeasureModifierHeld, isNodeAnimated, isShapeNode, isStraightCubic, isValidCanvasEdge, isValidCanvasNode, isValidCanvasScene, isValidUrl, layoutAll, layoutBounds, layoutFrame, layoutUp, layoutUpMany, linearPositionTrajectory, linearTrajectory, listCanvasComponents, makeSizingCoherent, measureBetween, measureLabel, measureSelection, measureToLine, mergeNodeUpdates, moveKeyframes, moveLayoutChild, nearestHandlePositions, normalizeBezierPath, offsetPath, offsetShapeNodes, oppositePosition, outlineShapeNodeStrokes, outlineStroke, overlaps, parseCanvasClipboardData, parseCanvasScenes, parseKeyframeClipboard, parseNodeStyleDeclarations, parseVariantName, pasteKeyframes, pathBoolean, placeBeside, playWebAnimations, positionToSide, pruneCanvasTokenModes, pushCanvasInstanceOverrides, readAnimatableValue, readNodeStyleProperty, readOverrideGroup, recordAnimationChanges, relayoutUpdates, remapPastedNodes, removeCanvasVariant, removeTrack, renameCanvasVariantProperty, renameCanvasVariantValue, repositionNodesTo, resetCanvasInstanceOverrides, resizeHandleAxes, resolveCanvasTokens, resolvePadding, restoreCanvasMainComponent, revertShapeCombination, runMultiNodeTransition, sampleAnimationFrames, scaleKeyframes, segmentIntersections, serializeCanvasNodes, setCanvasComponentProperty, setCanvasInstanceProperties, setCanvasTokenMode, setCanvasVariantProperties, setKeyframe, setKeyframeEasing, setMotionPath, setTrackEnabled, shapeNodeToBezierPath, shapeNodeToPolygon, shapeToBezierPath, sideToPosition, snapKeyframeDelta, snapNodeDrag, snapNodeResize, snapResize, snapTimeToFrame, snapToGrid, streamlinePoints, strokeBoundingBox, strokeOutlineRings, strokePointsToPathData, strokeToShapeNode, subtractPaths, swapCanvasInstance, syncAllCanvasInstances, syncCanvasComponents, syncCanvasInstance, timeToX, toWebAnimations, unitePaths, updateKeyframe, withNodeAnimation, withStyleOpacity, wouldCreateComponentCycle, writeNodeStyleProperty, writeOverrideGroup, xToTime };
2800
+ export { ANIMATABLE_PROPERTIES, ANIMATION_DATA_KEY, AUTO_LAYOUT_DATA_KEY, type AddCanvasVariantOptions, AlignEdge, AlignNodesOptions, type AnimatableProperty, type AnimateNodeOptions, type AnimationDocument, AnimationEasing, AnimationEditError, type AnimationEditErrorCode, type AnimationFrame, type AnimationHistoryTarget, type AnimationKeyframeClipboard, AnimationLoopMode, type AnimationMotionPath, type AnimationOverrides, AnimationPlayer, AnimationPlayerState, type AnimationPropertyOptions, type AnimationStop, AnimationTrack, AnimationValue, AnimationValueType, type ArrangeHistoryTarget, type AutoLayout, type AutoLayoutAlignContent, type AutoLayoutAlignCross, type AutoLayoutAlignMain, type AutoLayoutCellAlign, type AutoLayoutChild, type AutoLayoutConstraints, type AutoLayoutGrid, type AutoLayoutGridArea, type AutoLayoutGridCell, type AutoLayoutGridGeometry, type AutoLayoutGridTrack, type AutoLayoutHorizontalConstraint, type AutoLayoutInsertTarget, type AutoLayoutMeasure, type AutoLayoutMode, type AutoLayoutOptions, type AutoLayoutPadding, type AutoLayoutSize, type AutoLayoutSizing, type AutoLayoutSizingPair, type AutoLayoutVerticalConstraint, BezierPath, CANVAS_COMPONENT_DRAG_TYPE, CANVAS_TOKEN_PROPERTIES, CHILD_LAYOUT_DATA_KEY, COMPONENT_DATA_KEY, COMPONENT_OVERRIDES_DATA_KEY, COMPONENT_PROPERTY_REFS_DATA_KEY, COMPONENT_SET_DATA_KEY, COMPONENT_SOURCE_DATA_KEY, CONNECTION_LINE_TYPES, CSS_ANIMATION_PROPERTIES, type CanvasAnimationController, type CanvasAnimationControllerOptions, type CanvasAnimationState, CanvasArrangeAction, type CanvasArrangeController, type CanvasArrangeControllerOptions, type CanvasAutoLayoutController, type CanvasAutoLayoutControllerOptions, CanvasClipboardPayload, type CanvasComponentData, type CanvasComponentErrorCode, type CanvasComponentInfo, type CanvasComponentPropertyDef, type CanvasComponentPropertyField, type CanvasComponentPropertyType, type CanvasComponentPropertyValue, type CanvasComponentResult, type CanvasComponentSetData, type CanvasComponentSetInfo, type CanvasComponentSyncOptions, type CanvasComponentsController, type CanvasComponentsControllerOptions, type CanvasConnectionLineType, type CanvasDrawController, type CanvasDrawControllerOptions, CanvasEdge, CanvasGradientDef, type CanvasHeightOptions, type CanvasInstanceData, type CanvasInstanceInfo, type CanvasInstancePropertyInfo, CanvasLayoutOptions, CanvasNode, CanvasNodeStyle, CanvasNodeUpdate, type CanvasScene, type CanvasScenesOptions, type CanvasScenesState, CanvasScenesStore, type CanvasTokenBindingInfo, type CanvasTokenOptions, type CanvasTokenProperty, type CanvasViewport, Clock, type CombineShapeNodesOptions, type CombineShapeNodesRefusal, type CombineShapeNodesResult, type ConnectorSnap, type ConnectorSnapOptions, type ConnectorSnapTarget, type CreateCanvasComponentOptions, type CreateCanvasInstanceOptions, type CssAnimationExport, type CssExportOptions, type CssPropertyAnimation, type CubicSegment, DEFAULT_NODE_HEIGHT, DEFAULT_NODE_WIDTH, DEFAULT_PLACEMENT_GAP, DirectionalDisplacementOptions, DistributeAxis, DistributeMode, DistributeNodesOptions, type EvaluateAnimationOptions, FanOutTrajectoryOptions, type FitCubicsOptions, type FitPathDataOptions, type FitViewportOptions, type FreehandDrawOptions, type FreehandStroke, type FreehandStrokeStyle, type FreehandTool, type GuideIndex, type GuideLine, INSTANCE_DATA_KEY, IncrementalLayoutOptions, type KeyframeDragState, type KeyframePatch, type KeyframeRangeOptions, type KeyframeRef, type KeyframeSnap, MAX_KEYFRAME_REFS, MatchSizeOptions, type MeasureGuide, type MeasureSelectionOptions, type MeasureSelectionResult, type MoveKeyframesResult, type MultiNodeTransitionOptions, type NodeAnimation, NodeRectOptions, NodeTransition, type OffsetShapeNodesOptions, type OutlineShapeStrokesOptions, PlaceBesideOptions, Point, PolygonFillRule, PolygonRing, Position, type PositionChangeLike, RESIZE_HANDLES, type RecordAnimationOptions, Rect, ReflowDisplacementOptions, type ResizeHandle, SHAPE_DATA_KEY, SHAPE_NODE_TYPE, SHAPE_OPERATIONS, type SampleAnimationOptions, type ScaleKeyframesOptions, type SerializedCanvasScenes, type SetCanvasVariantPropertiesOptions, type SetKeyframeOptions, ShapeDescription, type ShapeNodePolygonOptions, type ShapeOperation, type ShapePathEditOperation, type ShapePathEditRefusal, type ShapePathEditResult, ShapeSize, Side, SizeDimension, type SnapGuidesOptions, type SnapNodeDragOptions, type SnapNodeDragResult, type SnapNodeResizeOptions, type SnapNodeResizeResult, type SnapResizeOptions, type SnapResizeResult, type SnapResult, StreamingLayoutManager, type StreamingLayoutManagerOptions, StrokeCap, StrokeJoin, type StrokeToShapeNodeOptions, TOKEN_BINDINGS_DATA_KEY, TOKEN_MODES_DATA_KEY, type TimelineKeyframe, type TimelineRow, type TimelineRowsOptions, TrajectoryFunction, type WebAnimationSpec, XYPosition, ZOrderOperation, addCanvasVariant, addKeyframesAtTime, animateNode, applyAnimation, applyAnimationOverrides, applyConstraints, applyShapeCombination, applyShapeReplacement, bindCanvasComponentProperty, bindCanvasToken, blendLayout, boundsOf, calculateDagreReflowDisplacement, calculateDirectionalDisplacement, canCombineShapeNodes, canOffsetShapeNodes, canOutlineShapeNodeStrokes, canvasHeight, centerNodes, centre, clampAnimationValue, clampLayoutSize, collectDescendantIds, combineCanvasComponentsAsVariants, combineShapeNodes, computeNodesBoundingBox, computeSnapGuides, connectedOnly, copyKeyframes, createBezierTrajectory, createCanvasAnimationController, createCanvasArrangeController, createCanvasAutoLayoutController, createCanvasComponent, createCanvasComponentsController, createCanvasDrawController, createCanvasInstance, createCanvasScenesStore, createDefaultStrokeStyle, createFanOutTrajectory, createGuideIndex, createNodeGuideIndex, cubicPointAt, cubicsToPathData, defaultEasing, deleteKeyframes, detachCanvasInstance, detachTokenBindings, diffOverrideGroups, ensureLayout, estimateCanvasHeight, estimateNodeSize, evaluateAnimation, exportCssAnimation, findConnectorSnap, findStrokesAtPoint, findVariant, fitCubicRun, fitCubicWithTangents, fitCubics, fitFreehandPath, fitPathData, fitViewportToNodes, fitViewportToRect, flowSide, formatAnimationTime, formatVariantName, getAnimatableProperty, getAnimatedProperties, getAnimatedValue, getAnimationDuration, getAnimationTrack, getAutoLayout, getAutoLayoutGrid, getAutoLayoutInsertTarget, getBindableTokenProperties, getCanvasComponentDragId, getCanvasTokenProperty, getCenteredNodePosition, getChildLayout, getComponentData, getComponentInstances, getComponentPropertyDefs, getComponentPropertyRefs, getComponentSourceId, getCssPropertyAnimations, getDefaultVariant, getEffectiveTokenModes, getFlowChildren, getInstanceData, getInstanceProperties, getInstanceStatus, getKeyframeTimes, getLayerName, getLayoutParent, getLayoutSizing, getLayoutedNodes, getNextVariantValues, getNodeAnimation, getNodeOverrides, getNodeShape, getNodeTokenBindings, getNodeTokenModes, getOwningComponent, getOwningInstance, getResizingNodeRect, getRootInstance, getTimelineRows, getTimelineTicks, getTokenPropertyScope, getTokensForProperty, getVariantConflicts, getVariantOptions, getVariantSet, getVariantValues, handlePoint, hasVisibleStroke, inferResizeHandle, inspectCanvasInstance, inspectNodeTokens, isAutoLayoutFrame, isCanvasComponent, isCanvasComponentSet, isCanvasInstance, isCssExportExact, isEventFromTextInput, isInsideInstance, isKeyframeSelected, isMeasureModifierHeld, isNodeAnimated, isShapeNode, isStraightCubic, isValidCanvasEdge, isValidCanvasNode, isValidCanvasScene, isValidUrl, layoutAll, layoutBounds, layoutFrame, layoutUp, layoutUpMany, linearPositionTrajectory, linearTrajectory, listCanvasComponents, makeSizingCoherent, measureBetween, measureLabel, measureSelection, measureToLine, mergeNodeUpdates, moveKeyframes, moveLayoutChild, nearestHandlePositions, offsetShapeNodes, oppositePosition, outlineShapeNodeStrokes, overlaps, parseCanvasClipboardData, parseCanvasScenes, parseKeyframeClipboard, parseNodeStyleDeclarations, parseVariantName, pasteKeyframes, placeBeside, playWebAnimations, positionToSide, pruneCanvasTokenModes, pushCanvasInstanceOverrides, readAnimatableValue, readNodeStyleProperty, readOverrideGroup, recordAnimationChanges, relayoutUpdates, remapPastedNodes, removeCanvasVariant, removeTrack, renameCanvasVariantProperty, renameCanvasVariantValue, repositionNodesTo, resetCanvasInstanceOverrides, resizeHandleAxes, resolveCanvasTokens, resolvePadding, restoreCanvasMainComponent, revertShapeCombination, runMultiNodeTransition, sampleAnimationFrames, scaleKeyframes, serializeCanvasNodes, setCanvasComponentProperty, setCanvasInstanceProperties, setCanvasTokenMode, setCanvasVariantProperties, setKeyframe, setKeyframeEasing, setMotionPath, setTrackEnabled, shapeNodeToBezierPath, shapeNodeToPolygon, shapeToBezierPath, sideToPosition, snapKeyframeDelta, snapNodeDrag, snapNodeResize, snapResize, snapTimeToFrame, snapToGrid, streamlinePoints, strokeBoundingBox, strokePointsToPathData, strokeToShapeNode, swapCanvasInstance, syncAllCanvasInstances, syncCanvasComponents, syncCanvasInstance, timeToX, toWebAnimations, updateKeyframe, withNodeAnimation, withStyleOpacity, wouldCreateComponentCycle, writeNodeStyleProperty, writeOverrideGroup, xToTime };