@pixerate/editor 0.115.0 → 0.117.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 (127) hide show
  1. package/THIRD_PARTY_NOTICES.md +3 -0
  2. package/dist/animation-editor/index.cjs +54 -54
  3. package/dist/animation-editor/index.d.cts +2 -2
  4. package/dist/animation-editor/index.d.ts +2 -2
  5. package/dist/animation-editor/index.js +2 -2
  6. package/dist/{chunk-I7FQBWMQ.cjs → chunk-2J3LS7JZ.cjs} +333 -333
  7. package/dist/{chunk-I7FQBWMQ.cjs.map → chunk-2J3LS7JZ.cjs.map} +1 -1
  8. package/dist/{chunk-TFOPHZ3U.cjs → chunk-7ISPWEJA.cjs} +302 -5
  9. package/dist/chunk-7ISPWEJA.cjs.map +1 -0
  10. package/dist/{chunk-VXR7XWMF.js → chunk-7LNZAWSJ.js} +437 -41
  11. package/dist/chunk-7LNZAWSJ.js.map +1 -0
  12. package/dist/{chunk-DFQEX3AM.cjs → chunk-BYAWOAST.cjs} +223 -30
  13. package/dist/chunk-BYAWOAST.cjs.map +1 -0
  14. package/dist/chunk-COAMRKVI.cjs +159 -0
  15. package/dist/chunk-COAMRKVI.cjs.map +1 -0
  16. package/dist/{chunk-ST7E3NEE.cjs → chunk-EBSYZRSW.cjs} +230 -732
  17. package/dist/chunk-EBSYZRSW.cjs.map +1 -0
  18. package/dist/chunk-EJVDBITD.cjs +501 -0
  19. package/dist/chunk-EJVDBITD.cjs.map +1 -0
  20. package/dist/{chunk-LPLCWZTM.cjs → chunk-FODKPD44.cjs} +555 -159
  21. package/dist/chunk-FODKPD44.cjs.map +1 -0
  22. package/dist/{chunk-XK5LZKBD.js → chunk-HKDTM6VC.js} +298 -1
  23. package/dist/chunk-HKDTM6VC.js.map +1 -0
  24. package/dist/chunk-IPFRWILU.js +1908 -0
  25. package/dist/chunk-IPFRWILU.js.map +1 -0
  26. package/dist/chunk-IVSNUXW7.js +3339 -0
  27. package/dist/chunk-IVSNUXW7.js.map +1 -0
  28. package/dist/{chunk-LKCYANMW.js → chunk-JHXMNOMF.js} +198 -5
  29. package/dist/chunk-JHXMNOMF.js.map +1 -0
  30. package/dist/{chunk-FV5AXTSF.cjs → chunk-JSSBHMMU.cjs} +36 -188
  31. package/dist/chunk-JSSBHMMU.cjs.map +1 -0
  32. package/dist/chunk-L2T6EJ5S.cjs +3339 -0
  33. package/dist/chunk-L2T6EJ5S.cjs.map +1 -0
  34. package/dist/chunk-LF4WOZXZ.js +159 -0
  35. package/dist/chunk-LF4WOZXZ.js.map +1 -0
  36. package/dist/{chunk-26PGXHY7.cjs → chunk-M7O4BJRH.cjs} +36 -36
  37. package/dist/{chunk-26PGXHY7.cjs.map → chunk-M7O4BJRH.cjs.map} +1 -1
  38. package/dist/chunk-N3467VD6.js +501 -0
  39. package/dist/chunk-N3467VD6.js.map +1 -0
  40. package/dist/{chunk-XICA4PVO.js → chunk-R2JE6SA7.js} +17 -17
  41. package/dist/chunk-SMJGE7HM.cjs +1908 -0
  42. package/dist/chunk-SMJGE7HM.cjs.map +1 -0
  43. package/dist/{chunk-MMVHBKMM.js → chunk-T2P5TIZ6.js} +2 -2
  44. package/dist/{chunk-C6C5PDKU.js → chunk-VD2UDVF7.js} +102 -604
  45. package/dist/chunk-VD2UDVF7.js.map +1 -0
  46. package/dist/{chunk-FGW5OWJ4.js → chunk-VJUML33I.js} +4 -156
  47. package/dist/chunk-VJUML33I.js.map +1 -0
  48. package/dist/export/index.cjs +4 -2
  49. package/dist/export/index.cjs.map +1 -1
  50. package/dist/export/index.js +5 -3
  51. package/dist/{export-BJE8T0YA.d.cts → export-DMOuzgZZ.d.cts} +9 -4
  52. package/dist/{export-Con3UKkm.d.ts → export-Dul1SbPv.d.ts} +9 -4
  53. package/dist/export-Dv0-ZVrV.d.cts +501 -0
  54. package/dist/export-Dv0-ZVrV.d.ts +501 -0
  55. package/dist/{retouch-Bxkuc0KH.d.cts → flow-4-OC-UkQ.d.cts} +582 -2
  56. package/dist/{retouch-Do6tBs2H.d.ts → flow-Cb7lkPm8.d.ts} +582 -2
  57. package/dist/image-editor/index.cjs +1345 -1095
  58. package/dist/image-editor/index.cjs.map +1 -1
  59. package/dist/image-editor/index.d.cts +8 -8
  60. package/dist/image-editor/index.d.ts +8 -8
  61. package/dist/image-editor/index.js +300 -50
  62. package/dist/image-editor/index.js.map +1 -1
  63. package/dist/index.cjs +4 -2
  64. package/dist/index.cjs.map +1 -1
  65. package/dist/index.js +5 -3
  66. package/dist/index.js.map +1 -1
  67. package/dist/kernel-wasm-WYCGNZR4.js +10 -0
  68. package/dist/kernel-wasm-WYCGNZR4.js.map +1 -0
  69. package/dist/kernel-wasm-YPVAEMVN.cjs +10 -0
  70. package/dist/kernel-wasm-YPVAEMVN.cjs.map +1 -0
  71. package/dist/paint/index.cjs +170 -4
  72. package/dist/paint/index.cjs.map +1 -1
  73. package/dist/paint/index.d.cts +225 -3
  74. package/dist/paint/index.d.ts +225 -3
  75. package/dist/paint/index.js +171 -5
  76. package/dist/paint-editor/index.cjs +4735 -890
  77. package/dist/paint-editor/index.cjs.map +1 -1
  78. package/dist/paint-editor/index.d.cts +1526 -278
  79. package/dist/paint-editor/index.d.ts +1526 -278
  80. package/dist/paint-editor/index.js +4561 -716
  81. package/dist/paint-editor/index.js.map +1 -1
  82. package/dist/raster/index.cjs +7 -4
  83. package/dist/raster/index.cjs.map +1 -1
  84. package/dist/raster/index.d.cts +2 -2
  85. package/dist/raster/index.d.ts +2 -2
  86. package/dist/raster/index.js +36 -33
  87. package/dist/{render-CrmHOgpo.d.ts → render-B05K68_h.d.ts} +9 -1
  88. package/dist/{render-B1K_OoLy.d.cts → render-DnAbIKcs.d.cts} +9 -1
  89. package/dist/{svg-BnRj0q8i.d.cts → svg-CVdFc80-.d.cts} +2 -2
  90. package/dist/{svg-CmmBFfGT.d.ts → svg-DlEuhwoX.d.ts} +2 -2
  91. package/dist/{types-1SUQKDAw.d.ts → types-CDLGhAZp.d.ts} +40 -2
  92. package/dist/{types-yINF17Ta.d.cts → types-Tfly4Aya.d.cts} +40 -2
  93. package/dist/vector/index.cjs +6536 -4525
  94. package/dist/vector/index.cjs.map +1 -1
  95. package/dist/vector/index.d.cts +426 -32
  96. package/dist/vector/index.d.ts +426 -32
  97. package/dist/vector/index.js +11397 -9386
  98. package/dist/vector/index.js.map +1 -1
  99. package/dist/video-editor/index.cjs +502 -2165
  100. package/dist/video-editor/index.cjs.map +1 -1
  101. package/dist/video-editor/index.d.cts +3 -501
  102. package/dist/video-editor/index.d.ts +3 -501
  103. package/dist/video-editor/index.js +151 -1814
  104. package/dist/video-editor/index.js.map +1 -1
  105. package/package.json +1 -1
  106. package/skills/pixerate-image-editor/references/photoshop-files.md +7 -3
  107. package/skills/pixerate-vector/SKILL.md +3 -0
  108. package/dist/chunk-C6C5PDKU.js.map +0 -1
  109. package/dist/chunk-DFQEX3AM.cjs.map +0 -1
  110. package/dist/chunk-FGW5OWJ4.js.map +0 -1
  111. package/dist/chunk-FV5AXTSF.cjs.map +0 -1
  112. package/dist/chunk-GX332W2C.js +0 -181
  113. package/dist/chunk-GX332W2C.js.map +0 -1
  114. package/dist/chunk-LKCYANMW.js.map +0 -1
  115. package/dist/chunk-LPLCWZTM.cjs.map +0 -1
  116. package/dist/chunk-MUUXNRU4.cjs +0 -181
  117. package/dist/chunk-MUUXNRU4.cjs.map +0 -1
  118. package/dist/chunk-ST7E3NEE.cjs.map +0 -1
  119. package/dist/chunk-TCKIXI46.cjs +0 -1136
  120. package/dist/chunk-TCKIXI46.cjs.map +0 -1
  121. package/dist/chunk-TFOPHZ3U.cjs.map +0 -1
  122. package/dist/chunk-UBIXVXPR.js +0 -1136
  123. package/dist/chunk-UBIXVXPR.js.map +0 -1
  124. package/dist/chunk-VXR7XWMF.js.map +0 -1
  125. package/dist/chunk-XK5LZKBD.js.map +0 -1
  126. /package/dist/{chunk-XICA4PVO.js.map → chunk-R2JE6SA7.js.map} +0 -0
  127. /package/dist/{chunk-MMVHBKMM.js.map → chunk-T2P5TIZ6.js.map} +0 -0
@@ -1,10 +1,10 @@
1
- import { o as Vec2$1, w as VectorSubpath, h as VectorBounds, z as VectorAnchor, x as VectorDocument, e as VectorNode, b as VectorPathNode, A as VectorTextNode, B as VectorAnchorType, s as VectorPaint, g as VectorGroupNode, C as VectorCornerKind, y as VectorWidthPoint, n as VectorGradient, u as VectorGradientStop, D as VectorViewport, E as VectorConnectorRoute, F as VectorConnectorSide, G as VectorConnectorEnd, H as VectorConnector, I as VectorConstraintKind, J as VectorConstraint, K as VectorCharacterStyle, L as VectorTextRun, M as VectorParagraphStyle, N as VectorTextFrame, O as VectorTransformHandle, P as VectorAnchorRef, Q as VectorPathfinderOperation, R as VectorTool, S as VectorDefaults, T as VectorTextAlign, U as VectorStyle, W as VectorHandleRef, X as VectorSegmentRef, Y as VectorBlendOptions, t as VectorMatrix, Z as VectorModifiers, _ as VectorBlendMode, k as VectorFilterType, V as VectorEffectType, $ as VectorAlign, a0 as VectorDistribute, a1 as VectorArrange, d as VectorBooleanOperation, a2 as VectorMaskType, a3 as VectorArrowhead, a4 as VectorResizing, a5 as VectorFrame, a6 as VectorHorizontalResizing, a7 as VectorVerticalResizing, a8 as VectorMask, a9 as VectorAverageAxis, aa as VectorSymbol, ab as VectorParameter, i as VectorWarpMesh, c as VectorFillRule, ac as VectorBlendSpacing, ad as VectorGradientInterpolation, q as VectorGradientSpread, r as VectorGradientType, v as VectorStrokeAlign, ae as VectorStrokeGradientMode, af as VectorArrowAlign, f as VectorEffect, ag as VectorPaintLayer, ah as VectorStrokeLayer, m as VectorFilter, ai as VectorBlend, aj as VectorMergeMode, ak as VectorLineJoin, a as VectorEffectParamsMap, al as VectorStrokeSettings, am as VectorInstanceOverrides, j as VectorInstanceNode } from '../types-yINF17Ta.cjs';
2
- export { an as VECTOR_ARROWHEADS, ao as VECTOR_BLEND_MODES, ap as VECTOR_BLEND_SPACINGS, aq as VECTOR_CONNECTOR_ROUTES, ar as VECTOR_CONNECTOR_SIDES, as as VECTOR_CONSTRAINT_KINDS, at as VECTOR_CORNER_KINDS, au as VECTOR_EFFECT_TYPES, av as VECTOR_FILTER_TYPES, aw as VECTOR_GRADIENT_INTERPOLATIONS, ax as VECTOR_GRADIENT_SPREADS, ay as VECTOR_GRADIENT_TYPES, az as VECTOR_HORIZONTAL_RESIZING, aA as VECTOR_MASK_TYPES, aB as VECTOR_MERGE_MODES, aC as VECTOR_PATHFINDER_OPERATIONS, aD as VECTOR_PATH_TEXT_BASELINES, aE as VECTOR_STROKE_GRADIENT_MODES, aF as VECTOR_TEXT_ALIGNS, aG as VECTOR_TOOLS, aH as VECTOR_TRANSFORM_HANDLES, aI as VECTOR_VERTICAL_RESIZING, aJ as VectorCorner, l as VectorFilterParamsMap, aK as VectorGeomRef, p as VectorGradientUnits, aL as VectorLineCap, aM as VectorPathTextBaseline, aN as VectorStrokeLayerKind, aO as VectorTextRunStyle, aP as VectorWarpStyle } from '../types-yINF17Ta.cjs';
1
+ import { o as Vec2$1, w as VectorSubpath, h as VectorBounds, z as VectorAnchor, x as VectorDocument, e as VectorNode, b as VectorPathNode, A as VectorTextNode, B as VectorAnchorType, s as VectorPaint, g as VectorGroupNode, C as VectorCornerKind, y as VectorWidthPoint, n as VectorGradient, u as VectorGradientStop, D as VectorViewport, E as VectorConnectorRoute, F as VectorConnectorSide, G as VectorConnectorEnd, H as VectorConnector, I as VectorConstraintKind, J as VectorConstraint, K as VectorCharacterStyle, L as VectorTextRun, M as VectorParagraphStyle, N as VectorTextFrame, O as VectorTransformHandle, P as VectorAnchorRef, Q as VectorPathfinderOperation, R as VectorTool, S as VectorDefaults, T as VectorTextAlign, U as VectorStyle, W as VectorHandleRef, X as VectorSegmentRef, Y as VectorBlendOptions, t as VectorMatrix, Z as VectorModifiers, _ as VectorBlendMode, k as VectorFilterType, V as VectorEffectType, $ as VectorAlign, a0 as VectorDistribute, a1 as VectorArrange, d as VectorBooleanOperation, a2 as VectorMaskType, a3 as VectorFreeformPoint, a4 as VectorMeshGradient, a5 as VectorFreeformGradient, a6 as VectorArrowhead, a7 as VectorResizing, a8 as VectorFrame, a9 as VectorHorizontalResizing, aa as VectorVerticalResizing, ab as VectorMask, ac as VectorAverageAxis, ad as VectorSymbol, ae as VectorParameter, i as VectorWarpMesh, c as VectorFillRule, af as VectorBlendSpacing, ag as VectorGradientInterpolation, q as VectorGradientSpread, r as VectorGradientType, v as VectorStrokeAlign, ah as VectorStrokeGradientMode, ai as VectorArrowAlign, f as VectorEffect, aj as VectorPaintLayer, ak as VectorStrokeLayer, m as VectorFilter, al as VectorBlend, am as VectorMergeMode, an as VectorLineJoin, a as VectorEffectParamsMap, ao as VectorStrokeSettings, ap as VectorInstanceOverrides, j as VectorInstanceNode } from '../types-Tfly4Aya.cjs';
2
+ export { aq as VECTOR_ARROWHEADS, ar as VECTOR_BLEND_MODES, as as VECTOR_BLEND_SPACINGS, at as VECTOR_CONNECTOR_ROUTES, au as VECTOR_CONNECTOR_SIDES, av as VECTOR_CONSTRAINT_KINDS, aw as VECTOR_CORNER_KINDS, ax as VECTOR_EFFECT_TYPES, ay as VECTOR_FILTER_TYPES, az as VECTOR_GRADIENT_INTERPOLATIONS, aA as VECTOR_GRADIENT_SPREADS, aB as VECTOR_GRADIENT_TYPES, aC as VECTOR_HORIZONTAL_RESIZING, aD as VECTOR_MASK_TYPES, aE as VECTOR_MERGE_MODES, aF as VECTOR_PATHFINDER_OPERATIONS, aG as VECTOR_PATH_TEXT_BASELINES, aH as VECTOR_STROKE_GRADIENT_MODES, aI as VECTOR_TEXT_ALIGNS, aJ as VECTOR_TOOLS, aK as VECTOR_TRANSFORM_HANDLES, aL as VECTOR_VERTICAL_RESIZING, aM as VectorCorner, l as VectorFilterParamsMap, aN as VectorGeomRef, p as VectorGradientUnits, aO as VectorLineCap, aP as VectorPathTextBaseline, aQ as VectorStrokeLayerKind, aR as VectorTextRunStyle, aS as VectorWarpStyle } from '../types-Tfly4Aya.cjs';
3
3
  import { P as Point } from '../types-BFkYA4eF.cjs';
4
4
  import { a as BezierPathInput, A as AffineMatrix$1, B as BezierPath, c as BezierSegment } from '../bezier-BfwIbVTl.cjs';
5
5
  export { S as SvgGradientDef } from '../bezier-BfwIbVTl.cjs';
6
- 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 } from '../svg-BnRj0q8i.cjs';
7
- export { j as VECTOR_EFFECT_DEFAULTS, k as VECTOR_EFFECT_LABELS, l as VECTOR_EFFECT_PARAM_SPECS, m as VECTOR_FILTER_DEFAULTS, n as VECTOR_FILTER_LABELS, o as VECTOR_FILTER_MENU, p as VECTOR_FILTER_PARAM_SPECS, q as VECTOR_GRADIENT_MAX_PERIODS, r as VECTOR_GRADIENT_MIN_STOPS, s as VectorBooleanOperand, t as VectorFilterPrimitive, u as VectorGradientPoints, v as VectorGradientRamp, w as VectorGradientSvgOptions, x as VectorPaintSvgOptions, y as VectorRgba, z as VectorSvgImportOptions, A as VectorSvgPatternDef, 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-BnRj0q8i.cjs';
6
+ 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-CVdFc80-.cjs';
7
+ 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-CVdFc80-.cjs';
8
8
  import { H as HistoryManager } from '../HistoryManager-DeQQMBCj.cjs';
9
9
  import { a as TextFont, L as LaidFragment, f as LaidLine, e as TextLayout, T as TextShaper } from '../warp-B39VsOtd.cjs';
10
10
  export { g as VECTOR_WARP_STYLES, h as VECTOR_WARP_STYLE_LABELS, W as VectorWarpPreset, i as dragVectorMeshPoint, j as evalVectorMesh, k as fitVectorMesh, l as isValidVectorMesh, m as mapVectorMeshPoints, p as pullVectorMesh, r as removeVectorMeshSplitU, n as removeVectorMeshSplitV, o as resizeVectorMesh, s as splitVectorMeshU, q as splitVectorMeshV, t as vectorIdentityMesh, w as vectorMeshColumns, u as vectorMeshControlBounds, v as vectorMeshEditPoints, x as vectorMeshGridCurves, y as vectorMeshParamAt, z as vectorMeshRows, A as vectorWarpPresetGrid, B as vectorWarpPresetMesh } from '../warp-B39VsOtd.cjs';
@@ -563,6 +563,176 @@ declare function vectorConnectorTargetAt(nodes: readonly VectorNode[], p: Vec$1,
563
563
  site: VectorConnectionSite | null;
564
564
  }) | null;
565
565
 
566
+ /**
567
+ * Vector PDF export: the drawing as real PDF paths, not a picture.
568
+ *
569
+ * After cadcraft's `crates/io/src/pdf.rs` (a minimal PDF writer of our own: objects, a
570
+ * cross-reference table and Flate-compressed content streams of `m` / `l` / `c` / `h` paths
571
+ * painted with `f` / `f*` / `S`, RGB colours and line settings) and pdfcraft's
572
+ * `crates/content/src/lib.rs` (content stream operators: `q` / `Q` state, `cm`, `W n` clipping,
573
+ * `gs` graphics states for opacity and blend modes, `sh` shadings) (MIT OR Apache-2.0, © ArtCraft
574
+ * Team and contributors; see THIRD_PARTY_NOTICES.md).
575
+ *
576
+ * It draws what the canvas draws: the scene render data (effects expanded, text as glyph outlines,
577
+ * paint stacks, aligned strokes and arrowheads, clip masks, frames). Linear and radial gradients
578
+ * are native PDF shadings; conic, diamond, mesh and freeform paints are their tiles. Filters,
579
+ * opacity masks, stop opacity and text without glyph outlines are left out and named in `notes`.
580
+ */
581
+
582
+ /** Options of `vectorDocumentToPdf`. */
583
+ interface VectorPdfOptions {
584
+ /** `document`: one page of the artboard (default); `artboards`: a page per top-level frame. */
585
+ pages?: 'document' | 'artboards';
586
+ /** PDF points per document unit (default 1). */
587
+ scale?: number;
588
+ /** Document title. */
589
+ title?: string;
590
+ /** Flate-compress the content streams (default true). */
591
+ compress?: boolean;
592
+ }
593
+ /** What `vectorDocumentToPdf` returns. */
594
+ interface VectorPdfExport {
595
+ bytes: Uint8Array;
596
+ pages: number;
597
+ /** What was approximated or left out. */
598
+ notes: string[];
599
+ }
600
+ /**
601
+ * The document as a vector PDF: one page of the artboard, or (`pages: 'artboards'`) one page per
602
+ * top-level frame, each the frame's size. One document unit is `scale` points.
603
+ */
604
+ declare function vectorDocumentToPdf(doc: VectorDocument, options?: VectorPdfOptions): VectorPdfExport;
605
+
606
+ /**
607
+ * Lottie (Bodymovin JSON, v5) export and import for vector documents, keeping path effects live.
608
+ *
609
+ * After effectcraft's `crates/lottie/src/shapes.rs` (`export_items` / `import_items`: shape items
610
+ * `gr`, `rc`, `el`, `sr`, `sh`, `fl`, `st`, `gf`, `gs`, `tm`, `rp`, `rd`, `op`, `pb`, `tw`, `zz`, `mm`,
611
+ * `tr`; stroke fields, dashes, flat gradient stops) and `anim.rs` (keyframed values and their
612
+ * bezier easing) (MIT OR Apache-2.0, © ArtCraft Team and contributors; see THIRD_PARTY_NOTICES.md).
613
+ *
614
+ * Our path effects map onto Lottie's shape modifiers one to one (trim, round corners, pucker &
615
+ * bloat, twist, zig zag, offset, merge, repeater), so they stay live both ways; wiggle and envelope
616
+ * effects, masks, frames, text and instances export as their drawn shapes, filters are left out,
617
+ * and `notes` lists everything that was approximated. Import reads one frame of the animation.
618
+ */
619
+
620
+ type Json = Record<string, unknown>;
621
+ /** A Lottie animation as plain JSON. */
622
+ type VectorLottie = Json & {
623
+ v: string;
624
+ fr: number;
625
+ ip: number;
626
+ op: number;
627
+ w: number;
628
+ h: number;
629
+ layers: Json[];
630
+ };
631
+ /** Options of `vectorDocumentToLottie`. */
632
+ interface VectorLottieExportOptions {
633
+ /** Frames per second (default 30). */
634
+ fps?: number;
635
+ /** Length in frames (default 1: a still). */
636
+ frames?: number;
637
+ /** The animation's name (default "Vector"). */
638
+ name?: string;
639
+ }
640
+ /** What `vectorDocumentToLottie` returns: the animation and what was approximated. */
641
+ interface VectorLottieExport {
642
+ lottie: VectorLottie;
643
+ notes: string[];
644
+ }
645
+ /**
646
+ * The document (or `nodes` of it) as a Lottie animation: one shape layer whose groups mirror the
647
+ * nodes (top first), path effects as live shape modifiers and gradients as gradient fills, on a
648
+ * background layer when the document has one.
649
+ */
650
+ declare function vectorDocumentToLottie(doc: VectorDocument, options?: VectorLottieExportOptions & {
651
+ nodes?: readonly VectorNode[];
652
+ }): VectorLottieExport;
653
+ /** A Lottie property's value at `frame` (keyframes eased; held keys held). */
654
+ declare function lottieValueAt(prop: unknown, frame: number): number[];
655
+ /** Options of `parseVectorLottie`. */
656
+ interface VectorLottieImportOptions {
657
+ /** The frame to read (default the animation's in point). */
658
+ frame?: number;
659
+ /** Id prefix of the new nodes (default `lt`). */
660
+ idPrefix?: string;
661
+ }
662
+ /** What `parseVectorLottie` returns: a document of the frame and what was approximated or skipped. */
663
+ interface VectorLottieImport {
664
+ document: VectorDocument;
665
+ notes: string[];
666
+ }
667
+ /**
668
+ * One frame of a Lottie animation as a vector document: shape layers (and solids) become groups
669
+ * with their layer transform, parenting and opacity; precompositions are read recursively; shape
670
+ * modifiers become live path effects. Image and text layers, mattes, masks other than additive,
671
+ * expressions and effects are left out (see `notes`).
672
+ */
673
+ declare function parseVectorLottie(input: unknown, options?: VectorLottieImportOptions): VectorLottieImport;
674
+
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
+
566
736
  declare class VectorExprError extends Error {
567
737
  }
568
738
  /** A valid name: a letter or `_`, then letters, digits or `_` (not `pi`), at most 64 characters. */
@@ -1617,6 +1787,12 @@ interface VectorEditorState {
1617
1787
  trackingPoints: readonly VectorTrackingPoint[];
1618
1788
  /** A distance or coordinate being typed while the pen draws (Enter places the point), or null. */
1619
1789
  typedEntry: string | null;
1790
+ /** The selected point of a mesh or freeform fill (Gradient tool), or null. */
1791
+ shadingPoint: {
1792
+ nodeId: string;
1793
+ index: number;
1794
+ kind: 'mesh' | 'freeform';
1795
+ } | null;
1620
1796
  canUndo: boolean;
1621
1797
  canRedo: boolean;
1622
1798
  undoLabel: string;
@@ -2534,6 +2710,132 @@ declare class VectorEditorController {
2534
2710
  invert?: boolean;
2535
2711
  name?: string;
2536
2712
  }): VectorMaskResult;
2713
+ /**
2714
+ * The document as a vector PDF (see `vectorDocumentToPdf`): one page of the artboard, or a page
2715
+ * per artboard (`pages: 'artboards'`). Returns the file's bytes, its page count and notes on
2716
+ * what was approximated or left out.
2717
+ */
2718
+ toPdf(options?: VectorPdfOptions): VectorPdfExport;
2719
+ /**
2720
+ * The document (or the selected / given nodes) as a Lottie animation (Bodymovin JSON): path
2721
+ * effects stay live as shape modifiers, gradients are gradient fills; `notes` lists what was
2722
+ * approximated or left out.
2723
+ */
2724
+ toLottie(options?: VectorLottieExportOptions & {
2725
+ ids?: readonly string[];
2726
+ }): VectorLottieExport;
2727
+ /**
2728
+ * Adds one frame of a Lottie animation (JSON text or object) on top of the document as a group,
2729
+ * or replaces the document with it (`replace`, taking its size). One undo step. Returns the new
2730
+ * nodes' ids and what was approximated or left out.
2731
+ */
2732
+ importLottie(input: unknown, options?: VectorLottieImportOptions & {
2733
+ replace?: boolean;
2734
+ }): VectorActionResult & {
2735
+ ids?: string[];
2736
+ notes?: string[];
2737
+ };
2738
+ /**
2739
+ * Image Trace: traces RGBA `pixels` into paths (see `traceVectorImage`) and adds them as one
2740
+ * group, the image placed with its top-left at `x, y` (default 0, 0) and `width` wide (default:
2741
+ * one unit per pixel; the height follows). One undo step; selects the group. Returns its id and
2742
+ * the traced paths' ids, bottom to top.
2743
+ */
2744
+ traceImage(pixels: VectorTracePixels, options?: VectorTraceOptions & {
2745
+ x?: number;
2746
+ y?: number;
2747
+ width?: number;
2748
+ name?: string;
2749
+ }): VectorActionResult & {
2750
+ id?: string;
2751
+ ids?: string[];
2752
+ };
2753
+ /** The selected point of a mesh or freeform fill (Gradient tool), or null. */
2754
+ private shadingSel;
2755
+ /** Selected paths with a mesh or freeform fill. */
2756
+ private shadedPaths;
2757
+ /** The shaded fill's point under `screen` (index), or a freeform shape under it (index -1), or null. */
2758
+ private shadedUnder;
2759
+ private parentMatrixOf;
2760
+ private moveShading;
2761
+ private upShading;
2762
+ /** The selected point of a mesh or freeform fill (Gradient tool), with its paint's kind, or null. */
2763
+ getShadingSelection(): {
2764
+ nodeId: string;
2765
+ index: number;
2766
+ kind: 'mesh' | 'freeform';
2767
+ } | null;
2768
+ /** The path `id` (or a message why it cannot take a mesh or freeform fill). */
2769
+ private shadingTarget;
2770
+ /** Sets each node's fill in one undo step. */
2771
+ private setFills;
2772
+ /**
2773
+ * Gives paths (default: the selection) a gradient mesh over their own bounds: `rows` ×
2774
+ * `columns` patches (1–32) with points evenly spread, coloured by `colors` (one per point, row by
2775
+ * row), the four `corners` (top-left, top-right, bottom-right, bottom-left) blended, or the
2776
+ * current fill colour. One undo step.
2777
+ */
2778
+ setMeshGradient(input: {
2779
+ rows: number;
2780
+ columns: number;
2781
+ colors?: readonly string[];
2782
+ corners?: readonly [string, string, string, string];
2783
+ }, options?: {
2784
+ ids?: readonly string[];
2785
+ }): VectorActionResult;
2786
+ /**
2787
+ * Gives paths (default: the selection) a freeform gradient: `points` in document units (each
2788
+ * `{ x, y, color, opacity?, spread? }`) with optional `lines` through them, or, without points,
2789
+ * four or more points placed inside each path and coloured along `colors` (default the current
2790
+ * fill to white). One undo step.
2791
+ */
2792
+ setFreeformGradient(input?: {
2793
+ points?: readonly VectorFreeformPoint[];
2794
+ lines?: readonly number[][];
2795
+ colors?: readonly string[];
2796
+ }, options?: {
2797
+ ids?: readonly string[];
2798
+ }): VectorActionResult;
2799
+ /** The mesh or freeform fill of path `id` with its points in document units, or null. */
2800
+ getShading(id: string): (VectorMeshGradient | VectorFreeformGradient) | null;
2801
+ /** Checks a shading point edit: the path, its shaded fill and the index. */
2802
+ private shadingPoint;
2803
+ /**
2804
+ * Changes point `index` (row by row) of path `id`'s gradient mesh: moves it to `x, y` (document
2805
+ * units) and / or sets its `color` and `opacity`. One undo step (merged while `merge` is the same key).
2806
+ */
2807
+ setMeshPoint(id: string, index: number, patch: {
2808
+ x?: number;
2809
+ y?: number;
2810
+ color?: string;
2811
+ opacity?: number;
2812
+ }, options?: {
2813
+ merge?: string;
2814
+ }): VectorActionResult;
2815
+ /** Adds a point to path `id`'s freeform gradient at `x, y` (document units), coloured `color` (default: the colour there now). One undo step. Returns its index. */
2816
+ addFreeformPoint(id: string, point: {
2817
+ x: number;
2818
+ y: number;
2819
+ color?: string;
2820
+ opacity?: number;
2821
+ spread?: number;
2822
+ }): VectorActionResult & {
2823
+ index?: number;
2824
+ };
2825
+ /** Changes point `index` of path `id`'s freeform gradient: position (document units), colour, opacity, spread. One undo step (merged while `merge` is the same key). */
2826
+ setFreeformPoint(id: string, index: number, patch: {
2827
+ x?: number;
2828
+ y?: number;
2829
+ color?: string;
2830
+ opacity?: number;
2831
+ spread?: number;
2832
+ }, options?: {
2833
+ merge?: string;
2834
+ }): VectorActionResult;
2835
+ /** Removes point `index` of path `id`'s freeform gradient (never the last one); lines through it close up. One undo step. */
2836
+ removeFreeformPoint(id: string, index: number): VectorActionResult;
2837
+ /** Replaces the lines of path `id`'s freeform gradient: each a list of two or more point indices it runs through. One undo step. */
2838
+ setFreeformLines(id: string, lines: readonly number[][]): VectorActionResult;
2537
2839
  private trackingPoints;
2538
2840
  private lastSnap;
2539
2841
  private dwellTimer;
@@ -3787,6 +4089,23 @@ interface VectorOverlayRenderData {
3787
4089
  y: number;
3788
4090
  active: boolean;
3789
4091
  }[];
4092
+ /**
4093
+ * Mesh and freeform fills of the selection while the Gradient tool is on, screen space: the
4094
+ * lattice or freeform lines (`lines`, path data) and the points (drag them; `selected` is the one
4095
+ * the panel edits), each with its colour.
4096
+ */
4097
+ shading: {
4098
+ nodeId: string;
4099
+ kind: 'mesh' | 'freeform';
4100
+ lines: string[];
4101
+ points: {
4102
+ index: number;
4103
+ x: number;
4104
+ y: number;
4105
+ color: string;
4106
+ selected: boolean;
4107
+ }[];
4108
+ }[];
3790
4109
  /** Points acquired for object snap tracking, screen space: draw a small `+` at each. */
3791
4110
  trackingPoints: {
3792
4111
  x: number;
@@ -5096,33 +5415,6 @@ declare function vectorMeshFromOutline(sp: VectorSubpath, columns?: number, rows
5096
5415
  /** The mesh's border as one closed subpath (clockwise from the top-left corner): what Release gives back as the envelope's shape. */
5097
5416
  declare function vectorMeshOutline(m: VectorWarpMesh): VectorSubpath;
5098
5417
 
5099
- /**
5100
- * Fill and stroke stacks: several paints per path, each with its own opacity, blend mode and
5101
- * visibility, and each stroke with its own width, alignment, dashes, arrowheads and profile.
5102
- *
5103
- * The stacks live in `fills` / `strokes`, bottom to top; fills draw under strokes. The single
5104
- * `fill` / `stroke` fields (and the stroke settings) stay as shorthands that mirror the top layer
5105
- * of each stack, so everything written against one fill and one stroke — booleans, blends, the
5106
- * gradient tool, agent commands, old documents — keeps working:
5107
- *
5108
- * - A node without `fills` has the one-layer stack its `fill` says (none without a paint); the
5109
- * same for strokes. Stacks of one plain layer are stored that way, so old documents and simple
5110
- * nodes look exactly as before.
5111
- * - `normalizeVectorPaintStacks` reconciles the two forms. Loading prefers the stacks (the
5112
- * shorthand is re-derived); editing prefers the shorthand: a node whose `fill` no longer matches
5113
- * its top fill was written by shorthand code, so the top layer takes the new paint (`null`
5114
- * clears the stack). The controller runs it after every change.
5115
- *
5116
- * Paint layers are drawn, hit-tested and exported through `vectorPaintLayerNodes`: one plain path
5117
- * node per layer (the node with only that fill, or only that stroke and its settings), so the
5118
- * existing paint, stroke-part and gradient code serves each layer unchanged.
5119
- *
5120
- * The data model follows figcraft `crates/color/src/lib.rs` (`Paint { kind, opacity, visible,
5121
- * blend }` in a list per node) and vectorcraft `crates/doc/src/appearance.rs` (`FillLayer` /
5122
- * `StrokeLayer`, each stroke with its own settings). Ported from ArtCraft (MIT OR Apache-2.0,
5123
- * © ArtCraft Team and contributors; see THIRD_PARTY_NOTICES.md).
5124
- */
5125
-
5126
5418
  /** The stroke settings each stroke layer has of its own, in `VectorStyle` field names. */
5127
5419
  declare const VECTOR_STROKE_SETTING_KEYS: readonly (keyof VectorStrokeSettings)[];
5128
5420
  declare const VECTOR_BLEND_MODE_LABELS: Readonly<Record<VectorBlendMode, string>>;
@@ -5294,6 +5586,108 @@ declare function getVectorFramePanel(state: {
5294
5586
  selection: readonly string[];
5295
5587
  }): VectorFramePanel;
5296
5588
 
5589
+ /**
5590
+ * Gradient meshes and freeform gradients: paints that are not a function of one parameter, drawn
5591
+ * as SVG patterns of small flat tiles (as conic gradients are drawn as wedges).
5592
+ *
5593
+ * Meshes follow effectcraft's `crates/pdf/src/shading.rs` (PDF shading types 6 and 7: Coons patches
5594
+ * bounded by cubic sides, tessellated into small cells whose colours blend between the patch's
5595
+ * corners); here the lattice's sides are Catmull-Rom curves through its points, so a mesh stays
5596
+ * smooth across patches. Freeform gradients follow vectorcraft's `crates/color/src/freeform.rs`
5597
+ * (`Freeform`, `Field::sample`: each point paints a disc of pure colour of its spread and blends
5598
+ * into the others beyond it by inverse-square distance from the disc's edge; a line is a
5599
+ * Catmull-Rom curve whose pieces each act as a source weighted by their share of its length;
5600
+ * `auto` places a 2 × n grid of points inside the shape; `spread_scale`) (MIT OR Apache-2.0,
5601
+ * © ArtCraft Team and contributors; see THIRD_PARTY_NOTICES.md).
5602
+ */
5603
+
5604
+ /** Whether the paint is a gradient mesh. */
5605
+ declare function isVectorMeshGradient(paint: VectorPaint | undefined): paint is VectorMeshGradient;
5606
+ /** Whether the paint is a freeform gradient. */
5607
+ declare function isVectorFreeformGradient(paint: VectorPaint | undefined): paint is VectorFreeformGradient;
5608
+ /** Whether the paint is a mesh or freeform gradient (drawn as tiles). */
5609
+ declare function isVectorShadedPaint(paint: VectorPaint | undefined): paint is VectorMeshGradient | VectorFreeformGradient;
5610
+ /** A CSS colour for straight-alpha channels: `#rrggbb`, or `rgba()` when not opaque. */
5611
+ declare function vectorRgbaToCss([r, g, b, a]: VectorRgba): string;
5612
+ /** The most rows or columns a mesh has. */
5613
+ declare const VECTOR_MESH_MAX = 32;
5614
+ /**
5615
+ * A mesh over `bounds` with `rows` × `columns` patches, its points evenly spread. Colours come from
5616
+ * `colors` row by row (one per point), or the four `corners` (top-left, top-right, bottom-right,
5617
+ * bottom-left) blended across, or white.
5618
+ */
5619
+ declare function createVectorMeshGradient(bounds: VectorBounds, rows: number, columns: number, colors?: {
5620
+ colors?: readonly string[];
5621
+ corners?: readonly [string, string, string, string];
5622
+ }): VectorMeshGradient;
5623
+ /** The point of the mesh's surface at patch (i, j), parameters (u, v) 0–1. */
5624
+ declare function vectorMeshPointAt(m: VectorMeshGradient, i: number, j: number, u: number, v: number): Vec2$1;
5625
+ /** The mesh's colour (straight alpha) at patch (i, j), parameters (u, v): its corners blended. */
5626
+ declare function vectorMeshColorAt(m: VectorMeshGradient, i: number, j: number, u: number, v: number): VectorRgba;
5627
+ /** Each patch's outline (four Catmull-Rom sides), for drawing the mesh lines on the canvas: `M…C…` path data per row and column of the lattice. */
5628
+ declare function vectorMeshLines(m: VectorMeshGradient): {
5629
+ rows: Vec2$1[][][];
5630
+ columns: Vec2$1[][][];
5631
+ };
5632
+ interface Source {
5633
+ x: number;
5634
+ y: number;
5635
+ c: VectorRgba;
5636
+ radius: number;
5637
+ }
5638
+ /** The length freeform spreads are fractions of: half the longer side of the painted box. */
5639
+ declare function vectorFreeformSpreadScale(bounds: VectorBounds): number;
5640
+ /** The cubic segments of line `line` of a freeform gradient (a Catmull-Rom curve through its points); empty for a line naming a missing point. */
5641
+ declare function vectorFreeformLineSegments(f: VectorFreeformGradient, line: number): [Vec2$1, Vec2$1, Vec2$1, Vec2$1][];
5642
+ /** A freeform gradient ready to sample many spots (see `sampleVectorFreeform`). */
5643
+ interface VectorFreeformField {
5644
+ points: Source[];
5645
+ pieces: {
5646
+ a: Source;
5647
+ b: Source;
5648
+ share: number;
5649
+ }[];
5650
+ eps: number;
5651
+ }
5652
+ /** The colour field of a freeform gradient on a box whose spread scale is `scale` (lines tessellated once). */
5653
+ declare function vectorFreeformField(f: VectorFreeformGradient, scale: number): VectorFreeformField;
5654
+ /** The freeform field's colour at `p` (straight alpha, 0–1). After vectorcraft's `Field::sample`. */
5655
+ declare function sampleVectorFreeform(field: VectorFreeformField, p: Vec2$1): VectorRgba;
5656
+ /**
5657
+ * The points a first freeform gradient gets on a shape with box `b`: a 2 × n grid (n = 2–4 along
5658
+ * the longer side), each moved to the nearest spot `inside` the shape when its place is not, coloured
5659
+ * along `colors` (first to last). After vectorcraft's `Freeform::auto`.
5660
+ */
5661
+ declare function autoVectorFreeformGradient(b: VectorBounds, colors: readonly string[], inside?: (p: Vec2$1) => boolean): VectorFreeformGradient;
5662
+ /** Options for `vectorShadedSvgDefs`. */
5663
+ interface VectorShadedSvgOptions {
5664
+ /** The shape's box in its own space (freeform spreads and cells). */
5665
+ bounds?: VectorBounds | null;
5666
+ /** The area the pattern covers (default `bounds` padded by 1). */
5667
+ area?: VectorBounds | null;
5668
+ /** Cells per mesh patch side (default 8). */
5669
+ meshCells?: number;
5670
+ /** Strips across a freeform gradient's longer side (default 96). */
5671
+ freeformCells?: number;
5672
+ precision?: number;
5673
+ }
5674
+ /**
5675
+ * A mesh or freeform paint as an SVG `<pattern>` of small flat tiles in the painted element's user
5676
+ * space (reference it as `url(#id)`). Each tile slightly overlaps the ones after it so no seams show
5677
+ * between them.
5678
+ */
5679
+ declare function vectorShadedSvgDefs(paint: VectorMeshGradient | VectorFreeformGradient, id: string, options?: VectorShadedSvgOptions): VectorSvgPatternDef[];
5680
+ /** A mesh or freeform paint with every point mapped by `f`. */
5681
+ declare function mapVectorShadedPaint<T extends VectorMeshGradient | VectorFreeformGradient>(paint: T, f: (p: Vec2$1) => Vec2$1): T;
5682
+ /** A mesh or freeform paint moved by `m` (it lives in the node's own space, like its geometry). */
5683
+ declare function transformVectorShadedPaint<T extends VectorMeshGradient | VectorFreeformGradient>(paint: T, m: VectorMatrix): T;
5684
+ /** A mesh or freeform paint from untrusted input (agent commands, SVG data attributes), or null when it is malformed. */
5685
+ declare function sanitizeVectorShadedPaint(input: unknown): VectorMeshGradient | VectorFreeformGradient | null;
5686
+ /** A freeform gradient with point `index` removed (lines through it close up; lines left with one point go), or null when it is the last point. */
5687
+ declare function removeVectorFreeformPoint(f: VectorFreeformGradient, index: number): VectorFreeformGradient | null;
5688
+ /** The mesh lattice point nearest `p` within `radius`, or the freeform point: its index, or -1. */
5689
+ declare function nearestVectorShadingPoint(paint: VectorMeshGradient | VectorFreeformGradient, p: Vec2$1, radius: number): number;
5690
+
5297
5691
  /**
5298
5692
  * Framework-neutral data for a text panel (React and Svelte render it the same way): what it edits
5299
5693
  * (the selected characters of the text being edited, the selected text nodes, or the defaults for
@@ -5571,4 +5965,4 @@ declare function vectorSpatialIndex(nodes: readonly VectorNode[]): VectorRTree |
5571
5965
  */
5572
5966
  declare function vectorNodesNear(nodes: readonly VectorNode[], rect: VectorBounds, pad?: number): number[];
5573
5967
 
5574
- 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_MASK_TYPE_LABELS, VECTOR_MASK_TYPE_OPTIONS, VECTOR_MAX_CONSTRAINTS, VECTOR_MAX_TRACKING_POINTS, 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_TEXT_ALIGN_LABELS, VECTOR_TEXT_ALIGN_OPTIONS, VECTOR_TOOL_GLYPHS, VECTOR_TOOL_SHORTCUTS, 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, 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 VectorEnvelopePanelData, VectorEnvelopeParams, VectorExprEnv, VectorExprError, VectorFillRule, VectorFilter, VectorFilterParamSpec, VectorFilterType, type VectorFiltersPanelItem, VectorFrame, type VectorFrameGroup, type VectorFrameListing, type VectorFramePanel, 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, VectorHorizontalResizing, type VectorHover, type VectorInferOptions, type VectorInkShape, VectorInstanceNode, VectorInstanceOverrides, type VectorInteraction, type VectorKeyInput, VectorLineJoin, VectorMask, type VectorMaskClipShape, type VectorMaskGroup, type VectorMaskPanelData, type VectorMaskRegionShape, type VectorMaskRenderData, type VectorMaskResult, type VectorMaskSummary, VectorMaskType, VectorMatrix, VectorMergeMode, 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 VectorPointMap, type VectorPointSnap, type VectorPointerInput, 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, type VectorScaleSnap, type VectorSceneRenderData, VectorSegmentRef, type VectorSelectionBoxGeometry, type VectorSelectionFrame, type VectorSelectionStyle, 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, VectorSymbol, type VectorSymbolsPanelData, type VectorSymbolsPanelItem, 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 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, bakeVectorTextGeometry, bendSegment, bezierToSubpaths, boundsFromPoints, boundsIntersect, checkVectorExpression, cloneAnchor, cloneSubpath, cloneVectorDocument, cloneVectorNode, collectPaintedNodes, collectPathNodes, composeVectorMatrices, constrainToLeave, convertAnchor, cornerBisectorPoint, cornerRadiusChange, cornerSetback, correspondMorphContours, createVectorCommands, 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, isVectorMaskActive, isVectorMaskGroup, isVectorMaskType, isVectorTextTarget, joinSubpaths, knifePath, layoutVectorText, lineSubpath, locateVectorNode, mapBezierPath, mapVectorPoints, mapVectorSubpaths, matrixRotation, measureVectorConstraint, measureVectorPath, mergePaths, mirrorWidthProfile, morphContourToSubpath, morphPathsCross, moveAnchorHandle, multiplyMatrices, nearestSegment, nearestStrokePosition, nearestVectorConnectionSite, needsVectorPaintLayers, newVectorStrokeLayer, nextVectorConstraintName, nextVectorCornerKind, nodeMatrix, normalizeVectorPaintStacks, normalizeVectorTextRuns, offsetPaths, patchVectorCharacterStyle, patchVectorParagraphStyle, pathTextFrameFromBezier, pathsCenter, planShapeBuilder, polygonSubpath, polylineBounds, prefixVectorIds, pressureWidthProfile, puckerBloatPaths, purgeVectorConstraints, recognizeInkShape, rectSubpath, refineMorphContour, refreshVectorBlends, releaseVectorBlend, removeAnchorKeepingShape, removeAnchors, removeAnchorsKeepingShape, removeRedundantPoints, removeWidthPoints, repeatPaths, replaceVectorText, rerouteVectorConnectors, resampleGradientStops, resolveVectorBlendOptions, resolveVectorSymbols, reverseMorphContour, reverseSubpath, reverseWidthProfile, rotateMatrix, roundCornerPaths, roundSubpaths, routeVectorConnector, samplePolyline, sanitizeVectorConnector, sanitizeVectorFills, sanitizeVectorFrame, sanitizeVectorMask, sanitizeVectorResizing, sanitizeVectorStrokeSettings, sanitizeVectorStrokes, sanitizeVectorTextFields, sanitizeVectorTextFrame, sanitizeWidthProfile, scaleFor, scaleMatrix, scaleVectorStrokeWidths, setAnchorCorner, setSubpathCorners, setVectorTextShaper, setWidthPoint, simplifyPolyline, smoothSubpath, solveVectorConstraints, splitIntoFaces, splitSubpathAt, starSubpath, stripVectorSymbolArt, strokePositionPoint, strokeWidthProfileOf, styleVectorText, subpathEnclosesArea, subpathPointAt, subpathSegment, subpathSegmentCount, subpathToMorphContour, subpathsToBezier, taperWaveFactor, tintVectorNode, toVectorKeyInput, toVectorModifiers, toVectorPointerInput, transformVectorNode, translateAnchor, translateMatrix, trimIntervals, trimPaths, trimPathsIndividually, turnMorphContour, twistPaths, unionBounds, validateVectorConstraint, variableStrokeOutline, variableStrokeRings, vectorAngleDirection, vectorArtboards, 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, vectorExpressionNames, vectorFillMap, vectorFills, vectorFrameChildMatrix, vectorFrameContains, vectorFrameDocument, vectorFrameDrawn, vectorFrameRectPath, vectorGradientBarPosition, vectorGradientTargetPath, vectorInkShapeName, vectorInstanceGroup, vectorMaskContains, vectorMaskContentBounds, vectorMaskContents, vectorMaskOwner, vectorMaskRegion, vectorMaskRegionPath, vectorMaskRegionShapes, vectorMaskRenderData, vectorMaskSource, vectorMaskSummary, vectorMaskedGeometry, vectorMaskedLocalBounds, vectorMaskedShapes, vectorMeshFromOutline, vectorMeshOutline, vectorNodeBounds, vectorNodePaintBox, vectorNodeRotation, vectorNodeToBezier, vectorNodesNear, vectorPaintLayerNodes, vectorPaintSwatch, vectorPaintToHex, vectorParentMatrix, vectorPathAt, vectorPathCircle, vectorPathData, vectorPathEntries, vectorPathTextPositions, vectorPathWorldBezier, vectorPathfinderShape, vectorPolarAngles, vectorPolarIncrementOf, vectorRepeaterCopies, vectorResizeCursor, vectorResultStyle, vectorShapeBuilderHit, vectorShapeBuilderMap, vectorShearForSide, vectorSkewMatrix, vectorSpatialIndex, vectorStacksHaveGradient, vectorStrokeGradientDefs, vectorStrokeLineArea, vectorStrokeOutline, vectorStrokeOutlinePath, vectorStrokeParts, vectorStrokeReach, vectorStrokeSettings, vectorStrokeStackReach, vectorStrokeWidthGeometry, vectorStrokes, vectorSymbolUses, vectorSymbolsUsedIn, vectorTargetPaint, vectorTextBoxOutline, vectorTextCaret, vectorTextFamilies, vectorTextGeometryNode, vectorTextHasOutlines, vectorTextIndexAt, vectorTextName, vectorTextPaintSource, vectorTextPaths, vectorTextRange, vectorTextRuns, vectorTextSelectionQuads, vectorTextShaperGeneration, vectorTextSpanSvg, vectorTextSpans, vectorTextStyleAt, vectorToolLabel, vectorTrackingPaths, vectorWorldMatrix, walkVectorNodes, widthProfileAt, widthProfileMaxScale, widthProfilePreset, widthProfilePresetId, wigglePaths, withVectorAnchorIds, withVectorDocumentAnchorIds, withVectorFills, withVectorStrokes, withVectorTargetPaint, zigzagPaths };
5968
+ 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_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_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, 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 VectorEnvelopePanelData, VectorEnvelopeParams, VectorExprEnv, VectorExprError, 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, VectorHorizontalResizing, type VectorHover, type VectorInferOptions, type VectorInkShape, VectorInstanceNode, VectorInstanceOverrides, type VectorInteraction, type VectorKeyInput, 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, type VectorPointMap, type VectorPointSnap, type VectorPointerInput, 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, 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, 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, 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, isVectorMaskActive, isVectorMaskGroup, isVectorMaskType, isVectorMeshGradient, isVectorShadedPaint, isVectorTextTarget, joinSubpaths, knifePath, layoutVectorText, lineSubpath, locateVectorNode, lottieValueAt, mapBezierPath, 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, resolveVectorSymbols, reverseMorphContour, reverseSubpath, reverseWidthProfile, rotateMatrix, roundCornerPaths, roundSubpaths, routeVectorConnector, samplePolyline, sampleVectorFreeform, sanitizeVectorConnector, sanitizeVectorFills, sanitizeVectorFrame, sanitizeVectorMask, sanitizeVectorResizing, sanitizeVectorShadedPaint, sanitizeVectorStrokeSettings, sanitizeVectorStrokes, sanitizeVectorTextFields, sanitizeVectorTextFrame, sanitizeWidthProfile, scaleFor, scaleMatrix, scaleVectorStrokeWidths, setAnchorCorner, setSubpathCorners, setVectorTextShaper, setWidthPoint, simplifyPolyline, smoothSubpath, solveVectorConstraints, splitIntoFaces, splitSubpathAt, starSubpath, stripVectorSymbolArt, strokePositionPoint, strokeWidthProfileOf, styleVectorText, subpathEnclosesArea, subpathPointAt, subpathSegment, subpathSegmentCount, subpathToMorphContour, subpathsToBezier, taperWaveFactor, tintVectorNode, toVectorKeyInput, toVectorModifiers, toVectorPointerInput, traceVectorImage, transformVectorNode, transformVectorShadedPaint, translateAnchor, translateMatrix, trimIntervals, trimPaths, trimPathsIndividually, turnMorphContour, twistPaths, unionBounds, validateVectorConstraint, variableStrokeOutline, variableStrokeRings, vectorAngleDirection, vectorArtboards, 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, vectorFillMap, vectorFills, vectorFrameChildMatrix, vectorFrameContains, vectorFrameDocument, vectorFrameDrawn, vectorFrameRectPath, vectorFreeformField, vectorFreeformLineSegments, vectorFreeformSpreadScale, vectorGradientBarPosition, vectorGradientTargetPath, vectorInkShapeName, vectorInstanceGroup, vectorMaskContains, vectorMaskContentBounds, vectorMaskContents, vectorMaskOwner, vectorMaskRegion, vectorMaskRegionPath, vectorMaskRegionShapes, vectorMaskRenderData, vectorMaskSource, vectorMaskSummary, vectorMaskedGeometry, vectorMaskedLocalBounds, vectorMaskedShapes, vectorMeshColorAt, vectorMeshFromOutline, vectorMeshLines, vectorMeshOutline, vectorMeshPointAt, vectorNodeBounds, vectorNodePaintBox, vectorNodeRotation, vectorNodeToBezier, vectorNodesNear, vectorPaintLayerNodes, vectorPaintSwatch, vectorPaintToHex, vectorParentMatrix, vectorPathAt, vectorPathCircle, vectorPathData, vectorPathEntries, vectorPathTextPositions, vectorPathWorldBezier, vectorPathfinderShape, 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, 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 };