@pixerate/editor 0.130.0 → 0.132.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 (72) 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-0IHDCvv_.d.ts} +1 -1
  6. package/dist/{bezier-CdoGygwG.d.cts → bezier-oCBfrGDG.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-PMHPXCJC.cjs → chunk-55UEZIU4.cjs} +119 -90
  10. package/dist/chunk-55UEZIU4.cjs.map +1 -0
  11. package/dist/{chunk-L5OTIYOO.js → chunk-ECVI5QRE.js} +2 -2
  12. package/dist/{chunk-ERYGCA72.js → chunk-G5FX56KX.js} +39 -10
  13. package/dist/{chunk-ERYGCA72.js.map → chunk-G5FX56KX.js.map} +1 -1
  14. package/dist/{chunk-PRYMC442.js → chunk-IEYXYMRQ.js} +255 -10
  15. package/dist/chunk-IEYXYMRQ.js.map +1 -0
  16. package/dist/{chunk-2PXRKMOH.cjs → chunk-OYPJGGF3.cjs} +36 -36
  17. package/dist/{chunk-2PXRKMOH.cjs.map → chunk-OYPJGGF3.cjs.map} +1 -1
  18. package/dist/{chunk-LXGOYRPE.cjs → chunk-YYJKIESX.cjs} +320 -75
  19. package/dist/chunk-YYJKIESX.cjs.map +1 -0
  20. package/dist/effects/index.d.cts +4 -4
  21. package/dist/effects/index.d.ts +4 -4
  22. package/dist/{export-B4r8b9Ft.d.ts → export-ByJvAvR7.d.ts} +26 -4
  23. package/dist/{export-5WDKJqTy.d.cts → export-CfAogLEr.d.cts} +1 -1
  24. package/dist/{export-CU_ARP3A.d.ts → export-Crl82sbE.d.ts} +1 -1
  25. package/dist/{export-CejjC2iI.d.cts → export-D-gkjBkB.d.cts} +26 -4
  26. package/dist/{helpers-X_rycLNJ.d.ts → helpers-BCd2-PAR.d.ts} +34 -1
  27. package/dist/{helpers-CzZu51eI.d.cts → helpers-CoIeXQnW.d.cts} +34 -1
  28. package/dist/image-editor/index.cjs +775 -723
  29. package/dist/image-editor/index.cjs.map +1 -1
  30. package/dist/image-editor/index.d.cts +8 -8
  31. package/dist/image-editor/index.d.ts +8 -8
  32. package/dist/image-editor/index.js +59 -7
  33. package/dist/image-editor/index.js.map +1 -1
  34. package/dist/index.cjs +11 -4
  35. package/dist/index.cjs.map +1 -1
  36. package/dist/index.js +11 -4
  37. package/dist/index.js.map +1 -1
  38. package/dist/{opentype-DlRMYcCW.d.cts → opentype-BDahNRTe.d.cts} +1 -1
  39. package/dist/{opentype-CrHAsKh3.d.ts → opentype-BQFEvy-t.d.ts} +1 -1
  40. package/dist/paint-editor/index.cjs +7 -7
  41. package/dist/paint-editor/index.d.cts +5 -5
  42. package/dist/paint-editor/index.d.ts +5 -5
  43. package/dist/paint-editor/index.js +2 -2
  44. package/dist/{pathfinder-CKfKOVP4.d.cts → pathfinder-01ZgAwqV.d.cts} +1 -1
  45. package/dist/{pathfinder-Dlss70hL.d.ts → pathfinder-DaVdT8jq.d.ts} +1 -1
  46. package/dist/{pool-DDOo0xJH.d.ts → pool-D2A3WTt9.d.ts} +1 -1
  47. package/dist/{pool-DKic69LD.d.cts → pool-D6a45MoE.d.cts} +1 -1
  48. package/dist/{svg-BRaii3pI.d.cts → svg-CcDz7Zq2.d.cts} +2 -2
  49. package/dist/{svg-BYVZeVo0.d.ts → svg-DELNVerw.d.ts} +2 -2
  50. package/dist/{tools-CtheDLDr.d.cts → tools-BFvkFnRj.d.cts} +1 -1
  51. package/dist/{tools-D8bZ-7YG.d.ts → tools-D7ws-OKL.d.ts} +1 -1
  52. package/dist/vector/index.cjs +1136 -1014
  53. package/dist/vector/index.cjs.map +1 -1
  54. package/dist/vector/index.d.cts +63 -10
  55. package/dist/vector/index.d.ts +63 -10
  56. package/dist/vector/index.js +129 -7
  57. package/dist/vector/index.js.map +1 -1
  58. package/dist/video-editor/index.d.cts +4 -4
  59. package/dist/video-editor/index.d.ts +4 -4
  60. package/dist/{warp-CZVC8pB5.d.ts → warp-2N9wkOkL.d.ts} +1 -1
  61. package/dist/{warp-BFoYxy_s.d.cts → warp-DErXW5rz.d.cts} +1 -1
  62. package/package.json +2 -2
  63. package/skills/pixerate-image-editor/SKILL.md +6 -2
  64. package/skills/pixerate-image-editor/references/color-management.md +1 -1
  65. package/skills/pixerate-image-editor/references/photoshop-files.md +2 -2
  66. package/skills/pixerate-image-editor/references/retouching.md +9 -1
  67. package/skills/pixerate-vector/SKILL.md +17 -0
  68. package/skills/pixerate-vector/references/commands.md +19 -0
  69. package/dist/chunk-LXGOYRPE.cjs.map +0 -1
  70. package/dist/chunk-PMHPXCJC.cjs.map +0 -1
  71. package/dist/chunk-PRYMC442.js.map +0 -1
  72. /package/dist/{chunk-L5OTIYOO.js.map → chunk-ECVI5QRE.js.map} +0 -0
@@ -1,9 +1,9 @@
1
- import { E as EffectProvider, d as EffectProviderCapabilities, a as EffectRenderRequest, c as EffectUse, e as EffectValue, f as EffectDescription, b as EffectPixels, g as EffectSummary } from '../helpers-CzZu51eI.cjs';
2
- export { h as EFFECT_KINDS, i as EFFECT_USES, j as EffectControlSchema, k as EffectImageSource, l as EffectInputSpec, m as EffectKind, n as EffectPreset, o as EffectRenderer, p as EffectRendererOptions, q as EffectSearchOptions, r as EffectSvgAnimation, s as EffectValues, t as EffectVectorMotion, u as EffectVectorTarget, v as EffectsSlot, w as applyEffectMask, x as createEffectPixels, y as effectValueErrors, z as encodeEffectFloat, A as isEffectPixels, B as linearToSrgb, D as resolveEffectValues, F as searchEffectSummaries, G as srgbToLinear } from '../helpers-CzZu51eI.cjs';
1
+ import { E as EffectProvider, d as EffectProviderCapabilities, a as EffectRenderRequest, c as EffectUse, e as EffectValue, f as EffectDescription, b as EffectPixels, g as EffectSummary } from '../helpers-CoIeXQnW.cjs';
2
+ export { h as EFFECT_KINDS, i as EFFECT_USES, j as EffectControlSchema, k as EffectImageSource, l as EffectInputSpec, m as EffectKind, n as EffectPreset, o as EffectRenderer, p as EffectRendererOptions, q as EffectSearchOptions, r as EffectSvgAnimation, s as EffectValues, t as EffectVectorMotion, u as EffectVectorTarget, v as EffectsSlot, w as applyEffectMask, x as createEffectPixels, y as effectValueErrors, z as encodeEffectFloat, A as isEffectPixels, B as linearToSrgb, D as resolveEffectValues, F as searchEffectSummaries, G as srgbToLinear } from '../helpers-CoIeXQnW.cjs';
3
3
  import { S as SchemaValidationError, J as JsonSchema } from '../schema-Di0CS6Pe.cjs';
4
- export { A as AppliedEffectInfo, E as EffectChangeResult, a as EffectTargetEffects, b as EffectToolContext, c as EffectToolHost, d as createEffectToolProvider } from '../tools-CtheDLDr.cjs';
4
+ export { A as AppliedEffectInfo, E as EffectChangeResult, a as EffectTargetEffects, b as EffectToolContext, c as EffectToolHost, d as createEffectToolProvider } from '../tools-BFvkFnRj.cjs';
5
5
  import { P as ParameterField, a as ParameterValue } from '../types-DMcf_z4J.cjs';
6
- export { E as EffectRendererPool, a as EffectRendererPoolOptions } from '../pool-DKic69LD.cjs';
6
+ export { E as EffectRendererPool, a as EffectRendererPoolOptions } from '../pool-D6a45MoE.cjs';
7
7
  import '../evaluate-BsxYieLN.cjs';
8
8
  import '../easing-lM0Xo9Ni.cjs';
9
9
  import '../types-CwMPoRMU.cjs';
@@ -1,9 +1,9 @@
1
- import { E as EffectProvider, d as EffectProviderCapabilities, a as EffectRenderRequest, c as EffectUse, e as EffectValue, f as EffectDescription, b as EffectPixels, g as EffectSummary } from '../helpers-X_rycLNJ.js';
2
- export { h as EFFECT_KINDS, i as EFFECT_USES, j as EffectControlSchema, k as EffectImageSource, l as EffectInputSpec, m as EffectKind, n as EffectPreset, o as EffectRenderer, p as EffectRendererOptions, q as EffectSearchOptions, r as EffectSvgAnimation, s as EffectValues, t as EffectVectorMotion, u as EffectVectorTarget, v as EffectsSlot, w as applyEffectMask, x as createEffectPixels, y as effectValueErrors, z as encodeEffectFloat, A as isEffectPixels, B as linearToSrgb, D as resolveEffectValues, F as searchEffectSummaries, G as srgbToLinear } from '../helpers-X_rycLNJ.js';
1
+ import { E as EffectProvider, d as EffectProviderCapabilities, a as EffectRenderRequest, c as EffectUse, e as EffectValue, f as EffectDescription, b as EffectPixels, g as EffectSummary } from '../helpers-BCd2-PAR.js';
2
+ export { h as EFFECT_KINDS, i as EFFECT_USES, j as EffectControlSchema, k as EffectImageSource, l as EffectInputSpec, m as EffectKind, n as EffectPreset, o as EffectRenderer, p as EffectRendererOptions, q as EffectSearchOptions, r as EffectSvgAnimation, s as EffectValues, t as EffectVectorMotion, u as EffectVectorTarget, v as EffectsSlot, w as applyEffectMask, x as createEffectPixels, y as effectValueErrors, z as encodeEffectFloat, A as isEffectPixels, B as linearToSrgb, D as resolveEffectValues, F as searchEffectSummaries, G as srgbToLinear } from '../helpers-BCd2-PAR.js';
3
3
  import { S as SchemaValidationError, J as JsonSchema } from '../schema-Di0CS6Pe.js';
4
- export { A as AppliedEffectInfo, E as EffectChangeResult, a as EffectTargetEffects, b as EffectToolContext, c as EffectToolHost, d as createEffectToolProvider } from '../tools-D8bZ-7YG.js';
4
+ export { A as AppliedEffectInfo, E as EffectChangeResult, a as EffectTargetEffects, b as EffectToolContext, c as EffectToolHost, d as createEffectToolProvider } from '../tools-D7ws-OKL.js';
5
5
  import { P as ParameterField, a as ParameterValue } from '../types-D3-J3TFf.js';
6
- export { E as EffectRendererPool, a as EffectRendererPoolOptions } from '../pool-DDOo0xJH.js';
6
+ export { E as EffectRendererPool, a as EffectRendererPoolOptions } from '../pool-D2A3WTt9.js';
7
7
  import '../evaluate-BbCeF6pt.js';
8
8
  import '../easing-lM0Xo9Ni.js';
9
9
  import '../types-CwMPoRMU.js';
@@ -2,9 +2,9 @@ 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';
5
+ import { B as BezierPath } from './bezier-0IHDCvv_.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-2N9wkOkL.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-BCd2-PAR.js';
8
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';
9
9
 
10
10
  /**
@@ -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. */
@@ -1221,6 +1223,11 @@ interface RenderOptions {
1221
1223
  y: number;
1222
1224
  diameter: number;
1223
1225
  } | null;
1226
+ /** Clone Stamp / Healing Brush: where the stroke samples from (a crosshair, document pixels). */
1227
+ cloneSourceMarker?: {
1228
+ x: number;
1229
+ y: number;
1230
+ } | null;
1224
1231
  /**
1225
1232
  * On-canvas text editing (`TextEditSession.overlay()`): the caret as a segment, the selected
1226
1233
  * ranges as quads and the text's frame, in natural pixels.
@@ -3937,6 +3944,19 @@ declare class ImageEditorController {
3937
3944
  * pixel then comes from the layers. `null` when there is nothing to draw.
3938
3945
  */
3939
3946
  private drawSource;
3947
+ /**
3948
+ * Where the Clone Stamp or Healing Brush samples for a brush at `cursor` (document pixels), or
3949
+ * `null` when neither tool is active or no source is set: the cursor plus the aligned offset
3950
+ * once a stroke has fixed it, else the source point itself (where the next stroke starts
3951
+ * sampling). The editors draw it as the clone source marker.
3952
+ */
3953
+ cloneSourceMarker(cursor?: {
3954
+ x: number;
3955
+ y: number;
3956
+ } | null): {
3957
+ x: number;
3958
+ y: number;
3959
+ } | null;
3940
3960
  render(targetCanvas: HTMLCanvasElement, options?: RenderOptions): Promise<void>;
3941
3961
  renderExport(options?: ExportOptions): Promise<HTMLCanvasElement>;
3942
3962
  /**
@@ -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-CoIeXQnW.cjs';
2
2
 
3
3
  /**
4
4
  * Keyframes for a clip's opacity, volume and transform. A property is either a plain number or
@@ -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-BCd2-PAR.js';
2
2
 
3
3
  /**
4
4
  * Keyframes for a clip's opacity, volume and transform. A property is either a plain number or
@@ -2,9 +2,9 @@ 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';
5
+ import { B as BezierPath } from './bezier-oCBfrGDG.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-DErXW5rz.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-CoIeXQnW.cjs';
8
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';
9
9
 
10
10
  /**
@@ -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. */
@@ -1221,6 +1223,11 @@ interface RenderOptions {
1221
1223
  y: number;
1222
1224
  diameter: number;
1223
1225
  } | null;
1226
+ /** Clone Stamp / Healing Brush: where the stroke samples from (a crosshair, document pixels). */
1227
+ cloneSourceMarker?: {
1228
+ x: number;
1229
+ y: number;
1230
+ } | null;
1224
1231
  /**
1225
1232
  * On-canvas text editing (`TextEditSession.overlay()`): the caret as a segment, the selected
1226
1233
  * ranges as quads and the text's frame, in natural pixels.
@@ -3937,6 +3944,19 @@ declare class ImageEditorController {
3937
3944
  * pixel then comes from the layers. `null` when there is nothing to draw.
3938
3945
  */
3939
3946
  private drawSource;
3947
+ /**
3948
+ * Where the Clone Stamp or Healing Brush samples for a brush at `cursor` (document pixels), or
3949
+ * `null` when neither tool is active or no source is set: the cursor plus the aligned offset
3950
+ * once a stroke has fixed it, else the source point itself (where the next stroke starts
3951
+ * sampling). The editors draw it as the clone source marker.
3952
+ */
3953
+ cloneSourceMarker(cursor?: {
3954
+ x: number;
3955
+ y: number;
3956
+ } | null): {
3957
+ x: number;
3958
+ y: number;
3959
+ } | null;
3940
3960
  render(targetCanvas: HTMLCanvasElement, options?: RenderOptions): Promise<void>;
3941
3961
  renderExport(options?: ExportOptions): Promise<HTMLCanvasElement>;
3942
3962
  /**
@@ -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 };
@@ -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)
@@ -2100,4 +2133,4 @@ declare class EffectsSlot {
2100
2133
  subscribe(listener: (provider: EffectProvider | null) => void): () => void;
2101
2134
  }
2102
2135
 
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 };
2136
+ 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 VectorLens 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 VectorResizing as c0, type VectorFrame as c1, type VectorHorizontalResizing as c2, type VectorVerticalResizing as c3, type VectorMask as c4, type VectorAverageAxis as c5, type VectorSymbol as c6, type VectorParameter as c7, type VectorBlendSpacing as c8, type VectorGradientInterpolation as c9, VECTOR_PATHFINDER_OPERATIONS as cA, VECTOR_PATH_TEXT_BASELINES as cB, VECTOR_STROKE_GRADIENT_MODES as cC, VECTOR_SYMMETRY_MODES as cD, VECTOR_TEXT_ALIGNS as cE, VECTOR_TOOLS as cF, VECTOR_TRANSFORM_HANDLES as cG, VECTOR_VERTICAL_RESIZING as cH, type VectorCorner as cI, type VectorGeomRef as cJ, type VectorLineCap as cK, type VectorPathTextBaseline as cL, type VectorStrokeLayerKind as cM, type VectorTextRunStyle as cN, type VectorWarpStyle as cO, CANVAS_GRADIENT_PRESETS as cP, type CanvasLinearGradient as cQ, type CanvasRadialGradient as cR, type GradientStop as cS, PIXERATE_BRAND_GRADIENT as cT, type SvgGradientStop as cU, angleToSvgLinearCoords as cV, gradientToSvgDef as cW, isCanvasGradient as cX, parseCssGradient as cY, resolveCanvasGradient as cZ, type VectorStrokeGradientMode as ca, type VectorArrowAlign as cb, type VectorPaintLayer as cc, type VectorStrokeLayer as cd, type VectorBlend as ce, type VectorMergeMode as cf, type VectorLineJoin as cg, type VectorLensType as ch, type VectorStrokeSettings as ci, type VectorInstanceOverrides as cj, VECTOR_ARROWHEADS as ck, VECTOR_BLEND_MODES as cl, VECTOR_BLEND_SPACINGS as cm, VECTOR_CONNECTOR_ROUTES as cn, VECTOR_CONNECTOR_SIDES as co, VECTOR_CONSTRAINT_KINDS as cp, VECTOR_CORNER_KINDS as cq, VECTOR_EFFECT_TYPES as cr, VECTOR_FILTER_TYPES as cs, VECTOR_GRADIENT_INTERPOLATIONS as ct, VECTOR_GRADIENT_SPREADS as cu, VECTOR_GRADIENT_TYPES as cv, VECTOR_HORIZONTAL_RESIZING as cw, VECTOR_LENS_TYPES as cx, VECTOR_MASK_TYPES as cy, VECTOR_MERGE_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 };
@@ -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)
@@ -2100,4 +2133,4 @@ declare class EffectsSlot {
2100
2133
  subscribe(listener: (provider: EffectProvider | null) => void): () => void;
2101
2134
  }
2102
2135
 
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 };
2136
+ 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 VectorLens 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 VectorResizing as c0, type VectorFrame as c1, type VectorHorizontalResizing as c2, type VectorVerticalResizing as c3, type VectorMask as c4, type VectorAverageAxis as c5, type VectorSymbol as c6, type VectorParameter as c7, type VectorBlendSpacing as c8, type VectorGradientInterpolation as c9, VECTOR_PATHFINDER_OPERATIONS as cA, VECTOR_PATH_TEXT_BASELINES as cB, VECTOR_STROKE_GRADIENT_MODES as cC, VECTOR_SYMMETRY_MODES as cD, VECTOR_TEXT_ALIGNS as cE, VECTOR_TOOLS as cF, VECTOR_TRANSFORM_HANDLES as cG, VECTOR_VERTICAL_RESIZING as cH, type VectorCorner as cI, type VectorGeomRef as cJ, type VectorLineCap as cK, type VectorPathTextBaseline as cL, type VectorStrokeLayerKind as cM, type VectorTextRunStyle as cN, type VectorWarpStyle as cO, CANVAS_GRADIENT_PRESETS as cP, type CanvasLinearGradient as cQ, type CanvasRadialGradient as cR, type GradientStop as cS, PIXERATE_BRAND_GRADIENT as cT, type SvgGradientStop as cU, angleToSvgLinearCoords as cV, gradientToSvgDef as cW, isCanvasGradient as cX, parseCssGradient as cY, resolveCanvasGradient as cZ, type VectorStrokeGradientMode as ca, type VectorArrowAlign as cb, type VectorPaintLayer as cc, type VectorStrokeLayer as cd, type VectorBlend as ce, type VectorMergeMode as cf, type VectorLineJoin as cg, type VectorLensType as ch, type VectorStrokeSettings as ci, type VectorInstanceOverrides as cj, VECTOR_ARROWHEADS as ck, VECTOR_BLEND_MODES as cl, VECTOR_BLEND_SPACINGS as cm, VECTOR_CONNECTOR_ROUTES as cn, VECTOR_CONNECTOR_SIDES as co, VECTOR_CONSTRAINT_KINDS as cp, VECTOR_CORNER_KINDS as cq, VECTOR_EFFECT_TYPES as cr, VECTOR_FILTER_TYPES as cs, VECTOR_GRADIENT_INTERPOLATIONS as ct, VECTOR_GRADIENT_SPREADS as cu, VECTOR_GRADIENT_TYPES as cv, VECTOR_HORIZONTAL_RESIZING as cw, VECTOR_LENS_TYPES as cx, VECTOR_MASK_TYPES as cy, VECTOR_MERGE_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 };