@pixerate/editor 0.132.0 → 0.134.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 (90) hide show
  1. package/dist/animation-editor/index.cjs +55 -55
  2. package/dist/animation-editor/index.d.cts +4 -4
  3. package/dist/animation-editor/index.d.ts +4 -4
  4. package/dist/animation-editor/index.js +2 -2
  5. package/dist/{bezier-oCBfrGDG.d.cts → bezier-J8i4uqSH.d.cts} +1 -1
  6. package/dist/{bezier-0IHDCvv_.d.ts → bezier-lNEOp0Jx.d.ts} +1 -1
  7. package/dist/canvas/index.d.cts +7 -7
  8. package/dist/canvas/index.d.ts +7 -7
  9. package/dist/{chunk-MZXQTKUM.cjs → chunk-24ATT2PE.cjs} +10 -6
  10. package/dist/chunk-24ATT2PE.cjs.map +1 -0
  11. package/dist/{chunk-AHUYMDYW.js → chunk-2HC4DRF4.js} +10 -6
  12. package/dist/chunk-2HC4DRF4.js.map +1 -0
  13. package/dist/{chunk-YRZ6NVE3.js → chunk-6CTZAGZ2.js} +235 -4
  14. package/dist/chunk-6CTZAGZ2.js.map +1 -0
  15. package/dist/{chunk-ECVI5QRE.js → chunk-7RJ6P7MI.js} +2 -2
  16. package/dist/{chunk-G5FX56KX.js → chunk-ESIWZMMK.js} +51 -11
  17. package/dist/chunk-ESIWZMMK.js.map +1 -0
  18. package/dist/{chunk-IEYXYMRQ.js → chunk-HHTCDFZC.js} +99 -5
  19. package/dist/chunk-HHTCDFZC.js.map +1 -0
  20. package/dist/{chunk-W6M7C7R3.cjs → chunk-NVTHUPJ6.cjs} +236 -5
  21. package/dist/chunk-NVTHUPJ6.cjs.map +1 -0
  22. package/dist/{chunk-OYPJGGF3.cjs → chunk-T6TV6HY6.cjs} +36 -36
  23. package/dist/{chunk-OYPJGGF3.cjs.map → chunk-T6TV6HY6.cjs.map} +1 -1
  24. package/dist/{chunk-55UEZIU4.cjs → chunk-YAFS2QFZ.cjs} +231 -191
  25. package/dist/chunk-YAFS2QFZ.cjs.map +1 -0
  26. package/dist/{chunk-YYJKIESX.cjs → chunk-Z2H7KECK.cjs} +153 -59
  27. package/dist/chunk-Z2H7KECK.cjs.map +1 -0
  28. package/dist/effects/index.d.cts +4 -4
  29. package/dist/effects/index.d.ts +4 -4
  30. package/dist/{export-D-gkjBkB.d.cts → export-BGdT02aL.d.cts} +10 -10
  31. package/dist/{export-CfAogLEr.d.cts → export-DMeG6E06.d.ts} +1 -1
  32. package/dist/{export-ByJvAvR7.d.ts → export-Dng22YB8.d.ts} +10 -10
  33. package/dist/{export-Crl82sbE.d.ts → export-KzubBKo7.d.cts} +1 -1
  34. package/dist/{helpers-BCd2-PAR.d.ts → helpers-Coa4e2j_.d.ts} +35 -1
  35. package/dist/{helpers-CoIeXQnW.d.cts → helpers-DHl28yLO.d.cts} +35 -1
  36. package/dist/image-editor/index.cjs +983 -874
  37. package/dist/image-editor/index.cjs.map +1 -1
  38. package/dist/image-editor/index.d.cts +32 -13
  39. package/dist/image-editor/index.d.ts +32 -13
  40. package/dist/image-editor/index.js +124 -15
  41. package/dist/image-editor/index.js.map +1 -1
  42. package/dist/{opentype-BDahNRTe.d.cts → opentype-BWR7Qv8W.d.cts} +1 -1
  43. package/dist/{opentype-BQFEvy-t.d.ts → opentype-Dfcx6wFx.d.ts} +1 -1
  44. package/dist/paint/index.cjs +8 -2
  45. package/dist/paint/index.cjs.map +1 -1
  46. package/dist/paint/index.d.cts +14 -3
  47. package/dist/paint/index.d.ts +14 -3
  48. package/dist/paint/index.js +7 -1
  49. package/dist/paint-editor/index.cjs +78 -78
  50. package/dist/paint-editor/index.d.cts +7 -7
  51. package/dist/paint-editor/index.d.ts +7 -7
  52. package/dist/paint-editor/index.js +3 -3
  53. package/dist/{pathfinder-DaVdT8jq.d.ts → pathfinder-Celbi3e6.d.ts} +1 -1
  54. package/dist/{pathfinder-01ZgAwqV.d.cts → pathfinder-D8KQ6blQ.d.cts} +1 -1
  55. package/dist/{pool-D2A3WTt9.d.ts → pool-8JZGWHvR.d.ts} +1 -1
  56. package/dist/{pool-D6a45MoE.d.cts → pool-BfuxBKTd.d.cts} +1 -1
  57. package/dist/{rand-pQQ2sJTk.d.ts → rand-BaqEOs1Y.d.ts} +17 -4
  58. package/dist/{rand-DTXAssW1.d.cts → rand-DdpFzCo6.d.cts} +17 -4
  59. package/dist/raster/index.cjs +2 -2
  60. package/dist/raster/index.d.cts +4 -4
  61. package/dist/raster/index.d.ts +4 -4
  62. package/dist/raster/index.js +1 -1
  63. package/dist/{svg-DELNVerw.d.ts → svg-CxxqG3_W.d.ts} +2 -2
  64. package/dist/{svg-CcDz7Zq2.d.cts → svg-pwXWq6s2.d.cts} +2 -2
  65. package/dist/{tools-BFvkFnRj.d.cts → tools-3EBjR91b.d.cts} +1 -1
  66. package/dist/{tools-D7ws-OKL.d.ts → tools-y1M6O3UT.d.ts} +1 -1
  67. package/dist/vector/index.cjs +1642 -1046
  68. package/dist/vector/index.cjs.map +1 -1
  69. package/dist/vector/index.d.cts +275 -93
  70. package/dist/vector/index.d.ts +275 -93
  71. package/dist/vector/index.js +607 -11
  72. package/dist/vector/index.js.map +1 -1
  73. package/dist/video-editor/index.d.cts +4 -4
  74. package/dist/video-editor/index.d.ts +4 -4
  75. package/dist/{warp-2N9wkOkL.d.ts → warp-C1gwu2G_.d.ts} +1 -1
  76. package/dist/{warp-DErXW5rz.d.cts → warp-Ceqdz7kj.d.cts} +1 -1
  77. package/package.json +1 -1
  78. package/skills/pixerate-image-editor/SKILL.md +1 -1
  79. package/skills/pixerate-image-editor/references/retouching.md +3 -2
  80. package/skills/pixerate-vector/SKILL.md +12 -53
  81. package/skills/pixerate-vector/references/pitfalls.md +62 -0
  82. package/dist/chunk-55UEZIU4.cjs.map +0 -1
  83. package/dist/chunk-AHUYMDYW.js.map +0 -1
  84. package/dist/chunk-G5FX56KX.js.map +0 -1
  85. package/dist/chunk-IEYXYMRQ.js.map +0 -1
  86. package/dist/chunk-MZXQTKUM.cjs.map +0 -1
  87. package/dist/chunk-W6M7C7R3.cjs.map +0 -1
  88. package/dist/chunk-YRZ6NVE3.js.map +0 -1
  89. package/dist/chunk-YYJKIESX.cjs.map +0 -1
  90. /package/dist/{chunk-ECVI5QRE.js.map → chunk-7RJ6P7MI.js.map} +0 -0
@@ -1,18 +1,17 @@
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 VectorModifiers, v as EffectsSlot, E as EffectProvider, e as EffectValue, bP as VectorProviderEffect, bQ as VectorBlendMode, R as VectorFilterType, V as VectorEffectType, bR as VectorAlign, bS as VectorDistribute, bT as VectorArrange, K as VectorBooleanOperation, bU as VectorMaskType, bV as VectorSymmetryMode, bW as VectorSymmetry, bX as VectorFreeformPoint, bY as VectorMeshGradient, bZ as VectorFreeformGradient, b_ as VectorArrowhead, b$ as VectorLens, c0 as VectorResizing, c1 as VectorFrame, c2 as VectorHorizontalResizing, c3 as VectorVerticalResizing, c4 as VectorMask, c5 as VectorAverageAxis, c6 as VectorSymbol, c7 as VectorParameter, P as VectorWarpMesh, J as VectorFillRule, c8 as VectorBlendSpacing, c9 as VectorGradientInterpolation, Z as VectorGradientSpread, _ as VectorGradientType, a2 as VectorStrokeAlign, ca as VectorStrokeGradientMode, cb as VectorArrowAlign, M as VectorEffect, cc as VectorPaintLayer, cd as VectorStrokeLayer, U as VectorFilter, ce as VectorBlend, cf as VectorMergeMode, cg as VectorLineJoin, H as VectorEffectParamsMap, ch as VectorLensType, ci as VectorStrokeSettings, cj as VectorInstanceOverrides, Q as VectorInstanceNode } from '../helpers-CoIeXQnW.cjs';
2
- export { S as SvgGradientDef, ck as VECTOR_ARROWHEADS, cl as VECTOR_BLEND_MODES, cm as VECTOR_BLEND_SPACINGS, cn as VECTOR_CONNECTOR_ROUTES, co as VECTOR_CONNECTOR_SIDES, cp as VECTOR_CONSTRAINT_KINDS, cq as VECTOR_CORNER_KINDS, cr as VECTOR_EFFECT_TYPES, cs as VECTOR_FILTER_TYPES, ct as VECTOR_GRADIENT_INTERPOLATIONS, cu as VECTOR_GRADIENT_SPREADS, cv as VECTOR_GRADIENT_TYPES, cw as VECTOR_HORIZONTAL_RESIZING, cx as VECTOR_LENS_TYPES, cy as VECTOR_MASK_TYPES, cz as VECTOR_MERGE_MODES, cA as VECTOR_PATHFINDER_OPERATIONS, cB as VECTOR_PATH_TEXT_BASELINES, cC as VECTOR_STROKE_GRADIENT_MODES, cD as VECTOR_SYMMETRY_MODES, cE as VECTOR_TEXT_ALIGNS, cF as VECTOR_TOOLS, cG as VECTOR_TRANSFORM_HANDLES, cH as VECTOR_VERTICAL_RESIZING, cI as VectorCorner, T as VectorFilterParamsMap, cJ as VectorGeomRef, Y as VectorGradientUnits, cK as VectorLineCap, cL as VectorPathTextBaseline, cM as VectorStrokeLayerKind, cN as VectorTextRunStyle, cO as VectorWarpStyle } from '../helpers-CoIeXQnW.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-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';
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-oCBfrGDG.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-CcDz7Zq2.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-CcDz7Zq2.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';
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-DErXW5rz.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-DErXW5rz.cjs';
10
- import { A as AffineMatrix, V as Vec2 } from '../types-CwMPoRMU.cjs';
11
- export { H as VectorHomography } from '../types-CwMPoRMU.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';
10
+ import { A as AffineMatrix, V as Vec2, H as Homography } from '../types-CwMPoRMU.cjs';
12
11
  import { C as CommandSpec } from '../registry-CaR7LC6W.cjs';
13
- import { S as StrokeJoin, a as StrokeCap, P as PlanarMap, b as PathfinderOperation, c as PathfinderShape } from '../pathfinder-01ZgAwqV.cjs';
12
+ import { S as StrokeJoin, a as StrokeCap, P as PlanarMap, b as PathfinderOperation, c as PathfinderShape } from '../pathfinder-D8KQ6blQ.cjs';
14
13
  import { b as AnimationEasing } from '../easing-lM0Xo9Ni.cjs';
15
- 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-BDahNRTe.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';
16
15
  import { a as AgentToolProvider } from '../registry-BqA1AZt0.cjs';
17
16
  import '../schema-Di0CS6Pe.cjs';
18
17
  import '../evaluate-BsxYieLN.cjs';
@@ -1790,6 +1789,8 @@ interface VectorEditorState {
1790
1789
  typedEntry: string | null;
1791
1790
  /** The symmetry group new drawn art goes into (`enterSymmetry`), or null. */
1792
1791
  symmetryTarget: string | null;
1792
+ /** The perspective plane new rectangles, ellipses, polygons and stars are drawn on (`setPerspectivePlane`), or null. */
1793
+ perspectivePlane: VectorPerspectivePlane | null;
1793
1794
  /** The selected point of a mesh or freeform fill (Gradient tool), or null. */
1794
1795
  shadingPoint: {
1795
1796
  nodeId: string;
@@ -2791,6 +2792,36 @@ declare class VectorEditorController {
2791
2792
  enterSymmetry(id: string): VectorActionResult;
2792
2793
  /** Stops drawing into the entered symmetry group. */
2793
2794
  exitSymmetry(): void;
2795
+ private perspectivePlane;
2796
+ /** The document's perspective grid, or null. */
2797
+ getPerspective(): VectorPerspective | null;
2798
+ /**
2799
+ * Sets the document's perspective grid (CorelDRAW's Perspective Drawing): 1 to 3 vanishing
2800
+ * points, the origin where its planes meet, the cell size and extent, and whether it shows;
2801
+ * `null` removes it. One undo step.
2802
+ */
2803
+ setPerspective(grid: VectorPerspective | null): VectorActionResult & {
2804
+ perspective?: VectorPerspective | null;
2805
+ };
2806
+ /**
2807
+ * Draws new rectangles, ellipses, polygons and stars on a plane of the perspective grid (their
2808
+ * drag box is taken on the plane, so they recede with it), or flat again with `null`.
2809
+ */
2810
+ setPerspectivePlane(plane: VectorPerspectivePlane | null): VectorActionResult;
2811
+ /**
2812
+ * Lays objects onto a plane of the perspective grid: each is read flat, relative to the grid's
2813
+ * origin (right and up), and projected onto the plane, so art near the origin keeps its size and
2814
+ * art further along recedes. Paths and groups are mapped in document space (their transforms
2815
+ * baked in); text and instances must be converted to outlines first. One undo step. Returns
2816
+ * the ids changed.
2817
+ */
2818
+ attachToPerspective(plane: VectorPerspectivePlane, options?: {
2819
+ ids?: readonly string[];
2820
+ }): VectorActionResult & {
2821
+ ids?: string[];
2822
+ };
2823
+ /** A shape's subpaths drawn on the active perspective plane from its flat drag box, or null to keep it flat. */
2824
+ private perspectiveShape;
2794
2825
  /**
2795
2826
  * The document as a vector PDF (see `vectorDocumentToPdf`): one page of the artboard, or a page
2796
2827
  * per artboard (`pages: 'artboards'`). Returns the file's bytes, its page count and notes on
@@ -3051,6 +3082,68 @@ declare class VectorEditorController {
3051
3082
  clip?: boolean;
3052
3083
  adopt?: boolean;
3053
3084
  }): VectorMaskResult;
3085
+ /**
3086
+ * The document's pages (top-level frames that are not master pages, in order: `number` from 1)
3087
+ * with the master each uses, and its master pages.
3088
+ */
3089
+ getPages(): {
3090
+ pages: {
3091
+ id: string;
3092
+ name: string;
3093
+ number: number;
3094
+ masterId: string | null;
3095
+ bounds: VectorBounds;
3096
+ }[];
3097
+ masters: {
3098
+ id: string;
3099
+ name: string;
3100
+ usedBy: string[];
3101
+ bounds: VectorBounds;
3102
+ }[];
3103
+ };
3104
+ /** Where a new page or master goes: right of every top-level frame, or below them for a master. */
3105
+ private nextPageRect;
3106
+ /**
3107
+ * Adds a page: a frame the size of the last page (or the document), to the right of the others,
3108
+ * after page `after` in the page order (default last), using master page `masterId` (default:
3109
+ * the master the last page uses). The first page added to a document without frames covers the
3110
+ * artboard and takes the existing top-level art in. One undo step; selects it. Returns its id.
3111
+ */
3112
+ addPage(input?: {
3113
+ name?: string;
3114
+ masterId?: string | null;
3115
+ after?: string;
3116
+ }): VectorMaskResult;
3117
+ /**
3118
+ * Adds an empty master page (a frame with `master` set, the size of the last page) below the
3119
+ * pages. Art drawn in it shows on every page that uses it; text can show `{page}` and `{pages}`.
3120
+ * With `assignTo` (page ids, or `all`), those pages use it. One undo step; selects it.
3121
+ */
3122
+ addMasterPage(input?: {
3123
+ name?: string;
3124
+ assignTo?: readonly string[] | 'all';
3125
+ }): VectorMaskResult;
3126
+ /** Makes pages use master page `masterId`, or none with null. One undo step. */
3127
+ setPageMaster(masterId: string | null, options?: {
3128
+ ids?: readonly string[];
3129
+ }): VectorActionResult & {
3130
+ ids?: string[];
3131
+ };
3132
+ /** Moves page `id` to position `index` (0-based) in the page order. One undo step. Returns the new order. */
3133
+ movePage(id: string, index: number): VectorActionResult & {
3134
+ order?: string[];
3135
+ };
3136
+ /**
3137
+ * Goes to a page (or master page): selects it and brings it into view, fitted to a canvas of
3138
+ * `size` screen pixels when given, otherwise at the current zoom with its corner near the
3139
+ * canvas's top-left. Not an undo step.
3140
+ */
3141
+ goToPage(id: string, options?: {
3142
+ size?: {
3143
+ width: number;
3144
+ height: number;
3145
+ };
3146
+ }): VectorActionResult;
3054
3147
  /**
3055
3148
  * Frame Selection: puts the selected (or given) objects, which must share a parent, into a new
3056
3149
  * frame fitted to their bounds plus `padding` (document units, default 0), in their place in the
@@ -4221,6 +4314,26 @@ interface VectorOverlayRenderData {
4221
4314
  y2: number;
4222
4315
  }[];
4223
4316
  }[];
4317
+ /**
4318
+ * The document's perspective grid while it shows, screen space: each plane's grid lines as one
4319
+ * path `d` (`active` for the plane new shapes are drawn on: draw it more strongly), the
4320
+ * vanishing points and the origin; null without a grid or while it is hidden.
4321
+ */
4322
+ perspective: {
4323
+ planes: {
4324
+ plane: VectorPerspectivePlane;
4325
+ active: boolean;
4326
+ d: string;
4327
+ }[];
4328
+ vanishingPoints: {
4329
+ x: number;
4330
+ y: number;
4331
+ }[];
4332
+ origin: {
4333
+ x: number;
4334
+ y: number;
4335
+ };
4336
+ } | null;
4224
4337
  /** Points acquired for object snap tracking, screen space: draw a small `+` at each. */
4225
4338
  trackingPoints: {
4226
4339
  x: number;
@@ -5534,6 +5647,117 @@ declare function repeatPaths(paths: readonly BezierPath[], r: VectorEffectParams
5534
5647
  /** The middle of the paths' bounds (the origin when they are empty). */
5535
5648
  declare function pathsCenter(paths: readonly BezierPath[]): Vec2$1;
5536
5649
 
5650
+ /**
5651
+ * Frames (artboards) and their children's resizing constraints.
5652
+ *
5653
+ * A frame is a group with `frame` set: a rectangle in the group's own space, a fill drawn below the
5654
+ * children and (by default) a clip. It draws, hit-tests and bounds through `vectorFrameDrawn`, an
5655
+ * equivalent clip group (or plain group without the clip), so rendering, masks, snapping and SVG
5656
+ * export reuse the mask group machinery. Resizing a frame lays out its children by their
5657
+ * `resizing` constraints (`vectorFrameChildMatrix`) instead of scaling them.
5658
+ *
5659
+ * The constraint rules follow figcraft's `crates/layout/src/lib.rs` `apply_constraints` (MIT OR
5660
+ * Apache-2.0, © ArtCraft Team and contributors; see THIRD_PARTY_NOTICES.md), as already ported for
5661
+ * the canvas package (`canvas/autoLayout.ts`): left / right / left and right / centre / scale
5662
+ * horizontally, top / bottom / top and bottom / centre / scale vertically.
5663
+ */
5664
+
5665
+ /** A frame group (its `frame` set, and not a blend, live boolean or mask group). */
5666
+ type VectorFrameGroup = VectorGroupNode & {
5667
+ frame: VectorFrame;
5668
+ };
5669
+ /** Whether the node is a frame. */
5670
+ declare function isVectorFrame(node: VectorNode | null | undefined): node is VectorFrameGroup;
5671
+ /** The frame's rectangle as a closed four-anchor path (in the frame's own space). */
5672
+ declare function vectorFrameRectPath(frame: VectorFrame): VectorPathNode['subpaths'];
5673
+ /**
5674
+ * The frame as an equivalent plain group: a clip group (`mask: clip`) whose mask is the frame's
5675
+ * rectangle (`<id>~frame-clip`), then its fill (`<id>~frame-fill`) and its children; without the
5676
+ * clip, a group of the fill and the children. Same id, transform and appearance. Cached per node.
5677
+ */
5678
+ declare function vectorFrameDrawn(node: VectorFrameGroup): VectorGroupNode;
5679
+ /** Whether `p` (in the frame's own space) lies in its rectangle, within `tolerance`. */
5680
+ declare function vectorFrameContains(frame: VectorFrame, p: {
5681
+ x: number;
5682
+ y: number;
5683
+ }, tolerance?: number): boolean;
5684
+ /**
5685
+ * The matrix (in the frame's own space) that takes a child with bounds `box` from frame rectangle
5686
+ * `from` to `to` by the child's `resizing` constraints: a scale and translation per axis.
5687
+ */
5688
+ declare function vectorFrameChildMatrix(resizing: VectorResizing | null | undefined, box: VectorBounds, from: VectorFrame, to: VectorFrame): AffineMatrix;
5689
+ /** Reads a frame from untrusted data (JSON, agent input, SVG import), or null. */
5690
+ declare function sanitizeVectorFrame(value: unknown): VectorFrame | null;
5691
+ /** Reads resizing constraints from untrusted data, or null (unknown values dropped). */
5692
+ declare function sanitizeVectorResizing(value: unknown): VectorResizing | null;
5693
+ /** Labels for the resizing constraint pickers. */
5694
+ declare const VECTOR_HORIZONTAL_RESIZING_LABELS: Readonly<Record<VectorHorizontalResizing, string>>;
5695
+ declare const VECTOR_VERTICAL_RESIZING_LABELS: Readonly<Record<VectorVerticalResizing, string>>;
5696
+ /** Whether `inner` lies wholly in `outer` (false for a missing box). */
5697
+ declare function vectorBoundsInside(inner: VectorBounds | null, outer: VectorBounds): boolean;
5698
+ /** Top-level frames of a document (its artboards), bottom to top. */
5699
+ declare function vectorArtboards(doc: Pick<VectorDocument, 'nodes'>): VectorFrameGroup[];
5700
+ /**
5701
+ * A document of one frame on its own, sized to the frame with the frame's corner at the origin
5702
+ * (the frame's rotation undone), for exporting an artboard. Symbols, constraints' parameters and the
5703
+ * page background are carried over. Null when `id` is not a frame.
5704
+ */
5705
+ declare function vectorFrameDocument(doc: VectorDocument, id: string, find: (nodes: readonly VectorNode[], id: string) => VectorNode | null | undefined): VectorDocument | null;
5706
+ /** What the frame panel shows for the selection. */
5707
+ interface VectorFramePanel {
5708
+ /** The selected frame (the first, when several are), or null. */
5709
+ frame: {
5710
+ id: string;
5711
+ name: string;
5712
+ artboard: boolean;
5713
+ frame: VectorFrame;
5714
+ } | null;
5715
+ /**
5716
+ * The resizing constraints of the selected objects that sit directly in a frame (null when none
5717
+ * does): each axis' value, or `mixed` when they differ.
5718
+ */
5719
+ resizing: {
5720
+ ids: string[];
5721
+ horizontal: VectorHorizontalResizing | 'mixed';
5722
+ vertical: VectorVerticalResizing | 'mixed';
5723
+ } | null;
5724
+ }
5725
+ /** The frame panel's data for a selection. */
5726
+ declare function getVectorFramePanel(state: {
5727
+ document: Pick<VectorDocument, 'nodes'>;
5728
+ selection: readonly string[];
5729
+ }): VectorFramePanel;
5730
+
5731
+ /**
5732
+ * Multipage documents with master pages, built on frames (after CorelDRAW's pages and master
5733
+ * page, concept only). The document's pages are its top-level frames in order, except master
5734
+ * pages: top-level frames with `frame.master` set. A page whose `frame.masterId` names a master
5735
+ * draws the master's children under its own, laid out by each child's resizing constraints from
5736
+ * the master's rectangle to the page's (so a footer pinned to the bottom stays at the bottom of a
5737
+ * taller page). Text on a master can show `{page}` (the page's number) and `{pages}` (how many).
5738
+ *
5739
+ * The drawn master art (`masterArt`) is derived like a lens's backdrop: `resolveVectorMasterPages`
5740
+ * brings it up to date after every edit (the controller's refresh) and `stripVectorMasterArt`
5741
+ * removes it from saved documents. Node objects are kept when nothing changed, so render caches
5742
+ * hold.
5743
+ */
5744
+
5745
+ /** Whether `node` is a master page (a frame with `master` set). */
5746
+ declare function isVectorMasterPage(node: VectorNode | null | undefined): node is VectorFrameGroup;
5747
+ /** The document's pages: its top-level frames that are not master pages, in order. */
5748
+ declare function vectorPages(doc: Pick<VectorDocument, 'nodes'>): VectorFrameGroup[];
5749
+ /** The document's master pages (top-level frames with `master` set), in order. */
5750
+ declare function vectorMasterPages(doc: Pick<VectorDocument, 'nodes'>): VectorFrameGroup[];
5751
+ /** The master's art as drawn on a page (cached per master object and page placement). */
5752
+ declare function vectorMasterArt(master: VectorFrameGroup, page: VectorFrameGroup, number: number, count: number): VectorNode[];
5753
+ /**
5754
+ * The document with every page's `masterArt` up to date (and gone from pages without a master).
5755
+ * The same document object when nothing changed.
5756
+ */
5757
+ declare function resolveVectorMasterPages(doc: VectorDocument): VectorDocument;
5758
+ /** The document without pages' drawn master art (what is saved). */
5759
+ declare function stripVectorMasterArt(doc: VectorDocument): VectorDocument;
5760
+
5537
5761
  /**
5538
5762
  * Extrude: a flat shape drawn as a solid, after CorelDRAW's Extrude (concept only). Each edge of
5539
5763
  * the shape gets a side face running back to a copy of the edge, either moved `depth` along an
@@ -5625,6 +5849,45 @@ declare function vectorStrokeGradientDefs(g: VectorGradient, id: string, node: V
5625
5849
  precision?: number;
5626
5850
  }): VectorPaintDef[];
5627
5851
 
5852
+ /** The planes a grid with this many vanishing points has. */
5853
+ declare function vectorPerspectivePlanes(p: Pick<VectorPerspective, 'vanishingPoints'>): VectorPerspectivePlane[];
5854
+ /** Reads a perspective grid from untrusted data; null when invalid. */
5855
+ declare function sanitizeVectorPerspective(value: unknown): VectorPerspective | null;
5856
+ /**
5857
+ * The projective map from plane coordinates (document units at the origin; x to the right and y
5858
+ * up as seen near the origin) to the document, for `plane` of the grid; null for a plane the grid
5859
+ * does not have. Columns: the plane's x direction, its y direction, the origin.
5860
+ */
5861
+ declare function vectorPerspectivePlaneMap(p: VectorPerspective, plane: VectorPerspectivePlane): Homography | null;
5862
+ /**
5863
+ * Maps flat art onto a plane: a document point `q` is read as plane coordinates relative to the
5864
+ * origin (`q.x − origin.x` right, `origin.y − q.y` up) and placed on the plane. Art near the origin
5865
+ * keeps its size; further away it recedes. Null where the point would fall behind the viewer.
5866
+ */
5867
+ declare function vectorPerspectiveFlatToPlane(p: VectorPerspective, plane: VectorPerspectivePlane): ((q: Vec2$1) => Vec2$1 | null) | null;
5868
+ /** The inverse of `vectorPerspectiveFlatToPlane`: where on the flat art a document point on the plane comes from. */
5869
+ declare function vectorPerspectivePlaneToFlat(p: VectorPerspective, plane: VectorPerspectivePlane): ((q: Vec2$1) => Vec2$1 | null) | null;
5870
+ /**
5871
+ * A flat path laid onto a plane (curves re-fitted where the projection bends them), or null when
5872
+ * part of it would fall behind the viewer (beyond the plane's horizon).
5873
+ */
5874
+ declare function vectorPerspectiveMapPath(p: VectorPerspective, plane: VectorPerspectivePlane, path: BezierPath): BezierPath | null;
5875
+ /**
5876
+ * The grid lines of a plane, in document space: lines of constant x and of constant y every
5877
+ * `gridSize` out to `extent` cells on each side of the origin (only the parts in front of the
5878
+ * viewer; lines running behind it are cut where they near the horizon).
5879
+ */
5880
+ declare function vectorPerspectiveGridLines(p: VectorPerspective, plane: VectorPerspectivePlane): {
5881
+ a: Vec2$1;
5882
+ b: Vec2$1;
5883
+ }[];
5884
+ /**
5885
+ * A starting grid for a page `width × height`: the horizon a third of the way down, the origin
5886
+ * near the bottom middle; 1 point in the middle of the horizon, 2 beyond the page's sides, and a
5887
+ * third far below the page (a bird's eye view).
5888
+ */
5889
+ declare function vectorPerspectivePreset(points: 1 | 2 | 3, width: number, height: number): VectorPerspective;
5890
+
5628
5891
  /**
5629
5892
  * A mesh whose border follows a closed outline (Illustrator's Make with Top Object): the outline is
5630
5893
  * cut into four sides at the points nearest its bounding box's corners, and the interior is the
@@ -5725,87 +5988,6 @@ declare function vectorTargetPaint(style: VectorStyle, target: 'fill' | 'stroke'
5725
5988
  /** The node with `paint` in the place `vectorTargetPaint` reads (stored canonically). */
5726
5989
  declare function withVectorTargetPaint<T extends VectorStyle>(node: T, target: 'fill' | 'stroke', layer: number | null, paint: VectorPaint): T;
5727
5990
 
5728
- /**
5729
- * Frames (artboards) and their children's resizing constraints.
5730
- *
5731
- * A frame is a group with `frame` set: a rectangle in the group's own space, a fill drawn below the
5732
- * children and (by default) a clip. It draws, hit-tests and bounds through `vectorFrameDrawn`, an
5733
- * equivalent clip group (or plain group without the clip), so rendering, masks, snapping and SVG
5734
- * export reuse the mask group machinery. Resizing a frame lays out its children by their
5735
- * `resizing` constraints (`vectorFrameChildMatrix`) instead of scaling them.
5736
- *
5737
- * The constraint rules follow figcraft's `crates/layout/src/lib.rs` `apply_constraints` (MIT OR
5738
- * Apache-2.0, © ArtCraft Team and contributors; see THIRD_PARTY_NOTICES.md), as already ported for
5739
- * the canvas package (`canvas/autoLayout.ts`): left / right / left and right / centre / scale
5740
- * horizontally, top / bottom / top and bottom / centre / scale vertically.
5741
- */
5742
-
5743
- /** A frame group (its `frame` set, and not a blend, live boolean or mask group). */
5744
- type VectorFrameGroup = VectorGroupNode & {
5745
- frame: VectorFrame;
5746
- };
5747
- /** Whether the node is a frame. */
5748
- declare function isVectorFrame(node: VectorNode | null | undefined): node is VectorFrameGroup;
5749
- /** The frame's rectangle as a closed four-anchor path (in the frame's own space). */
5750
- declare function vectorFrameRectPath(frame: VectorFrame): VectorPathNode['subpaths'];
5751
- /**
5752
- * The frame as an equivalent plain group: a clip group (`mask: clip`) whose mask is the frame's
5753
- * rectangle (`<id>~frame-clip`), then its fill (`<id>~frame-fill`) and its children; without the
5754
- * clip, a group of the fill and the children. Same id, transform and appearance. Cached per node.
5755
- */
5756
- declare function vectorFrameDrawn(node: VectorFrameGroup): VectorGroupNode;
5757
- /** Whether `p` (in the frame's own space) lies in its rectangle, within `tolerance`. */
5758
- declare function vectorFrameContains(frame: VectorFrame, p: {
5759
- x: number;
5760
- y: number;
5761
- }, tolerance?: number): boolean;
5762
- /**
5763
- * The matrix (in the frame's own space) that takes a child with bounds `box` from frame rectangle
5764
- * `from` to `to` by the child's `resizing` constraints: a scale and translation per axis.
5765
- */
5766
- declare function vectorFrameChildMatrix(resizing: VectorResizing | null | undefined, box: VectorBounds, from: VectorFrame, to: VectorFrame): AffineMatrix;
5767
- /** Reads a frame from untrusted data (JSON, agent input, SVG import), or null. */
5768
- declare function sanitizeVectorFrame(value: unknown): VectorFrame | null;
5769
- /** Reads resizing constraints from untrusted data, or null (unknown values dropped). */
5770
- declare function sanitizeVectorResizing(value: unknown): VectorResizing | null;
5771
- /** Labels for the resizing constraint pickers. */
5772
- declare const VECTOR_HORIZONTAL_RESIZING_LABELS: Readonly<Record<VectorHorizontalResizing, string>>;
5773
- declare const VECTOR_VERTICAL_RESIZING_LABELS: Readonly<Record<VectorVerticalResizing, string>>;
5774
- /** Whether `inner` lies wholly in `outer` (false for a missing box). */
5775
- declare function vectorBoundsInside(inner: VectorBounds | null, outer: VectorBounds): boolean;
5776
- /** Top-level frames of a document (its artboards), bottom to top. */
5777
- declare function vectorArtboards(doc: Pick<VectorDocument, 'nodes'>): VectorFrameGroup[];
5778
- /**
5779
- * A document of one frame on its own, sized to the frame with the frame's corner at the origin
5780
- * (the frame's rotation undone), for exporting an artboard. Symbols, constraints' parameters and the
5781
- * page background are carried over. Null when `id` is not a frame.
5782
- */
5783
- declare function vectorFrameDocument(doc: VectorDocument, id: string, find: (nodes: readonly VectorNode[], id: string) => VectorNode | null | undefined): VectorDocument | null;
5784
- /** What the frame panel shows for the selection. */
5785
- interface VectorFramePanel {
5786
- /** The selected frame (the first, when several are), or null. */
5787
- frame: {
5788
- id: string;
5789
- name: string;
5790
- artboard: boolean;
5791
- frame: VectorFrame;
5792
- } | null;
5793
- /**
5794
- * The resizing constraints of the selected objects that sit directly in a frame (null when none
5795
- * does): each axis' value, or `mixed` when they differ.
5796
- */
5797
- resizing: {
5798
- ids: string[];
5799
- horizontal: VectorHorizontalResizing | 'mixed';
5800
- vertical: VectorVerticalResizing | 'mixed';
5801
- } | null;
5802
- }
5803
- /** The frame panel's data for a selection. */
5804
- declare function getVectorFramePanel(state: {
5805
- document: Pick<VectorDocument, 'nodes'>;
5806
- selection: readonly string[];
5807
- }): VectorFramePanel;
5808
-
5809
5991
  /**
5810
5992
  * Gradient meshes and freeform gradients: paints that are not a function of one parameter, drawn
5811
5993
  * as SVG patterns of small flat tiles (as conic gradients are drawn as wedges).
@@ -6239,4 +6421,4 @@ interface VectorEffectsToolProviderOptions {
6239
6421
  /** The effect tools for a vector editor (see the module comment). */
6240
6422
  declare function createVectorEffectsToolProvider(controller: VectorEditorController, options?: VectorEffectsToolProviderOptions): AgentToolProvider;
6241
6423
 
6242
- 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, 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, 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, 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, resolveVectorSymbols, reverseMorphContour, reverseSubpath, reverseWidthProfile, rotateMatrix, roundCornerPaths, roundSubpaths, routeVectorConnector, samplePolyline, sampleVectorFreeform, sanitizeVectorConnector, sanitizeVectorFills, sanitizeVectorFrame, sanitizeVectorLens, sanitizeVectorMask, sanitizeVectorResizing, sanitizeVectorShadedPaint, sanitizeVectorStrokeSettings, sanitizeVectorStrokes, sanitizeVectorSymmetry, sanitizeVectorTextFields, sanitizeVectorTextFrame, sanitizeWidthProfile, scaleFor, scaleMatrix, scaleVectorStrokeWidths, setAnchorCorner, setSubpathCorners, setVectorTextShaper, setWidthPoint, shadeVectorColor, simplifyPolyline, smoothSubpath, solveVectorConstraints, splitIntoFaces, splitSubpathAt, starSubpath, stripVectorLensViews, 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, vectorMeshColorAt, vectorMeshFromOutline, vectorMeshLines, vectorMeshOutline, vectorMeshPointAt, vectorNodeBounds, vectorNodePaintBox, vectorNodeRotation, vectorNodeToBezier, vectorNodesNear, vectorPaintLayerNodes, vectorPaintSolid, vectorPaintSwatch, vectorPaintToHex, vectorParentMatrix, vectorPathAt, vectorPathCircle, vectorPathData, vectorPathEntries, vectorPathRings, 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, 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 };
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 };