@pixerate/editor 0.123.0 → 0.124.1

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 (116) hide show
  1. package/dist/agent/index.cjs +2 -2
  2. package/dist/agent/index.cjs.map +1 -1
  3. package/dist/agent/index.js +3 -3
  4. package/dist/animation/index.d.cts +2 -1
  5. package/dist/animation/index.d.ts +2 -1
  6. package/dist/animation-editor/index.cjs.map +1 -1
  7. package/dist/animation-editor/index.d.cts +11 -733
  8. package/dist/animation-editor/index.d.ts +11 -733
  9. package/dist/animation-editor/index.js.map +1 -1
  10. package/dist/{bezier-C-W9LFyD.d.cts → bezier-CBzKKDjl.d.cts} +2 -66
  11. package/dist/{bezier-DQZE5dxA.d.ts → bezier-CWv6LQal.d.ts} +2 -66
  12. package/dist/{brushstrokeRender-M4S65DHT.cjs → brushstrokeRender-EELTV7U4.cjs} +8 -8
  13. package/dist/{brushstrokeRender-M4S65DHT.cjs.map → brushstrokeRender-EELTV7U4.cjs.map} +1 -1
  14. package/dist/{brushstrokeRender-CDDRSV2W.js → brushstrokeRender-LRV7GXGD.js} +3 -3
  15. package/dist/canvas/index.cjs +6 -6
  16. package/dist/canvas/index.d.cts +10 -6
  17. package/dist/canvas/index.d.ts +10 -6
  18. package/dist/canvas/index.js +1 -1
  19. package/dist/{chunk-SMJGE7HM.cjs → chunk-4QQZV5Y5.cjs} +512 -39
  20. package/dist/chunk-4QQZV5Y5.cjs.map +1 -0
  21. package/dist/{chunk-TVXFHE4T.js → chunk-64PYNEHJ.js} +45 -12
  22. package/dist/chunk-64PYNEHJ.js.map +1 -0
  23. package/dist/{chunk-2IW3BWRT.cjs → chunk-7LQO6OHH.cjs} +2 -2
  24. package/dist/{chunk-2IW3BWRT.cjs.map → chunk-7LQO6OHH.cjs.map} +1 -1
  25. package/dist/chunk-CN4PJHUG.cjs +234 -0
  26. package/dist/chunk-CN4PJHUG.cjs.map +1 -0
  27. package/dist/chunk-FHYDQOPC.cjs +215 -0
  28. package/dist/chunk-FHYDQOPC.cjs.map +1 -0
  29. package/dist/{chunk-KMBC4HNV.js → chunk-J67OLQUQ.js} +2 -2
  30. package/dist/chunk-JRXJTPES.js +215 -0
  31. package/dist/chunk-JRXJTPES.js.map +1 -0
  32. package/dist/{chunk-IPFRWILU.js → chunk-ORHMVUR6.js} +488 -15
  33. package/dist/chunk-ORHMVUR6.js.map +1 -0
  34. package/dist/{chunk-6CJRDJCU.cjs → chunk-PEHYWUVV.cjs} +176 -111
  35. package/dist/chunk-PEHYWUVV.cjs.map +1 -0
  36. package/dist/chunk-QEG3GRN2.js +234 -0
  37. package/dist/chunk-QEG3GRN2.js.map +1 -0
  38. package/dist/{chunk-6ZBR4J62.js → chunk-WATAQ2Z2.js} +79 -14
  39. package/dist/chunk-WATAQ2Z2.js.map +1 -0
  40. package/dist/{chunk-RLRUAPBJ.cjs → chunk-Z6OUCS2K.cjs} +47 -14
  41. package/dist/chunk-Z6OUCS2K.cjs.map +1 -0
  42. package/dist/effects/index.cjs +605 -0
  43. package/dist/effects/index.cjs.map +1 -0
  44. package/dist/effects/index.d.cts +163 -0
  45. package/dist/effects/index.d.ts +163 -0
  46. package/dist/effects/index.js +605 -0
  47. package/dist/effects/index.js.map +1 -0
  48. package/dist/evaluate-2S3vSPLy.d.cts +55 -0
  49. package/dist/evaluate-CfmT6xA3.d.ts +55 -0
  50. package/dist/{export-DfjzHAJI.d.ts → export-BGtXgMJ3.d.ts} +536 -128
  51. package/dist/{export-Dv0-ZVrV.d.cts → export-BdfY_lH0.d.ts} +392 -5
  52. package/dist/{export-Dv0-ZVrV.d.ts → export-CbpjwxaI.d.cts} +392 -5
  53. package/dist/{export-lU5qSpHE.d.cts → export-WmYoWmLM.d.cts} +536 -128
  54. package/dist/flair-CxB3fOcU.d.ts +739 -0
  55. package/dist/flair-D7BxyBwL.d.cts +739 -0
  56. package/dist/gradient-KDfCvhuj.d.cts +66 -0
  57. package/dist/gradient-KDfCvhuj.d.ts +66 -0
  58. package/dist/helpers-777mC6dc.d.cts +253 -0
  59. package/dist/helpers-DX2_7L5t.d.ts +253 -0
  60. package/dist/image-editor/index.cjs +1296 -805
  61. package/dist/image-editor/index.cjs.map +1 -1
  62. package/dist/image-editor/index.d.cts +39 -182
  63. package/dist/image-editor/index.d.ts +39 -182
  64. package/dist/image-editor/index.js +497 -6
  65. package/dist/image-editor/index.js.map +1 -1
  66. package/dist/{opentype-p8Xxf-Wh.d.ts → opentype-14PDI5D2.d.ts} +1 -1
  67. package/dist/{opentype-BV7wWatY.d.cts → opentype-D80AVmMu.d.cts} +1 -1
  68. package/dist/paint/index.cjs +2 -2
  69. package/dist/paint/index.d.cts +32 -10
  70. package/dist/paint/index.d.ts +32 -10
  71. package/dist/paint/index.js +1 -1
  72. package/dist/paint-editor/index.cjs +10 -8
  73. package/dist/paint-editor/index.cjs.map +1 -1
  74. package/dist/paint-editor/index.d.cts +11 -5
  75. package/dist/paint-editor/index.d.ts +11 -5
  76. package/dist/paint-editor/index.js +4 -2
  77. package/dist/paint-editor/index.js.map +1 -1
  78. package/dist/parameters/index.d.cts +4 -184
  79. package/dist/parameters/index.d.ts +4 -184
  80. package/dist/{pathfinder-IxcyhO00.d.cts → pathfinder-C0UoFypx.d.cts} +1 -1
  81. package/dist/{pathfinder-StVChJOT.d.ts → pathfinder-DjISxkUv.d.ts} +1 -1
  82. package/dist/{player-DrcP2xqj.d.cts → player-CBtEoU2x.d.cts} +2 -54
  83. package/dist/{player-DV4Jujdq.d.ts → player-cGLrngL_.d.ts} +2 -54
  84. package/dist/{svg-BtND4TJu.d.cts → svg-BDrjRnL1.d.cts} +3 -2
  85. package/dist/{svg-BfVXG7hL.d.ts → svg-C-vZ3q50.d.ts} +3 -2
  86. package/dist/tools/index.cjs +2 -2
  87. package/dist/tools/index.cjs.map +1 -1
  88. package/dist/tools/index.js +3 -3
  89. package/dist/tools-C7JtLYzo.d.ts +126 -0
  90. package/dist/tools-DHKGHiSK.d.cts +126 -0
  91. package/dist/{types-fuXEme9j.d.ts → types-BcX7sCsn.d.ts} +2 -2
  92. package/dist/{types-DJF3Ghn5.d.cts → types-CznabG7m.d.cts} +2 -2
  93. package/dist/types-D3-J3TFf.d.ts +185 -0
  94. package/dist/types-DMcf_z4J.d.cts +185 -0
  95. package/dist/vector/index.d.cts +10 -10
  96. package/dist/vector/index.d.ts +10 -10
  97. package/dist/video-editor/index.cjs +749 -277
  98. package/dist/video-editor/index.cjs.map +1 -1
  99. package/dist/video-editor/index.d.cts +265 -138
  100. package/dist/video-editor/index.d.ts +265 -138
  101. package/dist/video-editor/index.js +490 -18
  102. package/dist/video-editor/index.js.map +1 -1
  103. package/dist/{warp-BjmAgQwq.d.cts → warp-CH9MM435.d.cts} +1 -1
  104. package/dist/{warp-Ca5fedzS.d.ts → warp-k_PdtXOG.d.ts} +1 -1
  105. package/package.json +6 -1
  106. package/skills/pixerate-image-editor/SKILL.md +7 -0
  107. package/skills/pixerate-image-editor/references/provider-effects.md +35 -0
  108. package/skills/pixerate-video-editor/SKILL.md +39 -1
  109. package/dist/chunk-6CJRDJCU.cjs.map +0 -1
  110. package/dist/chunk-6ZBR4J62.js.map +0 -1
  111. package/dist/chunk-IPFRWILU.js.map +0 -1
  112. package/dist/chunk-RLRUAPBJ.cjs.map +0 -1
  113. package/dist/chunk-SMJGE7HM.cjs.map +0 -1
  114. package/dist/chunk-TVXFHE4T.js.map +0 -1
  115. /package/dist/{brushstrokeRender-CDDRSV2W.js.map → brushstrokeRender-LRV7GXGD.js.map} +0 -0
  116. /package/dist/{chunk-KMBC4HNV.js.map → chunk-J67OLQUQ.js.map} +0 -0
@@ -1,27 +1,34 @@
1
- import { a as ImageAdjustments, D as DepthMaskOptions, b as SerializedImageEditorState, A as AdjustmentKind, c as AdjustmentLayer, d as AdjustmentParamsMap, e as AdjustmentLayerMask, f as AdjustmentLayerOf, C as CurvePoint, H as HueRange, L as LevelsChannel, g as ImageEditorController, h as SelectionMask, i as SelectionMode, j as ColorDistance, R as RefineEdgeParams, k as ImagePoint, l as ImageLayer, m as CropBox, n as RasterMask, o as Annotation, p as AdjustmentLayerNode, T as TextEnv, q as AnnotationLayer, r as ShapeLayer, s as TypeLayer, t as LayerFilter, u as PixelLayer, v as DevelopFilter, w as ImageTransform, x as ImageHistogram, y as ImageProjection, z as CompositorSources, B as LayerCompositor, E as SmartFilterStack, F as SmartFilter, G as SmartObjectLayer, J as SmartContents, K as SmartDocument, M as SmartPlacement, N as FreeTransformGeometry, O as LiveShapeKind, Q as TypeLayerInfo, U as LayerPlacement, V as FreeTransformMode, W as FreeTransformResult, X as FreeTransformSession, Y as FreeTransformInit, Z as TransformAnchor } from '../export-lU5qSpHE.cjs';
2
- export { _ as AIResultOptions, $ as AdjustmentLayerBase, a0 as AdjustmentLayerInit, a1 as AdjustmentLayerUpdate, a2 as AnnotationPlacement, a3 as AnnotationType, a4 as ArrowAnnotation, a5 as AspectRatio, a6 as BaseAnnotation, a7 as BlackWhiteParams, a8 as BlurFilter, a9 as CircleAnnotation, aa as CloneSource, ab as ColorBalanceParams, ac as ColorBalanceTone, ad as ColorRangeOptions, ae as ColorRangeSample, af as CreateAnnotationPayload, ag as CropHandle, ah as CurvesParams, ai as DEFAULT_ADJUSTMENTS, aj as DEFAULT_DEPTH_MASK, ak as DEFAULT_MITER_LIMIT, al as DEFAULT_PROOF, am as DEFAULT_REFINE_EDGE_PARAMS, an as DEFAULT_TRANSFORM, ao as DeserializeContext, ap as DevelopSettings, aq as DocumentColorMode, ar as DocumentColorProfile, as as EMPTY_DISTANCE, at as ExportOptions, au as FREE_TRANSFORM_CONTENTS, av as FREE_TRANSFORM_MODES, aw as FillOptions, ax as FreeTransformContent, ay as FreeTransformHost, az as FreeTransformPreview, aA as GUIDED_FILTER_EPS, aB as GroupLayer, aC as HISTOGRAM_BINS, aD as HistogramChannel, aE as HistoryEntryHandle, aF as HueSaturationParams, aG as IMAGE_EDITOR_SCHEMA_VERSION, aH as ImageAnnotation, aI as ImageDimensions, aJ as ImageEditorAIHooks, I as ImageEditorAssetStore, aK as ImageEditorFit, aL as ImageEditorOptions, aM as ImageEditorRenderer, aN as ImageEditorState, aO as ImageEditorTool, aP as ImageLayerType, aQ as InpaintHook, aR as InpaintOptions, aS as InvertParams, aT as LAYERED_SCHEMA_VERSION, aU as LIVE_SHAPE_KINDS, aV as LayerBase, aW as LayerBlendMode, aX as LayerFilterKind, aY as LayerLocation, aZ as LayerMaskProps, a_ as LayerOperationError, a$ as LayerProperties, b0 as LayerSourcesHost, b1 as LayerTarget, b2 as LegacySerializedImageEditorState, b3 as LevelsParams, b4 as LineAnnotation, b5 as LiveShape, b6 as MagicWandOptions, b7 as MixerStrokeInit, b8 as PARAGRAPH_STYLE_FIELDS, b9 as PSD_BLEND_KEYS, ba as PaintOptions, bb as PaintStrokeResult, bc as PaintStrokeSession, bd as PenAnnotation, be as PhotoFilterParams, bf as PixelBuffer, bg as PixelLayerInit, bh as PixelTransform, bi as PosterizeParams, bj as ProofSetup, bk as PsdChannel, bl as PsdExportInput, P as PsdExportResult, bm as PsdFile, bn as PsdHeader, bo as PsdImportOptions, bp as PsdImportResult, bq as PsdLayerMask, br as PsdLayerRecord, bs as PsdLayerSummary, bt as PsdRect, bu as PsdResource, bv as PsdSmartFilter, bw as PsdTaggedBlock, bx as PsdTreeNode, by as RETOUCH_TOOLS, bz as RectAnnotation, bA as RemoveBackgroundHook, bB as RemoveBackgroundOptions, bC as RenderOptions, bD as RetouchStrokeInit, bE as RetouchTool, bF as SELECTION_MODES, bG as SELECTION_MODIFY_OPS, bH as SHAPE_OPERATIONS, bI as SHAPE_RENDER_MARGIN, bJ as SampleOptions, bK as SelectionChannel, bL as SelectionCommandOptions, bM as SelectionModifyOp, bN as SerializeContext, bO as SerializedAdjustmentLayer, bP as SerializedAnnotationLayer, bQ as SerializedColorMode, bR as SerializedColorProfile, bS as SerializedDeepPixels, bT as SerializedGroupLayer, S as SerializedLayer, bU as SerializedLayerEffects, bV as SerializedLayeredImageEditorState, bW as SerializedPattern, bX as SerializedPixelLayer, bY as SerializedRasterMask, bZ as SerializedSelection, b_ as SerializedShapeLayer, b$ as SerializedSmartContents, c0 as SerializedSmartFilter, c1 as SerializedSmartObjectLayer, c2 as SerializedTypeLayer, c3 as ShapeArrowhead, c4 as ShapeComponent, c5 as ShapeEnv, c6 as ShapeFillRule, c7 as ShapeGeometryInput, c8 as ShapeLayerData, c9 as ShapeLayerInfo, ca as ShapeLayerInit, cb as ShapeLineCap, cc as ShapeLineJoin, cd as ShapeOperation, ce as ShapePaint, cf as ShapePsdData, cg as ShapeSelectionOptions, ch as ShapeStroke, ci as ShapeStrokeAlign, cj as ShapeStrokeInput, ck as SmartFilterKind, cl as SmartObjectInfo, cm as SmartPsdData, cn as StrokeInit, co as StrokeTool, cp as TEXT_RENDER_MARGIN, cq as TEXT_STYLE_FIELDS, cr as TONE_RANGE_PRESETS, cs as TRANSFORM_ANCHORS, ct as TextAnnotation, cu as TextLayerInit, cv as ThresholdParams, cw as ToneRangePreset, cx as TransformParams, cy as TransformReadout, cz as TypeLayerData, cA as TypePsdData, cB as VibranceParams, cC as ViewportMetrics, cD as addLayerEffect, cE as addLayerFilter, cF as adjustmentNodeAsLayer, cG as anchorPoint, cH as annotationBlend, cI as annotationOfShape, cJ as annotationOfType, cK as applyImageProjectionToContext, cL as applyParams, cM as blurFilter, cN as borderCoverage, cO as boxMean, cP as boxPointOf, cQ as buildLayerMaskPlanes, cR as calculateCropDrag, cS as canvasToImagePoint, cT as clampCropToImage, cU as colorModePlanes, cV as colorRange, cW as combineSelections, cX as componentPath, cY as compositeDeep, cZ as computeHistogram, c_ as computeSelectionBounds, c$ as contractCoverage, d0 as convertHex, d1 as convertSurfaceColors, d2 as cornersFromMatrix, d3 as coverageToByte, d4 as createSelectionMask, d5 as createShapeLayer, d6 as createTypeLayer, d7 as decodeDeepSurface, d8 as decodeLayerChannel, d9 as decodeLayerMask, da as decodeMergedImage, db as decodePngDataUrl, dc as decodeSelectionRle, dd as defaultShapeName, de as depthMaskAlpha, df as describeTransform, dg as deserializeColorMode, dh as deserializeColorProfile, di as deserializeEffects, dj as deserializeLayer, dk as deserializeLayers, dl as deserializePatterns, dm as deserializeSelection, dn as developFilter, dp as displayTransform, dq as distanceTransform, dr as documentProfile, ds as duplicateLayer, dt as edgeWidth, du as effectiveProof, dv as ellipsePoints, dw as ellipseSelection, dx as encodeDeepSurface, dy as encodeSelectionRle, dz as encodeSurface, dA as expandCoverage, dB as exportPsd, dC as featherCoverage, dD as flipCorners, dE as fullSelection, dF as geometryHomography, dG as getAnnotationBounds, dH as getCropCursor, dI as getRotatedSize, dJ as getViewportMetrics, dK as getViewportProjection, dL as globalImageCache, dM as greyMorphology, dN as groupLayers, dO as guidePlanes, dP as guidedFilterColor, dQ as hasSurface, dR as hasWarp, dS as hashMaskContent, dT as histogramPath, dU as hitTestAnnotation, dV as hitTestCrop, dW as hueRange, dX as identityTransform, dY as imageToCanvasPoint, dZ as importPsd, d_ as invertSelection, d$ as isActiveFilter, e0 as isIdentityTransform, e1 as isQuarterTurnSwapped, e2 as isRenderedLayer, e3 as isRetouchTool, e4 as isSelectionEmpty, e5 as isSelectionMode, e6 as isSpatialFilter, e7 as isSrgb, e8 as isTransformAnchor, e9 as isValidWarp, ea as layerEffectsOf, eb as layerMaskCoverage, ec as layerMaskFromSelection, ed as layerMaskKey, ee as layerName, ef as layerTree, eg as layerTypeLabel, eh as liveComponent, ei as liveShapeSubpaths, ej as magicWand, ek as mapCropHandle, el as mapSubpaths, em as matrixFromCorners, en as matrixFromParams, eo as mergeShapeComponents, ep as migrateSerializedImageEditorState, eq as migrateToLayeredState, er as modifySelection, es as moveLayer, et as newLayerId, eu as normalizeAngle, ev as normalizeFilter, ew as normalizeLayerMask, ex as normalizeLiveShape, ey as normalizeRect, ez as normalizeRefineEdgeParams, eA as normalizeShapePaint, eB as normalizeShapeStroke, eC as normalizeStoredAdjustments, eD as normalizeSubpaths, eE as normalizeText, eF as offsetLayer, eG as offsetShape, eH as parseBlend, eI as parseColor, eJ as parseSelectionMode, eK as patchParagraphStyle, eL as patchTextStyle, eM as pixelLayerBounds, eN as pixelLayers, eO as placeLayer, eP as polygonCoverage, eQ as polygonSelection, eR as presetWarp, eS as previewStep, eT as profileBytes, eU as projectImagePoint, eV as projectImageRect, eW as projectMaskCoverage, eX as psdToLayers, eY as readPsd, eZ as rectSelection, e_ as referencePoint, e$ as refineCoverage, f0 as refineEdgeHalo, f1 as refineSelection, f2 as removeLayer, f3 as removeLayerEffect, f4 as removeLayerFilter, f5 as renderShape, f6 as renderShapeRect, f7 as renderText, f8 as replaceTextRange, f9 as requireLayer, fa as requireOperation, fb as requireShapeLayer, fc as requireTypeLayer, fd as requireUnlocked, fe as rerenderShape, ff as rerenderText, fg as resizePixels, fh as resizeSelection, fi as resolveExternalAssets, fj as resolveProfile, fk as runLayerFilters, fl as runLayerFiltersFloat, fm as selectionArea, fn as selectionFromCoverage, fo as selectionFromPixels, fp as selectionToCoverage, fq as selectionToPixels, fr as selectionValueAt, fs as serializeColorMode, ft as serializeColorProfile, fu as serializeContents, fv as serializeEffects, fw as serializeLayer, fx as serializeLayers, fy as serializeLayersExternal, fz as serializePatterns, fA as serializeSelection, fB as setLayerEffects, fC as setLayerEffectsEnabled, fD as setLayerMask, fE as setLayerProperties, fF as shapeAsPixelLayer, fG as shapeFromAnnotation, fH as shapeGeometryBounds, fI as shapeLayers, fJ as shapeOutline, fK as shapeRenderClip, fL as shiftCoverage, fM as smartObjectLayers, fN as smoothCoverage, fO as srgb8ToLab, fP as textMatrix, fQ as textOutlines, fR as textRange, fS as toHex, fT as toTextSpace, fU as toneRange, fV as transformHomography, fW as transformMap, fX as transformShapeComponents, fY as transformTypeLayer, fZ as transformedBox, f_ as transformedPoint, f$ as typeAsPixelLayer, g0 as typeFrame, g1 as typeFromAnnotation, g2 as typeLayerName, g3 as ungroupLayer, g4 as unionRect, g5 as unprojectCanvasPoint, g6 as updateLayerEffect, g7 as updateLayerFilter, g8 as updateLayerMaskProps, g9 as updateShapeLayer, ga as updateTypeLayer, gb as withNewIds, gc as writePsd } from '../export-lU5qSpHE.cjs';
1
+ import { a as ImageAdjustments, D as DepthMaskOptions, b as SerializedImageEditorState, A as AdjustmentKind, c as AdjustmentLayer, d as AdjustmentParamsMap, e as AdjustmentLayerMask, f as AdjustmentLayerOf, C as CurvePoint, H as HueRange, L as LevelsChannel, g as ImageEditorController, h as SelectionMask, i as SelectionMode, j as ColorDistance, R as RefineEdgeParams, k as ImagePoint, l as ImageLayer, m as CropBox, n as RasterMask, o as Annotation, p as AdjustmentLayerNode, T as TextEnv, q as AnnotationLayer, r as ShapeLayer, s as TypeLayer, t as LayerFilter, u as PixelLayer, v as DevelopFilter, w as ImageTransform, x as ImageHistogram, y as ImageProjection, z as CompositorSources, B as LayerCompositor, E as LiveShapeKind, F as TypeLayerInfo, G as SmartFilter, J as LayerPlacement, K as FreeTransformMode, M as FreeTransformResult, N as FreeTransformSession, O as FreeTransformInit, Q as TransformAnchor } from '../export-WmYoWmLM.cjs';
2
+ export { U as AIResultOptions, V as AdjustmentLayerBase, W as AdjustmentLayerInit, X as AdjustmentLayerUpdate, Y as AnnotationPlacement, Z as AnnotationType, _ as ArrowAnnotation, $ as AspectRatio, a0 as BaseAnnotation, a1 as BlackWhiteParams, a2 as BlurFilter, a3 as CircleAnnotation, a4 as CloneSource, a5 as ColorBalanceParams, a6 as ColorBalanceTone, a7 as ColorRangeOptions, a8 as ColorRangeSample, a9 as ConvertOptions, aa as CreateAnnotationPayload, ab as CropHandle, ac as CurvesParams, ad as DEFAULT_ADJUSTMENTS, ae as DEFAULT_DEPTH_MASK, af as DEFAULT_MITER_LIMIT, ag as DEFAULT_PROOF, ah as DEFAULT_REFINE_EDGE_PARAMS, ai as DEFAULT_TRANSFORM, aj as DeserializeContext, ak as DevelopSettings, al as DocumentColorMode, am as DocumentColorProfile, an as EMPTY_DISTANCE, ao as EffectSmartFilter, ap as ExportOptions, aq as FREE_TRANSFORM_CONTENTS, ar as FREE_TRANSFORM_MODES, as as FillOptions, at as FreeTransformContent, au as FreeTransformGeometry, av as FreeTransformHost, aw as FreeTransformPreview, ax as GUIDED_FILTER_EPS, ay as GroupLayer, az as HISTOGRAM_BINS, aA as HistogramChannel, aB as HistoryEntryHandle, aC as HueSaturationParams, aD as IMAGE_EDITOR_SCHEMA_VERSION, aE as IMAGE_EFFECT_PLACES, aF as ImageAnnotation, aG as ImageDimensions, aH as ImageEditorAIHooks, I as ImageEditorAssetStore, aI as ImageEditorFit, aJ as ImageEditorOptions, aK as ImageEditorRenderer, aL as ImageEditorState, aM as ImageEditorTool, aN as ImageEffectGenerator, aO as ImageEffectPlace, aP as ImageEffectsEngine, aQ as ImageEffectsEngineOptions, aR as ImageLayerType, aS as InpaintHook, aT as InpaintOptions, aU as InvertParams, aV as LAYERED_SCHEMA_VERSION, aW as LIVE_SHAPE_KINDS, aX as LayerBase, aY as LayerBlendMode, aZ as LayerFilterKind, a_ as LayerLocation, a$ as LayerMaskProps, b0 as LayerOperationError, b1 as LayerProperties, b2 as LayerSourcesHost, b3 as LayerTarget, b4 as LegacySerializedImageEditorState, b5 as LevelsParams, b6 as LineAnnotation, b7 as LiveShape, b8 as MagicWandOptions, b9 as MixerStrokeInit, ba as PARAGRAPH_STYLE_FIELDS, bb as PSD_BLEND_KEYS, bc as PaintOptions, bd as PaintStrokeResult, be as PaintStrokeSession, bf as PenAnnotation, bg as PhotoFilterParams, bh as PixelBuffer, bi as PixelLayerInit, bj as PixelTransform, bk as PosterizeParams, bl as ProofSetup, bm as PsdChannel, bn as PsdExportInput, P as PsdExportResult, bo as PsdFile, bp as PsdHeader, bq as PsdImportOptions, br as PsdImportResult, bs as PsdLayerMask, bt as PsdLayerRecord, bu as PsdLayerSummary, bv as PsdRect, bw as PsdResource, bx as PsdSmartFilter, by as PsdTaggedBlock, bz as PsdTreeNode, bA as RETOUCH_TOOLS, bB as RectAnnotation, bC as RemoveBackgroundHook, bD as RemoveBackgroundOptions, bE as RenderOptions, bF as RetouchStrokeInit, bG as RetouchTool, bH as SELECTION_MODES, bI as SELECTION_MODIFY_OPS, bJ as SHAPE_OPERATIONS, bK as SHAPE_RENDER_MARGIN, bL as SMART_RENDER_MARGIN, bM as SampleOptions, bN as SelectionChannel, bO as SelectionCommandOptions, bP as SelectionModifyOp, bQ as SerializeContext, bR as SerializedAdjustmentLayer, bS as SerializedAnnotationLayer, bT as SerializedColorMode, bU as SerializedColorProfile, bV as SerializedDeepPixels, bW as SerializedGroupLayer, S as SerializedLayer, bX as SerializedLayerEffects, bY as SerializedLayeredImageEditorState, bZ as SerializedPattern, b_ as SerializedPixelLayer, b$ as SerializedRasterMask, c0 as SerializedSelection, c1 as SerializedShapeLayer, c2 as SerializedSmartContents, c3 as SerializedSmartFilter, c4 as SerializedSmartObjectLayer, c5 as SerializedTypeLayer, c6 as ShapeArrowhead, c7 as ShapeComponent, c8 as ShapeEnv, c9 as ShapeFillRule, ca as ShapeGeometryInput, cb as ShapeLayerData, cc as ShapeLayerInfo, cd as ShapeLayerInit, ce as ShapeLineCap, cf as ShapeLineJoin, cg as ShapeOperation, ch as ShapePaint, ci as ShapePsdData, cj as ShapeSelectionOptions, ck as ShapeStroke, cl as ShapeStrokeAlign, cm as ShapeStrokeInput, cn as SmartCanvas, co as SmartContents, cp as SmartDocument, cq as SmartEffectResolver, cr as SmartFilterKind, cs as SmartFilterStack, ct as SmartObjectInfo, cu as SmartObjectLayer, cv as SmartPlacement, cw as SmartPsdData, cx as SmartRenderOptions, cy as StrokeInit, cz as StrokeTool, cA as TEXT_RENDER_MARGIN, cB as TEXT_STYLE_FIELDS, cC as TONE_RANGE_PRESETS, cD as TRANSFORM_ANCHORS, cE as TextAnnotation, cF as TextLayerInit, cG as ThresholdParams, cH as ToneRangePreset, cI as TransformParams, cJ as TransformReadout, cK as TypeLayerData, cL as TypePsdData, cM as VibranceParams, cN as ViewportMetrics, cO as activeEffectSmartFilters, cP as activeSmartFilters, cQ as addLayerEffect, cR as addLayerFilter, cS as addSmartFilter, cT as adjustmentNodeAsLayer, cU as anchorPoint, cV as annotationBlend, cW as annotationOfShape, cX as annotationOfType, cY as applyImageProjectionToContext, cZ as applyParams, c_ as applySmartFilters, c$ as blurFilter, d0 as borderCoverage, d1 as boxMean, d2 as boxPointOf, d3 as buildLayerMaskPlanes, d4 as calculateCropDrag, d5 as canvasToImagePoint, d6 as checkImageEffectPlace, d7 as clampCropToImage, d8 as colorModePlanes, d9 as colorRange, da as combineSelections, db as componentPath, dc as compositeDeep, dd as computeHistogram, de as computeSelectionBounds, df as contentsBox, dg as contentsSurface, dh as contractCoverage, di as convertHex, dj as convertSurfaceColors, dk as convertToSmartObject, dl as copySmartObject, dm as cornersFromMatrix, dn as coverageToByte, dp as createSelectionMask, dq as createShapeLayer, dr as createTypeLayer, ds as decodeDeepSurface, dt as decodeLayerChannel, du as decodeLayerMask, dv as decodeMergedImage, dw as decodePngDataUrl, dx as decodeSelectionRle, dy as defaultShapeName, dz as depthMaskAlpha, dA as describeTransform, dB as deserializeColorMode, dC as deserializeColorProfile, dD as deserializeEffects, dE as deserializeLayer, dF as deserializeLayers, dG as deserializePatterns, dH as deserializeSelection, dI as developFilter, dJ as displayTransform, dK as distanceTransform, dL as documentContents, dM as documentProfile, dN as duplicateLayer, dO as edgeWidth, dP as effectPixelsToSurface, dQ as effectiveProof, dR as ellipsePoints, dS as ellipseSelection, dT as encodeDeepSurface, dU as encodeSelectionRle, dV as encodeSurface, dW as expandCoverage, dX as exportPsd, dY as featherCoverage, dZ as filterMaskCoverage, d_ as flipCorners, d$ as fullSelection, e0 as geometryHomography, e1 as getAnnotationBounds, e2 as getCropCursor, e3 as getRotatedSize, e4 as getViewportMetrics, e5 as getViewportProjection, e6 as globalImageCache, e7 as greyMorphology, e8 as groupLayers, e9 as guidePlanes, ea as guidedFilterColor, eb as hasSurface, ec as hasWarp, ed as hashMaskContent, ee as histogramPath, ef as hitTestAnnotation, eg as hitTestCrop, eh as hueRange, ei as identityTransform, ej as imageToCanvasPoint, ek as importPsd, el as instancesOf, em as invertSelection, en as isActiveFilter, eo as isContentsDecoded, ep as isIdentityTransform, eq as isQuarterTurnSwapped, er as isRenderedLayer, es as isRetouchTool, et as isSelectionEmpty, eu as isSelectionMode, ev as isSmartSurfaceIncomplete, ew as isSpatialFilter, ex as isSrgb, ey as isTransformAnchor, ez as isValidWarp, eA as layerEffectsOf, eB as layerMaskCoverage, eC as layerMaskFromSelection, eD as layerMaskKey, eE as layerName, eF as layerTree, eG as layerTypeLabel, eH as liveComponent, eI as liveShapeSubpaths, eJ as magicWand, eK as mapCropHandle, eL as mapSubpaths, eM as matrixFromCorners, eN as matrixFromParams, eO as mergeShapeComponents, eP as migrateSerializedImageEditorState, eQ as migrateToLayeredState, eR as modifySelection, eS as moveLayer, eT as moveSmartFilter, eU as newContentsId, eV as newLayerId, eW as normalizeAngle, eX as normalizeFilter, eY as normalizeLayerMask, eZ as normalizeLiveShape, e_ as normalizePlacement, e$ as normalizeRect, f0 as normalizeRefineEdgeParams, f1 as normalizeShapePaint, f2 as normalizeShapeStroke, f3 as normalizeSmartFilter, f4 as normalizeStoredAdjustments, f5 as normalizeSubpaths, f6 as normalizeText, f7 as offsetLayer, f8 as offsetShape, f9 as offsetSmartObject, fa as parseBlend, fb as parseColor, fc as parseSelectionMode, fd as patchParagraphStyle, fe as patchTextStyle, ff as pixelLayerBounds, fg as pixelLayers, fh as placeContents, fi as placeLayer, fj as placementAt, fk as placementBounds, fl as placementGeometry, fm as polygonCoverage, fn as polygonSelection, fo as presetWarp, fp as previewStep, fq as profileBytes, fr as projectImagePoint, fs as projectImageRect, ft as projectMaskCoverage, fu as psdToLayers, fv as rasterContents, fw as rasterizeSmartObject, fx as readPsd, fy as rectSelection, fz as referencePoint, fA as refineCoverage, fB as refineEdgeHalo, fC as refineSelection, fD as removeLayer, fE as removeLayerEffect, fF as removeLayerFilter, fG as removeSmartFilter, fH as renderShape, fI as renderShapeRect, fJ as renderSmartObject, fK as renderText, fL as replaceContents, fM as replaceTextRange, fN as requireLayer, fO as requireOperation, fP as requireShapeLayer, fQ as requireSmartObject, fR as requireTypeLayer, fS as requireUnlocked, fT as rerender, fU as rerenderShape, fV as rerenderText, fW as resizePixels, fX as resizeSelection, fY as resolveExternalAssets, fZ as resolveProfile, f_ as runLayerFilters, f$ as runLayerFiltersFloat, g0 as selectionArea, g1 as selectionFromCoverage, g2 as selectionFromPixels, g3 as selectionToCoverage, g4 as selectionToPixels, g5 as selectionValueAt, g6 as serializeColorMode, g7 as serializeColorProfile, g8 as serializeContents, g9 as serializeEffects, ga as serializeLayer, gb as serializeLayers, gc as serializeLayersExternal, gd as serializePatterns, ge as serializeSelection, gf as setLayerEffects, gg as setLayerEffectsEnabled, gh as setLayerMask, gi as setLayerProperties, gj as setSmartFilterMask, gk as setSmartFiltersEnabled, gl as setSmartPlacement, gm as shapeAsPixelLayer, gn as shapeFromAnnotation, go as shapeGeometryBounds, gp as shapeLayers, gq as shapeOutline, gr as shapeRenderClip, gs as shiftCoverage, gt as smartObjectLayers, gu as smoothCoverage, gv as srgb8ToLab, gw as textMatrix, gx as textOutlines, gy as textRange, gz as toHex, gA as toTextSpace, gB as toneRange, gC as transformHomography, gD as transformMap, gE as transformShapeComponents, gF as transformTypeLayer, gG as transformedBox, gH as transformedPoint, gI as typeAsPixelLayer, gJ as typeFrame, gK as typeFromAnnotation, gL as typeLayerName, gM as ungroupLayer, gN as unionRect, gO as unprojectCanvasPoint, gP as updateLayerEffect, gQ as updateLayerFilter, gR as updateLayerMaskProps, gS as updateShapeLayer, gT as updateSmartFilter, gU as updateTypeLayer, gV as withFilterMaskSurface, gW as withNewIds, gX as writePsd } from '../export-WmYoWmLM.cjs';
3
3
  import { b as LoadReport, J as JsonObject, f as MigrationStep } from '../migrate-iTlm3a8h.cjs';
4
- import { a as BlendMode, c as PixelSurface, R as RasterRect } from '../surface-1MRncXpF.cjs';
5
- export { B as BLEND_MODES, b as BlendModeInfo, M as MaskSurface, P as PAINTERLY_BLEND_MODES, Z as PIGMENT_BANDS, _ as PIGMENT_LAMBDA_MIN, $ as PIGMENT_LAMBDA_STEP, a0 as PIGMENT_WAVELENGTHS, Y as Pigment, a1 as PigmentOptions, a2 as PigmentRgb, d as Rgb, e as Rgba, S as SHADOW_AMBIENT, f as SurfaceDraft, g as TILE, h as TILE_SHIFT, i as Tile, j as TileKey, T as TiledSurface, k as blendChannel, l as blendImageData, m as blendLum, n as blendPixel, o as blendRgb, p as canvasCompositeOperation, q as collectTiles, r as contentBounds, a3 as createPigment, s as emptySurface, t as fillRect, u as finishTile, v as isBlendMode, w as isPainterlyBlendMode, x as isSeparableBlendMode, a4 as lerpPigment, a5 as lerpPigmentInto, y as mixPigment8, z as mixPigmentRgb, a6 as mixPigments, A as normalizeBlendMode, C as packRgba, D as pigment8, E as readPixel, F as readRegion, a7 as reflectanceToRgb, a8 as rgbToReflectance, G as setLum, a9 as setPigmentColor, H as solidSurface, I as standardBlendMode, J as surfaceBytes, K as surfaceFromPixels, L as surfacesEqual, N as tileCoord, O as tileKey, Q as tileRect, U as tilesInRect, V as translateSurface, W as uniformTile, X as writeRegion } from '../surface-1MRncXpF.cjs';
4
+ import { a as BlendMode } from '../surface-1MRncXpF.cjs';
5
+ export { B as BLEND_MODES, b as BlendModeInfo, M as MaskSurface, P as PAINTERLY_BLEND_MODES, Z as PIGMENT_BANDS, _ as PIGMENT_LAMBDA_MIN, $ as PIGMENT_LAMBDA_STEP, a0 as PIGMENT_WAVELENGTHS, Y as Pigment, a1 as PigmentOptions, a2 as PigmentRgb, c as PixelSurface, R as RasterRect, d as Rgb, e as Rgba, S as SHADOW_AMBIENT, f as SurfaceDraft, g as TILE, h as TILE_SHIFT, i as Tile, j as TileKey, T as TiledSurface, k as blendChannel, l as blendImageData, m as blendLum, n as blendPixel, o as blendRgb, p as canvasCompositeOperation, q as collectTiles, r as contentBounds, a3 as createPigment, s as emptySurface, t as fillRect, u as finishTile, v as isBlendMode, w as isPainterlyBlendMode, x as isSeparableBlendMode, a4 as lerpPigment, a5 as lerpPigmentInto, y as mixPigment8, z as mixPigmentRgb, a6 as mixPigments, A as normalizeBlendMode, C as packRgba, D as pigment8, E as readPixel, F as readRegion, a7 as reflectanceToRgb, a8 as rgbToReflectance, G as setLum, a9 as setPigmentColor, H as solidSurface, I as standardBlendMode, J as surfaceBytes, K as surfaceFromPixels, L as surfacesEqual, N as tileCoord, O as tileKey, Q as tileRect, U as tilesInRect, V as translateSurface, W as uniformTile, X as writeRegion } from '../surface-1MRncXpF.cjs';
6
6
  import { a as AgentToolProvider, A as AgentTool } from '../registry-BqA1AZt0.cjs';
7
7
  import { S as LayerEffects, Q as LayerEffectKind, O as LayerEffect, u as EffectPattern, M as Interpolation } from '../deep-CcwHkQdb.cjs';
8
8
  export { B as BIT_DEPTHS, c as BevelContour, d as BevelEmbossEffect, e as BevelStyle, f as BevelTechnique, g as BevelTexture, h as BitDepth, i as ColorOverlayEffect, j as CompositeCallOptions, k as CompositeStats, l as CompositorOptions, m as ContourPoint, D as DEFAULT_GLOBAL_LIGHT, n as DeepSamples, o as DropShadowEffect, q as EffectContour, r as EffectFill, s as EffectGradient, v as EffectPatternRef, w as EffectRect, G as GlobalLight, x as GlowTechnique, y as GradientColorStop, z as GradientOpacityStop, A as GradientOverlayEffect, F as GradientStyle, J as INTERPOLATIONS, K as InnerGlowEffect, L as InnerShadowEffect, N as LAYER_EFFECT_KINDS, P as LayerEffectError, U as LayerLocks, V as MAX_EFFECT_REACH, W as MAX_TRANSFORM_PIXELS, X as OuterGlowEffect, Y as PatternOverlayEffect, Z as PatternPlacement, _ as PatternTile, a6 as ResampleOptions, a8 as SatinEffect, a9 as StrokeEffect, aa as StrokePosition, ab as TransformTooLargeError, ad as blendTile, af as builtinPattern, ag as builtinPatternIds, ah as changedTiles, aj as compositeSurfaceOver, al as convertSurfaceDepth, am as deepBytes, an as deepTile, ao as defaultEffectGradient, ap as defaultLayerEffect, aq as depthOf, ar as effectColorHex, at as effectReach, av as effectsFingerprint, aw as effectsMargin, ax as effectsScale, ay as findLayer, az as flattenLayers, aB as hasActiveEffects, aC as hashNoise, aD as insertLayer, aE as isBitDepth, aF as isInterpolation, aG as isLayerEffectKind, aH as isLayerLocked, aI as keepDeepSamples, aJ as keysWeight, aK as layerEffectFields, aL as layerEffectLabel, aM as mapLayer, aN as mergeLayerEffect, aO as newEffectId, aP as normalizeLayerEffects, aQ as parseEffectColor, aS as proxyOf, aT as readDeepRegion, aU as reduceSurface, aV as renderLayerEffects, aW as scaleLayerEffect, aX as srgbDecode, aY as srgbEncode, aZ as surfaceDepth, a_ as surfaceFromDeepPixels, a$ as tileSamples, b0 as tileSamples16, b1 as tileSamples32, b2 as to16From32, b3 as to16From8, b4 as to32From16, b5 as to32From8, b6 as to8From16, b7 as to8From32, b8 as transformSurface, b9 as transformedBounds, ba as validateEffectGradient, bb as validateLayerEffect, bc as validateLayerEffects, bd as warpSurface, be as writeDeepRegion } from '../deep-CcwHkQdb.cjs';
9
9
  import { b as CaptureSurface } from '../capture-DFEMFmVt.cjs';
10
10
  export { D as DIRECT_GAUSSIAN_MAX_SIGMA, a as DecodedPng, Z as ZlibError, b as adler32, c as base64ToBytes, d as bytesToBase64, e as curveLut, f as decodePng, g as deflate, h as deflateRaw, i as encodePng, j as gaussianBlur, k as inflate, l as inflateRaw, m as isPng, p as parseDataUrl, n as pngDataUrl } from '../zlib-dxQdgHyN.cjs';
11
- export { C as CanvasTextShaperOptions, O as OpenTypeFont, a as OutlineFontEntry, b as OutlineFontFace, c as OutlinePathCommand, d as applyHomography, k as boxQuad, e as createCanvasTextShaper, f as createMetricTextShaper, g as createOutlineTextShaper, m as cssFont, h as cssFontFamily, n as homographyFromAffine, i as homographyFromPoints, q as invertHomography, l as loadOpenTypeFont, p as parseOpenTypeFont, r as rectToQuad } from '../opentype-BV7wWatY.cjs';
12
- import { C as TextAlign, d as TextStyle, c as ParagraphStyle } from '../warp-BjmAgQwq.cjs';
13
- export { D as DEFAULT_AUTO_LEADING, E as DEFAULT_TEXT_STYLE, F as LaidChar, L as LaidFragment, f as LaidLine, P as ParagraphRun, G as TEXT_ALIGNS, a as TextFont, e as TextLayout, b as TextRun, T as TextShaper, g as WARP_STYLES, h as WARP_STYLE_LABELS, W as WarpPreset, H as caretAt, i as dragWarpMeshPoint, j as evalWarpMesh, I as fitParagraphRuns, J as fitRuns, K as fontOf, t as identityWarpMesh, M as layoutText, N as paragraphRanges, p as pullWarpMesh, o as resizeWarpMesh, O as restyleRange, Q as spliceRuns, R as styleAt, S as textIndexAt, v as warpMeshEditPoints, x as warpMeshGridCurves, y as warpMeshParamAt, B as warpPresetMesh } from '../warp-BjmAgQwq.cjs';
14
- import { B as BezierPath } from '../bezier-C-W9LFyD.cjs';
11
+ export { C as CanvasTextShaperOptions, O as OpenTypeFont, a as OutlineFontEntry, b as OutlineFontFace, c as OutlinePathCommand, d as applyHomography, k as boxQuad, e as createCanvasTextShaper, f as createMetricTextShaper, g as createOutlineTextShaper, m as cssFont, h as cssFontFamily, n as homographyFromAffine, i as homographyFromPoints, q as invertHomography, l as loadOpenTypeFont, p as parseOpenTypeFont, r as rectToQuad } from '../opentype-D80AVmMu.cjs';
12
+ import { C as TextAlign, d as TextStyle, c as ParagraphStyle } from '../warp-CH9MM435.cjs';
13
+ export { D as DEFAULT_AUTO_LEADING, E as DEFAULT_TEXT_STYLE, F as LaidChar, L as LaidFragment, f as LaidLine, P as ParagraphRun, G as TEXT_ALIGNS, a as TextFont, e as TextLayout, b as TextRun, T as TextShaper, g as WARP_STYLES, h as WARP_STYLE_LABELS, W as WarpPreset, H as caretAt, i as dragWarpMeshPoint, j as evalWarpMesh, I as fitParagraphRuns, J as fitRuns, K as fontOf, t as identityWarpMesh, M as layoutText, N as paragraphRanges, p as pullWarpMesh, o as resizeWarpMesh, O as restyleRange, Q as spliceRuns, R as styleAt, S as textIndexAt, v as warpMeshEditPoints, x as warpMeshGridCurves, y as warpMeshParamAt, B as warpPresetMesh } from '../warp-CH9MM435.cjs';
14
+ import { B as BezierPath } from '../bezier-CBzKKDjl.cjs';
15
15
  import { a as MixerLoad, M as MixerSettings } from '../rand-CfinE-1c.cjs';
16
16
  export { au as BlenderScratch, k as BlenderSettings, B as BrushSettings, C as CoverageMap, av as DEFAULT_BLENDER, aw as DEFAULT_BRUSH, v as DEFAULT_FLOW, ax as DEFAULT_MIXER, w as DEFAULT_PAINT_GRADIENT, x as DEFAULT_PAINT_GRADIENT_MAPPING, ay as DEFAULT_RETOUCH, az as DEFAULT_SMUDGE, aA as DEFAULT_WET_PAPER, y as DEFAULT_WET_PARAMS, aB as DRY_EPS, D as Dab, aC as DabWalker, aD as EMPTY_MIXER_LOAD, aE as EX, aF as EY, aG as ExchangeRates, aH as FLAG_ALIVE, aI as FLAG_BOTTOM, aJ as FLAG_LEFT, aK as FLAG_RIGHT, aL as FLAG_TOP, aM as FLAG_WET, aN as FLAT, aO as FREE_INTERVAL, aP as MAX_BATCH, z as MAX_BRUSH_SIZE, aQ as MAX_TILT_ACCEL, aR as MAX_WET_LANES, aS as MAX_WET_SLOTS, aT as MIXER_DRAIN, aU as MIXER_PICKUP_RATE, aV as MIXING_MODELS, c as MixerStroke, b as MixerTarget, j as MixingModel, aW as OPP, A as PAINT_COLOR_JSON_SCHEMA, E as PAINT_GRADIENT_FULL_SPEED, F as PAINT_GRADIENT_JSON_SCHEMA, G as PAINT_GRADIENT_KIT, H as PAINT_GRADIENT_MAPPINGS, I as PAINT_GRADIENT_MAPPING_LABELS, J as PAINT_GRADIENT_PRESETS, K as PAINT_GRADIENT_REPEATS, L as PAINT_GRADIENT_REPEAT_LABELS, N as PAINT_GRADIENT_SPACES, O as PAINT_GRADIENT_SPACE_LABELS, Q as PAINT_SOURCE_JSON_SCHEMA, aX as PAPER_CAPACITY, aY as PARAM, aZ as PARAM_FLOATS, a_ as PIGMENT_CHANNELS, a$ as PLANE, b0 as PLANE_BYTES, b1 as P_D0, b2 as P_EDGE, b3 as P_FX, b4 as P_FY, b5 as P_H, b6 as P_P0, b7 as P_RHO, b8 as P_SW, b9 as P_UX, ba as P_UY, U as PaintColorSource, V as PaintDabParams, bb as PaintExchange, X as PaintGradientKit, Y as PaintGradientMapping, Z as PaintGradientMappingKind, _ as PaintGradientRepeat, $ as PaintGradientSample, a0 as PaintGradientSampler, i as PaintGradientSource, a1 as PaintGradientSpace, a2 as PaintGradientStop, bc as PaintMedium, bd as PaintPixels, a3 as PaintRgb, be as PaintSample, P as PaintSource, a4 as PaintSourceError, g as PaintTileTarget, bf as PixelSource, bg as RETOUCH_SAMPLES, bh as RegionPixelSource, d as RetouchApply, bi as RetouchDabEffect, bj as RetouchDabStroke, f as RetouchPaint, bk as RetouchSample, R as RetouchSettings, p as RgbTriple, bl as SET_PLANES, bm as SLOT_BYTES, bn as SLOT_PLANES, bo as SLOT_SIDE, bp as SPOT_HEAL_TYPES, bq as STRIP, br as SmudgeDab, l as SmudgeSettings, bs as SmudgeTip, bt as SpotHealType, h as StrokeApply, S as StrokeCoverage, e as StrokePoint, bu as TIP_GRADIENT_STEPS, bv as TONE_RANGES, T as TileMedium, bw as TileMediumOptions, bx as TilePixelSource, by as ToneRange, bz as U_MAX, bA as W9, a5 as WET_FLOW_KINDS, a6 as WET_PARAM_KEYS, bB as WET_TILE, s as WetBackendInfo, bC as WetFlowField, a7 as WetFlowKind, o as WetFlowSpec, bD as WetGpuEngine, bE as WetGpuJob, r as WetGpuProvider, bF as WetGpuSupport, bG as WetKernelKind, bH as WetLaneOptions, bI as WetLaneStats, bJ as WetPaper, u as WetPaperInput, n as WetParams, t as WetSnapshot, a8 as WetSupport, m as WetTilt, bK as WetWorkerLayout, bL as WetWorkerPool, W as WetWorld, bM as WetWorldError, q as WetWorldOptions, a9 as addPaintGradientStop, bN as applyRetouchToTile, bO as applyStrokeToDeepTile, bP as applyStrokeToTile, bQ as applyToneToDeepTile, bR as blendRadius, bS as blenderDab, bT as canShareMemory, bU as cleanMixer, bV as coverageTileCoord, bW as createBlenderScratch, bX as createWetGpuEngine, bY as dabCoverage, bZ as dabRect, b_ as dodgeBurn, b$ as dodgeBurnCurve, c0 as dsincos, c1 as edgeBits, c2 as exchangeRates, c3 as findWebGpu, c4 as flowField, c5 as gradientDabColor, aa as hash2, c6 as healPixels, ab as hexToPaintRgb, ac as isGradientPaint, c7 as latticeViscosity, c8 as loadMixer, c9 as loadWetKernel, ca as luma, ad as mix32, cb as mixerRates, cc as normalizeBlender, cd as normalizeBrush, ae as normalizeFlow, af as normalizeHexColor, ce as normalizeMixer, cf as normalizeRetouch, cg as normalizeSmudge, ch as normalizeTilt, ag as normalizeWetParams, ci as packWetParams, ah as paintGradientMappingFor, ai as paintSourceColor, aj as paintSourceCss, ak as parsePaintSource, cj as perDabStrength, ck as put255, al as rand01, cl as rasterizeDab, am as readPaintSource, cm as readSourceRegion, an as removePaintGradientStop, ao as resolvePaintGradient, ap as reversePaintGradient, cn as rgbaViewOfGrey, co as saturationOf, aq as scalePaintGradient, cp as smoothPoints, cq as smudgeEffect, ar as solidPaint, cr as sponge, cs as spongeEffect, ct as spotHealPixels, cu as spotHealWindow, cv as tipFalloff, cw as tipReach, cx as tipShape, cy as toneOf, as as updatePaintGradientStop, cz as walkDabs, cA as wetGpuSupport, cB as wetSimdSupported, at as wetSupport } from '../rand-CfinE-1c.cjs';
17
- export { BODY_SCATTER, BrushstrokeBrush, BrushstrokeCache, BrushstrokeCanvasLike, BrushstrokeImage, BrushstrokeInput, BrushstrokeOptions, BrushstrokePaint, BrushstrokeProfilePath, BrushstrokeSample, HIDE, PIGMENT_UNIT, PaintPathOptions, PathSample, PathStrokeOptions, PointerEventLike, PointerStrokeSample, SRGB_TO_LINEAR, WGSL_HALO, WGSL_SHADE, WGSL_STEP, WetMedium, WetMediumOptions, bestOffset, brushstrokeDataUrl, brushstrokeKey, brushstrokeSamples, brushstrokeStrokeOptions, brushstrokeToCanvas, createPigmentTools, dexp, dilateMask, dlog, dpow, expNeg, filmPixel, filmReflectance, isBrushstrokeBrush, linearToSrgb8, maskBounds, membraneFill, paintPathStroke, pathStrokeCoverage, pathStrokeDabs, pigmentColor, pigmentOf, pixelPigment, pointerPressure, pointerStrokeSample, pointerStrokeSamples, renderBrushstroke, seamlessClone, shadeTile, solveMembrane, srgbByteToLinear, stepSlotTs } from '../paint/index.cjs';
17
+ export { BODY_SCATTER, BrushstrokeBrush, BrushstrokeCache, BrushstrokeCanvasLike, BrushstrokeImage, BrushstrokeInput, BrushstrokeOptions, BrushstrokePaint, BrushstrokeProfilePath, BrushstrokeSample, HIDE, PIGMENT_UNIT, PaintPathOptions, PathSample, PathStrokeOptions, PathStrokePaint, PointerEventLike, PointerStrokeSample, SRGB_TO_LINEAR, WGSL_HALO, WGSL_SHADE, WGSL_STEP, WetMedium, WetMediumOptions, bestOffset, brushstrokeDataUrl, brushstrokeKey, brushstrokeSamples, brushstrokeStrokeOptions, brushstrokeToCanvas, createPigmentTools, dexp, dilateMask, dlog, dpow, expNeg, filmPixel, filmReflectance, isBrushstrokeBrush, linearToSrgb8, maskBounds, membraneFill, paintPathStroke, pathStrokeCoverage, pathStrokeDabs, pigmentColor, pigmentOf, pixelPigment, pointerPressure, pointerStrokeSample, pointerStrokeSamples, renderBrushstroke, seamlessClone, shadeTile, solveMembrane, srgbByteToLinear, stepSlotTs } from '../paint/index.cjs';
18
18
  import { j as Intent, b as BuiltinProfileId } from '../builtin-CY97ppKM.cjs';
19
19
  export { a as BUILTIN_PROFILES, i as INTENTS } from '../builtin-CY97ppKM.cjs';
20
20
  import { W as WarpStyle, a as WarpMesh, V as Vec2, Q as Quad } from '../types-CwMPoRMU.cjs';
21
21
  export { A as AffineMatrix, H as Homography } from '../types-CwMPoRMU.cjs';
22
+ import { A as AppliedEffectInfo } from '../tools-DHKGHiSK.cjs';
22
23
  export { B as BRUSHSTROKE_MAX_SCALE, a as BRUSHSTROKE_MIN_SCALE, b as brushstrokeScaleBucket } from '../brushstroke-scale-B6XAdPSY.cjs';
23
- import '../types-DJF3Ghn5.cjs';
24
+ import '../types-CznabG7m.cjs';
25
+ import '../gradient-KDfCvhuj.cjs';
26
+ import '../helpers-777mC6dc.cjs';
24
27
  import '../schema-Di0CS6Pe.cjs';
28
+ import '../flair-D7BxyBwL.cjs';
29
+ import '../behavior-Ymbld6jL.cjs';
30
+ import '../easing-lM0Xo9Ni.cjs';
31
+ import '../evaluate-2S3vSPLy.cjs';
25
32
  import '../brushTypes-IG7ZZjIN.cjs';
26
33
 
27
34
  interface PlaneLayout {
@@ -918,177 +925,6 @@ declare function addToHistogram(h: ImageHistogram, data: ArrayLike<number>, stri
918
925
  /** Sums histograms (and recomputes `max`). */
919
926
  declare function sumHistograms(parts: Iterable<ImageHistogram>): ImageHistogram;
920
927
 
921
- /**
922
- * How far beyond the canvas a smart object is rendered (document pixels): enough for any layer
923
- * effect to see the parts just outside the canvas. Further out a smart object is not drawn.
924
- */
925
- declare const SMART_RENDER_MARGIN = 512;
926
- /** The document canvas a smart object renders for. */
927
- interface SmartCanvas {
928
- width: number;
929
- height: number;
930
- }
931
- /** A fresh contents id (independent contents). */
932
- declare function newContentsId(): string;
933
- /** The contents' rectangle in its own pixels. */
934
- declare function contentsBox(contents: SmartContents): CropBox;
935
- /** A smart object's placement as Free Transform geometry (the frame is the contents' rectangle). */
936
- declare function placementGeometry(layer: Pick<SmartObjectLayer, 'contents' | 'placement'>): FreeTransformGeometry;
937
- /** The placement that draws the contents 1:1 with their top-left corner at (`x`, `y`). */
938
- declare function placementAt(contents: Pick<SmartContents, 'width' | 'height'>, x: number, y: number): SmartPlacement;
939
- /** Whether the contents can be rendered here (decoded pixels or a layer document). */
940
- declare function isContentsDecoded(contents: SmartContents): boolean;
941
- /** The layer with `id`, which must be a smart object. */
942
- declare function requireSmartObject(layers: readonly ImageLayer[], id: string): SmartObjectLayer;
943
- /**
944
- * The contents as pixels at (0, 0) in their own space: the raster, or the nested document
945
- * composited at its size (annotation layers inside need a canvas and are left out). Memoised.
946
- */
947
- declare function contentsSurface(contents: SmartContents): PixelSurface;
948
- /** Raster contents from RGBA pixels. */
949
- declare function rasterContents(pixels: {
950
- width: number;
951
- height: number;
952
- data: ArrayLike<number>;
953
- }, name: string, id?: string): SmartContents;
954
- /** Document contents from layers on a `width × height` canvas. */
955
- declare function documentContents(document: SmartDocument, width: number, height: number, name: string, id?: string): SmartContents;
956
- /** How a render runs: full quality (default), or a fast preview. */
957
- interface SmartRenderOptions {
958
- /** Preview block size (a power of two): sample a reduced copy of the contents once per block. */
959
- step?: number;
960
- /** Only this part of the document (the visible area). */
961
- clip?: RasterRect;
962
- /** Leave the smart filters out (previews while transforming). */
963
- skipFilters?: boolean;
964
- /** Reduced copies of the contents by factor, kept by the caller between previews. */
965
- reduced?: Map<number, PixelSurface>;
966
- }
967
- /** The contents placed in the document (no filters), clipped to the canvas grown by the render margin. */
968
- declare function placeContents(layer: Pick<SmartObjectLayer, 'contents' | 'placement'>, canvas: SmartCanvas, options?: SmartRenderOptions): PixelSurface;
969
- /** The filters of a stack that change pixels (the stack enabled, each filter active, a modelled kind). */
970
- declare function activeSmartFilters(stack: SmartFilterStack | undefined): Array<SmartFilter & LayerFilter>;
971
- /** A filter mask's coverage over the canvas (0..1), after density and feather; `null` reveals all. */
972
- declare function filterMaskCoverage(mask: RasterMask | undefined, canvas: SmartCanvas): Float32Array | null;
973
- /**
974
- * Runs a smart filter stack over the placed contents, over the canvas (spatial filters clamp at
975
- * its edges, as a pixel layer's filters do): each filter filters the result below it, and its own
976
- * blend mode and opacity mix its result with that input. The filter mask then mixes the filtered
977
- * result with the unfiltered contents. Returns `placed` itself when no filter is active.
978
- */
979
- declare function applySmartFilters(placed: PixelSurface, stack: SmartFilterStack | undefined, canvas: SmartCanvas): PixelSurface;
980
- /** A smart object's pixels: the contents through the placement, then the smart filters. */
981
- declare function renderSmartObject(layer: Pick<SmartObjectLayer, 'contents' | 'placement' | 'smartFilters'>, canvas: SmartCanvas, options?: SmartRenderOptions): PixelSurface;
982
- /** The layer with its pixels rendered again (refused when the contents are not decoded). */
983
- declare function rerender(layer: SmartObjectLayer, canvas: SmartCanvas, action?: string): SmartObjectLayer;
984
- /** Validates a placement for contents of `width × height`; returns a clean copy. */
985
- declare function normalizePlacement(raw: SmartPlacement, contents: Pick<SmartContents, 'width' | 'height'>): SmartPlacement;
986
- /**
987
- * Sets a smart object's placement (corners, warp, interpolation) and renders it again from its
988
- * contents. A linked layer mask and filter mask follow a warp-free change. Returns the stack and
989
- * whether the masks moved.
990
- */
991
- declare function setSmartPlacement(layers: readonly ImageLayer[], id: string, placement: SmartPlacement, canvas: SmartCanvas): {
992
- layers: ImageLayer[];
993
- layer: SmartObjectLayer;
994
- masksMoved: boolean;
995
- };
996
- /**
997
- * Moves a smart object by whole pixels (the move tool): its corners, a linked mask and filter mask
998
- * move with it. Without spatial smart filters the rendered pixels are shifted, not resampled.
999
- */
1000
- declare function offsetSmartObject(layers: readonly ImageLayer[], id: string, dx: number, dy: number, canvas: SmartCanvas): ImageLayer[];
1001
- interface ConvertOptions {
1002
- /** The pixels of a pixel layer (resolves the Background's document source). */
1003
- surfaceOf(layer: PixelLayer): PixelSurface;
1004
- /** Name of the new layer (default: the top layer's name). */
1005
- name?: string;
1006
- }
1007
- /**
1008
- * Layer › Smart Objects › Convert to Smart Object: sibling layers become one smart object at the
1009
- * position of the topmost one.
1010
- *
1011
- * - One pixel layer becomes raster contents (its pixels, cropped to their bounds) and keeps its
1012
- * id, name, visibility, opacity, fill, blend, clipping, mask and effects; its filters become
1013
- * smart filters. It renders exactly as before.
1014
- * - Anything else (several layers, a group, an adjustment, a smart object) becomes a nested
1015
- * document holding the layers as they were, sized to their bounds (effects included), and the
1016
- * new layer is a plain Normal layer named after the top one, rendering the isolated composite.
1017
- *
1018
- * Returns the stack, the new layer and its contents.
1019
- */
1020
- declare function convertToSmartObject(layers: readonly ImageLayer[], ids: readonly string[], canvas: SmartCanvas, options: ConvertOptions): {
1021
- layers: ImageLayer[];
1022
- layer: SmartObjectLayer;
1023
- };
1024
- /**
1025
- * Layer › Smart Objects › Rasterize: the smart object becomes a pixel layer holding what it
1026
- * renders (filters baked), with its mask, effects, blend, opacity and fill. Same id.
1027
- */
1028
- declare function rasterizeSmartObject(layers: readonly ImageLayer[], id: string): {
1029
- layers: ImageLayer[];
1030
- layer: PixelLayer;
1031
- };
1032
- /**
1033
- * Layer › Smart Objects › New Smart Object via Copy (`linked: false`, fresh contents that edit
1034
- * independently) or a linked duplicate (`linked: true`, shared contents), directly above.
1035
- */
1036
- declare function copySmartObject(layers: readonly ImageLayer[], id: string, linked: boolean, name?: string): {
1037
- layers: ImageLayer[];
1038
- layer: SmartObjectLayer;
1039
- };
1040
- /** Ids of the smart objects in the stack placed from contents `contentsId` (linked instances), bottom first. */
1041
- declare function instancesOf(layers: readonly ImageLayer[], contentsId: string): string[];
1042
- /**
1043
- * Puts new contents into every instance of `contentsId` and renders them again. With
1044
- * `keepPlacement` false (Replace Contents of a different size), each instance keeps its scale and
1045
- * rotation about the contents' centre, and a warp is stretched to the new size.
1046
- */
1047
- declare function replaceContents(layers: readonly ImageLayer[], contentsId: string, contents: SmartContents, canvas: SmartCanvas): {
1048
- layers: ImageLayer[];
1049
- ids: string[];
1050
- };
1051
- /** A clean smart filter from loose input: a `develop` or `blur` filter plus blend and opacity. */
1052
- declare function normalizeSmartFilter(raw: Record<string, unknown> & {
1053
- kind: string;
1054
- }, id?: string): SmartFilter;
1055
- /** Adds a smart filter at `index` (default the top). Returns the stack and the filter. */
1056
- declare function addSmartFilter(layers: readonly ImageLayer[], id: string, filter: SmartFilter, canvas: SmartCanvas, index?: number): {
1057
- layers: ImageLayer[];
1058
- layer: SmartObjectLayer;
1059
- filter: SmartFilter;
1060
- };
1061
- /** Changes one smart filter (settings, enabled, blend, opacity; validated). */
1062
- declare function updateSmartFilter(layers: readonly ImageLayer[], id: string, filterId: string, changes: Record<string, unknown>, canvas: SmartCanvas): {
1063
- layers: ImageLayer[];
1064
- layer: SmartObjectLayer;
1065
- filter: SmartFilter;
1066
- };
1067
- /** Removes one smart filter. */
1068
- declare function removeSmartFilter(layers: readonly ImageLayer[], id: string, filterId: string, canvas: SmartCanvas): {
1069
- layers: ImageLayer[];
1070
- layer: SmartObjectLayer;
1071
- };
1072
- /** Moves one smart filter to `index` (0 = bottom, applied first). */
1073
- declare function moveSmartFilter(layers: readonly ImageLayer[], id: string, filterId: string, index: number, canvas: SmartCanvas): {
1074
- layers: ImageLayer[];
1075
- layer: SmartObjectLayer;
1076
- };
1077
- /** Turns the whole smart filter stack on or off (each filter keeps its own switch). */
1078
- declare function setSmartFiltersEnabled(layers: readonly ImageLayer[], id: string, enabled: boolean, canvas: SmartCanvas): {
1079
- layers: ImageLayer[];
1080
- layer: SmartObjectLayer;
1081
- };
1082
- /** Sets or removes (`null`) the smart filter mask. */
1083
- declare function setSmartFilterMask(layers: readonly ImageLayer[], id: string, mask: RasterMask | null, canvas: SmartCanvas): {
1084
- layers: ImageLayer[];
1085
- layer: SmartObjectLayer;
1086
- };
1087
- /** A smart object's filter mask surface replaced (painting it), rendered again. */
1088
- declare function withFilterMaskSurface(layer: SmartObjectLayer, surface: PixelSurface, canvas: SmartCanvas): SmartObjectLayer;
1089
- /** The transformed outline of a smart object's contents (document bounds, warp included). */
1090
- declare function placementBounds(layer: Pick<SmartObjectLayer, 'contents' | 'placement'>): CropBox | null;
1091
-
1092
928
  /**
1093
929
  * Agent tools for smart objects in the image editor: `get_smart_object`, `convert_to_smart_object`,
1094
930
  * `rasterize_smart_object`, `set_smart_object_transform`, `replace_smart_object_contents`,
@@ -2111,4 +1947,25 @@ declare class FreeTransformTool {
2111
1947
  key(e: ShortcutEvent): boolean;
2112
1948
  }
2113
1949
 
2114
- export { ADJUSTMENT_KEYS, ADJUSTMENT_KINDS, ADJUSTMENT_LAYER_CONTROLS, ADJUSTMENT_LAYER_OPACITY_CONTROL, ADJUSTMENT_LUT_SIZE, AS_SHOT_KELVIN, AdjustmentKind, type AdjustmentKindInfo, AdjustmentLayer, AdjustmentLayerMask, AdjustmentLayerNode, AdjustmentLayerOf, AdjustmentParamsMap, Annotation, AnnotationLayer, BACKGROUND_LAYER_ID, BACKGROUND_LAYER_NAME, BIT_DEPTH_OPTIONS, BLUR_FILTER_ID, BRUSH_OPTION_CONTROLS, BlendMode, BuiltinProfileId, COLOR_MODE_OPTIONS, type Chromaticity, ColorDistance, CompositorSources, type ControlSection, type ControlSpec, type ControlTrack, type ConvertOptions, type CoverageFillRule, CropBox, CurvePoint, D50, D65, DEFAULT_SELECTION_TOOL_OPTIONS, DEFAULT_SHAPE_TOOL_OPTIONS, DEFAULT_TYPE_TOOL_OPTIONS, DEPTH_MASK_CONTROLS, DEVELOP_FILTER_ID, DepthMaskOptions, type DescValue, type Descriptor, DevelopFilter, type DropZone, type EffectControl, EffectPattern, FREE_TRANSFORM_FIELDS, FREE_TRANSFORM_MODE_OPTIONS, type FlatPath, type FreeTransformBar, type FreeTransformField, FreeTransformGeometry, FreeTransformInit, FreeTransformMode, FreeTransformResult, FreeTransformSession, FreeTransformTool, type FreeTransformToolOptions, type GestureModifiers, HUE_RANGE_LABELS, HueRange, IDENTITY_MATRIX3, IMAGE_ADJUSTMENT_CONTROLS, IMAGE_CROP_PRESETS, IMAGE_EDITOR_STATE_VERSION, IMAGE_FILTER_PRESETS, INTENT_OPTIONS, ImageAdjustments, type ImageCropPreset, ImageEditorController, type ImageEditorDocumentLoad, type ImageEditorToolProviderOptions, type ImageFilterPreset, ImageHistogram, ImageLayer, ImagePoint, type ImageProcessVersion, ImageProjection, ImageTransform, Intent, Interpolation, LATEST_PROCESS_VERSION, LAYER_EFFECT_MENU, LEGACY_PROCESS_VERSION, LUMA_709, LayerCompositor, LayerEffect, LayerEffectKind, type LayerEffectRow, LayerEffects, type LayerEffectsPanelModel, LayerFilter, type LayerMenuAction, type LayerMenuItem, type LayerPanelRow, LayerPlacement, type LayerStack, type LegacyParts, type LegacyViewResult, LevelsChannel, LiveShapeKind, MAX_KELVIN, MIN_KELVIN, MIRED_PER_TEMPERATURE_UNIT, MIXER_MIXING_OPTIONS, MIXER_OPTION_CONTROLS, type Matrix3, MixerLoad, MixerSettings, type MosaicImageDataLike, type MosaicRegion, type NormalizedLayerItem, PAINT_TOOLS, PATTERN_BLOCK_KEYS, PROOF_PROFILE_OPTIONS, PSD_FILE_ACCEPT, PaintGesture, type PaintPointerSample, type PaintTool, ParagraphStyle, type ParsedAdjustment, type ParsedLayerEffects, PixelLayer, type PixelOp, PixelSurface, type PlaneLayout, PsdError, type PsdPattern, Quad, type QuickMaskStyle, REFINE_EDGE_CONTROLS, RETOUCH_CHOICES, RETOUCH_OPTION_CONTROLS, RETOUCH_TOGGLES, RasterMask, RasterRect, type ReferenceItem, type RefineEdgeControl, RefineEdgeParams, type RouteInput, SELECTION_MODE_LABELS, SELECTION_TOOLS, SHAPE_KIND_LABELS, SMART_RENDER_MARGIN, SUPPORTED_ADJUSTMENT_KEYS, SelectionGesture, SelectionMask, SelectionMode, type SelectionToolKind, type SelectionToolOptions, SerializedImageEditorState, ShapeDrawGesture, ShapeLayer, type ShapeToolOptions, type ShortcutEvent, type SmartCanvas, SmartContents, SmartDocument, SmartFilter, type SmartFilterRow, SmartFilterStack, SmartObjectLayer, SmartPlacement, type SmartRenderOptions, TINT_SCALE, TONE_LUT_SIZE, TextAlign, TextEditSession, TextEnv, type TextKey, TextStyle, TransformAnchor, type TransformHandle, type TransformModifiers, type TransformOverlay, TypeLayer, TypeLayerInfo, TypeToolGesture, type TypeToolOptions, type UnitLevels, VIBRANCE_GREY, Vec2, WARP_GRID_OPTIONS, WARP_STYLE_OPTIONS, WORKING_SPACE_OPTIONS, type WarpBar, WarpMesh, WarpStyle, XYZ_D50_TO_SRGB, activeAdjustmentLayers, activeSmartFilters, addSmartFilter, addToHistogram, adjustmentKindLabel, adjustmentLayersKey, adjustmentNodeFromLegacy, annotationLayerFor, annotationLayerName, annotationOfLayer, applyAdjustmentLayers, applyAdjustmentLayersFloat, applyAdjustments, applyBoxBlur, applyBoxBlurFloat, applyDepthMask, applyLegacyAdjustments, applyMatrix3, applyOutputStage, applyProcess2Adjustments, applyProcess2Float, applyRegionBlur, applyRegionMosaic, applyShapeOptions, applySmartFilters, backgroundLayer, baseProjection, blackWhiteGray, boxToCurvePoint, bradfordAdaptation, buildToneLut, clampControlValue, cloneSourceLabel, colorBalanceChannel, colorPanelView, compileAdjustmentLayer, contentsBox, contentsSurface, controlPosition, controlTrackBackground, convertToSmartObject, copySmartObject, coveringRect, createAdjustmentLayer, createImageCaptureSurface, createImageColorTools, createImageEditTools, createImageEditorToolProvider, createImageEffectTools, createImageLayerTools, createImagePaintTools, createImagePsdTools, createImageRetouchTools, createImageSelectionTools, createImageShapeTools, createImageSmartObjectTools, createImageTransformTools, createImageTypeTools, curveLutFromLevels, curvePointToBox, curveSvgPath, decodePlanes, defaultAdjustmentParams, depthRasterMask, describeLayer, describeLayerEffects, describeSelection, developFromAdjustments, developTarget, documentContents, downloadPsd, dropPlacement, dropZone, effectControlChange, emptyHistogram, encodeRle, evaluateAdjustmentLayers, extractNormalizedLayerItems, filterMaskCoverage, findAdjustmentControl, findLayerControl, flattenPath, formatControlValue, getControlPath, handlePaintShortcut, hasResampledLegacyMask, hexToRgb, hitTestCurvePoint, hslToRgb, hueRangeTables, hueRangeWeight, hueSaturation, identityCurve, identityLevels, imageEditorStateMigrations, insertCurvePoint, instancesOf, invertMatrix3, isAdjustmentKind, isContentsDecoded, isDefaultDepthMask, isLegacyShape, isPaintTool, isQuarterTurn, isRetouchPaintTool, kelvinToTemperature, layerBadge, layerEffectControls, layerEffectsBadge, layerEffectsPanel, layerHasThumbnail, layerLabel, layerMenu, layerPanelRows, layerWarning, layersFromLegacy, legacyAdjustmentLayer, legacyMaskOf, legacyView, levelsValue, linearSrgbToXy, linearToSrgb, liveShapeForDrag, loadImageEditorDocument, maskSummary, mixerLoadResult, moveCurvePoint, moveSmartFilter, mulMatrix3, needsLegacyBase, neutralHueRange, newContentsId, normalizeAdjustmentLayer, normalizeAdjustmentLayers, normalizePlacement, normalizeProcessVersion, normalizeSmartFilter, offsetSmartObject, openPsdFile, parseAdjustmentBlock, parseCssColor, parseLfx2, parseLrfx, parsePatternBlock, parseVersionedDescriptor, photoFilterMatrix, placeContents, placementAt, placementBounds, placementGeometry, posterizeValue, projectQuarterTurn, psdBytesFromBase64, psdFileName, psdPatternToEffectPattern, quickMaskPixels, rangeLightness, rasterContents, rasterMaskFromLegacy, rasterizeCoverage, rasterizeSmartObject, readAdjustmentControls, removeAlpha, removeCurvePoint, removeSmartFilter, renderLayeredBase, renderSmartObject, replaceContents, requireSmartObject, rerender, resolveMosaicRegionBounds, rgbToGray, rgbToHsl, rgbUnitToHex, runLayerMenuAction, sampleLut, sampleToneLut, selectionModeFromModifiers, selectionOutline, setControlPath, setRetouchChoice, setSmartFilterMask, setSmartFiltersEnabled, setSmartPlacement, smartFilterRows, splitOverlayAnnotations, srgbToLinear, sumHistograms, tempTintToXy, temperatureToKelvin, toneCurve, toneLuts, typeLayerAt, updateSmartFilter, uvToXy, versionedDescriptorBytes, vibranceLinear, vibrancePixel, wbMatrix, whiteBalanceFromSample, whiteBalanceMatrix, withFilterMaskSurface, writeAdjustmentBlock, writeLfx2, writePatternBlock, xyToTempTint, xyToUv };
1950
+ /**
1951
+ * Agent tools for provider effects in the image editor: the shared effect tools
1952
+ * (`search_effects`, `describe_effect`, `list_applied_effects`, `apply_effect`, `update_effect`,
1953
+ * `remove_effect`) on layers, where filter effects become smart filters, plus `add_effect_layer`
1954
+ * for generator, overlay and title effects. (Drop shadows, strokes and the other layer styles are
1955
+ * `set_layer_effect`, a different thing.)
1956
+ */
1957
+
1958
+ interface ImageEffectsToolProviderOptions {
1959
+ /** Provider id (unique per registry). Default `image-effects`. */
1960
+ id?: string;
1961
+ /** Always prefix tool names with `<namespace>__`. */
1962
+ namespace?: string;
1963
+ /** The document cannot be edited: write tools are hidden. A string is the reason. */
1964
+ readOnly?: boolean | string | (() => boolean | string);
1965
+ }
1966
+ /** A layer's provider effects as the tools report them: an effect layer's own effect, then its effect smart filters. */
1967
+ declare function imageLayerAppliedEffects(layer: ImageLayer): AppliedEffectInfo[];
1968
+ /** The effect tools for an image editor (see the module comment). */
1969
+ declare function createImageEffectsToolProvider(controller: ImageEditorController, options?: ImageEffectsToolProviderOptions): AgentToolProvider;
1970
+
1971
+ export { ADJUSTMENT_KEYS, ADJUSTMENT_KINDS, ADJUSTMENT_LAYER_CONTROLS, ADJUSTMENT_LAYER_OPACITY_CONTROL, ADJUSTMENT_LUT_SIZE, AS_SHOT_KELVIN, AdjustmentKind, type AdjustmentKindInfo, AdjustmentLayer, AdjustmentLayerMask, AdjustmentLayerNode, AdjustmentLayerOf, AdjustmentParamsMap, Annotation, AnnotationLayer, BACKGROUND_LAYER_ID, BACKGROUND_LAYER_NAME, BIT_DEPTH_OPTIONS, BLUR_FILTER_ID, BRUSH_OPTION_CONTROLS, BlendMode, BuiltinProfileId, COLOR_MODE_OPTIONS, type Chromaticity, ColorDistance, CompositorSources, type ControlSection, type ControlSpec, type ControlTrack, type CoverageFillRule, CropBox, CurvePoint, D50, D65, DEFAULT_SELECTION_TOOL_OPTIONS, DEFAULT_SHAPE_TOOL_OPTIONS, DEFAULT_TYPE_TOOL_OPTIONS, DEPTH_MASK_CONTROLS, DEVELOP_FILTER_ID, DepthMaskOptions, type DescValue, type Descriptor, DevelopFilter, type DropZone, type EffectControl, EffectPattern, FREE_TRANSFORM_FIELDS, FREE_TRANSFORM_MODE_OPTIONS, type FlatPath, type FreeTransformBar, type FreeTransformField, FreeTransformInit, FreeTransformMode, FreeTransformResult, FreeTransformSession, FreeTransformTool, type FreeTransformToolOptions, type GestureModifiers, HUE_RANGE_LABELS, HueRange, IDENTITY_MATRIX3, IMAGE_ADJUSTMENT_CONTROLS, IMAGE_CROP_PRESETS, IMAGE_EDITOR_STATE_VERSION, IMAGE_FILTER_PRESETS, INTENT_OPTIONS, ImageAdjustments, type ImageCropPreset, ImageEditorController, type ImageEditorDocumentLoad, type ImageEditorToolProviderOptions, type ImageEffectsToolProviderOptions, type ImageFilterPreset, ImageHistogram, ImageLayer, ImagePoint, type ImageProcessVersion, ImageProjection, ImageTransform, Intent, Interpolation, LATEST_PROCESS_VERSION, LAYER_EFFECT_MENU, LEGACY_PROCESS_VERSION, LUMA_709, LayerCompositor, LayerEffect, LayerEffectKind, type LayerEffectRow, LayerEffects, type LayerEffectsPanelModel, LayerFilter, type LayerMenuAction, type LayerMenuItem, type LayerPanelRow, LayerPlacement, type LayerStack, type LegacyParts, type LegacyViewResult, LevelsChannel, LiveShapeKind, MAX_KELVIN, MIN_KELVIN, MIRED_PER_TEMPERATURE_UNIT, MIXER_MIXING_OPTIONS, MIXER_OPTION_CONTROLS, type Matrix3, MixerLoad, MixerSettings, type MosaicImageDataLike, type MosaicRegion, type NormalizedLayerItem, PAINT_TOOLS, PATTERN_BLOCK_KEYS, PROOF_PROFILE_OPTIONS, PSD_FILE_ACCEPT, PaintGesture, type PaintPointerSample, type PaintTool, ParagraphStyle, type ParsedAdjustment, type ParsedLayerEffects, PixelLayer, type PixelOp, type PlaneLayout, PsdError, type PsdPattern, Quad, type QuickMaskStyle, REFINE_EDGE_CONTROLS, RETOUCH_CHOICES, RETOUCH_OPTION_CONTROLS, RETOUCH_TOGGLES, RasterMask, type ReferenceItem, type RefineEdgeControl, RefineEdgeParams, type RouteInput, SELECTION_MODE_LABELS, SELECTION_TOOLS, SHAPE_KIND_LABELS, SUPPORTED_ADJUSTMENT_KEYS, SelectionGesture, SelectionMask, SelectionMode, type SelectionToolKind, type SelectionToolOptions, SerializedImageEditorState, ShapeDrawGesture, ShapeLayer, type ShapeToolOptions, type ShortcutEvent, SmartFilter, type SmartFilterRow, TINT_SCALE, TONE_LUT_SIZE, TextAlign, TextEditSession, TextEnv, type TextKey, TextStyle, TransformAnchor, type TransformHandle, type TransformModifiers, type TransformOverlay, TypeLayer, TypeLayerInfo, TypeToolGesture, type TypeToolOptions, type UnitLevels, VIBRANCE_GREY, Vec2, WARP_GRID_OPTIONS, WARP_STYLE_OPTIONS, WORKING_SPACE_OPTIONS, type WarpBar, WarpMesh, WarpStyle, XYZ_D50_TO_SRGB, activeAdjustmentLayers, addToHistogram, adjustmentKindLabel, adjustmentLayersKey, adjustmentNodeFromLegacy, annotationLayerFor, annotationLayerName, annotationOfLayer, applyAdjustmentLayers, applyAdjustmentLayersFloat, applyAdjustments, applyBoxBlur, applyBoxBlurFloat, applyDepthMask, applyLegacyAdjustments, applyMatrix3, applyOutputStage, applyProcess2Adjustments, applyProcess2Float, applyRegionBlur, applyRegionMosaic, applyShapeOptions, backgroundLayer, baseProjection, blackWhiteGray, boxToCurvePoint, bradfordAdaptation, buildToneLut, clampControlValue, cloneSourceLabel, colorBalanceChannel, colorPanelView, compileAdjustmentLayer, controlPosition, controlTrackBackground, coveringRect, createAdjustmentLayer, createImageCaptureSurface, createImageColorTools, createImageEditTools, createImageEditorToolProvider, createImageEffectTools, createImageEffectsToolProvider, createImageLayerTools, createImagePaintTools, createImagePsdTools, createImageRetouchTools, createImageSelectionTools, createImageShapeTools, createImageSmartObjectTools, createImageTransformTools, createImageTypeTools, curveLutFromLevels, curvePointToBox, curveSvgPath, decodePlanes, defaultAdjustmentParams, depthRasterMask, describeLayer, describeLayerEffects, describeSelection, developFromAdjustments, developTarget, downloadPsd, dropPlacement, dropZone, effectControlChange, emptyHistogram, encodeRle, evaluateAdjustmentLayers, extractNormalizedLayerItems, findAdjustmentControl, findLayerControl, flattenPath, formatControlValue, getControlPath, handlePaintShortcut, hasResampledLegacyMask, hexToRgb, hitTestCurvePoint, hslToRgb, hueRangeTables, hueRangeWeight, hueSaturation, identityCurve, identityLevels, imageEditorStateMigrations, imageLayerAppliedEffects, insertCurvePoint, invertMatrix3, isAdjustmentKind, isDefaultDepthMask, isLegacyShape, isPaintTool, isQuarterTurn, isRetouchPaintTool, kelvinToTemperature, layerBadge, layerEffectControls, layerEffectsBadge, layerEffectsPanel, layerHasThumbnail, layerLabel, layerMenu, layerPanelRows, layerWarning, layersFromLegacy, legacyAdjustmentLayer, legacyMaskOf, legacyView, levelsValue, linearSrgbToXy, linearToSrgb, liveShapeForDrag, loadImageEditorDocument, maskSummary, mixerLoadResult, moveCurvePoint, mulMatrix3, needsLegacyBase, neutralHueRange, normalizeAdjustmentLayer, normalizeAdjustmentLayers, normalizeProcessVersion, openPsdFile, parseAdjustmentBlock, parseCssColor, parseLfx2, parseLrfx, parsePatternBlock, parseVersionedDescriptor, photoFilterMatrix, posterizeValue, projectQuarterTurn, psdBytesFromBase64, psdFileName, psdPatternToEffectPattern, quickMaskPixels, rangeLightness, rasterMaskFromLegacy, rasterizeCoverage, readAdjustmentControls, removeAlpha, removeCurvePoint, renderLayeredBase, resolveMosaicRegionBounds, rgbToGray, rgbToHsl, rgbUnitToHex, runLayerMenuAction, sampleLut, sampleToneLut, selectionModeFromModifiers, selectionOutline, setControlPath, setRetouchChoice, smartFilterRows, splitOverlayAnnotations, srgbToLinear, sumHistograms, tempTintToXy, temperatureToKelvin, toneCurve, toneLuts, typeLayerAt, uvToXy, versionedDescriptorBytes, vibranceLinear, vibrancePixel, wbMatrix, whiteBalanceFromSample, whiteBalanceMatrix, writeAdjustmentBlock, writeLfx2, writePatternBlock, xyToTempTint, xyToUv };