@pixerate/editor 0.134.0 → 0.136.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.
Files changed (113) hide show
  1. package/dist/animation-editor/index.cjs +58 -55
  2. package/dist/animation-editor/index.cjs.map +1 -1
  3. package/dist/animation-editor/index.d.cts +8 -5
  4. package/dist/animation-editor/index.d.ts +8 -5
  5. package/dist/animation-editor/index.js +5 -2
  6. package/dist/animation-editor/index.js.map +1 -1
  7. package/dist/{bezier-J8i4uqSH.d.cts → bezier-CdccFsF8.d.cts} +1 -1
  8. package/dist/{bezier-lNEOp0Jx.d.ts → bezier-DG9qNZQV.d.ts} +1 -1
  9. package/dist/canvas/index.d.cts +10 -7
  10. package/dist/canvas/index.d.ts +10 -7
  11. package/dist/{chunk-Z2H7KECK.cjs → chunk-2R3UW57U.cjs} +13 -2
  12. package/dist/chunk-2R3UW57U.cjs.map +1 -0
  13. package/dist/{chunk-ESIWZMMK.js → chunk-6QQR4LKE.js} +2 -2
  14. package/dist/chunk-A3BVTI3G.js +150 -0
  15. package/dist/chunk-A3BVTI3G.js.map +1 -0
  16. package/dist/{chunk-T6TV6HY6.cjs → chunk-B2CUCM7Y.cjs} +36 -36
  17. package/dist/{chunk-T6TV6HY6.cjs.map → chunk-B2CUCM7Y.cjs.map} +1 -1
  18. package/dist/chunk-ECCXGELC.cjs +727 -0
  19. package/dist/chunk-ECCXGELC.cjs.map +1 -0
  20. package/dist/{chunk-OXSV64JX.js → chunk-G6IKY6PL.js} +4 -4
  21. package/dist/chunk-I52DRGGJ.js +727 -0
  22. package/dist/chunk-I52DRGGJ.js.map +1 -0
  23. package/dist/{chunk-6CTZAGZ2.js → chunk-ILYFOJUN.js} +56 -1
  24. package/dist/chunk-ILYFOJUN.js.map +1 -0
  25. package/dist/{chunk-YAFS2QFZ.cjs → chunk-JLGNZMUV.cjs} +82 -82
  26. package/dist/{chunk-YAFS2QFZ.cjs.map → chunk-JLGNZMUV.cjs.map} +1 -1
  27. package/dist/{chunk-7RJ6P7MI.js → chunk-KZXLZCQ7.js} +2 -2
  28. package/dist/{chunk-HHTCDFZC.js → chunk-MAHQC3SK.js} +13 -2
  29. package/dist/chunk-MAHQC3SK.js.map +1 -0
  30. package/dist/{chunk-FWEO3HSL.js → chunk-PQQF5KOW.js} +8 -8
  31. package/dist/chunk-Q6OUXEK3.cjs +150 -0
  32. package/dist/chunk-Q6OUXEK3.cjs.map +1 -0
  33. package/dist/{chunk-P3RQ5UJE.cjs → chunk-UTQKC66X.cjs} +4 -4
  34. package/dist/{chunk-P3RQ5UJE.cjs.map → chunk-UTQKC66X.cjs.map} +1 -1
  35. package/dist/{chunk-J3B45HTA.cjs → chunk-XB25WOC2.cjs} +6 -6
  36. package/dist/{chunk-J3B45HTA.cjs.map → chunk-XB25WOC2.cjs.map} +1 -1
  37. package/dist/{chunk-NVTHUPJ6.cjs → chunk-YT3JL7YM.cjs} +71 -16
  38. package/dist/chunk-YT3JL7YM.cjs.map +1 -0
  39. package/dist/effects/index.d.cts +7 -4
  40. package/dist/effects/index.d.ts +7 -4
  41. package/dist/{export-BGdT02aL.d.cts → export-BOheWw2R.d.cts} +13 -5
  42. package/dist/{export-Dng22YB8.d.ts → export-ByKKIA2S.d.ts} +13 -5
  43. package/dist/{export-KzubBKo7.d.cts → export-CEYeRQXH.d.cts} +1 -1
  44. package/dist/{export-DMeG6E06.d.ts → export-Ds7zgGD8.d.ts} +1 -1
  45. package/dist/extensions/index.cjs +3 -3
  46. package/dist/extensions/index.cjs.map +1 -1
  47. package/dist/extensions/index.js +2 -2
  48. package/dist/generation/index.cjs +150 -945
  49. package/dist/generation/index.cjs.map +1 -1
  50. package/dist/generation/index.d.cts +3 -423
  51. package/dist/generation/index.d.ts +3 -423
  52. package/dist/generation/index.js +59 -854
  53. package/dist/generation/index.js.map +1 -1
  54. package/dist/grammar/index.cjs +3 -3
  55. package/dist/grammar/index.cjs.map +1 -1
  56. package/dist/grammar/index.js +2 -2
  57. package/dist/{helpers-Coa4e2j_.d.ts → helpers--ns3W2D7.d.ts} +7 -1
  58. package/dist/{helpers-DHl28yLO.d.cts → helpers-BVkU4oUi.d.cts} +7 -1
  59. package/dist/image-editor/index.cjs +742 -647
  60. package/dist/image-editor/index.cjs.map +1 -1
  61. package/dist/image-editor/index.d.cts +29 -11
  62. package/dist/image-editor/index.d.ts +29 -11
  63. package/dist/image-editor/index.js +107 -12
  64. package/dist/image-editor/index.js.map +1 -1
  65. package/dist/index.cjs +28 -28
  66. package/dist/index.cjs.map +1 -1
  67. package/dist/index.js +36 -36
  68. package/dist/{opentype-Dfcx6wFx.d.ts → opentype-DfoVYgmG.d.ts} +1 -1
  69. package/dist/{opentype-BWR7Qv8W.d.cts → opentype-yi-Kz4ND.d.cts} +1 -1
  70. package/dist/paint/index.cjs +10 -2
  71. package/dist/paint/index.cjs.map +1 -1
  72. package/dist/paint/index.d.cts +2 -2
  73. package/dist/paint/index.d.ts +2 -2
  74. package/dist/paint/index.js +9 -1
  75. package/dist/paint-editor/index.cjs +10 -7
  76. package/dist/paint-editor/index.cjs.map +1 -1
  77. package/dist/paint-editor/index.d.cts +10 -7
  78. package/dist/paint-editor/index.d.ts +10 -7
  79. package/dist/paint-editor/index.js +5 -2
  80. package/dist/paint-editor/index.js.map +1 -1
  81. package/dist/{pathfinder-D8KQ6blQ.d.cts → pathfinder-7JkMwYvC.d.cts} +1 -1
  82. package/dist/{pathfinder-Celbi3e6.d.ts → pathfinder-GM3UWdBZ.d.ts} +1 -1
  83. package/dist/{pool-BfuxBKTd.d.cts → pool-04qp8iW4.d.cts} +1 -1
  84. package/dist/{pool-8JZGWHvR.d.ts → pool-CkTxlLMC.d.ts} +1 -1
  85. package/dist/provenance-DmlcgdzT.d.cts +426 -0
  86. package/dist/provenance-uh5r2TQ8.d.ts +426 -0
  87. package/dist/{rand-BaqEOs1Y.d.ts → rand-BszBST4s.d.ts} +31 -1
  88. package/dist/{rand-DdpFzCo6.d.cts → rand-DOH_aMvm.d.cts} +31 -1
  89. package/dist/{svg-pwXWq6s2.d.cts → svg-BDDKvWWY.d.cts} +2 -2
  90. package/dist/{svg-CxxqG3_W.d.ts → svg-rV6_HPmn.d.ts} +2 -2
  91. package/dist/{tools-3EBjR91b.d.cts → tools-BAjSbTdY.d.cts} +1 -1
  92. package/dist/{tools-y1M6O3UT.d.ts → tools-DPYerqeR.d.ts} +1 -1
  93. package/dist/vector/index.cjs +2684 -1860
  94. package/dist/vector/index.cjs.map +1 -1
  95. package/dist/vector/index.d.cts +313 -71
  96. package/dist/vector/index.d.ts +313 -71
  97. package/dist/vector/index.js +4700 -3876
  98. package/dist/vector/index.js.map +1 -1
  99. package/dist/video-editor/index.d.cts +7 -4
  100. package/dist/video-editor/index.d.ts +7 -4
  101. package/dist/{warp-Ceqdz7kj.d.cts → warp-DQh9R7Ie.d.cts} +1 -1
  102. package/dist/{warp-C1gwu2G_.d.ts → warp-XVL6SpSh.d.ts} +1 -1
  103. package/package.json +1 -1
  104. package/skills/pixerate-image-editor/SKILL.md +4 -4
  105. package/skills/pixerate-vector/SKILL.md +20 -1
  106. package/dist/chunk-6CTZAGZ2.js.map +0 -1
  107. package/dist/chunk-HHTCDFZC.js.map +0 -1
  108. package/dist/chunk-NVTHUPJ6.cjs.map +0 -1
  109. package/dist/chunk-Z2H7KECK.cjs.map +0 -1
  110. /package/dist/{chunk-ESIWZMMK.js.map → chunk-6QQR4LKE.js.map} +0 -0
  111. /package/dist/{chunk-OXSV64JX.js.map → chunk-G6IKY6PL.js.map} +0 -0
  112. /package/dist/{chunk-7RJ6P7MI.js.map → chunk-KZXLZCQ7.js.map} +0 -0
  113. /package/dist/{chunk-FWEO3HSL.js.map → chunk-PQQF5KOW.js.map} +0 -0
@@ -1,21 +1,24 @@
1
- import { X as Vec2$1, a3 as VectorSubpath, O as VectorBounds, bp as VectorAnchor, a4 as VectorDocument, L as VectorNode, I as VectorPathNode, bq as VectorTextNode, br as VectorAnchorType, $ as VectorPaint, N as VectorGroupNode, bs as VectorCornerKind, a5 as VectorWidthPoint, W as VectorGradient, a1 as VectorGradientStop, bt as VectorViewport, bu as VectorConnectorRoute, bv as VectorConnectorSide, bw as VectorConnectorEnd, bx as VectorConnector, by as VectorConstraintKind, bz as VectorConstraint, bA as VectorCharacterStyle, bB as VectorTextRun, bC as VectorParagraphStyle, bD as VectorTextFrame, bE as VectorTransformHandle, bF as VectorAnchorRef, bG as VectorPathfinderOperation, bH as VectorTool, bI as VectorDefaults, bJ as VectorTextAlign, bK as VectorStyle, bL as VectorHandleRef, bM as VectorSegmentRef, bN as VectorBlendOptions, a0 as VectorMatrix, bO as VectorPerspectivePlane, bP as VectorModifiers, v as EffectsSlot, E as EffectProvider, e as EffectValue, bQ as VectorProviderEffect, bR as VectorBlendMode, R as VectorFilterType, V as VectorEffectType, bS as VectorAlign, bT as VectorDistribute, bU as VectorArrange, K as VectorBooleanOperation, bV as VectorMaskType, bW as VectorSymmetryMode, bX as VectorSymmetry, bY as VectorPerspective, bZ as VectorFreeformPoint, b_ as VectorMeshGradient, b$ as VectorFreeformGradient, c0 as VectorArrowhead, c1 as VectorLens, c2 as VectorResizing, c3 as VectorFrame, c4 as VectorHorizontalResizing, c5 as VectorVerticalResizing, c6 as VectorMask, c7 as VectorAverageAxis, c8 as VectorSymbol, c9 as VectorParameter, P as VectorWarpMesh, J as VectorFillRule, ca as VectorBlendSpacing, cb as VectorGradientInterpolation, Z as VectorGradientSpread, _ as VectorGradientType, a2 as VectorStrokeAlign, cc as VectorStrokeGradientMode, cd as VectorArrowAlign, M as VectorEffect, ce as VectorPaintLayer, cf as VectorStrokeLayer, U as VectorFilter, cg as VectorBlend, ch as VectorMergeMode, ci as VectorLineJoin, H as VectorEffectParamsMap, cj as VectorLensType, ck as VectorStrokeSettings, cl as VectorInstanceOverrides, Q as VectorInstanceNode } from '../helpers-DHl28yLO.cjs';
2
- export { S as SvgGradientDef, cm as VECTOR_ARROWHEADS, cn as VECTOR_BLEND_MODES, co as VECTOR_BLEND_SPACINGS, cp as VECTOR_CONNECTOR_ROUTES, cq as VECTOR_CONNECTOR_SIDES, cr as VECTOR_CONSTRAINT_KINDS, cs as VECTOR_CORNER_KINDS, ct as VECTOR_EFFECT_TYPES, cu as VECTOR_FILTER_TYPES, cv as VECTOR_GRADIENT_INTERPOLATIONS, cw as VECTOR_GRADIENT_SPREADS, cx as VECTOR_GRADIENT_TYPES, cy as VECTOR_HORIZONTAL_RESIZING, cz as VECTOR_LENS_TYPES, cA as VECTOR_MASK_TYPES, cB as VECTOR_MERGE_MODES, cC as VECTOR_PATHFINDER_OPERATIONS, cD as VECTOR_PATH_TEXT_BASELINES, cE as VECTOR_PERSPECTIVE_PLANES, cF as VECTOR_STROKE_GRADIENT_MODES, cG as VECTOR_SYMMETRY_MODES, cH as VECTOR_TEXT_ALIGNS, cI as VECTOR_TOOLS, cJ as VECTOR_TRANSFORM_HANDLES, cK as VECTOR_VERTICAL_RESIZING, cL as VectorCorner, T as VectorFilterParamsMap, cM as VectorGeomRef, Y as VectorGradientUnits, cN as VectorLineCap, cO as VectorPathTextBaseline, cP as VectorStrokeLayerKind, cQ as VectorTextRunStyle, cR as VectorWarpStyle } from '../helpers-DHl28yLO.cjs';
1
+ import { X as Vec2$1, a3 as VectorSubpath, O as VectorBounds, bp as VectorAnchor, a4 as VectorDocument, L as VectorNode, I as VectorPathNode, bq as VectorTextNode, br as VectorAnchorType, $ as VectorPaint, N as VectorGroupNode, bs as VectorCornerKind, a5 as VectorWidthPoint, W as VectorGradient, a1 as VectorGradientStop, bt as VectorViewport, bu as VectorConnectorRoute, bv as VectorConnectorSide, bw as VectorConnectorEnd, bx as VectorConnector, by as VectorConstraintKind, bz as VectorConstraint, bA as VectorCharacterStyle, bB as VectorTextRun, bC as VectorParagraphStyle, bD as VectorTextFrame, bE as VectorTransformHandle, bF as VectorAnchorRef, bG as VectorPathfinderOperation, bH as VectorTool, bI as VectorDefaults, bJ as VectorTextAlign, bK as VectorStyle, bL as VectorHandleRef, bM as VectorSegmentRef, bN as VectorBlendOptions, a0 as VectorMatrix, bO as VectorPerspectivePlane, bP as VectorModifiers, v as EffectsSlot, E as EffectProvider, e as EffectValue, bQ as VectorProviderEffect, bR as VectorBlendMode, R as VectorFilterType, V as VectorEffectType, bS as VectorAlign, bT as VectorDistribute, bU as VectorArrange, K as VectorBooleanOperation, bV as VectorMaskType, bW as VectorSymmetryMode, bX as VectorSymmetry, bY as VectorPerspective, bZ as VectorFreeformPoint, b_ as VectorMeshGradient, b$ as VectorFreeformGradient, c0 as VectorArrowhead, c1 as VectorLens, c2 as VectorResizing, c3 as VectorFrame, c4 as VectorHorizontalResizing, c5 as VectorVerticalResizing, c6 as VectorMask, c7 as VectorAverageAxis, c8 as VectorSymbol, c9 as VectorParameter, P as VectorWarpMesh, J as VectorFillRule, ca as VectorBlendSpacing, cb as VectorGradientInterpolation, Z as VectorGradientSpread, _ as VectorGradientType, a2 as VectorStrokeAlign, cc as VectorStrokeGradientMode, cd as VectorArrowAlign, M as VectorEffect, ce as VectorPaintLayer, cf as VectorStrokeLayer, U as VectorFilter, cg as VectorBlend, ch as VectorMergeMode, ci as VectorLineJoin, H as VectorEffectParamsMap, cj as VectorLensType, ck as VectorStrokeSettings, cl as VectorInstanceOverrides, Q as VectorInstanceNode } from '../helpers-BVkU4oUi.cjs';
2
+ export { S as SvgGradientDef, cm as VECTOR_ARROWHEADS, cn as VECTOR_BLEND_MODES, co as VECTOR_BLEND_SPACINGS, cp as VECTOR_CONNECTOR_ROUTES, cq as VECTOR_CONNECTOR_SIDES, cr as VECTOR_CONSTRAINT_KINDS, cs as VECTOR_CORNER_KINDS, ct as VECTOR_EFFECT_TYPES, cu as VECTOR_FILTER_TYPES, cv as VECTOR_GRADIENT_INTERPOLATIONS, cw as VECTOR_GRADIENT_SPREADS, cx as VECTOR_GRADIENT_TYPES, cy as VECTOR_HORIZONTAL_RESIZING, cz as VECTOR_LENS_TYPES, cA as VECTOR_MASK_TYPES, cB as VECTOR_MERGE_MODES, cC as VECTOR_PATHFINDER_OPERATIONS, cD as VECTOR_PATH_TEXT_BASELINES, cE as VECTOR_PERSPECTIVE_PLANES, cF as VECTOR_STROKE_GRADIENT_MODES, cG as VECTOR_SYMMETRY_MODES, cH as VECTOR_TEXT_ALIGNS, cI as VECTOR_TOOLS, cJ as VECTOR_TRANSFORM_HANDLES, cK as VECTOR_VERTICAL_RESIZING, cL as VectorCorner, T as VectorFilterParamsMap, cM as VectorGeomRef, Y as VectorGradientUnits, cN as VectorLineCap, cO as VectorPathTextBaseline, cP as VectorStrokeLayerKind, cQ as VectorTextRunStyle, cR as VectorWarpStyle } from '../helpers-BVkU4oUi.cjs';
3
3
  import { P as Point } from '../brushTypes-C7N3EBK7.cjs';
4
- import { a as BezierPathInput, A as AffineMatrix$1, B as BezierPath, c as BezierSegment } from '../bezier-J8i4uqSH.cjs';
5
- import { a as VectorGradientHandle, V as VectorSvgExportOptions, b as VectorGradientPatch, c as VectorEnvelopeParams, d as VectorRenderFilter, e as VectorAppearanceShape, f as VectorFilterParamSpec, g as VectorEffectParamSpec, h as VectorRenderStrokeParts, i as VectorPaintDef, j as VectorRgba, k as VectorSvgPatternDef } from '../svg-pwXWq6s2.cjs';
6
- export { l as VECTOR_EFFECT_DEFAULTS, m as VECTOR_EFFECT_LABELS, n as VECTOR_EFFECT_PARAM_SPECS, o as VECTOR_FILTER_DEFAULTS, p as VECTOR_FILTER_LABELS, q as VECTOR_FILTER_MENU, r as VECTOR_FILTER_PARAM_SPECS, s as VECTOR_GRADIENT_MAX_PERIODS, t as VECTOR_GRADIENT_MIN_STOPS, u as VectorBooleanOperand, v as VectorFilterPrimitive, w as VectorGradientPoints, x as VectorGradientRamp, y as VectorGradientSvgOptions, z as VectorPaintSvgOptions, A as VectorSvgImportOptions, B as VectorSvgWrapper, C as activeVectorEffects, D as activeVectorFilters, E as applyVectorCornersAttribute, F as applyVectorEffects, G as applyVectorGradientPatch, H as applyVectorGradientSpread, I as clearVectorLiveBooleanCache, J as convertVectorGradient, K as createVectorEffect, L as createVectorFilter, M as defaultVectorGradient, N as expandVectorAppearance, O as expandVectorAppearances, P as expandVectorGradientSpread, Q as expandVectorGradientStops, R as explicitVectorGradient, S as foldVectorBooleanOperands, T as gradientMidpointRemap, U as hasExplicitGradientGeometry, W as hasOwnVectorAppearance, X as hasVectorAppearance, Y as insertVectorGradientStop, Z as isCentredVectorGradient, _ as isVectorFilterType, $ as isVectorGradient, a0 as isVectorLiveBoolean, a1 as mapVectorGradient, a2 as mapVectorPaint, a3 as moveVectorGradientHandle, a4 as moveVectorGradientStop, a5 as normalizeVectorEffectParams, a6 as normalizeVectorFilterParams, a7 as parseSvgTransform, a8 as parseVectorColor, a9 as parseVectorSvg, aa as patternAttrs, ab as periodicVectorGradientStops, ac as pinVectorGradient, ad as removeVectorGradientStop, ae as reverseVectorGradient, af as samplePlainStops, ag as sampleVectorGradient, ah as sampleVectorGradientAt, ai as sampleVectorPaintDefAt, aj as sanitizeVectorEffects, ak as sanitizeVectorFilters, al as sanitizeVectorGradient, am as setVectorGradientVector, an as sortedVectorGradientStops, ao as spanVectorGradientStops, ap as transformVectorEffects, aq as transformVectorGradient, ar as transformVectorPaint, as as vectorAppearanceNodes, at as vectorAppearanceOutline, au as vectorAppearanceShapes, av as vectorBoxMatrix, aw as vectorChildAppearanceShapes, ax as vectorCornersAttribute, ay as vectorDocumentToSvg, az as vectorEffectInputBounds, aA as vectorEffectInputPaths, aB as vectorEnteredGroups, aC as vectorEnvelopeFrame, aD as vectorEnvelopeMap, aE as vectorEnvelopeMesh, aF as vectorFilterMarkup, aG as vectorFilterParamKeys, aH as vectorFilterReach, aI as vectorFilterSvg, aJ as vectorGradientArea, aK as vectorGradientAspect, aL as vectorGradientFocalParam, aM as vectorGradientHandles, aN as vectorGradientMatrix, aO as vectorGradientMidpointFromPosition, aP as vectorGradientMidpointPosition, aQ as vectorGradientNeedsExpansion, aR as vectorGradientParam, aS as vectorGradientPoints, aT as vectorGradientRamp, aU as vectorGradientSvgDefs, aV as vectorGradientTAt, aW as vectorGradientUnitsMatrix, aX as vectorInstanceDrawn, aY as vectorLiveBooleanSteps, aZ as vectorNodeEnvelope, a_ as vectorNodeFilterSvg, a$ as vectorNodeLocalPaintBounds, b0 as vectorOperandOperation, b1 as vectorPaintToSvg, b2 as vectorPathLocalBounds, b3 as vectorStrokeSvgParts, b4 as widthProfileFromAttribute, b5 as widthProfileToAttribute } from '../svg-pwXWq6s2.cjs';
4
+ import { a as BezierPathInput, A as AffineMatrix$1, B as BezierPath, c as BezierSegment } from '../bezier-CdccFsF8.cjs';
5
+ import { a as VectorGradientHandle, V as VectorSvgExportOptions, b as VectorGradientPatch, c as VectorEnvelopeParams, d as VectorRenderFilter, e as VectorAppearanceShape, f as VectorFilterParamSpec, g as VectorEffectParamSpec, h as VectorRenderStrokeParts, i as VectorPaintDef, j as VectorRgba, k as VectorSvgPatternDef } from '../svg-BDDKvWWY.cjs';
6
+ export { l as VECTOR_EFFECT_DEFAULTS, m as VECTOR_EFFECT_LABELS, n as VECTOR_EFFECT_PARAM_SPECS, o as VECTOR_FILTER_DEFAULTS, p as VECTOR_FILTER_LABELS, q as VECTOR_FILTER_MENU, r as VECTOR_FILTER_PARAM_SPECS, s as VECTOR_GRADIENT_MAX_PERIODS, t as VECTOR_GRADIENT_MIN_STOPS, u as VectorBooleanOperand, v as VectorFilterPrimitive, w as VectorGradientPoints, x as VectorGradientRamp, y as VectorGradientSvgOptions, z as VectorPaintSvgOptions, A as VectorSvgImportOptions, B as VectorSvgWrapper, C as activeVectorEffects, D as activeVectorFilters, E as applyVectorCornersAttribute, F as applyVectorEffects, G as applyVectorGradientPatch, H as applyVectorGradientSpread, I as clearVectorLiveBooleanCache, J as convertVectorGradient, K as createVectorEffect, L as createVectorFilter, M as defaultVectorGradient, N as expandVectorAppearance, O as expandVectorAppearances, P as expandVectorGradientSpread, Q as expandVectorGradientStops, R as explicitVectorGradient, S as foldVectorBooleanOperands, T as gradientMidpointRemap, U as hasExplicitGradientGeometry, W as hasOwnVectorAppearance, X as hasVectorAppearance, Y as insertVectorGradientStop, Z as isCentredVectorGradient, _ as isVectorFilterType, $ as isVectorGradient, a0 as isVectorLiveBoolean, a1 as mapVectorGradient, a2 as mapVectorPaint, a3 as moveVectorGradientHandle, a4 as moveVectorGradientStop, a5 as normalizeVectorEffectParams, a6 as normalizeVectorFilterParams, a7 as parseSvgTransform, a8 as parseVectorColor, a9 as parseVectorSvg, aa as patternAttrs, ab as periodicVectorGradientStops, ac as pinVectorGradient, ad as removeVectorGradientStop, ae as reverseVectorGradient, af as samplePlainStops, ag as sampleVectorGradient, ah as sampleVectorGradientAt, ai as sampleVectorPaintDefAt, aj as sanitizeVectorEffects, ak as sanitizeVectorFilters, al as sanitizeVectorGradient, am as setVectorGradientVector, an as sortedVectorGradientStops, ao as spanVectorGradientStops, ap as transformVectorEffects, aq as transformVectorGradient, ar as transformVectorPaint, as as vectorAppearanceNodes, at as vectorAppearanceOutline, au as vectorAppearanceShapes, av as vectorBoxMatrix, aw as vectorChildAppearanceShapes, ax as vectorCornersAttribute, ay as vectorDocumentToSvg, az as vectorEffectInputBounds, aA as vectorEffectInputPaths, aB as vectorEnteredGroups, aC as vectorEnvelopeFrame, aD as vectorEnvelopeMap, aE as vectorEnvelopeMesh, aF as vectorFilterMarkup, aG as vectorFilterParamKeys, aH as vectorFilterReach, aI as vectorFilterSvg, aJ as vectorGradientArea, aK as vectorGradientAspect, aL as vectorGradientFocalParam, aM as vectorGradientHandles, aN as vectorGradientMatrix, aO as vectorGradientMidpointFromPosition, aP as vectorGradientMidpointPosition, aQ as vectorGradientNeedsExpansion, aR as vectorGradientParam, aS as vectorGradientPoints, aT as vectorGradientRamp, aU as vectorGradientSvgDefs, aV as vectorGradientTAt, aW as vectorGradientUnitsMatrix, aX as vectorInstanceDrawn, aY as vectorLiveBooleanSteps, aZ as vectorNodeEnvelope, a_ as vectorNodeFilterSvg, a$ as vectorNodeLocalPaintBounds, b0 as vectorOperandOperation, b1 as vectorPaintToSvg, b2 as vectorPathLocalBounds, b3 as vectorStrokeSvgParts, b4 as widthProfileFromAttribute, b5 as widthProfileToAttribute } from '../svg-BDDKvWWY.cjs';
7
7
  import { H as HistoryManager } from '../HistoryManager-DeQQMBCj.cjs';
8
- import { a as TextFont, L as LaidFragment, i as LaidLine, e as TextLayout, T as TextShaper } from '../warp-Ceqdz7kj.cjs';
9
- export { k as VECTOR_WARP_STYLES, l as VECTOR_WARP_STYLE_LABELS, W as VectorWarpPreset, n as dragVectorMeshPoint, o as evalVectorMesh, G as fitVectorMesh, H as isValidVectorMesh, I as mapVectorMeshPoints, v as pullVectorMesh, J as removeVectorMeshSplitU, K as removeVectorMeshSplitV, w as resizeVectorMesh, M as splitVectorMeshU, N as splitVectorMeshV, s as vectorIdentityMesh, O as vectorMeshColumns, Q as vectorMeshControlBounds, B as vectorMeshEditPoints, C as vectorMeshGridCurves, E as vectorMeshParamAt, R as vectorMeshRows, S as vectorWarpPresetGrid, F as vectorWarpPresetMesh } from '../warp-Ceqdz7kj.cjs';
8
+ import { a as TextFont, L as LaidFragment, i as LaidLine, e as TextLayout, T as TextShaper } from '../warp-DQh9R7Ie.cjs';
9
+ export { k as VECTOR_WARP_STYLES, l as VECTOR_WARP_STYLE_LABELS, W as VectorWarpPreset, n as dragVectorMeshPoint, o as evalVectorMesh, G as fitVectorMesh, H as isValidVectorMesh, I as mapVectorMeshPoints, v as pullVectorMesh, J as removeVectorMeshSplitU, K as removeVectorMeshSplitV, w as resizeVectorMesh, M as splitVectorMeshU, N as splitVectorMeshV, s as vectorIdentityMesh, O as vectorMeshColumns, Q as vectorMeshControlBounds, B as vectorMeshEditPoints, C as vectorMeshGridCurves, E as vectorMeshParamAt, R as vectorMeshRows, S as vectorWarpPresetGrid, F as vectorWarpPresetMesh } from '../warp-DQh9R7Ie.cjs';
10
10
  import { A as AffineMatrix, V as Vec2, H as Homography } from '../types-CwMPoRMU.cjs';
11
11
  import { C as CommandSpec } from '../registry-CaR7LC6W.cjs';
12
- import { S as StrokeJoin, a as StrokeCap, P as PlanarMap, b as PathfinderOperation, c as PathfinderShape } from '../pathfinder-D8KQ6blQ.cjs';
12
+ import { S as StrokeJoin, a as StrokeCap, P as PlanarMap, b as PathfinderOperation, c as PathfinderShape } from '../pathfinder-7JkMwYvC.cjs';
13
13
  import { b as AnimationEasing } from '../easing-lM0Xo9Ni.cjs';
14
- export { C as CanvasTextShaperOptions, O as OpenTypeFont, a as OutlineFontEntry, b as OutlineFontFace, c as OutlinePathCommand, d as applyVectorHomography, f as createCanvasTextShaper, g as createMetricTextShaper, h as createOutlineTextShaper, j as cssFontFamily, n as loadOpenTypeFont, o as orderVectorQuad, p as parseOpenTypeFont, s as solve8, l as vectorHomography, q as vectorHomographyKeepsQuad } from '../opentype-BWR7Qv8W.cjs';
15
14
  import { a as AgentToolProvider } from '../registry-BqA1AZt0.cjs';
15
+ import { b as GenerationRequest, M as ModelCapabilities, a as GenerationPlan } from '../provenance-DmlcgdzT.cjs';
16
+ export { C as CanvasTextShaperOptions, O as OpenTypeFont, a as OutlineFontEntry, b as OutlineFontFace, c as OutlinePathCommand, d as applyVectorHomography, f as createCanvasTextShaper, g as createMetricTextShaper, h as createOutlineTextShaper, j as cssFontFamily, n as loadOpenTypeFont, o as orderVectorQuad, p as parseOpenTypeFont, s as solve8, l as vectorHomography, q as vectorHomographyKeepsQuad } from '../opentype-yi-Kz4ND.cjs';
16
17
  import '../schema-Di0CS6Pe.cjs';
17
18
  import '../evaluate-BsxYieLN.cjs';
18
19
  import '../types-DsiXGmjo.cjs';
20
+ import '../sourcemap-C8AH3MBQ.cjs';
21
+ import '../tokens-D7yXvUU6.cjs';
19
22
 
20
23
  /**
21
24
  * Affine matrices in SVG order (`[a, b, c, d, e, f]`), shared by the vector and image editors.
@@ -208,6 +211,140 @@ declare function lineSubpath(a: Vec2$1, b: Vec2$1): VectorSubpath;
208
211
  /** Rounds every coordinate to `precision` decimals (stable JSON and SVG output). */
209
212
  declare function roundSubpaths(subpaths: readonly VectorSubpath[], precision?: number): VectorSubpath[];
210
213
 
214
+ /**
215
+ * Image tracing: raster pixels to vector paths.
216
+ *
217
+ * After effectcraft's `crates/path/src/trace.rs` (MIT OR Apache-2.0, © ArtCraft Team and
218
+ * contributors; see THIRD_PARTY_NOTICES.md): marching squares over the samples at pixel centres
219
+ * (the crossing interpolated along each cell edge, saddles resolved by the cell's mean, the field
220
+ * padded with "outside" so every contour closes), Ramer–Douglas–Peucker simplification to the
221
+ * tolerance, loops smaller than the minimum area dropped and each loop's nesting depth counted
222
+ * (holes have odd depth). The loops are then fitted with our `fitCubics` (corner roundness sets
223
+ * which turns stay sharp). Colour tracing quantises the image (median cut) and traces each colour
224
+ * stacked: a colour's shape covers the colours traced above it too, so no gaps open between them.
225
+ */
226
+
227
+ /** RGBA pixels, row by row (8 bits a channel). */
228
+ interface VectorTracePixels {
229
+ width: number;
230
+ height: number;
231
+ data: ArrayLike<number>;
232
+ }
233
+ /** How to trace. */
234
+ interface VectorTraceOptions {
235
+ /** `threshold`: one colour where the image is dark (or opaque); `color`: a stacked path per colour (default threshold). */
236
+ mode?: 'threshold' | 'color';
237
+ /** Threshold mode: trace by `luminance` (dark is inside, default) or `alpha` (opaque is inside). */
238
+ channel?: 'luminance' | 'alpha';
239
+ /** Threshold mode: inside where darkness (or alpha) is at least this, 0–1 (default 0.5). */
240
+ threshold?: number;
241
+ /** Threshold mode: the traced shape's fill (default black). */
242
+ color?: string;
243
+ /** Colour mode: how many colours (2–32, default 6). Fully transparent pixels are left out. */
244
+ colors?: number;
245
+ /** How far (pixels) the outline may stray from the pixels (default 1). */
246
+ tolerance?: number;
247
+ /** Shapes smaller than this many square pixels are dropped (default 10). */
248
+ minArea?: number;
249
+ /** 0: straight sides and sharp corners; 1: as smooth as the outline allows (default 0.5). */
250
+ cornerRoundness?: number;
251
+ }
252
+ /** The most pixels traced (larger images are refused; scale them down first). */
253
+ declare const VECTOR_TRACE_MAX_PIXELS = 4000000;
254
+ /**
255
+ * Marching squares over `field` (`w × h`, row by row, sample (x, y) at pixel centre (x + 0.5,
256
+ * y + 0.5)): the closed contours where the field reaches `threshold`, in pixel coordinates.
257
+ */
258
+ declare function vectorTraceContours(field: ArrayLike<number>, w: number, h: number, threshold: number): Point[][];
259
+ /**
260
+ * The palette of the opaque pixels quantised to `count` colours (median cut on RGB) and each
261
+ * pixel's palette index (−1 for transparent pixels), with how many pixels each colour got.
262
+ */
263
+ declare function quantizeVectorTraceColors(pixels: VectorTracePixels, count: number): {
264
+ palette: [number, number, number][];
265
+ index: Int16Array;
266
+ counts: number[];
267
+ };
268
+ /**
269
+ * Traces pixels into path nodes in pixel units (one pixel = one unit, the image's top-left at the
270
+ * origin), bottom to top: one compound path in threshold mode, a stacked path per colour in
271
+ * colour mode (most common colour at the bottom). Ids are `trace-<n>`; give them your own.
272
+ */
273
+ declare function traceVectorImage(pixels: VectorTracePixels, options?: VectorTraceOptions): VectorPathNode[];
274
+
275
+ type VectorStylizeStyle = 'mosaic' | 'halftone' | 'lowPoly' | 'hatch';
276
+ declare const VECTOR_STYLIZE_STYLES: readonly VectorStylizeStyle[];
277
+ declare const VECTOR_STYLIZE_LABELS: Record<VectorStylizeStyle, string>;
278
+ /** Options of the styles (each uses the ones that apply to it). */
279
+ interface VectorStylizeOptions {
280
+ /** Cell size in pixels: tile, dot spacing, triangle size or line spacing (default 12; hatch 6, halftone 8). */
281
+ cell?: number;
282
+ /** Palette size for coloured output, 2–32 (default 12). */
283
+ colors?: number;
284
+ /** Mosaic: `square` (default) or `circle` tiles. */
285
+ shape?: 'square' | 'circle';
286
+ /** Mosaic: gap between tiles as a fraction of the cell, 0–0.9 (default 0.1). */
287
+ gap?: number;
288
+ /** Halftone and hatch: the grid's turn in degrees (default 45). */
289
+ angle?: number;
290
+ /** Halftone and hatch: one ink colour (default black); null keeps the picture's colours (halftone only). */
291
+ color?: string | null;
292
+ /** Low poly: how far grid points wander, as a fraction of the cell, 0–0.5 (default 0.35). */
293
+ jitter?: number;
294
+ /** Low poly: seed of the wandering (default 1). */
295
+ seed?: number;
296
+ }
297
+ /** The most shapes a style may draw (larger cells draw fewer). */
298
+ declare const VECTOR_STYLIZE_MAX_SHAPES = 60000;
299
+ /** Mosaic tiles: one square or circle per cell, coloured by the palette. */
300
+ declare function vectorMosaic(px: VectorTracePixels, o?: VectorStylizeOptions): VectorPathNode[];
301
+ /** Halftone dots: one per cell of a turned grid, its area following the darkness there. */
302
+ declare function vectorHalftone(px: VectorTracePixels, o?: VectorStylizeOptions): VectorPathNode[];
303
+ /** Low-poly triangles: a jittered grid split into triangles, each in the colour under it. */
304
+ declare function vectorLowPoly(px: VectorTracePixels, o?: VectorStylizeOptions): VectorPathNode[];
305
+ /** Engraving: lines along a turned grid that swell where the picture is dark and break where it is light. */
306
+ declare function vectorHatch(px: VectorTracePixels, o?: VectorStylizeOptions): VectorPathNode[];
307
+ /** Stylises pixels with `style` (see the module notes). */
308
+ declare function stylizeVectorImage(px: VectorTracePixels, style: VectorStylizeStyle, options?: VectorStylizeOptions): VectorPathNode[];
309
+
310
+ /**
311
+ * Distortion brushes, after CorelDRAW's Smudge, Twirl, Attract, Repel and Roughen tools (concept
312
+ * only): a round brush that bends the outlines under it. Each dab is a point map with a smooth
313
+ * falloff (full strength at the centre, none at the rim); a stroke's dabs are composed into one
314
+ * map applied to the paths as they were when the stroke began, so dragging back and forth does
315
+ * not pile up anchors. Smooth maps re-fit the curves (`mapBezierPath`); Roughen breaks the parts
316
+ * of the outline under the brush into short straight segments and pushes their points in and out.
317
+ */
318
+
319
+ type VectorDistortBrushMode = 'smudge' | 'twirl' | 'attract' | 'repel' | 'roughen';
320
+ declare const VECTOR_DISTORT_BRUSH_MODES: readonly VectorDistortBrushMode[];
321
+ /** One dab of a distortion brush (document units). */
322
+ interface VectorDistortDab {
323
+ x: number;
324
+ y: number;
325
+ /** Brush radius. */
326
+ radius: number;
327
+ /** 0–1. */
328
+ strength: number;
329
+ /** Smudge: how far the brush moved since the last dab. */
330
+ dx?: number;
331
+ dy?: number;
332
+ /** Twirl: degrees turned at full strength per dab (positive clockwise on screen, default 15). */
333
+ angle?: number;
334
+ /** Roughen: seed of the spikes (default 1). */
335
+ seed?: number;
336
+ }
337
+ /** The brush's weight at distance `d` from its centre: 1 at the centre, 0 at and beyond `r`, smooth. */
338
+ declare function vectorDistortFalloff(d: number, r: number): number;
339
+ /** The point map of one smooth dab (smudge, twirl, attract, repel). */
340
+ declare function vectorDistortDabMap(mode: Exclude<VectorDistortBrushMode, 'roughen'>, dab: VectorDistortDab): (p: Vec2$1) => Vec2$1;
341
+ /**
342
+ * A path distorted by a stroke of dabs (document space). Smooth modes compose the dabs into one
343
+ * point map and re-fit the curves; roughen breaks what the brush reaches into spikes. Paths the
344
+ * stroke never reaches come back unchanged (the same object).
345
+ */
346
+ declare function distortVectorPath(path: BezierPath, mode: VectorDistortBrushMode, dabs: readonly VectorDistortDab[]): BezierPath;
347
+
211
348
  /**
212
349
  * A corner a live radius can cut: an anchor that is not smooth, where two sides (straight or
213
350
  * curved) meet at an angle. Positions are in the path node's own space.
@@ -672,67 +809,6 @@ interface VectorLottieImport {
672
809
  */
673
810
  declare function parseVectorLottie(input: unknown, options?: VectorLottieImportOptions): VectorLottieImport;
674
811
 
675
- /**
676
- * Image tracing: raster pixels to vector paths.
677
- *
678
- * After effectcraft's `crates/path/src/trace.rs` (MIT OR Apache-2.0, © ArtCraft Team and
679
- * contributors; see THIRD_PARTY_NOTICES.md): marching squares over the samples at pixel centres
680
- * (the crossing interpolated along each cell edge, saddles resolved by the cell's mean, the field
681
- * padded with "outside" so every contour closes), Ramer–Douglas–Peucker simplification to the
682
- * tolerance, loops smaller than the minimum area dropped and each loop's nesting depth counted
683
- * (holes have odd depth). The loops are then fitted with our `fitCubics` (corner roundness sets
684
- * which turns stay sharp). Colour tracing quantises the image (median cut) and traces each colour
685
- * stacked: a colour's shape covers the colours traced above it too, so no gaps open between them.
686
- */
687
-
688
- /** RGBA pixels, row by row (8 bits a channel). */
689
- interface VectorTracePixels {
690
- width: number;
691
- height: number;
692
- data: ArrayLike<number>;
693
- }
694
- /** How to trace. */
695
- interface VectorTraceOptions {
696
- /** `threshold`: one colour where the image is dark (or opaque); `color`: a stacked path per colour (default threshold). */
697
- mode?: 'threshold' | 'color';
698
- /** Threshold mode: trace by `luminance` (dark is inside, default) or `alpha` (opaque is inside). */
699
- channel?: 'luminance' | 'alpha';
700
- /** Threshold mode: inside where darkness (or alpha) is at least this, 0–1 (default 0.5). */
701
- threshold?: number;
702
- /** Threshold mode: the traced shape's fill (default black). */
703
- color?: string;
704
- /** Colour mode: how many colours (2–32, default 6). Fully transparent pixels are left out. */
705
- colors?: number;
706
- /** How far (pixels) the outline may stray from the pixels (default 1). */
707
- tolerance?: number;
708
- /** Shapes smaller than this many square pixels are dropped (default 10). */
709
- minArea?: number;
710
- /** 0: straight sides and sharp corners; 1: as smooth as the outline allows (default 0.5). */
711
- cornerRoundness?: number;
712
- }
713
- /** The most pixels traced (larger images are refused; scale them down first). */
714
- declare const VECTOR_TRACE_MAX_PIXELS = 4000000;
715
- /**
716
- * Marching squares over `field` (`w × h`, row by row, sample (x, y) at pixel centre (x + 0.5,
717
- * y + 0.5)): the closed contours where the field reaches `threshold`, in pixel coordinates.
718
- */
719
- declare function vectorTraceContours(field: ArrayLike<number>, w: number, h: number, threshold: number): Point[][];
720
- /**
721
- * The palette of the opaque pixels quantised to `count` colours (median cut on RGB) and each
722
- * pixel's palette index (−1 for transparent pixels), with how many pixels each colour got.
723
- */
724
- declare function quantizeVectorTraceColors(pixels: VectorTracePixels, count: number): {
725
- palette: [number, number, number][];
726
- index: Int16Array;
727
- counts: number[];
728
- };
729
- /**
730
- * Traces pixels into path nodes in pixel units (one pixel = one unit, the image's top-left at the
731
- * origin), bottom to top: one compound path in threshold mode, a stacked path per colour in
732
- * colour mode (most common colour at the bottom). Ids are `trace-<n>`; give them your own.
733
- */
734
- declare function traceVectorImage(pixels: VectorTracePixels, options?: VectorTraceOptions): VectorPathNode[];
735
-
736
812
  declare class VectorExprError extends Error {
737
813
  }
738
814
  /** A valid name: a letter or `_`, then letters, digits or `_` (not `pi`), at most 64 characters. */
@@ -1452,6 +1528,12 @@ interface VectorPathEditOptions {
1452
1528
  recognizeShapes: boolean;
1453
1529
  /** Eraser diameter in document units (default 10). */
1454
1530
  eraserSize: number;
1531
+ /** What the Distort Brush does: smudge, twirl, attract, repel or roughen (default smudge). */
1532
+ distortMode: VectorDistortBrushMode;
1533
+ /** Distort Brush radius in document units (default 20). */
1534
+ distortSize: number;
1535
+ /** Distort Brush strength, 0–1 (default 0.5). */
1536
+ distortStrength: number;
1455
1537
  /**
1456
1538
  * Record pointer pressure on pencil strokes as a width profile: `pen` (default) for pen input
1457
1539
  * only, `all` for any pointer that reports pressure, `off` never.
@@ -1660,6 +1742,11 @@ type VectorInteraction = {
1660
1742
  tool: 'knife' | 'eraser';
1661
1743
  points: Vec2$1[];
1662
1744
  width: number;
1745
+ } | {
1746
+ type: 'brush';
1747
+ x: number;
1748
+ y: number;
1749
+ radius: number;
1663
1750
  } | {
1664
1751
  type: 'builder';
1665
1752
  mode: 'merge' | 'erase';
@@ -2274,6 +2361,11 @@ declare class VectorEditorController {
2274
2361
  toJSON(): VectorDocument;
2275
2362
  /** Adds a node (ids are kept unless taken). Returns its id. */
2276
2363
  addNode(node: VectorNode, options?: AddVectorNodeOptions): string;
2364
+ /**
2365
+ * Replaces a generated group's art (its children) and provenance, in one undo step; used by
2366
+ * `regenerateVectorArt`. The group keeps its id, name, transform and place.
2367
+ */
2368
+ replaceGeneratedArt(id: string, children: VectorNode[], generation: VectorGroupNode['generation']): VectorActionResult;
2277
2369
  /** Builds a path node for a shape with the current defaults (not added). */
2278
2370
  createShapeNode(input: VectorShapeInput): VectorPathNode;
2279
2371
  /** Adds a shape drawn with the current defaults. Returns its id. */
@@ -2862,6 +2954,21 @@ declare class VectorEditorController {
2862
2954
  id?: string;
2863
2955
  ids?: string[];
2864
2956
  };
2957
+ /**
2958
+ * Bitmap-to-vector stylise: turns RGBA `pixels` into stylised vector art (see
2959
+ * `stylizeVectorImage`: mosaic tiles, halftone dots, low-poly triangles or engraving lines) and
2960
+ * adds it as one group, placed like Image Trace (top-left at `x, y`, `width` wide, default one
2961
+ * unit per pixel). One undo step; selects the group. Returns its id and its paths' ids.
2962
+ */
2963
+ stylizeImage(pixels: VectorTracePixels, style: VectorStylizeStyle, options?: VectorStylizeOptions & {
2964
+ x?: number;
2965
+ y?: number;
2966
+ width?: number;
2967
+ name?: string;
2968
+ }): VectorActionResult & {
2969
+ id?: string;
2970
+ ids?: string[];
2971
+ };
2865
2972
  /** The selected point of a mesh or freeform fill (Gradient tool), or null. */
2866
2973
  private shadingSel;
2867
2974
  /** Selected paths with a mesh or freeform fill. */
@@ -3385,6 +3492,29 @@ declare class VectorEditorController {
3385
3492
  cutAtAnchors(refs?: readonly VectorAnchorRef[]): VectorActionResult;
3386
3493
  /** Visible, unlocked paths a stroke over `points` can reach: in `ids`, the selection, or (with neither) any whose bounds it crosses. */
3387
3494
  private strokeTargets;
3495
+ /** Starts a Distort Brush stroke at `p` (document space). */
3496
+ private downDistort;
3497
+ /** Adds the paths the brush reaches at `p` to the stroke's targets, and (unless `targetsOnly`) a dab there. */
3498
+ private addDistortDab;
3499
+ /** `base` with the target paths distorted by the dabs (document space dabs, mapped into each path's own space). */
3500
+ private distortedDoc;
3501
+ /**
3502
+ * Distortion brush (CorelDRAW's Smudge, Twirl, Attract, Repel and Roughen tools): runs a round
3503
+ * brush of `radius` (default: the `distortSize` setting) and `strength` 0–1 along `points`
3504
+ * (document space). Smudge pushes the outlines along the stroke (needs two or more points),
3505
+ * twirl turns them about each point by `angle` degrees (default 15) at full strength, attract
3506
+ * pulls them toward each point, repel pushes them away, roughen spikes them. It acts on `ids`,
3507
+ * the selection, or every path the brush reaches. One undo step. Returns the changed ids.
3508
+ */
3509
+ distortBrush(mode: VectorDistortBrushMode, points: readonly Vec2$1[], options?: {
3510
+ ids?: readonly string[];
3511
+ radius?: number;
3512
+ strength?: number;
3513
+ angle?: number;
3514
+ seed?: number;
3515
+ }): VectorActionResult & {
3516
+ ids?: string[];
3517
+ };
3388
3518
  /** A stroke's points in node `id`'s own space. */
3389
3519
  private localPoints;
3390
3520
  /**
@@ -4155,6 +4285,12 @@ interface VectorOverlayRenderData {
4155
4285
  d: string;
4156
4286
  width: number;
4157
4287
  } | null;
4288
+ /** The Distort Brush's circle while it is dragged (screen space: centre and radius), or null. */
4289
+ brush: {
4290
+ x: number;
4291
+ y: number;
4292
+ r: number;
4293
+ } | null;
4158
4294
  /** The pencil's lazy-mouse string from the pen to the pointer, screen space. */
4159
4295
  pencilString: {
4160
4296
  x1: number;
@@ -5647,6 +5783,112 @@ declare function repeatPaths(paths: readonly BezierPath[], r: VectorEffectParams
5647
5783
  /** The middle of the paths' bounds (the origin when they are empty). */
5648
5784
  declare function pathsCenter(paths: readonly BezierPath[]): Vec2$1;
5649
5785
 
5786
+ /**
5787
+ * Generative prompts in the vector editor, through `@pixerate/editor/generation`: a prompt is
5788
+ * planned against a model's capabilities (`planGenerationRequest`), sent to the host's generator,
5789
+ * and what comes back becomes editable vector art in one group:
5790
+ *
5791
+ * - SVG markup (from a text model that writes SVG, or an image model with vector output) is read
5792
+ * with the SVG importer;
5793
+ * - pixels or a PNG (an image model) are traced (`color` or `threshold`, Image Trace) or stylised
5794
+ * (`mosaic`, `halftone`, `lowPoly`, `hatch`).
5795
+ *
5796
+ * The art is fitted into a box on the artboard and the group keeps the generation's provenance
5797
+ * (`createProvenance`: prompt, model, planned request and adjustments), so it can be regenerated
5798
+ * with a new seed or prompt in place. Requests cost money: every call takes an idempotency key,
5799
+ * and a retry with the same key and input returns the first result instead of generating again.
5800
+ */
5801
+
5802
+ /** A generative model's capabilities (`@pixerate/editor/generation`), re-exported for the bindings. */
5803
+ type VectorArtModel = ModelCapabilities;
5804
+ /** What a generator returns: SVG markup, RGBA pixels, or a PNG data URL. */
5805
+ type VectorGeneratedArt = {
5806
+ svg: string;
5807
+ } | {
5808
+ image: VectorTracePixels;
5809
+ } | {
5810
+ png: string;
5811
+ };
5812
+ /** The host's generator: sends a planned request to its model and returns the art. */
5813
+ type VectorArtGenerator = (request: GenerationRequest, context: {
5814
+ model: ModelCapabilities;
5815
+ plan: GenerationPlan;
5816
+ idempotencyKey: string;
5817
+ signal?: AbortSignal;
5818
+ }) => VectorGeneratedArt | Promise<VectorGeneratedArt>;
5819
+ /** How pixels become vectors: traced in colour or one colour, or stylised. */
5820
+ type VectorGeneratedImageAs = 'color' | 'threshold' | VectorStylizeStyle;
5821
+ declare const VECTOR_GENERATED_IMAGE_AS: readonly VectorGeneratedImageAs[];
5822
+ /** Models that can make vector art: image models (traced or stylised) and text models that write SVG. */
5823
+ declare function vectorArtModels(models: readonly ModelCapabilities[]): ModelCapabilities[];
5824
+ interface VectorGenerateInput {
5825
+ prompt: string;
5826
+ /** Model id (default: the first vector-capable model). */
5827
+ model?: string;
5828
+ negativePrompt?: string;
5829
+ seed?: number;
5830
+ /** E.g. "1:1" (default: from the box, snapped to what the model offers). */
5831
+ aspectRatio?: string;
5832
+ /** The box the art is fitted into (document units; default: a square in the artboard's middle). */
5833
+ x?: number;
5834
+ y?: number;
5835
+ width?: number;
5836
+ height?: number;
5837
+ /** How pixels become vectors (default `color`). */
5838
+ as?: VectorGeneratedImageAs;
5839
+ /** Palette size for traced or stylised colour (default 8). */
5840
+ colors?: number;
5841
+ name?: string;
5842
+ /** Required: a retry with the same key and input returns the first result without generating again. */
5843
+ idempotencyKey: string;
5844
+ signal?: AbortSignal;
5845
+ }
5846
+ interface VectorGenerateResult {
5847
+ ok: boolean;
5848
+ message?: string;
5849
+ /** The group holding the art. */
5850
+ id?: string;
5851
+ /** Its children. */
5852
+ ids?: string[];
5853
+ /** What the planner changed to fit the model (snapped or dropped values). */
5854
+ adjustments?: GenerationPlan['adjustments'];
5855
+ model?: string;
5856
+ }
5857
+ interface VectorGenerationOptions {
5858
+ /** Models, or a function returning the current models. */
5859
+ models: readonly ModelCapabilities[] | (() => readonly ModelCapabilities[]);
5860
+ generate: VectorArtGenerator;
5861
+ }
5862
+ /**
5863
+ * Generates vector art from a prompt and adds it as one group (one undo step), fitted into the
5864
+ * box (default: a square in the artboard's middle), holding the generation's provenance.
5865
+ */
5866
+ declare function generateVectorArt(controller: VectorEditorController, input: VectorGenerateInput, options: VectorGenerationOptions): Promise<VectorGenerateResult>;
5867
+ /**
5868
+ * Generates a group's art again from its provenance, with a new `seed` (default: a random one)
5869
+ * and optionally a new `prompt`, replacing its children in place (one undo step).
5870
+ */
5871
+ declare function regenerateVectorArt(controller: VectorEditorController, input: {
5872
+ id: string;
5873
+ prompt?: string;
5874
+ seed?: number;
5875
+ idempotencyKey: string;
5876
+ signal?: AbortSignal;
5877
+ }, options: VectorGenerationOptions): Promise<VectorGenerateResult>;
5878
+ interface VectorGenerationToolProviderOptions extends VectorGenerationOptions {
5879
+ /** Provider id (default `vector-generation`). */
5880
+ id?: string;
5881
+ namespace?: string;
5882
+ /** The document cannot be edited: write tools are hidden. A string is the reason. */
5883
+ readOnly?: boolean | string | (() => boolean | string);
5884
+ }
5885
+ /**
5886
+ * Agent tools for generative prompts in the vector editor: `list_vector_art_models` (read-only),
5887
+ * `generate_vector_art` and `regenerate_vector_art` (both cost money: an idempotency key is
5888
+ * required; hidden while the document is read-only).
5889
+ */
5890
+ declare function createVectorGenerationToolProvider(controller: VectorEditorController, options: VectorGenerationToolProviderOptions): AgentToolProvider;
5891
+
5650
5892
  /**
5651
5893
  * Frames (artboards) and their children's resizing constraints.
5652
5894
  *
@@ -6421,4 +6663,4 @@ interface VectorEffectsToolProviderOptions {
6421
6663
  /** The effect tools for a vector editor (see the module comment). */
6422
6664
  declare function createVectorEffectsToolProvider(controller: VectorEditorController, options?: VectorEffectsToolProviderOptions): AgentToolProvider;
6423
6665
 
6424
- export { type AddVectorNodeOptions, AffineMatrix$1 as AffineMatrix, DEFAULT_VECTOR_BLEND_DISTANCE, DEFAULT_VECTOR_BLEND_STEPS, DEFAULT_VECTOR_FONT, DEFAULT_VECTOR_PATH_EDIT, DEFAULT_VECTOR_SNAP, IDENTITY_MATRIX, KAPPA, LazyMouse, type MapVectorSubpathsOptions, type NearestSegment, type RecognizeInkOptions, TextFont, TextShaper, VECTOR_ARROWHEAD_LABELS, VECTOR_BLEND_MAX_SMOOTH_STEPS, VECTOR_BLEND_MAX_STEPS, VECTOR_BLEND_MODE_LABELS, VECTOR_BLEND_MODE_MENU, VECTOR_BLEND_SPACING_LABELS, VECTOR_BUILDER_HATCH_GAP, VECTOR_CHARACTER_STYLE_KEYS, VECTOR_CLIPBOARD_TYPE, VECTOR_CONNECTOR_ROUTE_LABELS, VECTOR_CONNECTOR_SIDE_LABELS, VECTOR_CONSTRAINT_GLYPHS, VECTOR_CONSTRAINT_LABELS, VECTOR_CONSTRUCTION_ANGLES, VECTOR_CORNER_KIND_LABELS, VECTOR_CORNER_WIDGET_INSET, VECTOR_DIMENSIONAL_KINDS, VECTOR_DISTORT_TOLERANCE, VECTOR_EDIT_TOGGLES, VECTOR_EFFECT_MENU, VECTOR_ENVELOPE_STYLE_OPTIONS, VECTOR_FILL_GAP, VECTOR_FONT_WEIGHTS, VECTOR_GRADIENT_INTERPOLATION_LABELS, VECTOR_GRADIENT_MIDPOINT_GAP, VECTOR_GRADIENT_OFF_BAR, VECTOR_GRADIENT_SPREAD_LABELS, VECTOR_GRADIENT_STOP_GAP, VECTOR_GRADIENT_TYPE_LABELS, VECTOR_HORIZONTAL_RESIZING_LABELS, VECTOR_INK_MAX_CORNERS, VECTOR_LENS_LABELS, VECTOR_LENS_SPECS, VECTOR_MASK_TYPE_LABELS, VECTOR_MASK_TYPE_OPTIONS, VECTOR_MAX_CONSTRAINTS, VECTOR_MAX_TRACKING_POINTS, VECTOR_MESH_MAX, VECTOR_OVERLAY_THEME, VECTOR_PARAGRAPH_STYLE_KEYS, VECTOR_PATHFINDER_ACTIONS, VECTOR_PATHFINDER_LABELS, VECTOR_PATH_ACTIONS, VECTOR_PENCIL_STRING_PX, VECTOR_PRESSURE_NOMINAL, VECTOR_ROTATE_HANDLE_OFFSET, VECTOR_SPATIAL_MIN, VECTOR_STROKE_ALIGN_LABELS, VECTOR_STROKE_GRADIENT_MODE_LABELS, VECTOR_STROKE_SETTING_KEYS, VECTOR_STYLE_KEYS, VECTOR_SYMBOL_MAX_DEPTH, VECTOR_SYMMETRY_MODE_LABELS, VECTOR_TEXT_ALIGN_LABELS, VECTOR_TEXT_ALIGN_OPTIONS, VECTOR_TOOL_GLYPHS, VECTOR_TOOL_SHORTCUTS, VECTOR_TRACE_MAX_PIXELS, VECTOR_VERTICAL_RESIZING_LABELS, VECTOR_WIDTH_PRESETS, VECTOR_WIDTH_PRESET_IDS, VECTOR_WIDTH_PROFILE_MAX_POINTS, VECTOR_WIDTH_PROFILE_MAX_SCALE, VECTOR_WIDTH_SAME_T, type VariableStrokeOptions, Vec2$1 as Vec2, type VectorActionResult, VectorAlign, VectorAnchor, VectorAnchorRef, VectorAnchorType, type VectorAppearancePanelData, type VectorAppearancePanelLayer, VectorAppearanceShape, VectorArrange, VectorArrowAlign, VectorArrowhead, type VectorArrowheadShape, VectorAverageAxis, type VectorBevelFace, VectorBlend, type VectorBlendControls, type VectorBlendInput, VectorBlendMode, VectorBlendOptions, type VectorBlendRail, VectorBlendSpacing, type VectorBlendStart, VectorBooleanOperation, VectorBounds, type VectorBuilderHit, type VectorBuilderLinePiece, type VectorBuilderPreview, type VectorBuilderReplacement, type VectorBuilderTouched, VectorCharacterStyle, type VectorCommandOptions, type VectorConnectionSite, VectorConnector, VectorConnectorEnd, type VectorConnectorListing, type VectorConnectorPanel, VectorConnectorRoute, type VectorConnectorRouting, VectorConnectorSide, VectorConstraint, type VectorConstraintAction, VectorConstraintError, type VectorConstraintGlyph, type VectorConstraintInput, VectorConstraintKind, type VectorConstraintPanelData, type VectorConstraintRefInput, type VectorCornerInfo, VectorCornerKind, type VectorCornerWidget, VectorDefaults, type VectorDistortMode, VectorDistribute, VectorDocument, type VectorDofReport, type VectorDofStatus, VectorEditorController, type VectorEditorOptions, type VectorEditorState, VectorEffect, VectorEffectParamSpec, VectorEffectParamsMap, VectorEffectType, type VectorEffectsPanelData, type VectorEffectsPanelItem, type VectorEffectsToolProviderOptions, type VectorEnvelopePanelData, VectorEnvelopeParams, VectorExprEnv, VectorExprError, type VectorExtrudeFace, VectorFillRule, VectorFilter, VectorFilterParamSpec, VectorFilterType, type VectorFiltersPanelItem, VectorFrame, type VectorFrameGroup, type VectorFrameListing, type VectorFramePanel, type VectorFreeformField, VectorFreeformGradient, VectorFreeformPoint, VectorGradient, type VectorGradientAnnotator, type VectorGradientEditorData, VectorGradientHandle, VectorGradientInterpolation, type VectorGradientPart, VectorGradientPatch, VectorGradientSpread, VectorGradientStop, type VectorGradientTarget, VectorGradientType, VectorGroupNode, type VectorGuideKind, type VectorGuideLabel, type VectorGuideLine, VectorHandleRef, type VectorHitTestOptions, Homography as VectorHomography, VectorHorizontalResizing, type VectorHover, type VectorInferOptions, type VectorInkShape, VectorInstanceNode, VectorInstanceOverrides, type VectorInteraction, type VectorKeyInput, VectorLens, type VectorLensNode, VectorLensType, VectorLineJoin, type VectorLottie, type VectorLottieExport, type VectorLottieExportOptions, type VectorLottieImport, type VectorLottieImportOptions, VectorMask, type VectorMaskClipShape, type VectorMaskGroup, type VectorMaskPanelData, type VectorMaskRegionShape, type VectorMaskRenderData, type VectorMaskResult, type VectorMaskSummary, VectorMaskType, VectorMatrix, VectorMergeMode, VectorMeshGradient, VectorModifiers, type VectorMorph, type VectorMorphContour, type VectorMorphCorrespondence, type VectorMorphOptions, VectorNode, type VectorNodeListing, type VectorOverlayRenderData, VectorPaint, VectorPaintDef, VectorPaintLayer, type VectorPaintLayerHit, type VectorPaintLayerNode, VectorParagraphStyle, VectorParameter, type VectorPathAction, type VectorPathEditOptions, type VectorPathEntry, type VectorPathKeyframe, type VectorPathMeasure, VectorPathNode, type VectorPathfinderAction, VectorPathfinderOperation, type VectorPathfinderPaint, type VectorPdfExport, type VectorPdfOptions, VectorPerspective, VectorPerspectivePlane, type VectorPointMap, type VectorPointSnap, type VectorPointerInput, VectorProviderEffect, VectorRTree, type VectorRectSnap, type VectorRenderAnchor, type VectorRenderCornerWidget, VectorRenderFilter, type VectorRenderGradientAnnotator, type VectorRenderGroup, type VectorRenderGuideLabel, type VectorRenderGuideLine, type VectorRenderHandle, type VectorRenderMask, type VectorRenderNode, type VectorRenderPaintLayer, type VectorRenderPath, VectorRenderStrokeParts, type VectorRenderText, type VectorRenderTextSpan, type VectorRenderWidthPoint, type VectorRepeaterCopy, VectorResizing, type VectorResolvedRun, VectorRgba, type VectorScaleSnap, type VectorSceneRenderData, type VectorSceneRenderOptions, VectorSegmentRef, type VectorSelectionBoxGeometry, type VectorSelectionFrame, type VectorSelectionStyle, type VectorShadedSvgOptions, type VectorShapeBuilderFace, type VectorShapeBuilderMap, type VectorShapeBuilderPlan, type VectorShapeBuilderResult, type VectorShapeInput, type VectorSnapGuides, type VectorSnapKind, type VectorSnapLeave, type VectorSnapOptions, VectorSnapTargets, type VectorSolveResult, VectorStrokeAlign, VectorStrokeGradientMode, VectorStrokeLayer, type VectorStrokeParts, VectorStrokeSettings, type VectorStrokeSpot, VectorStyle, VectorSubpath, VectorSvgExportOptions, VectorSvgPatternDef, VectorSymbol, type VectorSymbolsPanelData, type VectorSymbolsPanelItem, VectorSymmetry, type VectorSymmetryGroup, VectorSymmetryMode, type VectorTaperOptions, VectorTextAlign, type VectorTextCaret, type VectorTextDefaults, type VectorTextEditState, VectorTextError, type VectorTextFragment, VectorTextFrame, type VectorTextGlyph, type VectorTextInput, type VectorTextLayout, VectorTextNode, type VectorTextPanelData, type VectorTextPaths, VectorTextRun, type VectorTextSpan, VectorTool, type VectorTraceOptions, type VectorTracePixels, type VectorTrackingPath, type VectorTrackingPoint, VectorTransformHandle, VectorVerticalResizing, VectorViewport, VectorWarpMesh, type VectorWaveOptions, type VectorWidthHandle, VectorWidthPoint, type VectorWidthPointEdit, type VectorWidthPointRef, type VectorWidthPreset, type VectorWidthPresetInfo, addBuilderHit, addVectorConstraint, applyMatrix, applyMatrixLinear, applyVectorBlendOptions, applyVectorParagraphStyle, applyVectorTextStyle, arrowheadInset, arrowheadPath, arrowheadWeight, autoConstrainVector, autoVectorFreeformGradient, bakeVectorTextGeometry, bendSegment, bezierToSubpaths, boundsFromPoints, boundsIntersect, checkVectorExpression, cloneAnchor, cloneSubpath, cloneVectorDocument, cloneVectorNode, collectPaintedNodes, collectPathNodes, composeVectorMatrices, constrainToLeave, convertAnchor, cornerBisectorPoint, cornerRadiusChange, cornerSetback, correspondMorphContours, createVectorCommands, createVectorEffectsToolProvider, createVectorMeshGradient, createVectorMorph, curvatureMoveAnchor, cutSubpathAt, dashIntervals, decomposeRigid, distortVectorNode, effectPathLength, effectPathVertexCount, effectiveStrokeAlign, ellipseSubpath, eraseFromFill, eraseFromOutline, eraserRegion, evalVectorExpression, evaluateVectorPathKeyframes, expandVectorBlend, expandVectorCorners, expandVectorCornersOf, findVectorAnchorById, findVectorNode, fitCornerRadius, fitVectorTextRuns, formatVectorValue, generateVectorBlendChildren, generateWidthProfile, getAnchor, getAnchorWorld, getEditablePathIds, getTransformHandlePositions, getVectorAppearancePanel, getVectorBlendControls, getVectorConnectorPanel, getVectorConstraintPanel, getVectorCornerWidgets, getVectorEffectsPanel, getVectorEnteredGroups, getVectorEnvelopePanel, getVectorEnvelopeTarget, getVectorFramePanel, getVectorGradientAnnotator, getVectorGradientEditor, getVectorMaskPanel, getVectorOverlayRenderData, getVectorSceneRenderData, getVectorSelectionBoxGeometry, getVectorSelectionFrame, getVectorSelectionStyle, getVectorSymbolEditBackground, getVectorSymbolsPanel, getVectorTextPanel, getVectorTextShaper, getVectorWidthHandles, getVisibleAnchors, getVisibleHandles, glyphBox, hasPaint, hasStrokeExtras, hasVectorCorners, hasVectorPaintStacks, hitTestVectorNode, hitTestVectorNodes, hitTestVectorPaintLayer, hitTestVectorPaintStack, hitTestVectorStroke, hitVectorGradientAnnotator, inferAnchorType, inferVectorConstraints, insertAnchor, insertWidthPoint, interpolateMorphContours, interpolateRigidMatrix, interpolateVectorColor, interpolateVectorPaint, interpolateVectorPaths, interpolateVectorStyle, interpolateWidthProfiles, invertMatrix, isClosedBezierShape, isDrawnVectorPaintLayer, isIdentityMatrix, isPlainVectorPaintLayer, isUniformWidthProfile, isValidVectorParameterName, isVectorBlendGroup, isVectorBlendMode, isVectorConnector, isVectorFrame, isVectorFreeformGradient, isVectorLens, isVectorMaskActive, isVectorMaskGroup, isVectorMaskType, isVectorMasterPage, isVectorMeshGradient, isVectorShadedPaint, isVectorSymmetryGroup, isVectorTextTarget, joinSubpaths, knifePath, layoutVectorText, lineSubpath, locateVectorNode, lottieValueAt, mapBezierPath, mapVectorPaintColors, mapVectorPoints, mapVectorShadedPaint, mapVectorSubpaths, matrixRotation, measureVectorConstraint, measureVectorPath, mergePaths, mirrorWidthProfile, morphContourToSubpath, morphPathsCross, moveAnchorHandle, multiplyMatrices, nearestSegment, nearestStrokePosition, nearestVectorConnectionSite, nearestVectorShadingPoint, needsVectorPaintLayers, newVectorStrokeLayer, nextVectorConstraintName, nextVectorCornerKind, nodeMatrix, normalizeVectorPaintStacks, normalizeVectorTextRuns, offsetPaths, parseVectorLottie, patchVectorCharacterStyle, patchVectorParagraphStyle, pathTextFrameFromBezier, pathsCenter, planShapeBuilder, polygonSubpath, polylineBounds, prefixVectorIds, pressureWidthProfile, puckerBloatPaths, purgeVectorConstraints, quantizeVectorTraceColors, recognizeInkShape, rectSubpath, refineMorphContour, refreshVectorBlends, releaseVectorBlend, removeAnchorKeepingShape, removeAnchors, removeAnchorsKeepingShape, removeRedundantPoints, removeVectorFreeformPoint, removeWidthPoints, repeatPaths, replaceVectorText, rerouteVectorConnectors, resampleGradientStops, resolveVectorBlendOptions, resolveVectorLenses, resolveVectorMasterPages, resolveVectorSymbols, reverseMorphContour, reverseSubpath, reverseWidthProfile, rotateMatrix, roundCornerPaths, roundSubpaths, routeVectorConnector, samplePolyline, sampleVectorFreeform, sanitizeVectorConnector, sanitizeVectorFills, sanitizeVectorFrame, sanitizeVectorLens, sanitizeVectorMask, sanitizeVectorPerspective, sanitizeVectorResizing, sanitizeVectorShadedPaint, sanitizeVectorStrokeSettings, sanitizeVectorStrokes, sanitizeVectorSymmetry, sanitizeVectorTextFields, sanitizeVectorTextFrame, sanitizeWidthProfile, scaleFor, scaleMatrix, scaleVectorStrokeWidths, setAnchorCorner, setSubpathCorners, setVectorTextShaper, setWidthPoint, shadeVectorColor, simplifyPolyline, smoothSubpath, solveVectorConstraints, splitIntoFaces, splitSubpathAt, starSubpath, stripVectorLensViews, stripVectorMasterArt, stripVectorSymbolArt, strokePositionPoint, strokeWidthProfileOf, styleVectorText, subpathEnclosesArea, subpathPointAt, subpathSegment, subpathSegmentCount, subpathToMorphContour, subpathsToBezier, sweepPath, taperWaveFactor, tintVectorNode, toVectorKeyInput, toVectorModifiers, toVectorPointerInput, traceVectorImage, transformVectorNode, transformVectorShadedPaint, transformVectorSymmetry, translateAnchor, translateMatrix, trimIntervals, trimPaths, trimPathsIndividually, turnMorphContour, twistPaths, unionBounds, validateVectorConstraint, variableStrokeOutline, variableStrokeRings, vectorAngleDirection, vectorArtboards, vectorBevelFaces, vectorBlendColorDistance, vectorBlendKeyTargets, vectorBlendKeys, vectorBlendModeCss, vectorBlendModeFromCss, vectorBlendRail, vectorBlendRailAt, vectorBlendSpine, vectorBlendStepCount, vectorBoundsInside, vectorBoxCorners, vectorBuilderErasedEdges, vectorConnectionSites, vectorConnectorTargetAt, vectorConnectorWorldAnchors, vectorConstraintActions, vectorConstraintDof, vectorConstraintEnv, vectorConstraintGlyphs, vectorConstraintPanel, vectorConstraintResiduals, vectorConstraintValue, vectorCornerAt, vectorCorners, vectorDiamondPath, vectorDistortQuad, vectorDocumentToLottie, vectorDocumentToPdf, vectorExpressionNames, vectorExtrudeFaces, vectorFillMap, vectorFills, vectorFrameChildMatrix, vectorFrameContains, vectorFrameDocument, vectorFrameDrawn, vectorFrameRectPath, vectorFreeformField, vectorFreeformLineSegments, vectorFreeformSpreadScale, vectorGradientBarPosition, vectorGradientTargetPath, vectorInkShapeName, vectorInstanceGroup, vectorLensColorMap, vectorLensDrawn, vectorMaskContains, vectorMaskContentBounds, vectorMaskContents, vectorMaskOwner, vectorMaskRegion, vectorMaskRegionPath, vectorMaskRegionShapes, vectorMaskRenderData, vectorMaskSource, vectorMaskSummary, vectorMaskedGeometry, vectorMaskedLocalBounds, vectorMaskedShapes, vectorMasterArt, vectorMasterPages, vectorMeshColorAt, vectorMeshFromOutline, vectorMeshLines, vectorMeshOutline, vectorMeshPointAt, vectorNodeBounds, vectorNodePaintBox, vectorNodeRotation, vectorNodeToBezier, vectorNodesNear, vectorPages, vectorPaintLayerNodes, vectorPaintSolid, vectorPaintSwatch, vectorPaintToHex, vectorParentMatrix, vectorPathAt, vectorPathCircle, vectorPathData, vectorPathEntries, vectorPathRings, vectorPathTextPositions, vectorPathWorldBezier, vectorPathfinderShape, vectorPerspectiveFlatToPlane, vectorPerspectiveGridLines, vectorPerspectiveMapPath, vectorPerspectivePlaneMap, vectorPerspectivePlaneToFlat, vectorPerspectivePlanes, vectorPerspectivePreset, vectorPolarAngles, vectorPolarIncrementOf, vectorRepeaterCopies, vectorResizeCursor, vectorResultStyle, vectorRgbaToCss, vectorShadedSvgDefs, vectorShapeBuilderHit, vectorShapeBuilderMap, vectorShearForSide, vectorSkewMatrix, vectorSpatialIndex, vectorStacksHaveGradient, vectorStrokeGradientDefs, vectorStrokeLineArea, vectorStrokeOutline, vectorStrokeOutlinePath, vectorStrokeParts, vectorStrokeReach, vectorStrokeSettings, vectorStrokeStackReach, vectorStrokeWidthGeometry, vectorStrokes, vectorSymbolUses, vectorSymbolsUsedIn, vectorSymmetryAxes, vectorSymmetryDrawn, vectorSymmetryMatrices, vectorTargetPaint, vectorTextBoxOutline, vectorTextCaret, vectorTextFamilies, vectorTextGeometryNode, vectorTextHasOutlines, vectorTextIndexAt, vectorTextName, vectorTextPaintSource, vectorTextPaths, vectorTextRange, vectorTextRuns, vectorTextSelectionQuads, vectorTextShaperGeneration, vectorTextSpanSvg, vectorTextSpans, vectorTextStyleAt, vectorToolLabel, vectorTraceContours, vectorTrackingPaths, vectorWorldMatrix, walkVectorNodes, widthProfileAt, widthProfileMaxScale, widthProfilePreset, widthProfilePresetId, wigglePaths, withVectorAnchorIds, withVectorDocumentAnchorIds, withVectorFills, withVectorStrokes, withVectorTargetPaint, zigzagPaths };
6666
+ export { type AddVectorNodeOptions, AffineMatrix$1 as AffineMatrix, DEFAULT_VECTOR_BLEND_DISTANCE, DEFAULT_VECTOR_BLEND_STEPS, DEFAULT_VECTOR_FONT, DEFAULT_VECTOR_PATH_EDIT, DEFAULT_VECTOR_SNAP, IDENTITY_MATRIX, KAPPA, LazyMouse, type MapVectorSubpathsOptions, type NearestSegment, type RecognizeInkOptions, TextFont, TextShaper, VECTOR_ARROWHEAD_LABELS, VECTOR_BLEND_MAX_SMOOTH_STEPS, VECTOR_BLEND_MAX_STEPS, VECTOR_BLEND_MODE_LABELS, VECTOR_BLEND_MODE_MENU, VECTOR_BLEND_SPACING_LABELS, VECTOR_BUILDER_HATCH_GAP, VECTOR_CHARACTER_STYLE_KEYS, VECTOR_CLIPBOARD_TYPE, VECTOR_CONNECTOR_ROUTE_LABELS, VECTOR_CONNECTOR_SIDE_LABELS, VECTOR_CONSTRAINT_GLYPHS, VECTOR_CONSTRAINT_LABELS, VECTOR_CONSTRUCTION_ANGLES, VECTOR_CORNER_KIND_LABELS, VECTOR_CORNER_WIDGET_INSET, VECTOR_DIMENSIONAL_KINDS, VECTOR_DISTORT_BRUSH_MODES, VECTOR_DISTORT_TOLERANCE, VECTOR_EDIT_TOGGLES, VECTOR_EFFECT_MENU, VECTOR_ENVELOPE_STYLE_OPTIONS, VECTOR_FILL_GAP, VECTOR_FONT_WEIGHTS, VECTOR_GENERATED_IMAGE_AS, VECTOR_GRADIENT_INTERPOLATION_LABELS, VECTOR_GRADIENT_MIDPOINT_GAP, VECTOR_GRADIENT_OFF_BAR, VECTOR_GRADIENT_SPREAD_LABELS, VECTOR_GRADIENT_STOP_GAP, VECTOR_GRADIENT_TYPE_LABELS, VECTOR_HORIZONTAL_RESIZING_LABELS, VECTOR_INK_MAX_CORNERS, VECTOR_LENS_LABELS, VECTOR_LENS_SPECS, VECTOR_MASK_TYPE_LABELS, VECTOR_MASK_TYPE_OPTIONS, VECTOR_MAX_CONSTRAINTS, VECTOR_MAX_TRACKING_POINTS, VECTOR_MESH_MAX, VECTOR_OVERLAY_THEME, VECTOR_PARAGRAPH_STYLE_KEYS, VECTOR_PATHFINDER_ACTIONS, VECTOR_PATHFINDER_LABELS, VECTOR_PATH_ACTIONS, VECTOR_PENCIL_STRING_PX, VECTOR_PRESSURE_NOMINAL, VECTOR_ROTATE_HANDLE_OFFSET, VECTOR_SPATIAL_MIN, VECTOR_STROKE_ALIGN_LABELS, VECTOR_STROKE_GRADIENT_MODE_LABELS, VECTOR_STROKE_SETTING_KEYS, VECTOR_STYLE_KEYS, VECTOR_STYLIZE_LABELS, VECTOR_STYLIZE_MAX_SHAPES, VECTOR_STYLIZE_STYLES, VECTOR_SYMBOL_MAX_DEPTH, VECTOR_SYMMETRY_MODE_LABELS, VECTOR_TEXT_ALIGN_LABELS, VECTOR_TEXT_ALIGN_OPTIONS, VECTOR_TOOL_GLYPHS, VECTOR_TOOL_SHORTCUTS, VECTOR_TRACE_MAX_PIXELS, VECTOR_VERTICAL_RESIZING_LABELS, VECTOR_WIDTH_PRESETS, VECTOR_WIDTH_PRESET_IDS, VECTOR_WIDTH_PROFILE_MAX_POINTS, VECTOR_WIDTH_PROFILE_MAX_SCALE, VECTOR_WIDTH_SAME_T, type VariableStrokeOptions, Vec2$1 as Vec2, type VectorActionResult, VectorAlign, VectorAnchor, VectorAnchorRef, VectorAnchorType, type VectorAppearancePanelData, type VectorAppearancePanelLayer, VectorAppearanceShape, VectorArrange, VectorArrowAlign, VectorArrowhead, type VectorArrowheadShape, type VectorArtGenerator, type VectorArtModel, VectorAverageAxis, type VectorBevelFace, VectorBlend, type VectorBlendControls, type VectorBlendInput, VectorBlendMode, VectorBlendOptions, type VectorBlendRail, VectorBlendSpacing, type VectorBlendStart, VectorBooleanOperation, VectorBounds, type VectorBuilderHit, type VectorBuilderLinePiece, type VectorBuilderPreview, type VectorBuilderReplacement, type VectorBuilderTouched, VectorCharacterStyle, type VectorCommandOptions, type VectorConnectionSite, VectorConnector, VectorConnectorEnd, type VectorConnectorListing, type VectorConnectorPanel, VectorConnectorRoute, type VectorConnectorRouting, VectorConnectorSide, VectorConstraint, type VectorConstraintAction, VectorConstraintError, type VectorConstraintGlyph, type VectorConstraintInput, VectorConstraintKind, type VectorConstraintPanelData, type VectorConstraintRefInput, type VectorCornerInfo, VectorCornerKind, type VectorCornerWidget, VectorDefaults, type VectorDistortBrushMode, type VectorDistortDab, type VectorDistortMode, VectorDistribute, VectorDocument, type VectorDofReport, type VectorDofStatus, VectorEditorController, type VectorEditorOptions, type VectorEditorState, VectorEffect, VectorEffectParamSpec, VectorEffectParamsMap, VectorEffectType, type VectorEffectsPanelData, type VectorEffectsPanelItem, type VectorEffectsToolProviderOptions, type VectorEnvelopePanelData, VectorEnvelopeParams, VectorExprEnv, VectorExprError, type VectorExtrudeFace, VectorFillRule, VectorFilter, VectorFilterParamSpec, VectorFilterType, type VectorFiltersPanelItem, VectorFrame, type VectorFrameGroup, type VectorFrameListing, type VectorFramePanel, type VectorFreeformField, VectorFreeformGradient, VectorFreeformPoint, type VectorGenerateInput, type VectorGenerateResult, type VectorGeneratedArt, type VectorGeneratedImageAs, type VectorGenerationOptions, type VectorGenerationToolProviderOptions, VectorGradient, type VectorGradientAnnotator, type VectorGradientEditorData, VectorGradientHandle, VectorGradientInterpolation, type VectorGradientPart, VectorGradientPatch, VectorGradientSpread, VectorGradientStop, type VectorGradientTarget, VectorGradientType, VectorGroupNode, type VectorGuideKind, type VectorGuideLabel, type VectorGuideLine, VectorHandleRef, type VectorHitTestOptions, Homography as VectorHomography, VectorHorizontalResizing, type VectorHover, type VectorInferOptions, type VectorInkShape, VectorInstanceNode, VectorInstanceOverrides, type VectorInteraction, type VectorKeyInput, VectorLens, type VectorLensNode, VectorLensType, VectorLineJoin, type VectorLottie, type VectorLottieExport, type VectorLottieExportOptions, type VectorLottieImport, type VectorLottieImportOptions, VectorMask, type VectorMaskClipShape, type VectorMaskGroup, type VectorMaskPanelData, type VectorMaskRegionShape, type VectorMaskRenderData, type VectorMaskResult, type VectorMaskSummary, VectorMaskType, VectorMatrix, VectorMergeMode, VectorMeshGradient, VectorModifiers, type VectorMorph, type VectorMorphContour, type VectorMorphCorrespondence, type VectorMorphOptions, VectorNode, type VectorNodeListing, type VectorOverlayRenderData, VectorPaint, VectorPaintDef, VectorPaintLayer, type VectorPaintLayerHit, type VectorPaintLayerNode, VectorParagraphStyle, VectorParameter, type VectorPathAction, type VectorPathEditOptions, type VectorPathEntry, type VectorPathKeyframe, type VectorPathMeasure, VectorPathNode, type VectorPathfinderAction, VectorPathfinderOperation, type VectorPathfinderPaint, type VectorPdfExport, type VectorPdfOptions, VectorPerspective, VectorPerspectivePlane, type VectorPointMap, type VectorPointSnap, type VectorPointerInput, VectorProviderEffect, VectorRTree, type VectorRectSnap, type VectorRenderAnchor, type VectorRenderCornerWidget, VectorRenderFilter, type VectorRenderGradientAnnotator, type VectorRenderGroup, type VectorRenderGuideLabel, type VectorRenderGuideLine, type VectorRenderHandle, type VectorRenderMask, type VectorRenderNode, type VectorRenderPaintLayer, type VectorRenderPath, VectorRenderStrokeParts, type VectorRenderText, type VectorRenderTextSpan, type VectorRenderWidthPoint, type VectorRepeaterCopy, VectorResizing, type VectorResolvedRun, VectorRgba, type VectorScaleSnap, type VectorSceneRenderData, type VectorSceneRenderOptions, VectorSegmentRef, type VectorSelectionBoxGeometry, type VectorSelectionFrame, type VectorSelectionStyle, type VectorShadedSvgOptions, type VectorShapeBuilderFace, type VectorShapeBuilderMap, type VectorShapeBuilderPlan, type VectorShapeBuilderResult, type VectorShapeInput, type VectorSnapGuides, type VectorSnapKind, type VectorSnapLeave, type VectorSnapOptions, VectorSnapTargets, type VectorSolveResult, VectorStrokeAlign, VectorStrokeGradientMode, VectorStrokeLayer, type VectorStrokeParts, VectorStrokeSettings, type VectorStrokeSpot, VectorStyle, type VectorStylizeOptions, type VectorStylizeStyle, VectorSubpath, VectorSvgExportOptions, VectorSvgPatternDef, VectorSymbol, type VectorSymbolsPanelData, type VectorSymbolsPanelItem, VectorSymmetry, type VectorSymmetryGroup, VectorSymmetryMode, type VectorTaperOptions, VectorTextAlign, type VectorTextCaret, type VectorTextDefaults, type VectorTextEditState, VectorTextError, type VectorTextFragment, VectorTextFrame, type VectorTextGlyph, type VectorTextInput, type VectorTextLayout, VectorTextNode, type VectorTextPanelData, type VectorTextPaths, VectorTextRun, type VectorTextSpan, VectorTool, type VectorTraceOptions, type VectorTracePixels, type VectorTrackingPath, type VectorTrackingPoint, VectorTransformHandle, VectorVerticalResizing, VectorViewport, VectorWarpMesh, type VectorWaveOptions, type VectorWidthHandle, VectorWidthPoint, type VectorWidthPointEdit, type VectorWidthPointRef, type VectorWidthPreset, type VectorWidthPresetInfo, addBuilderHit, addVectorConstraint, applyMatrix, applyMatrixLinear, applyVectorBlendOptions, applyVectorParagraphStyle, applyVectorTextStyle, arrowheadInset, arrowheadPath, arrowheadWeight, autoConstrainVector, autoVectorFreeformGradient, bakeVectorTextGeometry, bendSegment, bezierToSubpaths, boundsFromPoints, boundsIntersect, checkVectorExpression, cloneAnchor, cloneSubpath, cloneVectorDocument, cloneVectorNode, collectPaintedNodes, collectPathNodes, composeVectorMatrices, constrainToLeave, convertAnchor, cornerBisectorPoint, cornerRadiusChange, cornerSetback, correspondMorphContours, createVectorCommands, createVectorEffectsToolProvider, createVectorGenerationToolProvider, createVectorMeshGradient, createVectorMorph, curvatureMoveAnchor, cutSubpathAt, dashIntervals, decomposeRigid, distortVectorNode, distortVectorPath, effectPathLength, effectPathVertexCount, effectiveStrokeAlign, ellipseSubpath, eraseFromFill, eraseFromOutline, eraserRegion, evalVectorExpression, evaluateVectorPathKeyframes, expandVectorBlend, expandVectorCorners, expandVectorCornersOf, findVectorAnchorById, findVectorNode, fitCornerRadius, fitVectorTextRuns, formatVectorValue, generateVectorArt, generateVectorBlendChildren, generateWidthProfile, getAnchor, getAnchorWorld, getEditablePathIds, getTransformHandlePositions, getVectorAppearancePanel, getVectorBlendControls, getVectorConnectorPanel, getVectorConstraintPanel, getVectorCornerWidgets, getVectorEffectsPanel, getVectorEnteredGroups, getVectorEnvelopePanel, getVectorEnvelopeTarget, getVectorFramePanel, getVectorGradientAnnotator, getVectorGradientEditor, getVectorMaskPanel, getVectorOverlayRenderData, getVectorSceneRenderData, getVectorSelectionBoxGeometry, getVectorSelectionFrame, getVectorSelectionStyle, getVectorSymbolEditBackground, getVectorSymbolsPanel, getVectorTextPanel, getVectorTextShaper, getVectorWidthHandles, getVisibleAnchors, getVisibleHandles, glyphBox, hasPaint, hasStrokeExtras, hasVectorCorners, hasVectorPaintStacks, hitTestVectorNode, hitTestVectorNodes, hitTestVectorPaintLayer, hitTestVectorPaintStack, hitTestVectorStroke, hitVectorGradientAnnotator, inferAnchorType, inferVectorConstraints, insertAnchor, insertWidthPoint, interpolateMorphContours, interpolateRigidMatrix, interpolateVectorColor, interpolateVectorPaint, interpolateVectorPaths, interpolateVectorStyle, interpolateWidthProfiles, invertMatrix, isClosedBezierShape, isDrawnVectorPaintLayer, isIdentityMatrix, isPlainVectorPaintLayer, isUniformWidthProfile, isValidVectorParameterName, isVectorBlendGroup, isVectorBlendMode, isVectorConnector, isVectorFrame, isVectorFreeformGradient, isVectorLens, isVectorMaskActive, isVectorMaskGroup, isVectorMaskType, isVectorMasterPage, isVectorMeshGradient, isVectorShadedPaint, isVectorSymmetryGroup, isVectorTextTarget, joinSubpaths, knifePath, layoutVectorText, lineSubpath, locateVectorNode, lottieValueAt, mapBezierPath, mapVectorPaintColors, mapVectorPoints, mapVectorShadedPaint, mapVectorSubpaths, matrixRotation, measureVectorConstraint, measureVectorPath, mergePaths, mirrorWidthProfile, morphContourToSubpath, morphPathsCross, moveAnchorHandle, multiplyMatrices, nearestSegment, nearestStrokePosition, nearestVectorConnectionSite, nearestVectorShadingPoint, needsVectorPaintLayers, newVectorStrokeLayer, nextVectorConstraintName, nextVectorCornerKind, nodeMatrix, normalizeVectorPaintStacks, normalizeVectorTextRuns, offsetPaths, parseVectorLottie, patchVectorCharacterStyle, patchVectorParagraphStyle, pathTextFrameFromBezier, pathsCenter, planShapeBuilder, polygonSubpath, polylineBounds, prefixVectorIds, pressureWidthProfile, puckerBloatPaths, purgeVectorConstraints, quantizeVectorTraceColors, recognizeInkShape, rectSubpath, refineMorphContour, refreshVectorBlends, regenerateVectorArt, releaseVectorBlend, removeAnchorKeepingShape, removeAnchors, removeAnchorsKeepingShape, removeRedundantPoints, removeVectorFreeformPoint, removeWidthPoints, repeatPaths, replaceVectorText, rerouteVectorConnectors, resampleGradientStops, resolveVectorBlendOptions, resolveVectorLenses, resolveVectorMasterPages, resolveVectorSymbols, reverseMorphContour, reverseSubpath, reverseWidthProfile, rotateMatrix, roundCornerPaths, roundSubpaths, routeVectorConnector, samplePolyline, sampleVectorFreeform, sanitizeVectorConnector, sanitizeVectorFills, sanitizeVectorFrame, sanitizeVectorLens, sanitizeVectorMask, sanitizeVectorPerspective, sanitizeVectorResizing, sanitizeVectorShadedPaint, sanitizeVectorStrokeSettings, sanitizeVectorStrokes, sanitizeVectorSymmetry, sanitizeVectorTextFields, sanitizeVectorTextFrame, sanitizeWidthProfile, scaleFor, scaleMatrix, scaleVectorStrokeWidths, setAnchorCorner, setSubpathCorners, setVectorTextShaper, setWidthPoint, shadeVectorColor, simplifyPolyline, smoothSubpath, solveVectorConstraints, splitIntoFaces, splitSubpathAt, starSubpath, stripVectorLensViews, stripVectorMasterArt, stripVectorSymbolArt, strokePositionPoint, strokeWidthProfileOf, styleVectorText, stylizeVectorImage, subpathEnclosesArea, subpathPointAt, subpathSegment, subpathSegmentCount, subpathToMorphContour, subpathsToBezier, sweepPath, taperWaveFactor, tintVectorNode, toVectorKeyInput, toVectorModifiers, toVectorPointerInput, traceVectorImage, transformVectorNode, transformVectorShadedPaint, transformVectorSymmetry, translateAnchor, translateMatrix, trimIntervals, trimPaths, trimPathsIndividually, turnMorphContour, twistPaths, unionBounds, validateVectorConstraint, variableStrokeOutline, variableStrokeRings, vectorAngleDirection, vectorArtModels, vectorArtboards, vectorBevelFaces, vectorBlendColorDistance, vectorBlendKeyTargets, vectorBlendKeys, vectorBlendModeCss, vectorBlendModeFromCss, vectorBlendRail, vectorBlendRailAt, vectorBlendSpine, vectorBlendStepCount, vectorBoundsInside, vectorBoxCorners, vectorBuilderErasedEdges, vectorConnectionSites, vectorConnectorTargetAt, vectorConnectorWorldAnchors, vectorConstraintActions, vectorConstraintDof, vectorConstraintEnv, vectorConstraintGlyphs, vectorConstraintPanel, vectorConstraintResiduals, vectorConstraintValue, vectorCornerAt, vectorCorners, vectorDiamondPath, vectorDistortDabMap, vectorDistortFalloff, vectorDistortQuad, vectorDocumentToLottie, vectorDocumentToPdf, vectorExpressionNames, vectorExtrudeFaces, vectorFillMap, vectorFills, vectorFrameChildMatrix, vectorFrameContains, vectorFrameDocument, vectorFrameDrawn, vectorFrameRectPath, vectorFreeformField, vectorFreeformLineSegments, vectorFreeformSpreadScale, vectorGradientBarPosition, vectorGradientTargetPath, vectorHalftone, vectorHatch, vectorInkShapeName, vectorInstanceGroup, vectorLensColorMap, vectorLensDrawn, vectorLowPoly, vectorMaskContains, vectorMaskContentBounds, vectorMaskContents, vectorMaskOwner, vectorMaskRegion, vectorMaskRegionPath, vectorMaskRegionShapes, vectorMaskRenderData, vectorMaskSource, vectorMaskSummary, vectorMaskedGeometry, vectorMaskedLocalBounds, vectorMaskedShapes, vectorMasterArt, vectorMasterPages, vectorMeshColorAt, vectorMeshFromOutline, vectorMeshLines, vectorMeshOutline, vectorMeshPointAt, vectorMosaic, vectorNodeBounds, vectorNodePaintBox, vectorNodeRotation, vectorNodeToBezier, vectorNodesNear, vectorPages, vectorPaintLayerNodes, vectorPaintSolid, vectorPaintSwatch, vectorPaintToHex, vectorParentMatrix, vectorPathAt, vectorPathCircle, vectorPathData, vectorPathEntries, vectorPathRings, vectorPathTextPositions, vectorPathWorldBezier, vectorPathfinderShape, vectorPerspectiveFlatToPlane, vectorPerspectiveGridLines, vectorPerspectiveMapPath, vectorPerspectivePlaneMap, vectorPerspectivePlaneToFlat, vectorPerspectivePlanes, vectorPerspectivePreset, vectorPolarAngles, vectorPolarIncrementOf, vectorRepeaterCopies, vectorResizeCursor, vectorResultStyle, vectorRgbaToCss, vectorShadedSvgDefs, vectorShapeBuilderHit, vectorShapeBuilderMap, vectorShearForSide, vectorSkewMatrix, vectorSpatialIndex, vectorStacksHaveGradient, vectorStrokeGradientDefs, vectorStrokeLineArea, vectorStrokeOutline, vectorStrokeOutlinePath, vectorStrokeParts, vectorStrokeReach, vectorStrokeSettings, vectorStrokeStackReach, vectorStrokeWidthGeometry, vectorStrokes, vectorSymbolUses, vectorSymbolsUsedIn, vectorSymmetryAxes, vectorSymmetryDrawn, vectorSymmetryMatrices, vectorTargetPaint, vectorTextBoxOutline, vectorTextCaret, vectorTextFamilies, vectorTextGeometryNode, vectorTextHasOutlines, vectorTextIndexAt, vectorTextName, vectorTextPaintSource, vectorTextPaths, vectorTextRange, vectorTextRuns, vectorTextSelectionQuads, vectorTextShaperGeneration, vectorTextSpanSvg, vectorTextSpans, vectorTextStyleAt, vectorToolLabel, vectorTraceContours, vectorTrackingPaths, vectorWorldMatrix, walkVectorNodes, widthProfileAt, widthProfileMaxScale, widthProfilePreset, widthProfilePresetId, wigglePaths, withVectorAnchorIds, withVectorDocumentAnchorIds, withVectorFills, withVectorStrokes, withVectorTargetPaint, zigzagPaths };