@pixerate/editor 0.130.0 → 0.133.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 (96) 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-CigmusV_.d.ts → bezier-BAGdL89w.d.ts} +1 -1
  6. package/dist/{bezier-CdoGygwG.d.cts → bezier-DL2wPsFf.d.cts} +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-2PXRKMOH.cjs → chunk-2QKUD3E2.cjs} +36 -36
  14. package/dist/{chunk-2PXRKMOH.cjs.map → chunk-2QKUD3E2.cjs.map} +1 -1
  15. package/dist/{chunk-PMHPXCJC.cjs → chunk-65GNHOD4.cjs} +268 -199
  16. package/dist/chunk-65GNHOD4.cjs.map +1 -0
  17. package/dist/{chunk-YRZ6NVE3.js → chunk-6CTZAGZ2.js} +235 -4
  18. package/dist/chunk-6CTZAGZ2.js.map +1 -0
  19. package/dist/{chunk-ERYGCA72.js → chunk-AOCFL7L7.js} +88 -19
  20. package/dist/chunk-AOCFL7L7.js.map +1 -0
  21. package/dist/{chunk-LXGOYRPE.cjs → chunk-F7GGEAO2.cjs} +322 -75
  22. package/dist/chunk-F7GGEAO2.cjs.map +1 -0
  23. package/dist/{chunk-PRYMC442.js → chunk-FOBB6AIO.js} +257 -10
  24. package/dist/chunk-FOBB6AIO.js.map +1 -0
  25. package/dist/{chunk-W6M7C7R3.cjs → chunk-NVTHUPJ6.cjs} +236 -5
  26. package/dist/chunk-NVTHUPJ6.cjs.map +1 -0
  27. package/dist/{chunk-L5OTIYOO.js → chunk-VGZSIXX3.js} +2 -2
  28. package/dist/effects/index.d.cts +4 -4
  29. package/dist/effects/index.d.ts +4 -4
  30. package/dist/{export-CejjC2iI.d.cts → export-BICOEM9d.d.cts} +33 -11
  31. package/dist/{export-5WDKJqTy.d.cts → export-CeFplzAW.d.cts} +1 -1
  32. package/dist/{export-B4r8b9Ft.d.ts → export-XnuX8FZ2.d.ts} +33 -11
  33. package/dist/{export-CU_ARP3A.d.ts → export-zB4HITwP.d.ts} +1 -1
  34. package/dist/{helpers-CzZu51eI.d.cts → helpers-BuKdqUlM.d.cts} +56 -1
  35. package/dist/{helpers-X_rycLNJ.d.ts → helpers-cssRNUzH.d.ts} +56 -1
  36. package/dist/image-editor/index.cjs +1064 -903
  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 +180 -19
  41. package/dist/image-editor/index.js.map +1 -1
  42. package/dist/index.cjs +11 -4
  43. package/dist/index.cjs.map +1 -1
  44. package/dist/index.js +11 -4
  45. package/dist/index.js.map +1 -1
  46. package/dist/{opentype-DlRMYcCW.d.cts → opentype-C3iyIFRx.d.cts} +1 -1
  47. package/dist/{opentype-CrHAsKh3.d.ts → opentype-DG5Lkwul.d.ts} +1 -1
  48. package/dist/paint/index.cjs +8 -2
  49. package/dist/paint/index.cjs.map +1 -1
  50. package/dist/paint/index.d.cts +14 -3
  51. package/dist/paint/index.d.ts +14 -3
  52. package/dist/paint/index.js +7 -1
  53. package/dist/paint-editor/index.cjs +78 -78
  54. package/dist/paint-editor/index.d.cts +7 -7
  55. package/dist/paint-editor/index.d.ts +7 -7
  56. package/dist/paint-editor/index.js +3 -3
  57. package/dist/{pathfinder-CKfKOVP4.d.cts → pathfinder-8vXik95z.d.cts} +1 -1
  58. package/dist/{pathfinder-Dlss70hL.d.ts → pathfinder-DKLt4UDG.d.ts} +1 -1
  59. package/dist/{pool-DDOo0xJH.d.ts → pool-C69pkWRz.d.ts} +1 -1
  60. package/dist/{pool-DKic69LD.d.cts → pool-VAWcYUbs.d.cts} +1 -1
  61. package/dist/{rand-pQQ2sJTk.d.ts → rand-BaqEOs1Y.d.ts} +17 -4
  62. package/dist/{rand-DTXAssW1.d.cts → rand-DdpFzCo6.d.cts} +17 -4
  63. package/dist/raster/index.cjs +2 -2
  64. package/dist/raster/index.d.cts +4 -4
  65. package/dist/raster/index.d.ts +4 -4
  66. package/dist/raster/index.js +1 -1
  67. package/dist/{svg-BRaii3pI.d.cts → svg-BThlZmja.d.cts} +2 -2
  68. package/dist/{svg-BYVZeVo0.d.ts → svg-CEYpvsgH.d.ts} +2 -2
  69. package/dist/{tools-CtheDLDr.d.cts → tools-CRnZJXXr.d.cts} +1 -1
  70. package/dist/{tools-D8bZ-7YG.d.ts → tools-CVGqEpO8.d.ts} +1 -1
  71. package/dist/vector/index.cjs +1493 -1032
  72. package/dist/vector/index.cjs.map +1 -1
  73. package/dist/vector/index.d.cts +155 -12
  74. package/dist/vector/index.d.ts +155 -12
  75. package/dist/vector/index.js +469 -8
  76. package/dist/vector/index.js.map +1 -1
  77. package/dist/video-editor/index.d.cts +4 -4
  78. package/dist/video-editor/index.d.ts +4 -4
  79. package/dist/{warp-BFoYxy_s.d.cts → warp-ChcFDdlT.d.cts} +1 -1
  80. package/dist/{warp-CZVC8pB5.d.ts → warp-mKylbLiF.d.ts} +1 -1
  81. package/package.json +2 -2
  82. package/skills/pixerate-image-editor/SKILL.md +7 -3
  83. package/skills/pixerate-image-editor/references/color-management.md +1 -1
  84. package/skills/pixerate-image-editor/references/photoshop-files.md +2 -2
  85. package/skills/pixerate-image-editor/references/retouching.md +12 -3
  86. package/skills/pixerate-vector/SKILL.md +17 -0
  87. package/skills/pixerate-vector/references/commands.md +19 -0
  88. package/dist/chunk-AHUYMDYW.js.map +0 -1
  89. package/dist/chunk-ERYGCA72.js.map +0 -1
  90. package/dist/chunk-LXGOYRPE.cjs.map +0 -1
  91. package/dist/chunk-MZXQTKUM.cjs.map +0 -1
  92. package/dist/chunk-PMHPXCJC.cjs.map +0 -1
  93. package/dist/chunk-PRYMC442.js.map +0 -1
  94. package/dist/chunk-W6M7C7R3.cjs.map +0 -1
  95. package/dist/chunk-YRZ6NVE3.js.map +0 -1
  96. /package/dist/{chunk-L5OTIYOO.js.map → chunk-VGZSIXX3.js.map} +0 -0
@@ -2,10 +2,10 @@ import { a2 as RasterLayerBase, a3 as RasterMask$1, a5 as RasterPixelLayer, H as
2
2
  import { c as PixelSurface, a as BlendMode, T as TiledSurface, R as RasterRect } from './surface-1MRncXpF.cjs';
3
3
  import { b as BuiltinProfileId, j as Intent, P as Profile, T as Transform, d as ColorSpace } from './builtin-CY97ppKM.cjs';
4
4
  import { A as AffineMatrix, Q as Quad, a as WarpMesh, V as Vec2, H as Homography } from './types-CwMPoRMU.cjs';
5
- import { B as BezierPath } from './bezier-CdoGygwG.cjs';
6
- import { b as TextRun, P as ParagraphRun, T as TextShaper, c as ParagraphStyle, d as TextStyle, L as LaidFragment, W as WarpPreset, e as TextLayout } from './warp-BFoYxy_s.cjs';
7
- import { e as EffectValue, a3 as VectorSubpath, v as EffectsSlot, E as EffectProvider, b as EffectPixels, f as EffectDescription, X as Vec2$1 } from './helpers-CzZu51eI.cjs';
8
- import { B as BrushSettings, P as PaintSource, M as MixerSettings, a as MixerLoad, R as RetouchSettings, S as StrokeCoverage, b as MixerTarget, c as MixerStroke, d as RetouchApply, e as StrokePoint, f as RetouchPaint, C as CoverageMap, g as PaintTileTarget, h as StrokeApply } from './rand-DTXAssW1.cjs';
5
+ import { B as BezierPath } from './bezier-DL2wPsFf.cjs';
6
+ import { b as TextRun, P as ParagraphRun, T as TextShaper, c as ParagraphStyle, d as TextStyle, L as LaidFragment, W as WarpPreset, e as TextLayout } from './warp-ChcFDdlT.cjs';
7
+ import { e as EffectValue, a3 as VectorSubpath, v as EffectsSlot, E as EffectProvider, b as EffectPixels, f as EffectDescription, X as Vec2$1 } from './helpers-BuKdqUlM.cjs';
8
+ import { B as BrushSettings, P as PaintSource, M as MixerSettings, a as MixerLoad, R as RetouchSettings, S as StrokeCoverage, b as MixerTarget, c as MixerStroke, d as RetouchApply, e as StrokePoint, f as RetouchPaint, C as CoverageMap, g as PaintTileTarget, h as StrokeApply } from './rand-DdpFzCo6.cjs';
9
9
 
10
10
  /**
11
11
  * A selection: one 8-bit coverage value per image pixel (0 = not selected, 255 = fully
@@ -634,6 +634,8 @@ declare function effectiveProof(proof: ProofSetup | null | undefined, mode: Docu
634
634
  * CMYK as Photoshop stores it (255 = no ink), Lab with L 0..255 for 0..100 and a, b offset by 128.
635
635
  */
636
636
  declare function colorModePlanes(doc: DocumentColorProfile | null | undefined, mode: DocumentColorMode): (rgba: Uint8ClampedArray, n: number) => Uint8Array[];
637
+ /** `colorModePlanes` at 16 bits: 16-bit sRGB-encoded RGBA in, the mode's 16-bit planes out (CMYK 65535 = no ink). */
638
+ declare function colorModePlanes16(doc: DocumentColorProfile | null | undefined, mode: DocumentColorMode): (rgba: Uint16Array, n: number) => Uint16Array[];
637
639
  /** The profile a document profile names (sRGB when missing). Throws `CmsError` for unreadable ICC bytes. */
638
640
  declare function resolveProfile(doc: DocumentColorProfile | null | undefined): Profile;
639
641
  /** The ICC bytes to embed for a document profile. */
@@ -1176,8 +1178,7 @@ declare function depthMaskAlpha(depth: number, options: DepthMaskOptions): numbe
1176
1178
  declare function runLayerFilters(data: Uint8ClampedArray, width: number, height: number, filters: readonly LayerFilter[]): void;
1177
1179
  /**
1178
1180
  * `runLayerFilters` on float RGBA for high bit depth (sRGB-encoded 0..1, or linear light when
1179
- * `linear`). Develop filters on the current process and blurs keep full precision; a develop
1180
- * filter on a legacy process runs on the 8-bit rendering.
1181
+ * `linear`). Develop filters (current and legacy process) and blurs keep full precision.
1181
1182
  */
1182
1183
  declare function runLayerFiltersFloat(data: Float32Array, width: number, height: number, filters: readonly LayerFilter[], linear: boolean): void;
1183
1184
  /** The per-tile compositor for image editor layer stacks (see the raster module for the caches). */
@@ -1187,8 +1188,7 @@ declare class LayerCompositor extends RasterCompositor<ImageLayer, CompositorSou
1187
1188
  /**
1188
1189
  * The composite of an image editor stack at 16 or 32 bits (see `raster/deep-compositor`): float
1189
1190
  * RGBA over `rect`, sRGB-encoded 0..1 at 16 bits, linear light at 32. Adjustment layers, layer
1190
- * filters and layer effects run in float; groups with effects, legacy-process develop filters and
1191
- * annotation layers are drawn at 8 bits.
1191
+ * filters and layer effects (groups' included) run in float; annotation layers are drawn at 8 bits.
1192
1192
  */
1193
1193
  declare function compositeDeep(layers: readonly ImageLayer[], rect: RasterRect, sources: CompositorSources, depth: 16 | 32): Float32Array;
1194
1194
 
@@ -1221,6 +1221,11 @@ interface RenderOptions {
1221
1221
  y: number;
1222
1222
  diameter: number;
1223
1223
  } | null;
1224
+ /** Clone Stamp / Healing Brush: where the stroke samples from (a crosshair, document pixels). */
1225
+ cloneSourceMarker?: {
1226
+ x: number;
1227
+ y: number;
1228
+ } | null;
1224
1229
  /**
1225
1230
  * On-canvas text editing (`TextEditSession.overlay()`): the caret as a segment, the selected
1226
1231
  * ranges as quads and the text's frame, in natural pixels.
@@ -2937,7 +2942,7 @@ interface TypeLayerInfo {
2937
2942
  annotationId?: string;
2938
2943
  }
2939
2944
  /** The retouching tools (see `@pixerate/editor/paint`'s retouch module). */
2940
- type RetouchTool = 'clone' | 'heal' | 'spot-heal' | 'smudge' | 'dodge' | 'burn' | 'sponge';
2945
+ type RetouchTool = 'clone' | 'heal' | 'spot-heal' | 'smudge' | 'dodge' | 'burn' | 'sponge' | 'blur' | 'sharpen' | 'history';
2941
2946
  declare const RETOUCH_TOOLS: readonly RetouchTool[];
2942
2947
  declare const isRetouchTool: (tool: unknown) => tool is RetouchTool;
2943
2948
  /** Paint tools a stroke can use. */
@@ -3937,6 +3942,19 @@ declare class ImageEditorController {
3937
3942
  * pixel then comes from the layers. `null` when there is nothing to draw.
3938
3943
  */
3939
3944
  private drawSource;
3945
+ /**
3946
+ * Where the Clone Stamp or Healing Brush samples for a brush at `cursor` (document pixels), or
3947
+ * `null` when neither tool is active or no source is set: the cursor plus the aligned offset
3948
+ * once a stroke has fixed it, else the source point itself (where the next stroke starts
3949
+ * sampling). The editors draw it as the clone source marker.
3950
+ */
3951
+ cloneSourceMarker(cursor?: {
3952
+ x: number;
3953
+ y: number;
3954
+ } | null): {
3955
+ x: number;
3956
+ y: number;
3957
+ } | null;
3940
3958
  render(targetCanvas: HTMLCanvasElement, options?: RenderOptions): Promise<void>;
3941
3959
  renderExport(options?: ExportOptions): Promise<HTMLCanvasElement>;
3942
3960
  /**
@@ -4529,8 +4547,10 @@ interface ImageAnnotation extends BaseAnnotation {
4529
4547
  type Annotation = PenAnnotation | RectAnnotation | CircleAnnotation | ArrowAnnotation | LineAnnotation | TextAnnotation | ImageAnnotation;
4530
4548
  type CreateAnnotationPayload = Omit<PenAnnotation, 'id'> | Omit<RectAnnotation, 'id'> | Omit<CircleAnnotation, 'id'> | Omit<ArrowAnnotation, 'id'> | Omit<LineAnnotation, 'id'> | Omit<TextAnnotation, 'id'> | Omit<ImageAnnotation, 'id'>;
4531
4549
  type ImageEditorTool = 'select' | 'crop' | 'pen' | 'rect' | 'circle' | 'arrow' | 'line' | 'text' | 'watermark' | 'move' | 'brush' | 'eraser' | 'mixer'
4532
- /** Retouching (see `RetouchTool`): Clone Stamp, Healing Brush, Spot Healing, Smudge, Dodge, Burn, Sponge. */
4550
+ /** Retouching (see `RetouchTool`): Clone Stamp, Healing Brush, Spot Healing, Smudge, Dodge, Burn, Sponge, Blur, Sharpen, History Brush. */
4533
4551
  | 'clone' | 'heal' | 'spot-heal' | 'smudge' | 'dodge' | 'burn' | 'sponge'
4552
+ /** Blur, Sharpen and the History Brush (retouching tools too). */
4553
+ | 'blur' | 'sharpen' | 'history'
4534
4554
  /** Live shape layers (see `ShapeDrawGesture`). */
4535
4555
  | 'shape'
4536
4556
  /** Live type layers, edited on the canvas (see `TypeToolGesture`). */
@@ -4714,6 +4734,8 @@ interface PsdExportInput {
4714
4734
  */
4715
4735
  colorMode?: 'rgb' | 'cmyk' | 'lab';
4716
4736
  colorPlanes?: (rgba: Uint8ClampedArray, n: number) => Uint8Array[];
4737
+ /** `colorPlanes` at 16 bits (16-bit sRGB RGBA in): needed to write a CMYK or Lab file at 16 bits. */
4738
+ colorPlanes16?: (rgba: Uint16Array, n: number) => Uint16Array[];
4717
4739
  /** The document's ICC profile, written as image resource 1039. */
4718
4740
  iccProfile?: Uint8Array;
4719
4741
  /** Bits per channel to write (default 8): 16 and 32 write the layers' deep samples (see `raster/deep`). */
@@ -4732,4 +4754,4 @@ interface PsdExportResult {
4732
4754
  /** Writes the prepared stack as PSD (or PSB) bytes. */
4733
4755
  declare function exportPsd(input: PsdExportInput): PsdExportResult;
4734
4756
 
4735
- export { type AspectRatio as $, type AdjustmentKind as A, LayerCompositor as B, type CurvePoint as C, type DepthMaskOptions as D, type LiveShapeKind as E, type TypeLayerInfo as F, type SmartFilter as G, type HueRange as H, type ImageEditorAssetStore as I, type LayerPlacement as J, type FreeTransformMode as K, type LevelsChannel as L, type FreeTransformResult as M, FreeTransformSession as N, type FreeTransformInit as O, type PsdExportResult as P, type TransformAnchor as Q, type RefineEdgeParams as R, type SerializedLayer as S, type TextEnv as T, type AIResultOptions as U, type AdjustmentLayerBase as V, type AdjustmentLayerInit as W, type AdjustmentLayerUpdate as X, type AnnotationPlacement as Y, type AnnotationType as Z, type ArrowAnnotation as _, type ImageAdjustments as a, type LayerMaskProps as a$, type BaseAnnotation as a0, type BlackWhiteParams as a1, type BlurFilter as a2, type CircleAnnotation as a3, type CloneSource as a4, type ColorBalanceParams as a5, type ColorBalanceTone as a6, type ColorRangeOptions as a7, type ColorRangeSample as a8, type ConvertOptions as a9, type HistogramChannel as aA, type HistoryEntryHandle as aB, type HueSaturationParams as aC, IMAGE_EDITOR_SCHEMA_VERSION as aD, IMAGE_EFFECT_PLACES as aE, type ImageAnnotation as aF, type ImageDimensions as aG, type ImageEditorAIHooks as aH, type ImageEditorFit as aI, type ImageEditorOptions as aJ, ImageEditorRenderer as aK, type ImageEditorState as aL, type ImageEditorTool as aM, type ImageEffectGenerator as aN, type ImageEffectPlace as aO, ImageEffectsEngine as aP, type ImageEffectsEngineOptions as aQ, type ImageLayerType as aR, type InpaintHook as aS, type InpaintOptions as aT, type InvertParams as aU, LAYERED_SCHEMA_VERSION as aV, LIVE_SHAPE_KINDS as aW, type LayerBase as aX, type LayerBlendMode as aY, type LayerFilterKind as aZ, type LayerLocation as a_, type CreateAnnotationPayload as aa, type CropHandle as ab, type CurvesParams as ac, DEFAULT_ADJUSTMENTS as ad, DEFAULT_DEPTH_MASK as ae, DEFAULT_MITER_LIMIT as af, DEFAULT_PROOF as ag, DEFAULT_REFINE_EDGE_PARAMS as ah, DEFAULT_TRANSFORM as ai, type DeserializeContext as aj, type DevelopSettings as ak, type DocumentColorMode as al, type DocumentColorProfile as am, EMPTY_DISTANCE as an, type EffectSmartFilter as ao, type ExportOptions as ap, FREE_TRANSFORM_CONTENTS as aq, FREE_TRANSFORM_MODES as ar, type FillOptions as as, type FreeTransformContent as at, type FreeTransformGeometry as au, type FreeTransformHost as av, type FreeTransformPreview as aw, GUIDED_FILTER_EPS as ax, type GroupLayer as ay, HISTOGRAM_BINS as az, type SerializedImageEditorState as b, type SerializedRasterMask as b$, LayerOperationError as b0, type LayerProperties as b1, type LayerSourcesHost as b2, type LayerTarget as b3, type LegacySerializedImageEditorState as b4, type LevelsParams as b5, type LineAnnotation as b6, type LiveShape as b7, type MagicWandOptions as b8, type MixerStrokeInit as b9, RETOUCH_TOOLS as bA, type RectAnnotation as bB, type RemoveBackgroundHook as bC, type RemoveBackgroundOptions as bD, type RenderOptions as bE, type RetouchStrokeInit as bF, type RetouchTool as bG, SELECTION_MODES as bH, SELECTION_MODIFY_OPS as bI, SHAPE_OPERATIONS as bJ, SHAPE_RENDER_MARGIN as bK, SMART_RENDER_MARGIN as bL, type SampleOptions as bM, type SelectionChannel as bN, type SelectionCommandOptions as bO, type SelectionModifyOp as bP, type SerializeContext as bQ, type SerializedAdjustmentLayer as bR, type SerializedAnnotationLayer as bS, type SerializedColorMode as bT, type SerializedColorProfile as bU, type SerializedDeepPixels as bV, type SerializedGroupLayer as bW, type SerializedLayerEffects as bX, type SerializedLayeredImageEditorState as bY, type SerializedPattern as bZ, type SerializedPixelLayer as b_, PARAGRAPH_STYLE_FIELDS as ba, PSD_BLEND_KEYS as bb, type PaintOptions as bc, type PaintStrokeResult as bd, PaintStrokeSession as be, type PenAnnotation as bf, type PhotoFilterParams as bg, type PixelBuffer as bh, type PixelLayerInit as bi, type PixelTransform as bj, type PosterizeParams as bk, type ProofSetup as bl, type PsdChannel as bm, type PsdExportInput as bn, type PsdFile as bo, type PsdHeader as bp, type PsdImportOptions as bq, type PsdImportResult as br, type PsdLayerMask as bs, type PsdLayerRecord as bt, type PsdLayerSummary as bu, type PsdRect as bv, type PsdResource as bw, type PsdSmartFilter as bx, type PsdTaggedBlock as by, type PsdTreeNode as bz, type AdjustmentLayer as c, blurFilter as c$, type SerializedSelection as c0, type SerializedShapeLayer as c1, type SerializedSmartContents as c2, type SerializedSmartFilter as c3, type SerializedSmartObjectLayer as c4, type SerializedTypeLayer as c5, type ShapeArrowhead as c6, type ShapeComponent as c7, type ShapeEnv as c8, type ShapeFillRule as c9, TEXT_RENDER_MARGIN as cA, TEXT_STYLE_FIELDS as cB, TONE_RANGE_PRESETS as cC, TRANSFORM_ANCHORS as cD, type TextAnnotation as cE, type TextLayerInit as cF, type ThresholdParams as cG, type ToneRangePreset as cH, type TransformParams as cI, type TransformReadout as cJ, type TypeLayerData as cK, type TypePsdData as cL, type VibranceParams as cM, type ViewportMetrics as cN, activeEffectSmartFilters as cO, activeSmartFilters as cP, addLayerEffect as cQ, addLayerFilter as cR, addSmartFilter as cS, adjustmentNodeAsLayer as cT, anchorPoint as cU, annotationBlend as cV, annotationOfShape as cW, annotationOfType as cX, applyImageProjectionToContext as cY, applyParams as cZ, applySmartFilters as c_, type ShapeGeometryInput as ca, type ShapeLayerData as cb, type ShapeLayerInfo as cc, type ShapeLayerInit as cd, type ShapeLineCap as ce, type ShapeLineJoin as cf, type ShapeOperation as cg, type ShapePaint as ch, type ShapePsdData as ci, type ShapeSelectionOptions as cj, type ShapeStroke as ck, type ShapeStrokeAlign as cl, type ShapeStrokeInput as cm, type SmartCanvas as cn, type SmartContents as co, type SmartDocument as cp, type SmartEffectResolver as cq, type SmartFilterKind as cr, type SmartFilterStack as cs, type SmartObjectInfo as ct, type SmartObjectLayer as cu, type SmartPlacement as cv, type SmartPsdData as cw, type SmartRenderOptions as cx, type StrokeInit as cy, type StrokeTool as cz, type AdjustmentParamsMap as d, flipCorners as d$, borderCoverage as d0, boxMean as d1, boxPointOf as d2, buildLayerMaskPlanes as d3, calculateCropDrag as d4, canvasToImagePoint as d5, checkImageEffectPlace as d6, clampCropToImage as d7, colorModePlanes as d8, colorRange as d9, depthMaskAlpha as dA, describeTransform as dB, deserializeColorMode as dC, deserializeColorProfile as dD, deserializeEffects as dE, deserializeLayer as dF, deserializeLayers as dG, deserializePatterns as dH, deserializeSelection as dI, developFilter as dJ, displayTransform as dK, distanceTransform as dL, documentContents as dM, documentProfile as dN, duplicateLayer as dO, edgeWidth as dP, effectPixelsToSurface as dQ, effectiveProof as dR, ellipsePoints as dS, ellipseSelection as dT, encodeDeepSurface as dU, encodeSelectionRle as dV, encodeSurface as dW, expandCoverage as dX, exportPsd as dY, featherCoverage as dZ, filterMaskCoverage as d_, combineSelections as da, componentPath as db, compositeDeep as dc, computeHistogram as dd, computeSelectionBounds as de, contentsBox as df, contentsSurface as dg, contractCoverage as dh, convertColorFields as di, convertHex as dj, convertSurfaceColors as dk, convertToSmartObject as dl, copySmartObject as dm, cornersFromMatrix as dn, coverageToByte as dp, createSelectionMask as dq, createShapeLayer as dr, createTypeLayer as ds, decodeDeepSurface as dt, decodeLayerChannel as du, decodeLayerMask as dv, decodeMergedImage as dw, decodePngDataUrl as dx, decodeSelectionRle as dy, defaultShapeName as dz, type AdjustmentLayerMask as e, normalizePlacement as e$, fullSelection as e0, geometryHomography as e1, getAnnotationBounds as e2, getCropCursor as e3, getRotatedSize as e4, getViewportMetrics as e5, getViewportProjection as e6, globalImageCache as e7, greyMorphology as e8, groupLayers as e9, isValidWarp as eA, layerEffectsOf as eB, layerMaskCoverage as eC, layerMaskFromSelection as eD, layerMaskKey as eE, layerName as eF, layerTree as eG, layerTypeLabel as eH, liveComponent as eI, liveShapeSubpaths as eJ, magicWand as eK, mapCropHandle as eL, mapSubpaths as eM, matrixFromCorners as eN, matrixFromParams as eO, mergeShapeComponents as eP, migrateSerializedImageEditorState as eQ, migrateToLayeredState as eR, modifySelection as eS, moveLayer as eT, moveSmartFilter as eU, newContentsId as eV, newLayerId as eW, normalizeAngle as eX, normalizeFilter as eY, normalizeLayerMask as eZ, normalizeLiveShape as e_, guidePlanes as ea, guidedFilterColor as eb, hasSurface as ec, hasWarp as ed, hashMaskContent as ee, histogramPath as ef, hitTestAnnotation as eg, hitTestCrop as eh, hueRange as ei, identityTransform as ej, imageToCanvasPoint as ek, importPsd as el, instancesOf as em, invertSelection as en, isActiveFilter as eo, isContentsDecoded as ep, isIdentityTransform as eq, isQuarterTurnSwapped as er, isRenderedLayer as es, isRetouchTool as et, isSelectionEmpty as eu, isSelectionMode as ev, isSmartSurfaceIncomplete as ew, isSpatialFilter as ex, isSrgb as ey, isTransformAnchor as ez, type AdjustmentLayerOf as f, runLayerFilters as f$, normalizeRect as f0, normalizeRefineEdgeParams as f1, normalizeShapePaint as f2, normalizeShapeStroke as f3, normalizeSmartFilter as f4, normalizeStoredAdjustments as f5, normalizeSubpaths as f6, normalizeText as f7, offsetLayer as f8, offsetShape as f9, referencePoint as fA, refineCoverage as fB, refineEdgeHalo as fC, refineSelection as fD, removeLayer as fE, removeLayerEffect as fF, removeLayerFilter as fG, removeSmartFilter as fH, renderShape as fI, renderShapeRect as fJ, renderSmartObject as fK, renderText as fL, replaceContents as fM, replaceTextRange as fN, requireLayer as fO, requireOperation as fP, requireShapeLayer as fQ, requireSmartObject as fR, requireTypeLayer as fS, requireUnlocked as fT, rerender as fU, rerenderShape as fV, rerenderText as fW, resizePixels as fX, resizeSelection as fY, resolveExternalAssets as fZ, resolveProfile as f_, offsetSmartObject as fa, parseBlend as fb, parseColor as fc, parseSelectionMode as fd, patchParagraphStyle as fe, patchTextStyle as ff, pixelLayerBounds as fg, pixelLayers as fh, placeContents as fi, placeLayer as fj, placementAt as fk, placementBounds as fl, placementGeometry as fm, polygonCoverage as fn, polygonSelection as fo, presetWarp as fp, previewStep as fq, profileBytes as fr, projectImagePoint as fs, projectImageRect as ft, projectMaskCoverage as fu, psdToLayers as fv, rasterContents as fw, rasterizeSmartObject as fx, readPsd as fy, rectSelection as fz, ImageEditorController as g, runLayerFiltersFloat as g0, selectionArea as g1, selectionFromCoverage as g2, selectionFromPixels as g3, selectionToCoverage as g4, selectionToPixels as g5, selectionValueAt as g6, serializeColorMode as g7, serializeColorProfile as g8, serializeContents as g9, toHex as gA, toTextSpace as gB, toneRange as gC, transformHomography as gD, transformMap as gE, transformShapeComponents as gF, transformTypeLayer as gG, transformedBox as gH, transformedPoint as gI, typeAsPixelLayer as gJ, typeFrame as gK, typeFromAnnotation as gL, typeLayerName as gM, ungroupLayer as gN, unionRect as gO, unprojectCanvasPoint as gP, updateLayerEffect as gQ, updateLayerFilter as gR, updateLayerMaskProps as gS, updateShapeLayer as gT, updateSmartFilter as gU, updateTypeLayer as gV, withFilterMaskSurface as gW, withNewIds as gX, writePsd as gY, serializeEffects as ga, serializeLayer as gb, serializeLayers as gc, serializeLayersExternal as gd, serializePatterns as ge, serializeSelection as gf, setLayerEffects as gg, setLayerEffectsEnabled as gh, setLayerMask as gi, setLayerProperties as gj, setSmartFilterMask as gk, setSmartFiltersEnabled as gl, setSmartPlacement as gm, shapeAsPixelLayer as gn, shapeFromAnnotation as go, shapeGeometryBounds as gp, shapeLayers as gq, shapeOutline as gr, shapeRenderClip as gs, shiftCoverage as gt, smartObjectLayers as gu, smoothCoverage as gv, srgb8ToLab as gw, textMatrix as gx, textOutlines as gy, textRange as gz, type SelectionMask as h, type SelectionMode as i, type ColorDistance as j, type ImagePoint as k, type ImageLayer as l, type CropBox as m, type RasterMask as n, type Annotation as o, type AdjustmentLayerNode as p, type AnnotationLayer as q, type ShapeLayer as r, type TypeLayer as s, type LayerFilter as t, type PixelLayer as u, type DevelopFilter as v, type ImageTransform as w, type ImageHistogram as x, type ImageProjection as y, type CompositorSources as z };
4757
+ export { type AspectRatio as $, type AdjustmentKind as A, LayerCompositor as B, type CurvePoint as C, type DepthMaskOptions as D, type LiveShapeKind as E, type TypeLayerInfo as F, type SmartFilter as G, type HueRange as H, type ImageEditorAssetStore as I, type LayerPlacement as J, type FreeTransformMode as K, type LevelsChannel as L, type FreeTransformResult as M, FreeTransformSession as N, type FreeTransformInit as O, type PsdExportResult as P, type TransformAnchor as Q, type RefineEdgeParams as R, type SerializedLayer as S, type TextEnv as T, type AIResultOptions as U, type AdjustmentLayerBase as V, type AdjustmentLayerInit as W, type AdjustmentLayerUpdate as X, type AnnotationPlacement as Y, type AnnotationType as Z, type ArrowAnnotation as _, type ImageAdjustments as a, type LayerMaskProps as a$, type BaseAnnotation as a0, type BlackWhiteParams as a1, type BlurFilter as a2, type CircleAnnotation as a3, type CloneSource as a4, type ColorBalanceParams as a5, type ColorBalanceTone as a6, type ColorRangeOptions as a7, type ColorRangeSample as a8, type ConvertOptions as a9, type HistogramChannel as aA, type HistoryEntryHandle as aB, type HueSaturationParams as aC, IMAGE_EDITOR_SCHEMA_VERSION as aD, IMAGE_EFFECT_PLACES as aE, type ImageAnnotation as aF, type ImageDimensions as aG, type ImageEditorAIHooks as aH, type ImageEditorFit as aI, type ImageEditorOptions as aJ, ImageEditorRenderer as aK, type ImageEditorState as aL, type ImageEditorTool as aM, type ImageEffectGenerator as aN, type ImageEffectPlace as aO, ImageEffectsEngine as aP, type ImageEffectsEngineOptions as aQ, type ImageLayerType as aR, type InpaintHook as aS, type InpaintOptions as aT, type InvertParams as aU, LAYERED_SCHEMA_VERSION as aV, LIVE_SHAPE_KINDS as aW, type LayerBase as aX, type LayerBlendMode as aY, type LayerFilterKind as aZ, type LayerLocation as a_, type CreateAnnotationPayload as aa, type CropHandle as ab, type CurvesParams as ac, DEFAULT_ADJUSTMENTS as ad, DEFAULT_DEPTH_MASK as ae, DEFAULT_MITER_LIMIT as af, DEFAULT_PROOF as ag, DEFAULT_REFINE_EDGE_PARAMS as ah, DEFAULT_TRANSFORM as ai, type DeserializeContext as aj, type DevelopSettings as ak, type DocumentColorMode as al, type DocumentColorProfile as am, EMPTY_DISTANCE as an, type EffectSmartFilter as ao, type ExportOptions as ap, FREE_TRANSFORM_CONTENTS as aq, FREE_TRANSFORM_MODES as ar, type FillOptions as as, type FreeTransformContent as at, type FreeTransformGeometry as au, type FreeTransformHost as av, type FreeTransformPreview as aw, GUIDED_FILTER_EPS as ax, type GroupLayer as ay, HISTOGRAM_BINS as az, type SerializedImageEditorState as b, type SerializedRasterMask as b$, LayerOperationError as b0, type LayerProperties as b1, type LayerSourcesHost as b2, type LayerTarget as b3, type LegacySerializedImageEditorState as b4, type LevelsParams as b5, type LineAnnotation as b6, type LiveShape as b7, type MagicWandOptions as b8, type MixerStrokeInit as b9, RETOUCH_TOOLS as bA, type RectAnnotation as bB, type RemoveBackgroundHook as bC, type RemoveBackgroundOptions as bD, type RenderOptions as bE, type RetouchStrokeInit as bF, type RetouchTool as bG, SELECTION_MODES as bH, SELECTION_MODIFY_OPS as bI, SHAPE_OPERATIONS as bJ, SHAPE_RENDER_MARGIN as bK, SMART_RENDER_MARGIN as bL, type SampleOptions as bM, type SelectionChannel as bN, type SelectionCommandOptions as bO, type SelectionModifyOp as bP, type SerializeContext as bQ, type SerializedAdjustmentLayer as bR, type SerializedAnnotationLayer as bS, type SerializedColorMode as bT, type SerializedColorProfile as bU, type SerializedDeepPixels as bV, type SerializedGroupLayer as bW, type SerializedLayerEffects as bX, type SerializedLayeredImageEditorState as bY, type SerializedPattern as bZ, type SerializedPixelLayer as b_, PARAGRAPH_STYLE_FIELDS as ba, PSD_BLEND_KEYS as bb, type PaintOptions as bc, type PaintStrokeResult as bd, PaintStrokeSession as be, type PenAnnotation as bf, type PhotoFilterParams as bg, type PixelBuffer as bh, type PixelLayerInit as bi, type PixelTransform as bj, type PosterizeParams as bk, type ProofSetup as bl, type PsdChannel as bm, type PsdExportInput as bn, type PsdFile as bo, type PsdHeader as bp, type PsdImportOptions as bq, type PsdImportResult as br, type PsdLayerMask as bs, type PsdLayerRecord as bt, type PsdLayerSummary as bu, type PsdRect as bv, type PsdResource as bw, type PsdSmartFilter as bx, type PsdTaggedBlock as by, type PsdTreeNode as bz, type AdjustmentLayer as c, blurFilter as c$, type SerializedSelection as c0, type SerializedShapeLayer as c1, type SerializedSmartContents as c2, type SerializedSmartFilter as c3, type SerializedSmartObjectLayer as c4, type SerializedTypeLayer as c5, type ShapeArrowhead as c6, type ShapeComponent as c7, type ShapeEnv as c8, type ShapeFillRule as c9, TEXT_RENDER_MARGIN as cA, TEXT_STYLE_FIELDS as cB, TONE_RANGE_PRESETS as cC, TRANSFORM_ANCHORS as cD, type TextAnnotation as cE, type TextLayerInit as cF, type ThresholdParams as cG, type ToneRangePreset as cH, type TransformParams as cI, type TransformReadout as cJ, type TypeLayerData as cK, type TypePsdData as cL, type VibranceParams as cM, type ViewportMetrics as cN, activeEffectSmartFilters as cO, activeSmartFilters as cP, addLayerEffect as cQ, addLayerFilter as cR, addSmartFilter as cS, adjustmentNodeAsLayer as cT, anchorPoint as cU, annotationBlend as cV, annotationOfShape as cW, annotationOfType as cX, applyImageProjectionToContext as cY, applyParams as cZ, applySmartFilters as c_, type ShapeGeometryInput as ca, type ShapeLayerData as cb, type ShapeLayerInfo as cc, type ShapeLayerInit as cd, type ShapeLineCap as ce, type ShapeLineJoin as cf, type ShapeOperation as cg, type ShapePaint as ch, type ShapePsdData as ci, type ShapeSelectionOptions as cj, type ShapeStroke as ck, type ShapeStrokeAlign as cl, type ShapeStrokeInput as cm, type SmartCanvas as cn, type SmartContents as co, type SmartDocument as cp, type SmartEffectResolver as cq, type SmartFilterKind as cr, type SmartFilterStack as cs, type SmartObjectInfo as ct, type SmartObjectLayer as cu, type SmartPlacement as cv, type SmartPsdData as cw, type SmartRenderOptions as cx, type StrokeInit as cy, type StrokeTool as cz, type AdjustmentParamsMap as d, filterMaskCoverage as d$, borderCoverage as d0, boxMean as d1, boxPointOf as d2, buildLayerMaskPlanes as d3, calculateCropDrag as d4, canvasToImagePoint as d5, checkImageEffectPlace as d6, clampCropToImage as d7, colorModePlanes as d8, colorModePlanes16 as d9, defaultShapeName as dA, depthMaskAlpha as dB, describeTransform as dC, deserializeColorMode as dD, deserializeColorProfile as dE, deserializeEffects as dF, deserializeLayer as dG, deserializeLayers as dH, deserializePatterns as dI, deserializeSelection as dJ, developFilter as dK, displayTransform as dL, distanceTransform as dM, documentContents as dN, documentProfile as dO, duplicateLayer as dP, edgeWidth as dQ, effectPixelsToSurface as dR, effectiveProof as dS, ellipsePoints as dT, ellipseSelection as dU, encodeDeepSurface as dV, encodeSelectionRle as dW, encodeSurface as dX, expandCoverage as dY, exportPsd as dZ, featherCoverage as d_, colorRange as da, combineSelections as db, componentPath as dc, compositeDeep as dd, computeHistogram as de, computeSelectionBounds as df, contentsBox as dg, contentsSurface as dh, contractCoverage as di, convertColorFields as dj, convertHex as dk, convertSurfaceColors as dl, convertToSmartObject as dm, copySmartObject as dn, cornersFromMatrix as dp, coverageToByte as dq, createSelectionMask as dr, createShapeLayer as ds, createTypeLayer as dt, decodeDeepSurface as du, decodeLayerChannel as dv, decodeLayerMask as dw, decodeMergedImage as dx, decodePngDataUrl as dy, decodeSelectionRle as dz, type AdjustmentLayerMask as e, normalizeLiveShape as e$, flipCorners as e0, fullSelection as e1, geometryHomography as e2, getAnnotationBounds as e3, getCropCursor as e4, getRotatedSize as e5, getViewportMetrics as e6, getViewportProjection as e7, globalImageCache as e8, greyMorphology as e9, isTransformAnchor as eA, isValidWarp as eB, layerEffectsOf as eC, layerMaskCoverage as eD, layerMaskFromSelection as eE, layerMaskKey as eF, layerName as eG, layerTree as eH, layerTypeLabel as eI, liveComponent as eJ, liveShapeSubpaths as eK, magicWand as eL, mapCropHandle as eM, mapSubpaths as eN, matrixFromCorners as eO, matrixFromParams as eP, mergeShapeComponents as eQ, migrateSerializedImageEditorState as eR, migrateToLayeredState as eS, modifySelection as eT, moveLayer as eU, moveSmartFilter as eV, newContentsId as eW, newLayerId as eX, normalizeAngle as eY, normalizeFilter as eZ, normalizeLayerMask as e_, groupLayers as ea, guidePlanes as eb, guidedFilterColor as ec, hasSurface as ed, hasWarp as ee, hashMaskContent as ef, histogramPath as eg, hitTestAnnotation as eh, hitTestCrop as ei, hueRange as ej, identityTransform as ek, imageToCanvasPoint as el, importPsd as em, instancesOf as en, invertSelection as eo, isActiveFilter as ep, isContentsDecoded as eq, isIdentityTransform as er, isQuarterTurnSwapped as es, isRenderedLayer as et, isRetouchTool as eu, isSelectionEmpty as ev, isSelectionMode as ew, isSmartSurfaceIncomplete as ex, isSpatialFilter as ey, isSrgb as ez, type AdjustmentLayerOf as f, resolveProfile as f$, normalizePlacement as f0, normalizeRect as f1, normalizeRefineEdgeParams as f2, normalizeShapePaint as f3, normalizeShapeStroke as f4, normalizeSmartFilter as f5, normalizeStoredAdjustments as f6, normalizeSubpaths as f7, normalizeText as f8, offsetLayer as f9, rectSelection as fA, referencePoint as fB, refineCoverage as fC, refineEdgeHalo as fD, refineSelection as fE, removeLayer as fF, removeLayerEffect as fG, removeLayerFilter as fH, removeSmartFilter as fI, renderShape as fJ, renderShapeRect as fK, renderSmartObject as fL, renderText as fM, replaceContents as fN, replaceTextRange as fO, requireLayer as fP, requireOperation as fQ, requireShapeLayer as fR, requireSmartObject as fS, requireTypeLayer as fT, requireUnlocked as fU, rerender as fV, rerenderShape as fW, rerenderText as fX, resizePixels as fY, resizeSelection as fZ, resolveExternalAssets as f_, offsetShape as fa, offsetSmartObject as fb, parseBlend as fc, parseColor as fd, parseSelectionMode as fe, patchParagraphStyle as ff, patchTextStyle as fg, pixelLayerBounds as fh, pixelLayers as fi, placeContents as fj, placeLayer as fk, placementAt as fl, placementBounds as fm, placementGeometry as fn, polygonCoverage as fo, polygonSelection as fp, presetWarp as fq, previewStep as fr, profileBytes as fs, projectImagePoint as ft, projectImageRect as fu, projectMaskCoverage as fv, psdToLayers as fw, rasterContents as fx, rasterizeSmartObject as fy, readPsd as fz, ImageEditorController as g, runLayerFilters as g0, runLayerFiltersFloat as g1, selectionArea as g2, selectionFromCoverage as g3, selectionFromPixels as g4, selectionToCoverage as g5, selectionToPixels as g6, selectionValueAt as g7, serializeColorMode as g8, serializeColorProfile as g9, textRange as gA, toHex as gB, toTextSpace as gC, toneRange as gD, transformHomography as gE, transformMap as gF, transformShapeComponents as gG, transformTypeLayer as gH, transformedBox as gI, transformedPoint as gJ, typeAsPixelLayer as gK, typeFrame as gL, typeFromAnnotation as gM, typeLayerName as gN, ungroupLayer as gO, unionRect as gP, unprojectCanvasPoint as gQ, updateLayerEffect as gR, updateLayerFilter as gS, updateLayerMaskProps as gT, updateShapeLayer as gU, updateSmartFilter as gV, updateTypeLayer as gW, withFilterMaskSurface as gX, withNewIds as gY, writePsd as gZ, serializeContents as ga, serializeEffects as gb, serializeLayer as gc, serializeLayers as gd, serializeLayersExternal as ge, serializePatterns as gf, serializeSelection as gg, setLayerEffects as gh, setLayerEffectsEnabled as gi, setLayerMask as gj, setLayerProperties as gk, setSmartFilterMask as gl, setSmartFiltersEnabled as gm, setSmartPlacement as gn, shapeAsPixelLayer as go, shapeFromAnnotation as gp, shapeGeometryBounds as gq, shapeLayers as gr, shapeOutline as gs, shapeRenderClip as gt, shiftCoverage as gu, smartObjectLayers as gv, smoothCoverage as gw, srgb8ToLab as gx, textMatrix as gy, textOutlines as gz, type SelectionMask as h, type SelectionMode as i, type ColorDistance as j, type ImagePoint as k, type ImageLayer as l, type CropBox as m, type RasterMask as n, type Annotation as o, type AdjustmentLayerNode as p, type AnnotationLayer as q, type ShapeLayer as r, type TypeLayer as s, type LayerFilter as t, type PixelLayer as u, type DevelopFilter as v, type ImageTransform as w, type ImageHistogram as x, type ImageProjection as y, type CompositorSources as z };
@@ -1,4 +1,4 @@
1
- import { e as EffectValue, v as EffectsSlot, b as EffectPixels, E as EffectProvider, f as EffectDescription } from './helpers-CzZu51eI.cjs';
1
+ import { e as EffectValue, v as EffectsSlot, b as EffectPixels, E as EffectProvider, f as EffectDescription } from './helpers-BuKdqUlM.cjs';
2
2
 
3
3
  /**
4
4
  * Keyframes for a clip's opacity, volume and transform. A property is either a plain number or
@@ -2,10 +2,10 @@ import { a2 as RasterLayerBase, a3 as RasterMask$1, a5 as RasterPixelLayer, H as
2
2
  import { c as PixelSurface, a as BlendMode, T as TiledSurface, R as RasterRect } from './surface-1MRncXpF.js';
3
3
  import { b as BuiltinProfileId, j as Intent, P as Profile, T as Transform, d as ColorSpace } from './builtin-CY97ppKM.js';
4
4
  import { A as AffineMatrix, Q as Quad, a as WarpMesh, V as Vec2, H as Homography } from './types-CwMPoRMU.js';
5
- import { B as BezierPath } from './bezier-CigmusV_.js';
6
- import { b as TextRun, P as ParagraphRun, T as TextShaper, c as ParagraphStyle, d as TextStyle, L as LaidFragment, W as WarpPreset, e as TextLayout } from './warp-CZVC8pB5.js';
7
- import { e as EffectValue, a3 as VectorSubpath, v as EffectsSlot, E as EffectProvider, b as EffectPixels, f as EffectDescription, X as Vec2$1 } from './helpers-X_rycLNJ.js';
8
- import { B as BrushSettings, P as PaintSource, M as MixerSettings, a as MixerLoad, R as RetouchSettings, S as StrokeCoverage, b as MixerTarget, c as MixerStroke, d as RetouchApply, e as StrokePoint, f as RetouchPaint, C as CoverageMap, g as PaintTileTarget, h as StrokeApply } from './rand-pQQ2sJTk.js';
5
+ import { B as BezierPath } from './bezier-BAGdL89w.js';
6
+ import { b as TextRun, P as ParagraphRun, T as TextShaper, c as ParagraphStyle, d as TextStyle, L as LaidFragment, W as WarpPreset, e as TextLayout } from './warp-mKylbLiF.js';
7
+ import { e as EffectValue, a3 as VectorSubpath, v as EffectsSlot, E as EffectProvider, b as EffectPixels, f as EffectDescription, X as Vec2$1 } from './helpers-cssRNUzH.js';
8
+ import { B as BrushSettings, P as PaintSource, M as MixerSettings, a as MixerLoad, R as RetouchSettings, S as StrokeCoverage, b as MixerTarget, c as MixerStroke, d as RetouchApply, e as StrokePoint, f as RetouchPaint, C as CoverageMap, g as PaintTileTarget, h as StrokeApply } from './rand-BaqEOs1Y.js';
9
9
 
10
10
  /**
11
11
  * A selection: one 8-bit coverage value per image pixel (0 = not selected, 255 = fully
@@ -634,6 +634,8 @@ declare function effectiveProof(proof: ProofSetup | null | undefined, mode: Docu
634
634
  * CMYK as Photoshop stores it (255 = no ink), Lab with L 0..255 for 0..100 and a, b offset by 128.
635
635
  */
636
636
  declare function colorModePlanes(doc: DocumentColorProfile | null | undefined, mode: DocumentColorMode): (rgba: Uint8ClampedArray, n: number) => Uint8Array[];
637
+ /** `colorModePlanes` at 16 bits: 16-bit sRGB-encoded RGBA in, the mode's 16-bit planes out (CMYK 65535 = no ink). */
638
+ declare function colorModePlanes16(doc: DocumentColorProfile | null | undefined, mode: DocumentColorMode): (rgba: Uint16Array, n: number) => Uint16Array[];
637
639
  /** The profile a document profile names (sRGB when missing). Throws `CmsError` for unreadable ICC bytes. */
638
640
  declare function resolveProfile(doc: DocumentColorProfile | null | undefined): Profile;
639
641
  /** The ICC bytes to embed for a document profile. */
@@ -1176,8 +1178,7 @@ declare function depthMaskAlpha(depth: number, options: DepthMaskOptions): numbe
1176
1178
  declare function runLayerFilters(data: Uint8ClampedArray, width: number, height: number, filters: readonly LayerFilter[]): void;
1177
1179
  /**
1178
1180
  * `runLayerFilters` on float RGBA for high bit depth (sRGB-encoded 0..1, or linear light when
1179
- * `linear`). Develop filters on the current process and blurs keep full precision; a develop
1180
- * filter on a legacy process runs on the 8-bit rendering.
1181
+ * `linear`). Develop filters (current and legacy process) and blurs keep full precision.
1181
1182
  */
1182
1183
  declare function runLayerFiltersFloat(data: Float32Array, width: number, height: number, filters: readonly LayerFilter[], linear: boolean): void;
1183
1184
  /** The per-tile compositor for image editor layer stacks (see the raster module for the caches). */
@@ -1187,8 +1188,7 @@ declare class LayerCompositor extends RasterCompositor<ImageLayer, CompositorSou
1187
1188
  /**
1188
1189
  * The composite of an image editor stack at 16 or 32 bits (see `raster/deep-compositor`): float
1189
1190
  * RGBA over `rect`, sRGB-encoded 0..1 at 16 bits, linear light at 32. Adjustment layers, layer
1190
- * filters and layer effects run in float; groups with effects, legacy-process develop filters and
1191
- * annotation layers are drawn at 8 bits.
1191
+ * filters and layer effects (groups' included) run in float; annotation layers are drawn at 8 bits.
1192
1192
  */
1193
1193
  declare function compositeDeep(layers: readonly ImageLayer[], rect: RasterRect, sources: CompositorSources, depth: 16 | 32): Float32Array;
1194
1194
 
@@ -1221,6 +1221,11 @@ interface RenderOptions {
1221
1221
  y: number;
1222
1222
  diameter: number;
1223
1223
  } | null;
1224
+ /** Clone Stamp / Healing Brush: where the stroke samples from (a crosshair, document pixels). */
1225
+ cloneSourceMarker?: {
1226
+ x: number;
1227
+ y: number;
1228
+ } | null;
1224
1229
  /**
1225
1230
  * On-canvas text editing (`TextEditSession.overlay()`): the caret as a segment, the selected
1226
1231
  * ranges as quads and the text's frame, in natural pixels.
@@ -2937,7 +2942,7 @@ interface TypeLayerInfo {
2937
2942
  annotationId?: string;
2938
2943
  }
2939
2944
  /** The retouching tools (see `@pixerate/editor/paint`'s retouch module). */
2940
- type RetouchTool = 'clone' | 'heal' | 'spot-heal' | 'smudge' | 'dodge' | 'burn' | 'sponge';
2945
+ type RetouchTool = 'clone' | 'heal' | 'spot-heal' | 'smudge' | 'dodge' | 'burn' | 'sponge' | 'blur' | 'sharpen' | 'history';
2941
2946
  declare const RETOUCH_TOOLS: readonly RetouchTool[];
2942
2947
  declare const isRetouchTool: (tool: unknown) => tool is RetouchTool;
2943
2948
  /** Paint tools a stroke can use. */
@@ -3937,6 +3942,19 @@ declare class ImageEditorController {
3937
3942
  * pixel then comes from the layers. `null` when there is nothing to draw.
3938
3943
  */
3939
3944
  private drawSource;
3945
+ /**
3946
+ * Where the Clone Stamp or Healing Brush samples for a brush at `cursor` (document pixels), or
3947
+ * `null` when neither tool is active or no source is set: the cursor plus the aligned offset
3948
+ * once a stroke has fixed it, else the source point itself (where the next stroke starts
3949
+ * sampling). The editors draw it as the clone source marker.
3950
+ */
3951
+ cloneSourceMarker(cursor?: {
3952
+ x: number;
3953
+ y: number;
3954
+ } | null): {
3955
+ x: number;
3956
+ y: number;
3957
+ } | null;
3940
3958
  render(targetCanvas: HTMLCanvasElement, options?: RenderOptions): Promise<void>;
3941
3959
  renderExport(options?: ExportOptions): Promise<HTMLCanvasElement>;
3942
3960
  /**
@@ -4529,8 +4547,10 @@ interface ImageAnnotation extends BaseAnnotation {
4529
4547
  type Annotation = PenAnnotation | RectAnnotation | CircleAnnotation | ArrowAnnotation | LineAnnotation | TextAnnotation | ImageAnnotation;
4530
4548
  type CreateAnnotationPayload = Omit<PenAnnotation, 'id'> | Omit<RectAnnotation, 'id'> | Omit<CircleAnnotation, 'id'> | Omit<ArrowAnnotation, 'id'> | Omit<LineAnnotation, 'id'> | Omit<TextAnnotation, 'id'> | Omit<ImageAnnotation, 'id'>;
4531
4549
  type ImageEditorTool = 'select' | 'crop' | 'pen' | 'rect' | 'circle' | 'arrow' | 'line' | 'text' | 'watermark' | 'move' | 'brush' | 'eraser' | 'mixer'
4532
- /** Retouching (see `RetouchTool`): Clone Stamp, Healing Brush, Spot Healing, Smudge, Dodge, Burn, Sponge. */
4550
+ /** Retouching (see `RetouchTool`): Clone Stamp, Healing Brush, Spot Healing, Smudge, Dodge, Burn, Sponge, Blur, Sharpen, History Brush. */
4533
4551
  | 'clone' | 'heal' | 'spot-heal' | 'smudge' | 'dodge' | 'burn' | 'sponge'
4552
+ /** Blur, Sharpen and the History Brush (retouching tools too). */
4553
+ | 'blur' | 'sharpen' | 'history'
4534
4554
  /** Live shape layers (see `ShapeDrawGesture`). */
4535
4555
  | 'shape'
4536
4556
  /** Live type layers, edited on the canvas (see `TypeToolGesture`). */
@@ -4714,6 +4734,8 @@ interface PsdExportInput {
4714
4734
  */
4715
4735
  colorMode?: 'rgb' | 'cmyk' | 'lab';
4716
4736
  colorPlanes?: (rgba: Uint8ClampedArray, n: number) => Uint8Array[];
4737
+ /** `colorPlanes` at 16 bits (16-bit sRGB RGBA in): needed to write a CMYK or Lab file at 16 bits. */
4738
+ colorPlanes16?: (rgba: Uint16Array, n: number) => Uint16Array[];
4717
4739
  /** The document's ICC profile, written as image resource 1039. */
4718
4740
  iccProfile?: Uint8Array;
4719
4741
  /** Bits per channel to write (default 8): 16 and 32 write the layers' deep samples (see `raster/deep`). */
@@ -4732,4 +4754,4 @@ interface PsdExportResult {
4732
4754
  /** Writes the prepared stack as PSD (or PSB) bytes. */
4733
4755
  declare function exportPsd(input: PsdExportInput): PsdExportResult;
4734
4756
 
4735
- export { type AspectRatio as $, type AdjustmentKind as A, LayerCompositor as B, type CurvePoint as C, type DepthMaskOptions as D, type LiveShapeKind as E, type TypeLayerInfo as F, type SmartFilter as G, type HueRange as H, type ImageEditorAssetStore as I, type LayerPlacement as J, type FreeTransformMode as K, type LevelsChannel as L, type FreeTransformResult as M, FreeTransformSession as N, type FreeTransformInit as O, type PsdExportResult as P, type TransformAnchor as Q, type RefineEdgeParams as R, type SerializedLayer as S, type TextEnv as T, type AIResultOptions as U, type AdjustmentLayerBase as V, type AdjustmentLayerInit as W, type AdjustmentLayerUpdate as X, type AnnotationPlacement as Y, type AnnotationType as Z, type ArrowAnnotation as _, type ImageAdjustments as a, type LayerMaskProps as a$, type BaseAnnotation as a0, type BlackWhiteParams as a1, type BlurFilter as a2, type CircleAnnotation as a3, type CloneSource as a4, type ColorBalanceParams as a5, type ColorBalanceTone as a6, type ColorRangeOptions as a7, type ColorRangeSample as a8, type ConvertOptions as a9, type HistogramChannel as aA, type HistoryEntryHandle as aB, type HueSaturationParams as aC, IMAGE_EDITOR_SCHEMA_VERSION as aD, IMAGE_EFFECT_PLACES as aE, type ImageAnnotation as aF, type ImageDimensions as aG, type ImageEditorAIHooks as aH, type ImageEditorFit as aI, type ImageEditorOptions as aJ, ImageEditorRenderer as aK, type ImageEditorState as aL, type ImageEditorTool as aM, type ImageEffectGenerator as aN, type ImageEffectPlace as aO, ImageEffectsEngine as aP, type ImageEffectsEngineOptions as aQ, type ImageLayerType as aR, type InpaintHook as aS, type InpaintOptions as aT, type InvertParams as aU, LAYERED_SCHEMA_VERSION as aV, LIVE_SHAPE_KINDS as aW, type LayerBase as aX, type LayerBlendMode as aY, type LayerFilterKind as aZ, type LayerLocation as a_, type CreateAnnotationPayload as aa, type CropHandle as ab, type CurvesParams as ac, DEFAULT_ADJUSTMENTS as ad, DEFAULT_DEPTH_MASK as ae, DEFAULT_MITER_LIMIT as af, DEFAULT_PROOF as ag, DEFAULT_REFINE_EDGE_PARAMS as ah, DEFAULT_TRANSFORM as ai, type DeserializeContext as aj, type DevelopSettings as ak, type DocumentColorMode as al, type DocumentColorProfile as am, EMPTY_DISTANCE as an, type EffectSmartFilter as ao, type ExportOptions as ap, FREE_TRANSFORM_CONTENTS as aq, FREE_TRANSFORM_MODES as ar, type FillOptions as as, type FreeTransformContent as at, type FreeTransformGeometry as au, type FreeTransformHost as av, type FreeTransformPreview as aw, GUIDED_FILTER_EPS as ax, type GroupLayer as ay, HISTOGRAM_BINS as az, type SerializedImageEditorState as b, type SerializedRasterMask as b$, LayerOperationError as b0, type LayerProperties as b1, type LayerSourcesHost as b2, type LayerTarget as b3, type LegacySerializedImageEditorState as b4, type LevelsParams as b5, type LineAnnotation as b6, type LiveShape as b7, type MagicWandOptions as b8, type MixerStrokeInit as b9, RETOUCH_TOOLS as bA, type RectAnnotation as bB, type RemoveBackgroundHook as bC, type RemoveBackgroundOptions as bD, type RenderOptions as bE, type RetouchStrokeInit as bF, type RetouchTool as bG, SELECTION_MODES as bH, SELECTION_MODIFY_OPS as bI, SHAPE_OPERATIONS as bJ, SHAPE_RENDER_MARGIN as bK, SMART_RENDER_MARGIN as bL, type SampleOptions as bM, type SelectionChannel as bN, type SelectionCommandOptions as bO, type SelectionModifyOp as bP, type SerializeContext as bQ, type SerializedAdjustmentLayer as bR, type SerializedAnnotationLayer as bS, type SerializedColorMode as bT, type SerializedColorProfile as bU, type SerializedDeepPixels as bV, type SerializedGroupLayer as bW, type SerializedLayerEffects as bX, type SerializedLayeredImageEditorState as bY, type SerializedPattern as bZ, type SerializedPixelLayer as b_, PARAGRAPH_STYLE_FIELDS as ba, PSD_BLEND_KEYS as bb, type PaintOptions as bc, type PaintStrokeResult as bd, PaintStrokeSession as be, type PenAnnotation as bf, type PhotoFilterParams as bg, type PixelBuffer as bh, type PixelLayerInit as bi, type PixelTransform as bj, type PosterizeParams as bk, type ProofSetup as bl, type PsdChannel as bm, type PsdExportInput as bn, type PsdFile as bo, type PsdHeader as bp, type PsdImportOptions as bq, type PsdImportResult as br, type PsdLayerMask as bs, type PsdLayerRecord as bt, type PsdLayerSummary as bu, type PsdRect as bv, type PsdResource as bw, type PsdSmartFilter as bx, type PsdTaggedBlock as by, type PsdTreeNode as bz, type AdjustmentLayer as c, blurFilter as c$, type SerializedSelection as c0, type SerializedShapeLayer as c1, type SerializedSmartContents as c2, type SerializedSmartFilter as c3, type SerializedSmartObjectLayer as c4, type SerializedTypeLayer as c5, type ShapeArrowhead as c6, type ShapeComponent as c7, type ShapeEnv as c8, type ShapeFillRule as c9, TEXT_RENDER_MARGIN as cA, TEXT_STYLE_FIELDS as cB, TONE_RANGE_PRESETS as cC, TRANSFORM_ANCHORS as cD, type TextAnnotation as cE, type TextLayerInit as cF, type ThresholdParams as cG, type ToneRangePreset as cH, type TransformParams as cI, type TransformReadout as cJ, type TypeLayerData as cK, type TypePsdData as cL, type VibranceParams as cM, type ViewportMetrics as cN, activeEffectSmartFilters as cO, activeSmartFilters as cP, addLayerEffect as cQ, addLayerFilter as cR, addSmartFilter as cS, adjustmentNodeAsLayer as cT, anchorPoint as cU, annotationBlend as cV, annotationOfShape as cW, annotationOfType as cX, applyImageProjectionToContext as cY, applyParams as cZ, applySmartFilters as c_, type ShapeGeometryInput as ca, type ShapeLayerData as cb, type ShapeLayerInfo as cc, type ShapeLayerInit as cd, type ShapeLineCap as ce, type ShapeLineJoin as cf, type ShapeOperation as cg, type ShapePaint as ch, type ShapePsdData as ci, type ShapeSelectionOptions as cj, type ShapeStroke as ck, type ShapeStrokeAlign as cl, type ShapeStrokeInput as cm, type SmartCanvas as cn, type SmartContents as co, type SmartDocument as cp, type SmartEffectResolver as cq, type SmartFilterKind as cr, type SmartFilterStack as cs, type SmartObjectInfo as ct, type SmartObjectLayer as cu, type SmartPlacement as cv, type SmartPsdData as cw, type SmartRenderOptions as cx, type StrokeInit as cy, type StrokeTool as cz, type AdjustmentParamsMap as d, flipCorners as d$, borderCoverage as d0, boxMean as d1, boxPointOf as d2, buildLayerMaskPlanes as d3, calculateCropDrag as d4, canvasToImagePoint as d5, checkImageEffectPlace as d6, clampCropToImage as d7, colorModePlanes as d8, colorRange as d9, depthMaskAlpha as dA, describeTransform as dB, deserializeColorMode as dC, deserializeColorProfile as dD, deserializeEffects as dE, deserializeLayer as dF, deserializeLayers as dG, deserializePatterns as dH, deserializeSelection as dI, developFilter as dJ, displayTransform as dK, distanceTransform as dL, documentContents as dM, documentProfile as dN, duplicateLayer as dO, edgeWidth as dP, effectPixelsToSurface as dQ, effectiveProof as dR, ellipsePoints as dS, ellipseSelection as dT, encodeDeepSurface as dU, encodeSelectionRle as dV, encodeSurface as dW, expandCoverage as dX, exportPsd as dY, featherCoverage as dZ, filterMaskCoverage as d_, combineSelections as da, componentPath as db, compositeDeep as dc, computeHistogram as dd, computeSelectionBounds as de, contentsBox as df, contentsSurface as dg, contractCoverage as dh, convertColorFields as di, convertHex as dj, convertSurfaceColors as dk, convertToSmartObject as dl, copySmartObject as dm, cornersFromMatrix as dn, coverageToByte as dp, createSelectionMask as dq, createShapeLayer as dr, createTypeLayer as ds, decodeDeepSurface as dt, decodeLayerChannel as du, decodeLayerMask as dv, decodeMergedImage as dw, decodePngDataUrl as dx, decodeSelectionRle as dy, defaultShapeName as dz, type AdjustmentLayerMask as e, normalizePlacement as e$, fullSelection as e0, geometryHomography as e1, getAnnotationBounds as e2, getCropCursor as e3, getRotatedSize as e4, getViewportMetrics as e5, getViewportProjection as e6, globalImageCache as e7, greyMorphology as e8, groupLayers as e9, isValidWarp as eA, layerEffectsOf as eB, layerMaskCoverage as eC, layerMaskFromSelection as eD, layerMaskKey as eE, layerName as eF, layerTree as eG, layerTypeLabel as eH, liveComponent as eI, liveShapeSubpaths as eJ, magicWand as eK, mapCropHandle as eL, mapSubpaths as eM, matrixFromCorners as eN, matrixFromParams as eO, mergeShapeComponents as eP, migrateSerializedImageEditorState as eQ, migrateToLayeredState as eR, modifySelection as eS, moveLayer as eT, moveSmartFilter as eU, newContentsId as eV, newLayerId as eW, normalizeAngle as eX, normalizeFilter as eY, normalizeLayerMask as eZ, normalizeLiveShape as e_, guidePlanes as ea, guidedFilterColor as eb, hasSurface as ec, hasWarp as ed, hashMaskContent as ee, histogramPath as ef, hitTestAnnotation as eg, hitTestCrop as eh, hueRange as ei, identityTransform as ej, imageToCanvasPoint as ek, importPsd as el, instancesOf as em, invertSelection as en, isActiveFilter as eo, isContentsDecoded as ep, isIdentityTransform as eq, isQuarterTurnSwapped as er, isRenderedLayer as es, isRetouchTool as et, isSelectionEmpty as eu, isSelectionMode as ev, isSmartSurfaceIncomplete as ew, isSpatialFilter as ex, isSrgb as ey, isTransformAnchor as ez, type AdjustmentLayerOf as f, runLayerFilters as f$, normalizeRect as f0, normalizeRefineEdgeParams as f1, normalizeShapePaint as f2, normalizeShapeStroke as f3, normalizeSmartFilter as f4, normalizeStoredAdjustments as f5, normalizeSubpaths as f6, normalizeText as f7, offsetLayer as f8, offsetShape as f9, referencePoint as fA, refineCoverage as fB, refineEdgeHalo as fC, refineSelection as fD, removeLayer as fE, removeLayerEffect as fF, removeLayerFilter as fG, removeSmartFilter as fH, renderShape as fI, renderShapeRect as fJ, renderSmartObject as fK, renderText as fL, replaceContents as fM, replaceTextRange as fN, requireLayer as fO, requireOperation as fP, requireShapeLayer as fQ, requireSmartObject as fR, requireTypeLayer as fS, requireUnlocked as fT, rerender as fU, rerenderShape as fV, rerenderText as fW, resizePixels as fX, resizeSelection as fY, resolveExternalAssets as fZ, resolveProfile as f_, offsetSmartObject as fa, parseBlend as fb, parseColor as fc, parseSelectionMode as fd, patchParagraphStyle as fe, patchTextStyle as ff, pixelLayerBounds as fg, pixelLayers as fh, placeContents as fi, placeLayer as fj, placementAt as fk, placementBounds as fl, placementGeometry as fm, polygonCoverage as fn, polygonSelection as fo, presetWarp as fp, previewStep as fq, profileBytes as fr, projectImagePoint as fs, projectImageRect as ft, projectMaskCoverage as fu, psdToLayers as fv, rasterContents as fw, rasterizeSmartObject as fx, readPsd as fy, rectSelection as fz, ImageEditorController as g, runLayerFiltersFloat as g0, selectionArea as g1, selectionFromCoverage as g2, selectionFromPixels as g3, selectionToCoverage as g4, selectionToPixels as g5, selectionValueAt as g6, serializeColorMode as g7, serializeColorProfile as g8, serializeContents as g9, toHex as gA, toTextSpace as gB, toneRange as gC, transformHomography as gD, transformMap as gE, transformShapeComponents as gF, transformTypeLayer as gG, transformedBox as gH, transformedPoint as gI, typeAsPixelLayer as gJ, typeFrame as gK, typeFromAnnotation as gL, typeLayerName as gM, ungroupLayer as gN, unionRect as gO, unprojectCanvasPoint as gP, updateLayerEffect as gQ, updateLayerFilter as gR, updateLayerMaskProps as gS, updateShapeLayer as gT, updateSmartFilter as gU, updateTypeLayer as gV, withFilterMaskSurface as gW, withNewIds as gX, writePsd as gY, serializeEffects as ga, serializeLayer as gb, serializeLayers as gc, serializeLayersExternal as gd, serializePatterns as ge, serializeSelection as gf, setLayerEffects as gg, setLayerEffectsEnabled as gh, setLayerMask as gi, setLayerProperties as gj, setSmartFilterMask as gk, setSmartFiltersEnabled as gl, setSmartPlacement as gm, shapeAsPixelLayer as gn, shapeFromAnnotation as go, shapeGeometryBounds as gp, shapeLayers as gq, shapeOutline as gr, shapeRenderClip as gs, shiftCoverage as gt, smartObjectLayers as gu, smoothCoverage as gv, srgb8ToLab as gw, textMatrix as gx, textOutlines as gy, textRange as gz, type SelectionMask as h, type SelectionMode as i, type ColorDistance as j, type ImagePoint as k, type ImageLayer as l, type CropBox as m, type RasterMask as n, type Annotation as o, type AdjustmentLayerNode as p, type AnnotationLayer as q, type ShapeLayer as r, type TypeLayer as s, type LayerFilter as t, type PixelLayer as u, type DevelopFilter as v, type ImageTransform as w, type ImageHistogram as x, type ImageProjection as y, type CompositorSources as z };
4757
+ export { type AspectRatio as $, type AdjustmentKind as A, LayerCompositor as B, type CurvePoint as C, type DepthMaskOptions as D, type LiveShapeKind as E, type TypeLayerInfo as F, type SmartFilter as G, type HueRange as H, type ImageEditorAssetStore as I, type LayerPlacement as J, type FreeTransformMode as K, type LevelsChannel as L, type FreeTransformResult as M, FreeTransformSession as N, type FreeTransformInit as O, type PsdExportResult as P, type TransformAnchor as Q, type RefineEdgeParams as R, type SerializedLayer as S, type TextEnv as T, type AIResultOptions as U, type AdjustmentLayerBase as V, type AdjustmentLayerInit as W, type AdjustmentLayerUpdate as X, type AnnotationPlacement as Y, type AnnotationType as Z, type ArrowAnnotation as _, type ImageAdjustments as a, type LayerMaskProps as a$, type BaseAnnotation as a0, type BlackWhiteParams as a1, type BlurFilter as a2, type CircleAnnotation as a3, type CloneSource as a4, type ColorBalanceParams as a5, type ColorBalanceTone as a6, type ColorRangeOptions as a7, type ColorRangeSample as a8, type ConvertOptions as a9, type HistogramChannel as aA, type HistoryEntryHandle as aB, type HueSaturationParams as aC, IMAGE_EDITOR_SCHEMA_VERSION as aD, IMAGE_EFFECT_PLACES as aE, type ImageAnnotation as aF, type ImageDimensions as aG, type ImageEditorAIHooks as aH, type ImageEditorFit as aI, type ImageEditorOptions as aJ, ImageEditorRenderer as aK, type ImageEditorState as aL, type ImageEditorTool as aM, type ImageEffectGenerator as aN, type ImageEffectPlace as aO, ImageEffectsEngine as aP, type ImageEffectsEngineOptions as aQ, type ImageLayerType as aR, type InpaintHook as aS, type InpaintOptions as aT, type InvertParams as aU, LAYERED_SCHEMA_VERSION as aV, LIVE_SHAPE_KINDS as aW, type LayerBase as aX, type LayerBlendMode as aY, type LayerFilterKind as aZ, type LayerLocation as a_, type CreateAnnotationPayload as aa, type CropHandle as ab, type CurvesParams as ac, DEFAULT_ADJUSTMENTS as ad, DEFAULT_DEPTH_MASK as ae, DEFAULT_MITER_LIMIT as af, DEFAULT_PROOF as ag, DEFAULT_REFINE_EDGE_PARAMS as ah, DEFAULT_TRANSFORM as ai, type DeserializeContext as aj, type DevelopSettings as ak, type DocumentColorMode as al, type DocumentColorProfile as am, EMPTY_DISTANCE as an, type EffectSmartFilter as ao, type ExportOptions as ap, FREE_TRANSFORM_CONTENTS as aq, FREE_TRANSFORM_MODES as ar, type FillOptions as as, type FreeTransformContent as at, type FreeTransformGeometry as au, type FreeTransformHost as av, type FreeTransformPreview as aw, GUIDED_FILTER_EPS as ax, type GroupLayer as ay, HISTOGRAM_BINS as az, type SerializedImageEditorState as b, type SerializedRasterMask as b$, LayerOperationError as b0, type LayerProperties as b1, type LayerSourcesHost as b2, type LayerTarget as b3, type LegacySerializedImageEditorState as b4, type LevelsParams as b5, type LineAnnotation as b6, type LiveShape as b7, type MagicWandOptions as b8, type MixerStrokeInit as b9, RETOUCH_TOOLS as bA, type RectAnnotation as bB, type RemoveBackgroundHook as bC, type RemoveBackgroundOptions as bD, type RenderOptions as bE, type RetouchStrokeInit as bF, type RetouchTool as bG, SELECTION_MODES as bH, SELECTION_MODIFY_OPS as bI, SHAPE_OPERATIONS as bJ, SHAPE_RENDER_MARGIN as bK, SMART_RENDER_MARGIN as bL, type SampleOptions as bM, type SelectionChannel as bN, type SelectionCommandOptions as bO, type SelectionModifyOp as bP, type SerializeContext as bQ, type SerializedAdjustmentLayer as bR, type SerializedAnnotationLayer as bS, type SerializedColorMode as bT, type SerializedColorProfile as bU, type SerializedDeepPixels as bV, type SerializedGroupLayer as bW, type SerializedLayerEffects as bX, type SerializedLayeredImageEditorState as bY, type SerializedPattern as bZ, type SerializedPixelLayer as b_, PARAGRAPH_STYLE_FIELDS as ba, PSD_BLEND_KEYS as bb, type PaintOptions as bc, type PaintStrokeResult as bd, PaintStrokeSession as be, type PenAnnotation as bf, type PhotoFilterParams as bg, type PixelBuffer as bh, type PixelLayerInit as bi, type PixelTransform as bj, type PosterizeParams as bk, type ProofSetup as bl, type PsdChannel as bm, type PsdExportInput as bn, type PsdFile as bo, type PsdHeader as bp, type PsdImportOptions as bq, type PsdImportResult as br, type PsdLayerMask as bs, type PsdLayerRecord as bt, type PsdLayerSummary as bu, type PsdRect as bv, type PsdResource as bw, type PsdSmartFilter as bx, type PsdTaggedBlock as by, type PsdTreeNode as bz, type AdjustmentLayer as c, blurFilter as c$, type SerializedSelection as c0, type SerializedShapeLayer as c1, type SerializedSmartContents as c2, type SerializedSmartFilter as c3, type SerializedSmartObjectLayer as c4, type SerializedTypeLayer as c5, type ShapeArrowhead as c6, type ShapeComponent as c7, type ShapeEnv as c8, type ShapeFillRule as c9, TEXT_RENDER_MARGIN as cA, TEXT_STYLE_FIELDS as cB, TONE_RANGE_PRESETS as cC, TRANSFORM_ANCHORS as cD, type TextAnnotation as cE, type TextLayerInit as cF, type ThresholdParams as cG, type ToneRangePreset as cH, type TransformParams as cI, type TransformReadout as cJ, type TypeLayerData as cK, type TypePsdData as cL, type VibranceParams as cM, type ViewportMetrics as cN, activeEffectSmartFilters as cO, activeSmartFilters as cP, addLayerEffect as cQ, addLayerFilter as cR, addSmartFilter as cS, adjustmentNodeAsLayer as cT, anchorPoint as cU, annotationBlend as cV, annotationOfShape as cW, annotationOfType as cX, applyImageProjectionToContext as cY, applyParams as cZ, applySmartFilters as c_, type ShapeGeometryInput as ca, type ShapeLayerData as cb, type ShapeLayerInfo as cc, type ShapeLayerInit as cd, type ShapeLineCap as ce, type ShapeLineJoin as cf, type ShapeOperation as cg, type ShapePaint as ch, type ShapePsdData as ci, type ShapeSelectionOptions as cj, type ShapeStroke as ck, type ShapeStrokeAlign as cl, type ShapeStrokeInput as cm, type SmartCanvas as cn, type SmartContents as co, type SmartDocument as cp, type SmartEffectResolver as cq, type SmartFilterKind as cr, type SmartFilterStack as cs, type SmartObjectInfo as ct, type SmartObjectLayer as cu, type SmartPlacement as cv, type SmartPsdData as cw, type SmartRenderOptions as cx, type StrokeInit as cy, type StrokeTool as cz, type AdjustmentParamsMap as d, filterMaskCoverage as d$, borderCoverage as d0, boxMean as d1, boxPointOf as d2, buildLayerMaskPlanes as d3, calculateCropDrag as d4, canvasToImagePoint as d5, checkImageEffectPlace as d6, clampCropToImage as d7, colorModePlanes as d8, colorModePlanes16 as d9, defaultShapeName as dA, depthMaskAlpha as dB, describeTransform as dC, deserializeColorMode as dD, deserializeColorProfile as dE, deserializeEffects as dF, deserializeLayer as dG, deserializeLayers as dH, deserializePatterns as dI, deserializeSelection as dJ, developFilter as dK, displayTransform as dL, distanceTransform as dM, documentContents as dN, documentProfile as dO, duplicateLayer as dP, edgeWidth as dQ, effectPixelsToSurface as dR, effectiveProof as dS, ellipsePoints as dT, ellipseSelection as dU, encodeDeepSurface as dV, encodeSelectionRle as dW, encodeSurface as dX, expandCoverage as dY, exportPsd as dZ, featherCoverage as d_, colorRange as da, combineSelections as db, componentPath as dc, compositeDeep as dd, computeHistogram as de, computeSelectionBounds as df, contentsBox as dg, contentsSurface as dh, contractCoverage as di, convertColorFields as dj, convertHex as dk, convertSurfaceColors as dl, convertToSmartObject as dm, copySmartObject as dn, cornersFromMatrix as dp, coverageToByte as dq, createSelectionMask as dr, createShapeLayer as ds, createTypeLayer as dt, decodeDeepSurface as du, decodeLayerChannel as dv, decodeLayerMask as dw, decodeMergedImage as dx, decodePngDataUrl as dy, decodeSelectionRle as dz, type AdjustmentLayerMask as e, normalizeLiveShape as e$, flipCorners as e0, fullSelection as e1, geometryHomography as e2, getAnnotationBounds as e3, getCropCursor as e4, getRotatedSize as e5, getViewportMetrics as e6, getViewportProjection as e7, globalImageCache as e8, greyMorphology as e9, isTransformAnchor as eA, isValidWarp as eB, layerEffectsOf as eC, layerMaskCoverage as eD, layerMaskFromSelection as eE, layerMaskKey as eF, layerName as eG, layerTree as eH, layerTypeLabel as eI, liveComponent as eJ, liveShapeSubpaths as eK, magicWand as eL, mapCropHandle as eM, mapSubpaths as eN, matrixFromCorners as eO, matrixFromParams as eP, mergeShapeComponents as eQ, migrateSerializedImageEditorState as eR, migrateToLayeredState as eS, modifySelection as eT, moveLayer as eU, moveSmartFilter as eV, newContentsId as eW, newLayerId as eX, normalizeAngle as eY, normalizeFilter as eZ, normalizeLayerMask as e_, groupLayers as ea, guidePlanes as eb, guidedFilterColor as ec, hasSurface as ed, hasWarp as ee, hashMaskContent as ef, histogramPath as eg, hitTestAnnotation as eh, hitTestCrop as ei, hueRange as ej, identityTransform as ek, imageToCanvasPoint as el, importPsd as em, instancesOf as en, invertSelection as eo, isActiveFilter as ep, isContentsDecoded as eq, isIdentityTransform as er, isQuarterTurnSwapped as es, isRenderedLayer as et, isRetouchTool as eu, isSelectionEmpty as ev, isSelectionMode as ew, isSmartSurfaceIncomplete as ex, isSpatialFilter as ey, isSrgb as ez, type AdjustmentLayerOf as f, resolveProfile as f$, normalizePlacement as f0, normalizeRect as f1, normalizeRefineEdgeParams as f2, normalizeShapePaint as f3, normalizeShapeStroke as f4, normalizeSmartFilter as f5, normalizeStoredAdjustments as f6, normalizeSubpaths as f7, normalizeText as f8, offsetLayer as f9, rectSelection as fA, referencePoint as fB, refineCoverage as fC, refineEdgeHalo as fD, refineSelection as fE, removeLayer as fF, removeLayerEffect as fG, removeLayerFilter as fH, removeSmartFilter as fI, renderShape as fJ, renderShapeRect as fK, renderSmartObject as fL, renderText as fM, replaceContents as fN, replaceTextRange as fO, requireLayer as fP, requireOperation as fQ, requireShapeLayer as fR, requireSmartObject as fS, requireTypeLayer as fT, requireUnlocked as fU, rerender as fV, rerenderShape as fW, rerenderText as fX, resizePixels as fY, resizeSelection as fZ, resolveExternalAssets as f_, offsetShape as fa, offsetSmartObject as fb, parseBlend as fc, parseColor as fd, parseSelectionMode as fe, patchParagraphStyle as ff, patchTextStyle as fg, pixelLayerBounds as fh, pixelLayers as fi, placeContents as fj, placeLayer as fk, placementAt as fl, placementBounds as fm, placementGeometry as fn, polygonCoverage as fo, polygonSelection as fp, presetWarp as fq, previewStep as fr, profileBytes as fs, projectImagePoint as ft, projectImageRect as fu, projectMaskCoverage as fv, psdToLayers as fw, rasterContents as fx, rasterizeSmartObject as fy, readPsd as fz, ImageEditorController as g, runLayerFilters as g0, runLayerFiltersFloat as g1, selectionArea as g2, selectionFromCoverage as g3, selectionFromPixels as g4, selectionToCoverage as g5, selectionToPixels as g6, selectionValueAt as g7, serializeColorMode as g8, serializeColorProfile as g9, textRange as gA, toHex as gB, toTextSpace as gC, toneRange as gD, transformHomography as gE, transformMap as gF, transformShapeComponents as gG, transformTypeLayer as gH, transformedBox as gI, transformedPoint as gJ, typeAsPixelLayer as gK, typeFrame as gL, typeFromAnnotation as gM, typeLayerName as gN, ungroupLayer as gO, unionRect as gP, unprojectCanvasPoint as gQ, updateLayerEffect as gR, updateLayerFilter as gS, updateLayerMaskProps as gT, updateShapeLayer as gU, updateSmartFilter as gV, updateTypeLayer as gW, withFilterMaskSurface as gX, withNewIds as gY, writePsd as gZ, serializeContents as ga, serializeEffects as gb, serializeLayer as gc, serializeLayers as gd, serializeLayersExternal as ge, serializePatterns as gf, serializeSelection as gg, setLayerEffects as gh, setLayerEffectsEnabled as gi, setLayerMask as gj, setLayerProperties as gk, setSmartFilterMask as gl, setSmartFiltersEnabled as gm, setSmartPlacement as gn, shapeAsPixelLayer as go, shapeFromAnnotation as gp, shapeGeometryBounds as gq, shapeLayers as gr, shapeOutline as gs, shapeRenderClip as gt, shiftCoverage as gu, smartObjectLayers as gv, smoothCoverage as gw, srgb8ToLab as gx, textMatrix as gy, textOutlines as gz, type SelectionMask as h, type SelectionMode as i, type ColorDistance as j, type ImagePoint as k, type ImageLayer as l, type CropBox as m, type RasterMask as n, type Annotation as o, type AdjustmentLayerNode as p, type AnnotationLayer as q, type ShapeLayer as r, type TypeLayer as s, type LayerFilter as t, type PixelLayer as u, type DevelopFilter as v, type ImageTransform as w, type ImageHistogram as x, type ImageProjection as y, type CompositorSources as z };
@@ -1,4 +1,4 @@
1
- import { e as EffectValue, v as EffectsSlot, b as EffectPixels, E as EffectProvider, f as EffectDescription } from './helpers-X_rycLNJ.js';
1
+ import { e as EffectValue, v as EffectsSlot, b as EffectPixels, E as EffectProvider, f as EffectDescription } from './helpers-cssRNUzH.js';
2
2
 
3
3
  /**
4
4
  * Keyframes for a clip's opacity, volume and transform. A property is either a plain number or
@@ -824,6 +824,39 @@ interface VectorPathNode extends VectorNodeBase, VectorStyle {
824
824
  * connection sites. Its geometry is routed again after every edit, so it follows them.
825
825
  */
826
826
  connector?: VectorConnector | null;
827
+ /**
828
+ * Makes the path a lens (CorelDRAW's Lens): inside its outline, what is drawn below it shows
829
+ * changed (magnified, recoloured, as wireframe…). Bounds and hit-testing stay the path's own.
830
+ */
831
+ lens?: VectorLens | null;
832
+ /**
833
+ * Derived, not stored: what is drawn below a lens, in the lens's parent space, brought up to
834
+ * date after every edit (`resolveVectorLenses`) and stripped when the document is saved.
835
+ */
836
+ lensView?: VectorNode[];
837
+ }
838
+ /**
839
+ * What a lens does to what is below it (`VectorLens.type`):
840
+ * - `transparency`: the lens's own fill drawn `amount` percent see-through over it;
841
+ * - `magnify`: scaled `amount` times about the lens's centre;
842
+ * - `fisheye`: bulged (`amount` > 0) or pinched (< 0, −100…100) within the lens;
843
+ * - `brighten`: lightened (`amount` > 0) or darkened (< 0) by `amount` percent;
844
+ * - `invert`: colours inverted;
845
+ * - `tintedGrayscale`: brightness shown in shades of `color`;
846
+ * - `colorAdd`: `color` added at `amount` percent;
847
+ * - `colorLimit`: only `color` let through, `amount` percent strong;
848
+ * - `heatMap`: brightness shown on a cold-to-hot palette, turned `amount` percent along it;
849
+ * - `wireframe`: outlines only, stroked in `color`.
850
+ */
851
+ type VectorLensType = 'transparency' | 'magnify' | 'fisheye' | 'brighten' | 'invert' | 'tintedGrayscale' | 'colorAdd' | 'colorLimit' | 'heatMap' | 'wireframe';
852
+ declare const VECTOR_LENS_TYPES: readonly VectorLensType[];
853
+ /** A lens's settings (`VectorPathNode.lens`). */
854
+ interface VectorLens {
855
+ type: VectorLensType;
856
+ /** Strength; its meaning and range depend on the type (see `VectorLensType`). */
857
+ amount: number;
858
+ /** The tint, added, limiting or wireframe colour (types that use one). */
859
+ color?: string | null;
827
860
  }
828
861
  /**
829
862
  * Where a connector end meets an object: the middle of a side of the object's own (unrotated)
@@ -1109,7 +1142,29 @@ interface VectorDocument {
1109
1142
  constraints?: VectorConstraint[];
1110
1143
  /** Named values the constraints' expressions use. */
1111
1144
  parameters?: VectorParameter[];
1145
+ /** The perspective grid art can be drawn on or attached to (see `VectorPerspective`). */
1146
+ perspective?: VectorPerspective | null;
1147
+ }
1148
+ /**
1149
+ * A perspective grid (CorelDRAW's Perspective Drawing): 1, 2 or 3 vanishing points and the
1150
+ * grid's origin (where its planes meet, on the ground in front of the viewer). With one point
1151
+ * the planes are the `floor`, a `side` wall receding to it and the `front`; with two, the `floor`
1152
+ * and the `left` and `right` walls, receding to the first and second points; a third point is
1153
+ * where the walls' verticals meet (a bird's or worm's eye view).
1154
+ */
1155
+ interface VectorPerspective {
1156
+ vanishingPoints: Vec2[];
1157
+ origin: Vec2;
1158
+ /** Grid cell size at the origin, in document units (default 20). */
1159
+ gridSize?: number;
1160
+ /** Cells drawn out from the origin along each axis (default 12). */
1161
+ extent?: number;
1162
+ /** Whether the grid is shown on the canvas (default true). */
1163
+ visible?: boolean;
1112
1164
  }
1165
+ /** A plane of a perspective grid. */
1166
+ type VectorPerspectivePlane = 'floor' | 'left' | 'right' | 'side' | 'front';
1167
+ declare const VECTOR_PERSPECTIVE_PLANES: readonly VectorPerspectivePlane[];
1113
1168
  /**
1114
1169
  * Constraint kinds (CAD-style parametric drawing). Geometric: `coincident` (two points, a point on
1115
1170
  * a segment's line, or a point on a circle), `collinear` (two segments on one line), `concentric`
@@ -2100,4 +2155,4 @@ declare class EffectsSlot {
2100
2155
  subscribe(listener: (provider: EffectProvider | null) => void): () => void;
2101
2156
  }
2102
2157
 
2103
- export { type VectorPaint as $, isEffectPixels as A, linearToSrgb as B, type CanvasGradientDef as C, resolveEffectValues as D, type EffectProvider as E, searchEffectSummaries as F, srgbToLinear as G, type VectorEffectParamsMap as H, type VectorPathNode as I, type VectorFillRule as J, type VectorBooleanOperation as K, type VectorNode as L, type VectorEffect as M, type VectorGroupNode as N, type VectorBounds as O, type VectorWarpMesh as P, type VectorInstanceNode as Q, type VectorFilterType as R, type SvgGradientDef as S, type VectorFilterParamsMap as T, type VectorFilter as U, type VectorEffectType as V, type VectorGradient as W, type Vec2 as X, type VectorGradientUnits as Y, type VectorGradientSpread as Z, type VectorGradientType as _, type EffectRenderRequest as a, type MotionEffectCommand as a$, type VectorMatrix as a0, type VectorGradientStop as a1, type VectorStrokeAlign as a2, type VectorSubpath as a3, type VectorDocument as a4, type VectorWidthPoint as a5, type MotionCommand as a6, type MotionShot as a7, type MotionScene as a8, type MotionDirection as a9, FLAIR_EXPORT_VERSION as aA, type FlairEase as aB, type FlairEaseName as aC, type FlairSpringEase as aD, type FlairSvgAnimation as aE, MOTION_BLENDS as aF, MOTION_CAMERA_MS as aG, MOTION_CASCADES as aH, MOTION_CLIP_TARGET as aI, MOTION_COMMAND_TYPES as aJ, MOTION_DEFAULT_DURATIONS as aK, MOTION_DEFAULT_HOLD as aL, MOTION_DIRECTIONS as aM, MOTION_DRAW_MS_PER_UNIT as aN, MOTION_DRAW_RANGE as aO, MOTION_DRIVEN_PROPERTIES as aP, MOTION_ENTER_STYLES as aQ, MOTION_EXIT_STYLES as aR, MOTION_IRIS_SHAPES as aS, MOTION_REPEAT_MODES as aT, MOTION_SPLIT_ORIENTATIONS as aU, MOTION_TEXT_UNITS as aV, MOTION_TRIGGERS as aW, type MotionColorPulseCommand as aX, type MotionCommandBase as aY, type MotionDrawCommand as aZ, type MotionDrawOrder as a_, type MotionIrisShape as aa, type MotionSplitOrientation as ab, type MotionDriver as ac, type MotionDrivenProperty as ad, type MotionRect as ae, type MotionBeatGrid as af, type MotionCue as ag, type MotionCamera as ah, type MotionTextUnit as ai, type MotionCascade as aj, type MotionBlur as ak, type MotionControl as al, type MotionPreset as am, type MotionClip as an, type FlairSvgMotion as ao, type FlairVectorEffect as ap, type MotionEffectSource as aq, type FlairExportOptions as ar, type FlairMotionExport as as, type FlairEffectOptions as at, type FlairEffectDocument as au, type MotionEnterStyle as av, type MotionExitStyle as aw, type MotionCommandType as ax, type MotionNarration as ay, FLAIR_EASES as az, type EffectPixels as b, type VectorResizing as b$, type MotionEnterCommand as b0, type MotionExitCommand as b1, type MotionFadeCommand as b2, type MotionFollowCommand as b3, type MotionMatchCommand as b4, type MotionMorphCommand as b5, type MotionMoveCommand as b6, type MotionPlayCommand as b7, type MotionPulseCommand as b8, type MotionRotateCommand as b9, type VectorCharacterStyle as bA, type VectorTextRun as bB, type VectorParagraphStyle as bC, type VectorTextFrame as bD, type VectorTransformHandle as bE, type VectorAnchorRef as bF, type VectorPathfinderOperation as bG, type VectorTool as bH, type VectorDefaults as bI, type VectorTextAlign as bJ, type VectorStyle as bK, type VectorHandleRef as bL, type VectorSegmentRef as bM, type VectorBlendOptions as bN, type VectorModifiers as bO, type VectorProviderEffect as bP, type VectorBlendMode as bQ, type VectorAlign as bR, type VectorDistribute as bS, type VectorArrange as bT, type VectorMaskType as bU, type VectorSymmetryMode as bV, type VectorSymmetry as bW, type VectorFreeformPoint as bX, type VectorMeshGradient as bY, type VectorFreeformGradient as bZ, type VectorArrowhead as b_, type MotionScaleCommand as ba, type MotionShakeCommand as bb, type MotionStyleCommand as bc, type MotionTeeterCommand as bd, type MotionTrigger as be, type MotionWaitCommand as bf, type MotionWaveCommand as bg, type MotionWiggleCommand as bh, flairAtLeast as bi, flairCurveFor as bj, flairEaseFor as bk, motionFlairPrimitive as bl, toFlairEffectDocument as bm, toFlairSvgMotion as bn, toFlairVectorEffect as bo, type VectorAnchor as bp, type VectorTextNode as bq, type VectorAnchorType as br, type VectorCornerKind as bs, type VectorViewport as bt, type VectorConnectorRoute as bu, type VectorConnectorSide as bv, type VectorConnectorEnd as bw, type VectorConnector as bx, type VectorConstraintKind as by, type VectorConstraint as bz, type EffectUse as c, type VectorFrame as c0, type VectorHorizontalResizing as c1, type VectorVerticalResizing as c2, type VectorMask as c3, type VectorAverageAxis as c4, type VectorSymbol as c5, type VectorParameter as c6, type VectorBlendSpacing as c7, type VectorGradientInterpolation as c8, type VectorStrokeGradientMode as c9, VECTOR_SYMMETRY_MODES as cA, VECTOR_TEXT_ALIGNS as cB, VECTOR_TOOLS as cC, VECTOR_TRANSFORM_HANDLES as cD, VECTOR_VERTICAL_RESIZING as cE, type VectorCorner as cF, type VectorGeomRef as cG, type VectorLineCap as cH, type VectorPathTextBaseline as cI, type VectorStrokeLayerKind as cJ, type VectorTextRunStyle as cK, type VectorWarpStyle as cL, CANVAS_GRADIENT_PRESETS as cM, type CanvasLinearGradient as cN, type CanvasRadialGradient as cO, type GradientStop as cP, PIXERATE_BRAND_GRADIENT as cQ, type SvgGradientStop as cR, angleToSvgLinearCoords as cS, gradientToSvgDef as cT, isCanvasGradient as cU, parseCssGradient as cV, resolveCanvasGradient as cW, type VectorArrowAlign as ca, type VectorPaintLayer as cb, type VectorStrokeLayer as cc, type VectorBlend as cd, type VectorMergeMode as ce, type VectorLineJoin as cf, type VectorStrokeSettings as cg, type VectorInstanceOverrides as ch, VECTOR_ARROWHEADS as ci, VECTOR_BLEND_MODES as cj, VECTOR_BLEND_SPACINGS as ck, VECTOR_CONNECTOR_ROUTES as cl, VECTOR_CONNECTOR_SIDES as cm, VECTOR_CONSTRAINT_KINDS as cn, VECTOR_CORNER_KINDS as co, VECTOR_EFFECT_TYPES as cp, VECTOR_FILTER_TYPES as cq, VECTOR_GRADIENT_INTERPOLATIONS as cr, VECTOR_GRADIENT_SPREADS as cs, VECTOR_GRADIENT_TYPES as ct, VECTOR_HORIZONTAL_RESIZING as cu, VECTOR_MASK_TYPES as cv, VECTOR_MERGE_MODES as cw, VECTOR_PATHFINDER_OPERATIONS as cx, VECTOR_PATH_TEXT_BASELINES as cy, VECTOR_STROKE_GRADIENT_MODES as cz, type EffectProviderCapabilities as d, type EffectValue as e, type EffectDescription as f, type EffectSummary as g, EFFECT_KINDS as h, EFFECT_USES as i, type EffectControlSchema as j, type EffectImageSource as k, type EffectInputSpec as l, type EffectKind as m, type EffectPreset as n, type EffectRenderer as o, type EffectRendererOptions as p, type EffectSearchOptions as q, type EffectSvgAnimation as r, type EffectValues as s, type EffectVectorMotion as t, type EffectVectorTarget as u, EffectsSlot as v, applyEffectMask as w, createEffectPixels as x, effectValueErrors as y, encodeEffectFloat as z };
2158
+ export { type VectorPaint as $, isEffectPixels as A, linearToSrgb as B, type CanvasGradientDef as C, resolveEffectValues as D, type EffectProvider as E, searchEffectSummaries as F, srgbToLinear as G, type VectorEffectParamsMap as H, type VectorPathNode as I, type VectorFillRule as J, type VectorBooleanOperation as K, type VectorNode as L, type VectorEffect as M, type VectorGroupNode as N, type VectorBounds as O, type VectorWarpMesh as P, type VectorInstanceNode as Q, type VectorFilterType as R, type SvgGradientDef as S, type VectorFilterParamsMap as T, type VectorFilter as U, type VectorEffectType as V, type VectorGradient as W, type Vec2 as X, type VectorGradientUnits as Y, type VectorGradientSpread as Z, type VectorGradientType as _, type EffectRenderRequest as a, type MotionEffectCommand as a$, type VectorMatrix as a0, type VectorGradientStop as a1, type VectorStrokeAlign as a2, type VectorSubpath as a3, type VectorDocument as a4, type VectorWidthPoint as a5, type MotionCommand as a6, type MotionShot as a7, type MotionScene as a8, type MotionDirection as a9, FLAIR_EXPORT_VERSION as aA, type FlairEase as aB, type FlairEaseName as aC, type FlairSpringEase as aD, type FlairSvgAnimation as aE, MOTION_BLENDS as aF, MOTION_CAMERA_MS as aG, MOTION_CASCADES as aH, MOTION_CLIP_TARGET as aI, MOTION_COMMAND_TYPES as aJ, MOTION_DEFAULT_DURATIONS as aK, MOTION_DEFAULT_HOLD as aL, MOTION_DIRECTIONS as aM, MOTION_DRAW_MS_PER_UNIT as aN, MOTION_DRAW_RANGE as aO, MOTION_DRIVEN_PROPERTIES as aP, MOTION_ENTER_STYLES as aQ, MOTION_EXIT_STYLES as aR, MOTION_IRIS_SHAPES as aS, MOTION_REPEAT_MODES as aT, MOTION_SPLIT_ORIENTATIONS as aU, MOTION_TEXT_UNITS as aV, MOTION_TRIGGERS as aW, type MotionColorPulseCommand as aX, type MotionCommandBase as aY, type MotionDrawCommand as aZ, type MotionDrawOrder as a_, type MotionIrisShape as aa, type MotionSplitOrientation as ab, type MotionDriver as ac, type MotionDrivenProperty as ad, type MotionRect as ae, type MotionBeatGrid as af, type MotionCue as ag, type MotionCamera as ah, type MotionTextUnit as ai, type MotionCascade as aj, type MotionBlur as ak, type MotionControl as al, type MotionPreset as am, type MotionClip as an, type FlairSvgMotion as ao, type FlairVectorEffect as ap, type MotionEffectSource as aq, type FlairExportOptions as ar, type FlairMotionExport as as, type FlairEffectOptions as at, type FlairEffectDocument as au, type MotionEnterStyle as av, type MotionExitStyle as aw, type MotionCommandType as ax, type MotionNarration as ay, FLAIR_EASES as az, type EffectPixels as b, type VectorFreeformGradient as b$, type MotionEnterCommand as b0, type MotionExitCommand as b1, type MotionFadeCommand as b2, type MotionFollowCommand as b3, type MotionMatchCommand as b4, type MotionMorphCommand as b5, type MotionMoveCommand as b6, type MotionPlayCommand as b7, type MotionPulseCommand as b8, type MotionRotateCommand as b9, type VectorCharacterStyle as bA, type VectorTextRun as bB, type VectorParagraphStyle as bC, type VectorTextFrame as bD, type VectorTransformHandle as bE, type VectorAnchorRef as bF, type VectorPathfinderOperation as bG, type VectorTool as bH, type VectorDefaults as bI, type VectorTextAlign as bJ, type VectorStyle as bK, type VectorHandleRef as bL, type VectorSegmentRef as bM, type VectorBlendOptions as bN, type VectorPerspectivePlane as bO, type VectorModifiers as bP, type VectorProviderEffect as bQ, type VectorBlendMode as bR, type VectorAlign as bS, type VectorDistribute as bT, type VectorArrange as bU, type VectorMaskType as bV, type VectorSymmetryMode as bW, type VectorSymmetry as bX, type VectorPerspective as bY, type VectorFreeformPoint as bZ, type VectorMeshGradient as b_, type MotionScaleCommand as ba, type MotionShakeCommand as bb, type MotionStyleCommand as bc, type MotionTeeterCommand as bd, type MotionTrigger as be, type MotionWaitCommand as bf, type MotionWaveCommand as bg, type MotionWiggleCommand as bh, flairAtLeast as bi, flairCurveFor as bj, flairEaseFor as bk, motionFlairPrimitive as bl, toFlairEffectDocument as bm, toFlairSvgMotion as bn, toFlairVectorEffect as bo, type VectorAnchor as bp, type VectorTextNode as bq, type VectorAnchorType as br, type VectorCornerKind as bs, type VectorViewport as bt, type VectorConnectorRoute as bu, type VectorConnectorSide as bv, type VectorConnectorEnd as bw, type VectorConnector as bx, type VectorConstraintKind as by, type VectorConstraint as bz, type EffectUse as c, parseCssGradient as c$, type VectorArrowhead as c0, type VectorLens as c1, type VectorResizing as c2, type VectorFrame as c3, type VectorHorizontalResizing as c4, type VectorVerticalResizing as c5, type VectorMask as c6, type VectorAverageAxis as c7, type VectorSymbol as c8, type VectorParameter as c9, VECTOR_MASK_TYPES as cA, VECTOR_MERGE_MODES as cB, VECTOR_PATHFINDER_OPERATIONS as cC, VECTOR_PATH_TEXT_BASELINES as cD, VECTOR_PERSPECTIVE_PLANES as cE, VECTOR_STROKE_GRADIENT_MODES as cF, VECTOR_SYMMETRY_MODES as cG, VECTOR_TEXT_ALIGNS as cH, VECTOR_TOOLS as cI, VECTOR_TRANSFORM_HANDLES as cJ, VECTOR_VERTICAL_RESIZING as cK, type VectorCorner as cL, type VectorGeomRef as cM, type VectorLineCap as cN, type VectorPathTextBaseline as cO, type VectorStrokeLayerKind as cP, type VectorTextRunStyle as cQ, type VectorWarpStyle as cR, CANVAS_GRADIENT_PRESETS as cS, type CanvasLinearGradient as cT, type CanvasRadialGradient as cU, type GradientStop as cV, PIXERATE_BRAND_GRADIENT as cW, type SvgGradientStop as cX, angleToSvgLinearCoords as cY, gradientToSvgDef as cZ, isCanvasGradient as c_, type VectorBlendSpacing as ca, type VectorGradientInterpolation as cb, type VectorStrokeGradientMode as cc, type VectorArrowAlign as cd, type VectorPaintLayer as ce, type VectorStrokeLayer as cf, type VectorBlend as cg, type VectorMergeMode as ch, type VectorLineJoin as ci, type VectorLensType as cj, type VectorStrokeSettings as ck, type VectorInstanceOverrides as cl, VECTOR_ARROWHEADS as cm, VECTOR_BLEND_MODES as cn, VECTOR_BLEND_SPACINGS as co, VECTOR_CONNECTOR_ROUTES as cp, VECTOR_CONNECTOR_SIDES as cq, VECTOR_CONSTRAINT_KINDS as cr, VECTOR_CORNER_KINDS as cs, VECTOR_EFFECT_TYPES as ct, VECTOR_FILTER_TYPES as cu, VECTOR_GRADIENT_INTERPOLATIONS as cv, VECTOR_GRADIENT_SPREADS as cw, VECTOR_GRADIENT_TYPES as cx, VECTOR_HORIZONTAL_RESIZING as cy, VECTOR_LENS_TYPES as cz, type EffectProviderCapabilities as d, resolveCanvasGradient as d0, type EffectValue as e, type EffectDescription as f, type EffectSummary as g, EFFECT_KINDS as h, EFFECT_USES as i, type EffectControlSchema as j, type EffectImageSource as k, type EffectInputSpec as l, type EffectKind as m, type EffectPreset as n, type EffectRenderer as o, type EffectRendererOptions as p, type EffectSearchOptions as q, type EffectSvgAnimation as r, type EffectValues as s, type EffectVectorMotion as t, type EffectVectorTarget as u, EffectsSlot as v, applyEffectMask as w, createEffectPixels as x, effectValueErrors as y, encodeEffectFloat as z };
@@ -824,6 +824,39 @@ interface VectorPathNode extends VectorNodeBase, VectorStyle {
824
824
  * connection sites. Its geometry is routed again after every edit, so it follows them.
825
825
  */
826
826
  connector?: VectorConnector | null;
827
+ /**
828
+ * Makes the path a lens (CorelDRAW's Lens): inside its outline, what is drawn below it shows
829
+ * changed (magnified, recoloured, as wireframe…). Bounds and hit-testing stay the path's own.
830
+ */
831
+ lens?: VectorLens | null;
832
+ /**
833
+ * Derived, not stored: what is drawn below a lens, in the lens's parent space, brought up to
834
+ * date after every edit (`resolveVectorLenses`) and stripped when the document is saved.
835
+ */
836
+ lensView?: VectorNode[];
837
+ }
838
+ /**
839
+ * What a lens does to what is below it (`VectorLens.type`):
840
+ * - `transparency`: the lens's own fill drawn `amount` percent see-through over it;
841
+ * - `magnify`: scaled `amount` times about the lens's centre;
842
+ * - `fisheye`: bulged (`amount` > 0) or pinched (< 0, −100…100) within the lens;
843
+ * - `brighten`: lightened (`amount` > 0) or darkened (< 0) by `amount` percent;
844
+ * - `invert`: colours inverted;
845
+ * - `tintedGrayscale`: brightness shown in shades of `color`;
846
+ * - `colorAdd`: `color` added at `amount` percent;
847
+ * - `colorLimit`: only `color` let through, `amount` percent strong;
848
+ * - `heatMap`: brightness shown on a cold-to-hot palette, turned `amount` percent along it;
849
+ * - `wireframe`: outlines only, stroked in `color`.
850
+ */
851
+ type VectorLensType = 'transparency' | 'magnify' | 'fisheye' | 'brighten' | 'invert' | 'tintedGrayscale' | 'colorAdd' | 'colorLimit' | 'heatMap' | 'wireframe';
852
+ declare const VECTOR_LENS_TYPES: readonly VectorLensType[];
853
+ /** A lens's settings (`VectorPathNode.lens`). */
854
+ interface VectorLens {
855
+ type: VectorLensType;
856
+ /** Strength; its meaning and range depend on the type (see `VectorLensType`). */
857
+ amount: number;
858
+ /** The tint, added, limiting or wireframe colour (types that use one). */
859
+ color?: string | null;
827
860
  }
828
861
  /**
829
862
  * Where a connector end meets an object: the middle of a side of the object's own (unrotated)
@@ -1109,7 +1142,29 @@ interface VectorDocument {
1109
1142
  constraints?: VectorConstraint[];
1110
1143
  /** Named values the constraints' expressions use. */
1111
1144
  parameters?: VectorParameter[];
1145
+ /** The perspective grid art can be drawn on or attached to (see `VectorPerspective`). */
1146
+ perspective?: VectorPerspective | null;
1147
+ }
1148
+ /**
1149
+ * A perspective grid (CorelDRAW's Perspective Drawing): 1, 2 or 3 vanishing points and the
1150
+ * grid's origin (where its planes meet, on the ground in front of the viewer). With one point
1151
+ * the planes are the `floor`, a `side` wall receding to it and the `front`; with two, the `floor`
1152
+ * and the `left` and `right` walls, receding to the first and second points; a third point is
1153
+ * where the walls' verticals meet (a bird's or worm's eye view).
1154
+ */
1155
+ interface VectorPerspective {
1156
+ vanishingPoints: Vec2[];
1157
+ origin: Vec2;
1158
+ /** Grid cell size at the origin, in document units (default 20). */
1159
+ gridSize?: number;
1160
+ /** Cells drawn out from the origin along each axis (default 12). */
1161
+ extent?: number;
1162
+ /** Whether the grid is shown on the canvas (default true). */
1163
+ visible?: boolean;
1112
1164
  }
1165
+ /** A plane of a perspective grid. */
1166
+ type VectorPerspectivePlane = 'floor' | 'left' | 'right' | 'side' | 'front';
1167
+ declare const VECTOR_PERSPECTIVE_PLANES: readonly VectorPerspectivePlane[];
1113
1168
  /**
1114
1169
  * Constraint kinds (CAD-style parametric drawing). Geometric: `coincident` (two points, a point on
1115
1170
  * a segment's line, or a point on a circle), `collinear` (two segments on one line), `concentric`
@@ -2100,4 +2155,4 @@ declare class EffectsSlot {
2100
2155
  subscribe(listener: (provider: EffectProvider | null) => void): () => void;
2101
2156
  }
2102
2157
 
2103
- export { type VectorPaint as $, isEffectPixels as A, linearToSrgb as B, type CanvasGradientDef as C, resolveEffectValues as D, type EffectProvider as E, searchEffectSummaries as F, srgbToLinear as G, type VectorEffectParamsMap as H, type VectorPathNode as I, type VectorFillRule as J, type VectorBooleanOperation as K, type VectorNode as L, type VectorEffect as M, type VectorGroupNode as N, type VectorBounds as O, type VectorWarpMesh as P, type VectorInstanceNode as Q, type VectorFilterType as R, type SvgGradientDef as S, type VectorFilterParamsMap as T, type VectorFilter as U, type VectorEffectType as V, type VectorGradient as W, type Vec2 as X, type VectorGradientUnits as Y, type VectorGradientSpread as Z, type VectorGradientType as _, type EffectRenderRequest as a, type MotionEffectCommand as a$, type VectorMatrix as a0, type VectorGradientStop as a1, type VectorStrokeAlign as a2, type VectorSubpath as a3, type VectorDocument as a4, type VectorWidthPoint as a5, type MotionCommand as a6, type MotionShot as a7, type MotionScene as a8, type MotionDirection as a9, FLAIR_EXPORT_VERSION as aA, type FlairEase as aB, type FlairEaseName as aC, type FlairSpringEase as aD, type FlairSvgAnimation as aE, MOTION_BLENDS as aF, MOTION_CAMERA_MS as aG, MOTION_CASCADES as aH, MOTION_CLIP_TARGET as aI, MOTION_COMMAND_TYPES as aJ, MOTION_DEFAULT_DURATIONS as aK, MOTION_DEFAULT_HOLD as aL, MOTION_DIRECTIONS as aM, MOTION_DRAW_MS_PER_UNIT as aN, MOTION_DRAW_RANGE as aO, MOTION_DRIVEN_PROPERTIES as aP, MOTION_ENTER_STYLES as aQ, MOTION_EXIT_STYLES as aR, MOTION_IRIS_SHAPES as aS, MOTION_REPEAT_MODES as aT, MOTION_SPLIT_ORIENTATIONS as aU, MOTION_TEXT_UNITS as aV, MOTION_TRIGGERS as aW, type MotionColorPulseCommand as aX, type MotionCommandBase as aY, type MotionDrawCommand as aZ, type MotionDrawOrder as a_, type MotionIrisShape as aa, type MotionSplitOrientation as ab, type MotionDriver as ac, type MotionDrivenProperty as ad, type MotionRect as ae, type MotionBeatGrid as af, type MotionCue as ag, type MotionCamera as ah, type MotionTextUnit as ai, type MotionCascade as aj, type MotionBlur as ak, type MotionControl as al, type MotionPreset as am, type MotionClip as an, type FlairSvgMotion as ao, type FlairVectorEffect as ap, type MotionEffectSource as aq, type FlairExportOptions as ar, type FlairMotionExport as as, type FlairEffectOptions as at, type FlairEffectDocument as au, type MotionEnterStyle as av, type MotionExitStyle as aw, type MotionCommandType as ax, type MotionNarration as ay, FLAIR_EASES as az, type EffectPixels as b, type VectorResizing as b$, type MotionEnterCommand as b0, type MotionExitCommand as b1, type MotionFadeCommand as b2, type MotionFollowCommand as b3, type MotionMatchCommand as b4, type MotionMorphCommand as b5, type MotionMoveCommand as b6, type MotionPlayCommand as b7, type MotionPulseCommand as b8, type MotionRotateCommand as b9, type VectorCharacterStyle as bA, type VectorTextRun as bB, type VectorParagraphStyle as bC, type VectorTextFrame as bD, type VectorTransformHandle as bE, type VectorAnchorRef as bF, type VectorPathfinderOperation as bG, type VectorTool as bH, type VectorDefaults as bI, type VectorTextAlign as bJ, type VectorStyle as bK, type VectorHandleRef as bL, type VectorSegmentRef as bM, type VectorBlendOptions as bN, type VectorModifiers as bO, type VectorProviderEffect as bP, type VectorBlendMode as bQ, type VectorAlign as bR, type VectorDistribute as bS, type VectorArrange as bT, type VectorMaskType as bU, type VectorSymmetryMode as bV, type VectorSymmetry as bW, type VectorFreeformPoint as bX, type VectorMeshGradient as bY, type VectorFreeformGradient as bZ, type VectorArrowhead as b_, type MotionScaleCommand as ba, type MotionShakeCommand as bb, type MotionStyleCommand as bc, type MotionTeeterCommand as bd, type MotionTrigger as be, type MotionWaitCommand as bf, type MotionWaveCommand as bg, type MotionWiggleCommand as bh, flairAtLeast as bi, flairCurveFor as bj, flairEaseFor as bk, motionFlairPrimitive as bl, toFlairEffectDocument as bm, toFlairSvgMotion as bn, toFlairVectorEffect as bo, type VectorAnchor as bp, type VectorTextNode as bq, type VectorAnchorType as br, type VectorCornerKind as bs, type VectorViewport as bt, type VectorConnectorRoute as bu, type VectorConnectorSide as bv, type VectorConnectorEnd as bw, type VectorConnector as bx, type VectorConstraintKind as by, type VectorConstraint as bz, type EffectUse as c, type VectorFrame as c0, type VectorHorizontalResizing as c1, type VectorVerticalResizing as c2, type VectorMask as c3, type VectorAverageAxis as c4, type VectorSymbol as c5, type VectorParameter as c6, type VectorBlendSpacing as c7, type VectorGradientInterpolation as c8, type VectorStrokeGradientMode as c9, VECTOR_SYMMETRY_MODES as cA, VECTOR_TEXT_ALIGNS as cB, VECTOR_TOOLS as cC, VECTOR_TRANSFORM_HANDLES as cD, VECTOR_VERTICAL_RESIZING as cE, type VectorCorner as cF, type VectorGeomRef as cG, type VectorLineCap as cH, type VectorPathTextBaseline as cI, type VectorStrokeLayerKind as cJ, type VectorTextRunStyle as cK, type VectorWarpStyle as cL, CANVAS_GRADIENT_PRESETS as cM, type CanvasLinearGradient as cN, type CanvasRadialGradient as cO, type GradientStop as cP, PIXERATE_BRAND_GRADIENT as cQ, type SvgGradientStop as cR, angleToSvgLinearCoords as cS, gradientToSvgDef as cT, isCanvasGradient as cU, parseCssGradient as cV, resolveCanvasGradient as cW, type VectorArrowAlign as ca, type VectorPaintLayer as cb, type VectorStrokeLayer as cc, type VectorBlend as cd, type VectorMergeMode as ce, type VectorLineJoin as cf, type VectorStrokeSettings as cg, type VectorInstanceOverrides as ch, VECTOR_ARROWHEADS as ci, VECTOR_BLEND_MODES as cj, VECTOR_BLEND_SPACINGS as ck, VECTOR_CONNECTOR_ROUTES as cl, VECTOR_CONNECTOR_SIDES as cm, VECTOR_CONSTRAINT_KINDS as cn, VECTOR_CORNER_KINDS as co, VECTOR_EFFECT_TYPES as cp, VECTOR_FILTER_TYPES as cq, VECTOR_GRADIENT_INTERPOLATIONS as cr, VECTOR_GRADIENT_SPREADS as cs, VECTOR_GRADIENT_TYPES as ct, VECTOR_HORIZONTAL_RESIZING as cu, VECTOR_MASK_TYPES as cv, VECTOR_MERGE_MODES as cw, VECTOR_PATHFINDER_OPERATIONS as cx, VECTOR_PATH_TEXT_BASELINES as cy, VECTOR_STROKE_GRADIENT_MODES as cz, type EffectProviderCapabilities as d, type EffectValue as e, type EffectDescription as f, type EffectSummary as g, EFFECT_KINDS as h, EFFECT_USES as i, type EffectControlSchema as j, type EffectImageSource as k, type EffectInputSpec as l, type EffectKind as m, type EffectPreset as n, type EffectRenderer as o, type EffectRendererOptions as p, type EffectSearchOptions as q, type EffectSvgAnimation as r, type EffectValues as s, type EffectVectorMotion as t, type EffectVectorTarget as u, EffectsSlot as v, applyEffectMask as w, createEffectPixels as x, effectValueErrors as y, encodeEffectFloat as z };
2158
+ export { type VectorPaint as $, isEffectPixels as A, linearToSrgb as B, type CanvasGradientDef as C, resolveEffectValues as D, type EffectProvider as E, searchEffectSummaries as F, srgbToLinear as G, type VectorEffectParamsMap as H, type VectorPathNode as I, type VectorFillRule as J, type VectorBooleanOperation as K, type VectorNode as L, type VectorEffect as M, type VectorGroupNode as N, type VectorBounds as O, type VectorWarpMesh as P, type VectorInstanceNode as Q, type VectorFilterType as R, type SvgGradientDef as S, type VectorFilterParamsMap as T, type VectorFilter as U, type VectorEffectType as V, type VectorGradient as W, type Vec2 as X, type VectorGradientUnits as Y, type VectorGradientSpread as Z, type VectorGradientType as _, type EffectRenderRequest as a, type MotionEffectCommand as a$, type VectorMatrix as a0, type VectorGradientStop as a1, type VectorStrokeAlign as a2, type VectorSubpath as a3, type VectorDocument as a4, type VectorWidthPoint as a5, type MotionCommand as a6, type MotionShot as a7, type MotionScene as a8, type MotionDirection as a9, FLAIR_EXPORT_VERSION as aA, type FlairEase as aB, type FlairEaseName as aC, type FlairSpringEase as aD, type FlairSvgAnimation as aE, MOTION_BLENDS as aF, MOTION_CAMERA_MS as aG, MOTION_CASCADES as aH, MOTION_CLIP_TARGET as aI, MOTION_COMMAND_TYPES as aJ, MOTION_DEFAULT_DURATIONS as aK, MOTION_DEFAULT_HOLD as aL, MOTION_DIRECTIONS as aM, MOTION_DRAW_MS_PER_UNIT as aN, MOTION_DRAW_RANGE as aO, MOTION_DRIVEN_PROPERTIES as aP, MOTION_ENTER_STYLES as aQ, MOTION_EXIT_STYLES as aR, MOTION_IRIS_SHAPES as aS, MOTION_REPEAT_MODES as aT, MOTION_SPLIT_ORIENTATIONS as aU, MOTION_TEXT_UNITS as aV, MOTION_TRIGGERS as aW, type MotionColorPulseCommand as aX, type MotionCommandBase as aY, type MotionDrawCommand as aZ, type MotionDrawOrder as a_, type MotionIrisShape as aa, type MotionSplitOrientation as ab, type MotionDriver as ac, type MotionDrivenProperty as ad, type MotionRect as ae, type MotionBeatGrid as af, type MotionCue as ag, type MotionCamera as ah, type MotionTextUnit as ai, type MotionCascade as aj, type MotionBlur as ak, type MotionControl as al, type MotionPreset as am, type MotionClip as an, type FlairSvgMotion as ao, type FlairVectorEffect as ap, type MotionEffectSource as aq, type FlairExportOptions as ar, type FlairMotionExport as as, type FlairEffectOptions as at, type FlairEffectDocument as au, type MotionEnterStyle as av, type MotionExitStyle as aw, type MotionCommandType as ax, type MotionNarration as ay, FLAIR_EASES as az, type EffectPixels as b, type VectorFreeformGradient as b$, type MotionEnterCommand as b0, type MotionExitCommand as b1, type MotionFadeCommand as b2, type MotionFollowCommand as b3, type MotionMatchCommand as b4, type MotionMorphCommand as b5, type MotionMoveCommand as b6, type MotionPlayCommand as b7, type MotionPulseCommand as b8, type MotionRotateCommand as b9, type VectorCharacterStyle as bA, type VectorTextRun as bB, type VectorParagraphStyle as bC, type VectorTextFrame as bD, type VectorTransformHandle as bE, type VectorAnchorRef as bF, type VectorPathfinderOperation as bG, type VectorTool as bH, type VectorDefaults as bI, type VectorTextAlign as bJ, type VectorStyle as bK, type VectorHandleRef as bL, type VectorSegmentRef as bM, type VectorBlendOptions as bN, type VectorPerspectivePlane as bO, type VectorModifiers as bP, type VectorProviderEffect as bQ, type VectorBlendMode as bR, type VectorAlign as bS, type VectorDistribute as bT, type VectorArrange as bU, type VectorMaskType as bV, type VectorSymmetryMode as bW, type VectorSymmetry as bX, type VectorPerspective as bY, type VectorFreeformPoint as bZ, type VectorMeshGradient as b_, type MotionScaleCommand as ba, type MotionShakeCommand as bb, type MotionStyleCommand as bc, type MotionTeeterCommand as bd, type MotionTrigger as be, type MotionWaitCommand as bf, type MotionWaveCommand as bg, type MotionWiggleCommand as bh, flairAtLeast as bi, flairCurveFor as bj, flairEaseFor as bk, motionFlairPrimitive as bl, toFlairEffectDocument as bm, toFlairSvgMotion as bn, toFlairVectorEffect as bo, type VectorAnchor as bp, type VectorTextNode as bq, type VectorAnchorType as br, type VectorCornerKind as bs, type VectorViewport as bt, type VectorConnectorRoute as bu, type VectorConnectorSide as bv, type VectorConnectorEnd as bw, type VectorConnector as bx, type VectorConstraintKind as by, type VectorConstraint as bz, type EffectUse as c, parseCssGradient as c$, type VectorArrowhead as c0, type VectorLens as c1, type VectorResizing as c2, type VectorFrame as c3, type VectorHorizontalResizing as c4, type VectorVerticalResizing as c5, type VectorMask as c6, type VectorAverageAxis as c7, type VectorSymbol as c8, type VectorParameter as c9, VECTOR_MASK_TYPES as cA, VECTOR_MERGE_MODES as cB, VECTOR_PATHFINDER_OPERATIONS as cC, VECTOR_PATH_TEXT_BASELINES as cD, VECTOR_PERSPECTIVE_PLANES as cE, VECTOR_STROKE_GRADIENT_MODES as cF, VECTOR_SYMMETRY_MODES as cG, VECTOR_TEXT_ALIGNS as cH, VECTOR_TOOLS as cI, VECTOR_TRANSFORM_HANDLES as cJ, VECTOR_VERTICAL_RESIZING as cK, type VectorCorner as cL, type VectorGeomRef as cM, type VectorLineCap as cN, type VectorPathTextBaseline as cO, type VectorStrokeLayerKind as cP, type VectorTextRunStyle as cQ, type VectorWarpStyle as cR, CANVAS_GRADIENT_PRESETS as cS, type CanvasLinearGradient as cT, type CanvasRadialGradient as cU, type GradientStop as cV, PIXERATE_BRAND_GRADIENT as cW, type SvgGradientStop as cX, angleToSvgLinearCoords as cY, gradientToSvgDef as cZ, isCanvasGradient as c_, type VectorBlendSpacing as ca, type VectorGradientInterpolation as cb, type VectorStrokeGradientMode as cc, type VectorArrowAlign as cd, type VectorPaintLayer as ce, type VectorStrokeLayer as cf, type VectorBlend as cg, type VectorMergeMode as ch, type VectorLineJoin as ci, type VectorLensType as cj, type VectorStrokeSettings as ck, type VectorInstanceOverrides as cl, VECTOR_ARROWHEADS as cm, VECTOR_BLEND_MODES as cn, VECTOR_BLEND_SPACINGS as co, VECTOR_CONNECTOR_ROUTES as cp, VECTOR_CONNECTOR_SIDES as cq, VECTOR_CONSTRAINT_KINDS as cr, VECTOR_CORNER_KINDS as cs, VECTOR_EFFECT_TYPES as ct, VECTOR_FILTER_TYPES as cu, VECTOR_GRADIENT_INTERPOLATIONS as cv, VECTOR_GRADIENT_SPREADS as cw, VECTOR_GRADIENT_TYPES as cx, VECTOR_HORIZONTAL_RESIZING as cy, VECTOR_LENS_TYPES as cz, type EffectProviderCapabilities as d, resolveCanvasGradient as d0, type EffectValue as e, type EffectDescription as f, type EffectSummary as g, EFFECT_KINDS as h, EFFECT_USES as i, type EffectControlSchema as j, type EffectImageSource as k, type EffectInputSpec as l, type EffectKind as m, type EffectPreset as n, type EffectRenderer as o, type EffectRendererOptions as p, type EffectSearchOptions as q, type EffectSvgAnimation as r, type EffectValues as s, type EffectVectorMotion as t, type EffectVectorTarget as u, EffectsSlot as v, applyEffectMask as w, createEffectPixels as x, effectValueErrors as y, encodeEffectFloat as z };