@clypra-studio/engine 1.0.6 → 1.0.7

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.
package/dist/index.d.cts CHANGED
@@ -2867,6 +2867,78 @@ declare const ColorMatrixEffect: PixiEffectDefinition;
2867
2867
 
2868
2868
  declare const NeonGlowEffect: PixiEffectDefinition;
2869
2869
 
2870
+ interface GradingParams {
2871
+ exposure?: number;
2872
+ brightness?: number;
2873
+ contrast?: number;
2874
+ saturation?: number;
2875
+ temperature?: number;
2876
+ tint?: number;
2877
+ sepia?: number;
2878
+ grayscale?: number;
2879
+ hueRotate?: number;
2880
+ vignette?: number;
2881
+ invert?: number;
2882
+ lift?: number;
2883
+ splitTone?: {
2884
+ shadowColor: string;
2885
+ shadowStrength: number;
2886
+ highlightColor: string;
2887
+ highlightStrength: number;
2888
+ balance: number;
2889
+ };
2890
+ grain?: {
2891
+ intensity: number;
2892
+ size: number;
2893
+ };
2894
+ halation?: {
2895
+ color: string;
2896
+ threshold: number;
2897
+ intensity: number;
2898
+ };
2899
+ channelMix?: {
2900
+ r: number;
2901
+ g: number;
2902
+ b: number;
2903
+ };
2904
+ duotone?: {
2905
+ darkColor: string;
2906
+ lightColor: string;
2907
+ };
2908
+ vibrance?: {
2909
+ amount: number;
2910
+ protectedHue?: string;
2911
+ };
2912
+ crossProcess?: {
2913
+ amount: number;
2914
+ };
2915
+ }
2916
+ interface ColorAdjustments {
2917
+ exposure?: number;
2918
+ brightness?: number;
2919
+ contrast?: number;
2920
+ saturation?: number;
2921
+ temperature?: number;
2922
+ tint?: number;
2923
+ sepia?: number;
2924
+ grayscale?: number;
2925
+ hue?: number;
2926
+ vignette?: number;
2927
+ invert?: boolean;
2928
+ lift?: number;
2929
+ vibrance?: {
2930
+ amount: number;
2931
+ protectedHue?: string;
2932
+ };
2933
+ grain?: {
2934
+ intensity: number;
2935
+ size: number;
2936
+ };
2937
+ crossProcess?: {
2938
+ amount: number;
2939
+ };
2940
+ }
2941
+ declare function mergeGradingParams(presetParams: GradingParams | undefined, manualAdjustments: ColorAdjustments | undefined): GradingParams;
2870
2942
  /** Convert a hex color string (#RRGGBB) to a normalized [r, g, b] array. */
2871
2943
  declare function hexToRgb(hex: string): [number, number, number];
2872
2944
  declare const ColorAdjustmentsEffect: PixiEffectDefinition;
@@ -8881,4 +8953,4 @@ declare function clearAllBodyEffectMasks(): void;
8881
8953
  /** Package version */
8882
8954
  declare const VERSION = "0.1.0";
8883
8955
 
8884
- export { AlphaEffect, type AnimBuildOpts, type AnimKeyframe, AnimTrack, type AnimTrackDef, type AnimatableParamDef, AnimatableValue, type AnimationCategory, AnimationPresetSchema, AnimationSchema, type AnimationState, AsciiEffect, type AssetHandle, type AssetKind, BUILTIN_CANVAS_TEMPLATES, type BatchInjection, type BodySegmentationOptions, type BodySegmentationRequest, type BodySegmentationResponse, type BodySegmentationRuntime, type BodySegmentationRuntimeConfig, BoundingBoxSchema, BulgePinchEffect, COMPOSITION_PRESETS, CRTEffect, CanvasDevice, CinematicLUTEffect, type ClipConform, type ClipSegment, ColorAdjustmentsEffect, ColorGradientEffect, ColorMatrixEffect, ColorOverlayEffect, CommandBuffer, CommandBufferBuilder, type CompositionPreset, type ConformMode, CrossHatchEffect, DEFAULT_TEXT_STYLE, DisplacementEffect, DotEffect, type DotLottieManifest, type DrawPerCharTextOptions, DropShadowEffect, EMPHASIS_PRESETS, ENTRANCE_PRESETS, EXIT_PRESETS, type EasingControlPoint, EffectBevelSchema, EffectFillSchema, EffectFullDefinitionSchema, EffectGlowSchema, EffectIndexItemSchema, type EffectInstance, EffectLayer, EffectPanelSchema, EffectShadowSchema, EffectStackSchema, EffectStrokeSchema, EmbossEffect, type ExecutionPlanner, FONT_WEIGHT_OPTIONS, type FillType, FilmGrainEffect, type FocalPoint, FontSchema, FrameGraph, FrameGraphBuilder, type FrameSource, GaussianBlurEffect, type GifExportOptions, type GifFrame, GlitchBandEffect, GlowEffect, GlowLayer, type GradientDir, GradientStop, GradientStopSchema, GraphValidator, GrayscaleEffect, HalationEffect, HslAdjustmentEffect, ImageLayerSchema, InkBrushEngine, KawaseBlurEffect, Keyframe, LOOP_PRESETS, LOTTIE_ANIM_PRESETS, LOTTIE_TEMPLATE_PRESETS, LayerAnimationSchema, LensFlareEffect, LightLeakEffect, type LottieAnimPreset, type LottieFileInfo, type LottieFontEntry, type LottieFontUsage, type LottieGradientStop, type LottieKeyframe, type LottiePropertyPath, type LottieTemplatePreset, MPGFrameRenderer, type MediaFitMode, type MediaLayout, type MediaSpriteRecord, MotionBlurEffect, type Mp4ExportOptions, NeonGlowEffect, type NodeDefinition, NodeRegistry, type NormalizedCrop, NullBackend, OldFilmEffect, OutlineEffect, type ParsedTextLayer, PixelateEffect, PixiEffectDefinition, PixiRenderer, type PngSequenceFrame, type PngSequenceOptions, Preset, ProjectCompiler, ProjectHelper, type ProjectManifestV2, RGBSplitEffect, RadialBlurEffect, type RecordedExecution, ReflectionEffect, RenderBackend, type RenderViewport, type ResolvedFit, type ResolvedMediaLayout, type ResourceAllocation, SUPPORTED_FONT_FAMILIES, SceneDocument, type ShaderCompilation, ShapeLayerSchema, ShockwaveEffect, type Size, StaticNoiseEffect, StyleRecipe, TEMPLATE_CATEGORIES, TemplateCategory, TemplateCategorySchema, TemplateEasingFunction, TemplateKeyframe, TemplateLayer, TemplateLayerSchema, type TemplatePresetCategory, TemplateRenderer, type TextAlign, type TextCustomization, TextEffectBuilder, TextEffectConfig, TextEffectDefinition, TextEffectDefinitionSchema, type TextLayerConfig, TextLayerSchema, type TextLayerStyle, type TextLayoutBounds, type TextLayoutResult, type TextStyleOverride, TextTemplate, TextTemplateSchema, TiltShiftEffect, type TrackDefinition, TwistEffect, VERSION, VHSEffect, type ValidatedEffectDefinition, type ValidatedTextEffectDefinition, type ValidatedTextTemplate, type ValidationError, type ValidationResult, VignetteEffect, WEBM_EXPORT_MAX_FRAMES, type WebMExportOptions, ZoomBlurEffect, _resetPlatformCache, addImageLayer, addKeyframe, addKeyframeAtTime, addOrUpdateKeyframe, addShapeLayer, addSolidLayer, addTextLayer, addTrack, addVectorShape, alignToLottieJ, applyBodyEffectMask, applyFillColorToAll, applyLetterSpacing, applyMaskReveal, applyMediaTransform, applyRecipeToScene, applyStyleToLottie, applyStyleToLottieLayer, applyTimelineAtTime, backgroundBlurEffect, bakeAnimationIntoLayer, beginStickerFrame, beginTextFrame, blendConfigs, blendScenes, bloomEffect, bodyEffects, buildDotLottie, buildFontEntries, buildLottieFontName, buildPngSequenceZip, builtInRecipes, calculateCropFromFocalPoint, calculateDefaultCoverCrop, calculateMediaFit, captureImageSourceDimensions, captureLottieFrames, captureVideoSourceDimensions, chromaticAberrationEffect, clearAllBodyEffectMasks, clearAllMediaSprites, clearAllStickerBridges, clearAllTextBridges, clearAnimationFromLayer, clearBodyEffectMask, clearFontCache, clearPendingVideoLayers, clearRecipeCache, cloneSceneWithNewIds, colorIsolationEffect, computeAutoFitFontSize, computeFitZoom, computeTextLayout, countTextGlyphs, createBlankLottie, createCanvas, createDefaultRevealTrack, createGPUBodyGlowFilter, createGPUBodyOutlineFilter, createGPUBodyParticlesFilter, createKeyframed, createPulseOpacityTrack, cubicBezier, deleteKeyframe, downloadDotLottie, downloadLottieJson, downloadLottieMp4, downloadPngSequenceZip, downloadSceneWebM, drawPerCharText, drawRoundedRect, duplicateTrackAtPlayhead, ease, enableKeyframing, encodeGif, endStickerFrame, endTextFrame, ensureDefaultTimeline, ensureFontInLottie, evaluateAnimatable, exportLottieToMp4, filmGrainEffect, findTrackIndex, formatValidationErrors, getActiveMediaSpriteKeys, getAnimPreset, getAnimatableParamDef, getAnimatableParamsForLayer, getCanvasTemplatePreset, getCanvasTemplatesByCategory, getClipLayout, getDefaultText, getLayerById, getMediaSpriteRecord, getOrCreateMediaSprite, getPresetScene, getSharedPixiRenderer, getSourceCropRect, getSupportedWebMMimeType, getTemplatePreset, getTemplatesByCategory, getVideoEffect, getWebMFrameCount, heatDistortionEffect, hexToLottieColor, hexToLottieRgb, hexToRgb, identityEffect, injectBatch, injectColor, injectGlobalTextStyle, injectSolidColor, injectText, injectTextStyle, isKeyframed, isMp4ExportSupported, isWebMExportSupported, loadLottieFonts, lottieColorToHex, lottieJToAlign, measureTextFits, moveKeyframe, neonOutlineEffect, parseHistorySnapshot, parseLottieJson, particleAuraEffect, preloadGoogleFont, presetToRecipe, pruneTracksForLayer, rainbowCharFillColors, readLayerScalar, readStyleFromLottieLayer, reindexLayers, releaseCanvas, releaseMediaSprite, releaseSharedPixiRenderer, removeKeyframe, removeTemplateKeyframe, removeTrack, renderPngSequence, renderSceneWebM, renderStickerLayerBridged, renderTextLayerBridged, resizeCharFillColors, resolveAnimatedScalar, resolveConform, resolveMediaLayout, restoreLetterSpacing, rotateCrop, scanLottieFonts, scanTextLayers, setCharFillColor, setTracks, shouldUsePerCharFill, snapshotScene, sortKeyframes, spotlightEffect, supportsCtxFilter, supportsLetterSpacing, supportsOffscreenCanvas, supportsRoundRect, supportsWebGL2, trackId, unmountStickerLayerBridge, unmountTextLayerBridge, updateKeyframe, updateSceneBevel, updateSceneCanvas, updateSceneCustomEngine, updateSceneFill, updateSceneGlow, updateScenePanel, updateSceneShadow, updateSceneStack, updateSceneStroke, updateSceneText, updateStaticProperty, updateTimeline, updateTrack, updateTrackMatte, upsertKeyframe, validateEffectDefinition, validateEffectDefinitionStrict, validateTextEffectDefinition, validateTextEffectDefinitionStrict, validateTextTemplate, validateTextTemplateStrict, vhsEffect, videoEffects, videoEffectsById, waitForFontsReady, wrapTextToWidth };
8956
+ export { AlphaEffect, type AnimBuildOpts, type AnimKeyframe, AnimTrack, type AnimTrackDef, type AnimatableParamDef, AnimatableValue, type AnimationCategory, AnimationPresetSchema, AnimationSchema, type AnimationState, AsciiEffect, type AssetHandle, type AssetKind, BUILTIN_CANVAS_TEMPLATES, type BatchInjection, type BodySegmentationOptions, type BodySegmentationRequest, type BodySegmentationResponse, type BodySegmentationRuntime, type BodySegmentationRuntimeConfig, BoundingBoxSchema, BulgePinchEffect, COMPOSITION_PRESETS, CRTEffect, CanvasDevice, CinematicLUTEffect, type ClipConform, type ClipSegment, type ColorAdjustments, ColorAdjustmentsEffect, ColorGradientEffect, ColorMatrixEffect, ColorOverlayEffect, CommandBuffer, CommandBufferBuilder, type CompositionPreset, type ConformMode, CrossHatchEffect, DEFAULT_TEXT_STYLE, DisplacementEffect, DotEffect, type DotLottieManifest, type DrawPerCharTextOptions, DropShadowEffect, EMPHASIS_PRESETS, ENTRANCE_PRESETS, EXIT_PRESETS, type EasingControlPoint, EffectBevelSchema, EffectFillSchema, EffectFullDefinitionSchema, EffectGlowSchema, EffectIndexItemSchema, type EffectInstance, EffectLayer, EffectPanelSchema, EffectShadowSchema, EffectStackSchema, EffectStrokeSchema, EmbossEffect, type ExecutionPlanner, FONT_WEIGHT_OPTIONS, type FillType, FilmGrainEffect, type FocalPoint, FontSchema, FrameGraph, FrameGraphBuilder, type FrameSource, GaussianBlurEffect, type GifExportOptions, type GifFrame, GlitchBandEffect, GlowEffect, GlowLayer, type GradientDir, GradientStop, GradientStopSchema, type GradingParams, GraphValidator, GrayscaleEffect, HalationEffect, HslAdjustmentEffect, ImageLayerSchema, InkBrushEngine, KawaseBlurEffect, Keyframe, LOOP_PRESETS, LOTTIE_ANIM_PRESETS, LOTTIE_TEMPLATE_PRESETS, LayerAnimationSchema, LensFlareEffect, LightLeakEffect, type LottieAnimPreset, type LottieFileInfo, type LottieFontEntry, type LottieFontUsage, type LottieGradientStop, type LottieKeyframe, type LottiePropertyPath, type LottieTemplatePreset, MPGFrameRenderer, type MediaFitMode, type MediaLayout, type MediaSpriteRecord, MotionBlurEffect, type Mp4ExportOptions, NeonGlowEffect, type NodeDefinition, NodeRegistry, type NormalizedCrop, NullBackend, OldFilmEffect, OutlineEffect, type ParsedTextLayer, PixelateEffect, PixiEffectDefinition, PixiRenderer, type PngSequenceFrame, type PngSequenceOptions, Preset, ProjectCompiler, ProjectHelper, type ProjectManifestV2, RGBSplitEffect, RadialBlurEffect, type RecordedExecution, ReflectionEffect, RenderBackend, type RenderViewport, type ResolvedFit, type ResolvedMediaLayout, type ResourceAllocation, SUPPORTED_FONT_FAMILIES, SceneDocument, type ShaderCompilation, ShapeLayerSchema, ShockwaveEffect, type Size, StaticNoiseEffect, StyleRecipe, TEMPLATE_CATEGORIES, TemplateCategory, TemplateCategorySchema, TemplateEasingFunction, TemplateKeyframe, TemplateLayer, TemplateLayerSchema, type TemplatePresetCategory, TemplateRenderer, type TextAlign, type TextCustomization, TextEffectBuilder, TextEffectConfig, TextEffectDefinition, TextEffectDefinitionSchema, type TextLayerConfig, TextLayerSchema, type TextLayerStyle, type TextLayoutBounds, type TextLayoutResult, type TextStyleOverride, TextTemplate, TextTemplateSchema, TiltShiftEffect, type TrackDefinition, TwistEffect, VERSION, VHSEffect, type ValidatedEffectDefinition, type ValidatedTextEffectDefinition, type ValidatedTextTemplate, type ValidationError, type ValidationResult, VignetteEffect, WEBM_EXPORT_MAX_FRAMES, type WebMExportOptions, ZoomBlurEffect, _resetPlatformCache, addImageLayer, addKeyframe, addKeyframeAtTime, addOrUpdateKeyframe, addShapeLayer, addSolidLayer, addTextLayer, addTrack, addVectorShape, alignToLottieJ, applyBodyEffectMask, applyFillColorToAll, applyLetterSpacing, applyMaskReveal, applyMediaTransform, applyRecipeToScene, applyStyleToLottie, applyStyleToLottieLayer, applyTimelineAtTime, backgroundBlurEffect, bakeAnimationIntoLayer, beginStickerFrame, beginTextFrame, blendConfigs, blendScenes, bloomEffect, bodyEffects, buildDotLottie, buildFontEntries, buildLottieFontName, buildPngSequenceZip, builtInRecipes, calculateCropFromFocalPoint, calculateDefaultCoverCrop, calculateMediaFit, captureImageSourceDimensions, captureLottieFrames, captureVideoSourceDimensions, chromaticAberrationEffect, clearAllBodyEffectMasks, clearAllMediaSprites, clearAllStickerBridges, clearAllTextBridges, clearAnimationFromLayer, clearBodyEffectMask, clearFontCache, clearPendingVideoLayers, clearRecipeCache, cloneSceneWithNewIds, colorIsolationEffect, computeAutoFitFontSize, computeFitZoom, computeTextLayout, countTextGlyphs, createBlankLottie, createCanvas, createDefaultRevealTrack, createGPUBodyGlowFilter, createGPUBodyOutlineFilter, createGPUBodyParticlesFilter, createKeyframed, createPulseOpacityTrack, cubicBezier, deleteKeyframe, downloadDotLottie, downloadLottieJson, downloadLottieMp4, downloadPngSequenceZip, downloadSceneWebM, drawPerCharText, drawRoundedRect, duplicateTrackAtPlayhead, ease, enableKeyframing, encodeGif, endStickerFrame, endTextFrame, ensureDefaultTimeline, ensureFontInLottie, evaluateAnimatable, exportLottieToMp4, filmGrainEffect, findTrackIndex, formatValidationErrors, getActiveMediaSpriteKeys, getAnimPreset, getAnimatableParamDef, getAnimatableParamsForLayer, getCanvasTemplatePreset, getCanvasTemplatesByCategory, getClipLayout, getDefaultText, getLayerById, getMediaSpriteRecord, getOrCreateMediaSprite, getPresetScene, getSharedPixiRenderer, getSourceCropRect, getSupportedWebMMimeType, getTemplatePreset, getTemplatesByCategory, getVideoEffect, getWebMFrameCount, heatDistortionEffect, hexToLottieColor, hexToLottieRgb, hexToRgb, identityEffect, injectBatch, injectColor, injectGlobalTextStyle, injectSolidColor, injectText, injectTextStyle, isKeyframed, isMp4ExportSupported, isWebMExportSupported, loadLottieFonts, lottieColorToHex, lottieJToAlign, measureTextFits, mergeGradingParams, moveKeyframe, neonOutlineEffect, parseHistorySnapshot, parseLottieJson, particleAuraEffect, preloadGoogleFont, presetToRecipe, pruneTracksForLayer, rainbowCharFillColors, readLayerScalar, readStyleFromLottieLayer, reindexLayers, releaseCanvas, releaseMediaSprite, releaseSharedPixiRenderer, removeKeyframe, removeTemplateKeyframe, removeTrack, renderPngSequence, renderSceneWebM, renderStickerLayerBridged, renderTextLayerBridged, resizeCharFillColors, resolveAnimatedScalar, resolveConform, resolveMediaLayout, restoreLetterSpacing, rotateCrop, scanLottieFonts, scanTextLayers, setCharFillColor, setTracks, shouldUsePerCharFill, snapshotScene, sortKeyframes, spotlightEffect, supportsCtxFilter, supportsLetterSpacing, supportsOffscreenCanvas, supportsRoundRect, supportsWebGL2, trackId, unmountStickerLayerBridge, unmountTextLayerBridge, updateKeyframe, updateSceneBevel, updateSceneCanvas, updateSceneCustomEngine, updateSceneFill, updateSceneGlow, updateScenePanel, updateSceneShadow, updateSceneStack, updateSceneStroke, updateSceneText, updateStaticProperty, updateTimeline, updateTrack, updateTrackMatte, upsertKeyframe, validateEffectDefinition, validateEffectDefinitionStrict, validateTextEffectDefinition, validateTextEffectDefinitionStrict, validateTextTemplate, validateTextTemplateStrict, vhsEffect, videoEffects, videoEffectsById, waitForFontsReady, wrapTextToWidth };
package/dist/index.d.ts CHANGED
@@ -2867,6 +2867,78 @@ declare const ColorMatrixEffect: PixiEffectDefinition;
2867
2867
 
2868
2868
  declare const NeonGlowEffect: PixiEffectDefinition;
2869
2869
 
2870
+ interface GradingParams {
2871
+ exposure?: number;
2872
+ brightness?: number;
2873
+ contrast?: number;
2874
+ saturation?: number;
2875
+ temperature?: number;
2876
+ tint?: number;
2877
+ sepia?: number;
2878
+ grayscale?: number;
2879
+ hueRotate?: number;
2880
+ vignette?: number;
2881
+ invert?: number;
2882
+ lift?: number;
2883
+ splitTone?: {
2884
+ shadowColor: string;
2885
+ shadowStrength: number;
2886
+ highlightColor: string;
2887
+ highlightStrength: number;
2888
+ balance: number;
2889
+ };
2890
+ grain?: {
2891
+ intensity: number;
2892
+ size: number;
2893
+ };
2894
+ halation?: {
2895
+ color: string;
2896
+ threshold: number;
2897
+ intensity: number;
2898
+ };
2899
+ channelMix?: {
2900
+ r: number;
2901
+ g: number;
2902
+ b: number;
2903
+ };
2904
+ duotone?: {
2905
+ darkColor: string;
2906
+ lightColor: string;
2907
+ };
2908
+ vibrance?: {
2909
+ amount: number;
2910
+ protectedHue?: string;
2911
+ };
2912
+ crossProcess?: {
2913
+ amount: number;
2914
+ };
2915
+ }
2916
+ interface ColorAdjustments {
2917
+ exposure?: number;
2918
+ brightness?: number;
2919
+ contrast?: number;
2920
+ saturation?: number;
2921
+ temperature?: number;
2922
+ tint?: number;
2923
+ sepia?: number;
2924
+ grayscale?: number;
2925
+ hue?: number;
2926
+ vignette?: number;
2927
+ invert?: boolean;
2928
+ lift?: number;
2929
+ vibrance?: {
2930
+ amount: number;
2931
+ protectedHue?: string;
2932
+ };
2933
+ grain?: {
2934
+ intensity: number;
2935
+ size: number;
2936
+ };
2937
+ crossProcess?: {
2938
+ amount: number;
2939
+ };
2940
+ }
2941
+ declare function mergeGradingParams(presetParams: GradingParams | undefined, manualAdjustments: ColorAdjustments | undefined): GradingParams;
2870
2942
  /** Convert a hex color string (#RRGGBB) to a normalized [r, g, b] array. */
2871
2943
  declare function hexToRgb(hex: string): [number, number, number];
2872
2944
  declare const ColorAdjustmentsEffect: PixiEffectDefinition;
@@ -8881,4 +8953,4 @@ declare function clearAllBodyEffectMasks(): void;
8881
8953
  /** Package version */
8882
8954
  declare const VERSION = "0.1.0";
8883
8955
 
8884
- export { AlphaEffect, type AnimBuildOpts, type AnimKeyframe, AnimTrack, type AnimTrackDef, type AnimatableParamDef, AnimatableValue, type AnimationCategory, AnimationPresetSchema, AnimationSchema, type AnimationState, AsciiEffect, type AssetHandle, type AssetKind, BUILTIN_CANVAS_TEMPLATES, type BatchInjection, type BodySegmentationOptions, type BodySegmentationRequest, type BodySegmentationResponse, type BodySegmentationRuntime, type BodySegmentationRuntimeConfig, BoundingBoxSchema, BulgePinchEffect, COMPOSITION_PRESETS, CRTEffect, CanvasDevice, CinematicLUTEffect, type ClipConform, type ClipSegment, ColorAdjustmentsEffect, ColorGradientEffect, ColorMatrixEffect, ColorOverlayEffect, CommandBuffer, CommandBufferBuilder, type CompositionPreset, type ConformMode, CrossHatchEffect, DEFAULT_TEXT_STYLE, DisplacementEffect, DotEffect, type DotLottieManifest, type DrawPerCharTextOptions, DropShadowEffect, EMPHASIS_PRESETS, ENTRANCE_PRESETS, EXIT_PRESETS, type EasingControlPoint, EffectBevelSchema, EffectFillSchema, EffectFullDefinitionSchema, EffectGlowSchema, EffectIndexItemSchema, type EffectInstance, EffectLayer, EffectPanelSchema, EffectShadowSchema, EffectStackSchema, EffectStrokeSchema, EmbossEffect, type ExecutionPlanner, FONT_WEIGHT_OPTIONS, type FillType, FilmGrainEffect, type FocalPoint, FontSchema, FrameGraph, FrameGraphBuilder, type FrameSource, GaussianBlurEffect, type GifExportOptions, type GifFrame, GlitchBandEffect, GlowEffect, GlowLayer, type GradientDir, GradientStop, GradientStopSchema, GraphValidator, GrayscaleEffect, HalationEffect, HslAdjustmentEffect, ImageLayerSchema, InkBrushEngine, KawaseBlurEffect, Keyframe, LOOP_PRESETS, LOTTIE_ANIM_PRESETS, LOTTIE_TEMPLATE_PRESETS, LayerAnimationSchema, LensFlareEffect, LightLeakEffect, type LottieAnimPreset, type LottieFileInfo, type LottieFontEntry, type LottieFontUsage, type LottieGradientStop, type LottieKeyframe, type LottiePropertyPath, type LottieTemplatePreset, MPGFrameRenderer, type MediaFitMode, type MediaLayout, type MediaSpriteRecord, MotionBlurEffect, type Mp4ExportOptions, NeonGlowEffect, type NodeDefinition, NodeRegistry, type NormalizedCrop, NullBackend, OldFilmEffect, OutlineEffect, type ParsedTextLayer, PixelateEffect, PixiEffectDefinition, PixiRenderer, type PngSequenceFrame, type PngSequenceOptions, Preset, ProjectCompiler, ProjectHelper, type ProjectManifestV2, RGBSplitEffect, RadialBlurEffect, type RecordedExecution, ReflectionEffect, RenderBackend, type RenderViewport, type ResolvedFit, type ResolvedMediaLayout, type ResourceAllocation, SUPPORTED_FONT_FAMILIES, SceneDocument, type ShaderCompilation, ShapeLayerSchema, ShockwaveEffect, type Size, StaticNoiseEffect, StyleRecipe, TEMPLATE_CATEGORIES, TemplateCategory, TemplateCategorySchema, TemplateEasingFunction, TemplateKeyframe, TemplateLayer, TemplateLayerSchema, type TemplatePresetCategory, TemplateRenderer, type TextAlign, type TextCustomization, TextEffectBuilder, TextEffectConfig, TextEffectDefinition, TextEffectDefinitionSchema, type TextLayerConfig, TextLayerSchema, type TextLayerStyle, type TextLayoutBounds, type TextLayoutResult, type TextStyleOverride, TextTemplate, TextTemplateSchema, TiltShiftEffect, type TrackDefinition, TwistEffect, VERSION, VHSEffect, type ValidatedEffectDefinition, type ValidatedTextEffectDefinition, type ValidatedTextTemplate, type ValidationError, type ValidationResult, VignetteEffect, WEBM_EXPORT_MAX_FRAMES, type WebMExportOptions, ZoomBlurEffect, _resetPlatformCache, addImageLayer, addKeyframe, addKeyframeAtTime, addOrUpdateKeyframe, addShapeLayer, addSolidLayer, addTextLayer, addTrack, addVectorShape, alignToLottieJ, applyBodyEffectMask, applyFillColorToAll, applyLetterSpacing, applyMaskReveal, applyMediaTransform, applyRecipeToScene, applyStyleToLottie, applyStyleToLottieLayer, applyTimelineAtTime, backgroundBlurEffect, bakeAnimationIntoLayer, beginStickerFrame, beginTextFrame, blendConfigs, blendScenes, bloomEffect, bodyEffects, buildDotLottie, buildFontEntries, buildLottieFontName, buildPngSequenceZip, builtInRecipes, calculateCropFromFocalPoint, calculateDefaultCoverCrop, calculateMediaFit, captureImageSourceDimensions, captureLottieFrames, captureVideoSourceDimensions, chromaticAberrationEffect, clearAllBodyEffectMasks, clearAllMediaSprites, clearAllStickerBridges, clearAllTextBridges, clearAnimationFromLayer, clearBodyEffectMask, clearFontCache, clearPendingVideoLayers, clearRecipeCache, cloneSceneWithNewIds, colorIsolationEffect, computeAutoFitFontSize, computeFitZoom, computeTextLayout, countTextGlyphs, createBlankLottie, createCanvas, createDefaultRevealTrack, createGPUBodyGlowFilter, createGPUBodyOutlineFilter, createGPUBodyParticlesFilter, createKeyframed, createPulseOpacityTrack, cubicBezier, deleteKeyframe, downloadDotLottie, downloadLottieJson, downloadLottieMp4, downloadPngSequenceZip, downloadSceneWebM, drawPerCharText, drawRoundedRect, duplicateTrackAtPlayhead, ease, enableKeyframing, encodeGif, endStickerFrame, endTextFrame, ensureDefaultTimeline, ensureFontInLottie, evaluateAnimatable, exportLottieToMp4, filmGrainEffect, findTrackIndex, formatValidationErrors, getActiveMediaSpriteKeys, getAnimPreset, getAnimatableParamDef, getAnimatableParamsForLayer, getCanvasTemplatePreset, getCanvasTemplatesByCategory, getClipLayout, getDefaultText, getLayerById, getMediaSpriteRecord, getOrCreateMediaSprite, getPresetScene, getSharedPixiRenderer, getSourceCropRect, getSupportedWebMMimeType, getTemplatePreset, getTemplatesByCategory, getVideoEffect, getWebMFrameCount, heatDistortionEffect, hexToLottieColor, hexToLottieRgb, hexToRgb, identityEffect, injectBatch, injectColor, injectGlobalTextStyle, injectSolidColor, injectText, injectTextStyle, isKeyframed, isMp4ExportSupported, isWebMExportSupported, loadLottieFonts, lottieColorToHex, lottieJToAlign, measureTextFits, moveKeyframe, neonOutlineEffect, parseHistorySnapshot, parseLottieJson, particleAuraEffect, preloadGoogleFont, presetToRecipe, pruneTracksForLayer, rainbowCharFillColors, readLayerScalar, readStyleFromLottieLayer, reindexLayers, releaseCanvas, releaseMediaSprite, releaseSharedPixiRenderer, removeKeyframe, removeTemplateKeyframe, removeTrack, renderPngSequence, renderSceneWebM, renderStickerLayerBridged, renderTextLayerBridged, resizeCharFillColors, resolveAnimatedScalar, resolveConform, resolveMediaLayout, restoreLetterSpacing, rotateCrop, scanLottieFonts, scanTextLayers, setCharFillColor, setTracks, shouldUsePerCharFill, snapshotScene, sortKeyframes, spotlightEffect, supportsCtxFilter, supportsLetterSpacing, supportsOffscreenCanvas, supportsRoundRect, supportsWebGL2, trackId, unmountStickerLayerBridge, unmountTextLayerBridge, updateKeyframe, updateSceneBevel, updateSceneCanvas, updateSceneCustomEngine, updateSceneFill, updateSceneGlow, updateScenePanel, updateSceneShadow, updateSceneStack, updateSceneStroke, updateSceneText, updateStaticProperty, updateTimeline, updateTrack, updateTrackMatte, upsertKeyframe, validateEffectDefinition, validateEffectDefinitionStrict, validateTextEffectDefinition, validateTextEffectDefinitionStrict, validateTextTemplate, validateTextTemplateStrict, vhsEffect, videoEffects, videoEffectsById, waitForFontsReady, wrapTextToWidth };
8956
+ export { AlphaEffect, type AnimBuildOpts, type AnimKeyframe, AnimTrack, type AnimTrackDef, type AnimatableParamDef, AnimatableValue, type AnimationCategory, AnimationPresetSchema, AnimationSchema, type AnimationState, AsciiEffect, type AssetHandle, type AssetKind, BUILTIN_CANVAS_TEMPLATES, type BatchInjection, type BodySegmentationOptions, type BodySegmentationRequest, type BodySegmentationResponse, type BodySegmentationRuntime, type BodySegmentationRuntimeConfig, BoundingBoxSchema, BulgePinchEffect, COMPOSITION_PRESETS, CRTEffect, CanvasDevice, CinematicLUTEffect, type ClipConform, type ClipSegment, type ColorAdjustments, ColorAdjustmentsEffect, ColorGradientEffect, ColorMatrixEffect, ColorOverlayEffect, CommandBuffer, CommandBufferBuilder, type CompositionPreset, type ConformMode, CrossHatchEffect, DEFAULT_TEXT_STYLE, DisplacementEffect, DotEffect, type DotLottieManifest, type DrawPerCharTextOptions, DropShadowEffect, EMPHASIS_PRESETS, ENTRANCE_PRESETS, EXIT_PRESETS, type EasingControlPoint, EffectBevelSchema, EffectFillSchema, EffectFullDefinitionSchema, EffectGlowSchema, EffectIndexItemSchema, type EffectInstance, EffectLayer, EffectPanelSchema, EffectShadowSchema, EffectStackSchema, EffectStrokeSchema, EmbossEffect, type ExecutionPlanner, FONT_WEIGHT_OPTIONS, type FillType, FilmGrainEffect, type FocalPoint, FontSchema, FrameGraph, FrameGraphBuilder, type FrameSource, GaussianBlurEffect, type GifExportOptions, type GifFrame, GlitchBandEffect, GlowEffect, GlowLayer, type GradientDir, GradientStop, GradientStopSchema, type GradingParams, GraphValidator, GrayscaleEffect, HalationEffect, HslAdjustmentEffect, ImageLayerSchema, InkBrushEngine, KawaseBlurEffect, Keyframe, LOOP_PRESETS, LOTTIE_ANIM_PRESETS, LOTTIE_TEMPLATE_PRESETS, LayerAnimationSchema, LensFlareEffect, LightLeakEffect, type LottieAnimPreset, type LottieFileInfo, type LottieFontEntry, type LottieFontUsage, type LottieGradientStop, type LottieKeyframe, type LottiePropertyPath, type LottieTemplatePreset, MPGFrameRenderer, type MediaFitMode, type MediaLayout, type MediaSpriteRecord, MotionBlurEffect, type Mp4ExportOptions, NeonGlowEffect, type NodeDefinition, NodeRegistry, type NormalizedCrop, NullBackend, OldFilmEffect, OutlineEffect, type ParsedTextLayer, PixelateEffect, PixiEffectDefinition, PixiRenderer, type PngSequenceFrame, type PngSequenceOptions, Preset, ProjectCompiler, ProjectHelper, type ProjectManifestV2, RGBSplitEffect, RadialBlurEffect, type RecordedExecution, ReflectionEffect, RenderBackend, type RenderViewport, type ResolvedFit, type ResolvedMediaLayout, type ResourceAllocation, SUPPORTED_FONT_FAMILIES, SceneDocument, type ShaderCompilation, ShapeLayerSchema, ShockwaveEffect, type Size, StaticNoiseEffect, StyleRecipe, TEMPLATE_CATEGORIES, TemplateCategory, TemplateCategorySchema, TemplateEasingFunction, TemplateKeyframe, TemplateLayer, TemplateLayerSchema, type TemplatePresetCategory, TemplateRenderer, type TextAlign, type TextCustomization, TextEffectBuilder, TextEffectConfig, TextEffectDefinition, TextEffectDefinitionSchema, type TextLayerConfig, TextLayerSchema, type TextLayerStyle, type TextLayoutBounds, type TextLayoutResult, type TextStyleOverride, TextTemplate, TextTemplateSchema, TiltShiftEffect, type TrackDefinition, TwistEffect, VERSION, VHSEffect, type ValidatedEffectDefinition, type ValidatedTextEffectDefinition, type ValidatedTextTemplate, type ValidationError, type ValidationResult, VignetteEffect, WEBM_EXPORT_MAX_FRAMES, type WebMExportOptions, ZoomBlurEffect, _resetPlatformCache, addImageLayer, addKeyframe, addKeyframeAtTime, addOrUpdateKeyframe, addShapeLayer, addSolidLayer, addTextLayer, addTrack, addVectorShape, alignToLottieJ, applyBodyEffectMask, applyFillColorToAll, applyLetterSpacing, applyMaskReveal, applyMediaTransform, applyRecipeToScene, applyStyleToLottie, applyStyleToLottieLayer, applyTimelineAtTime, backgroundBlurEffect, bakeAnimationIntoLayer, beginStickerFrame, beginTextFrame, blendConfigs, blendScenes, bloomEffect, bodyEffects, buildDotLottie, buildFontEntries, buildLottieFontName, buildPngSequenceZip, builtInRecipes, calculateCropFromFocalPoint, calculateDefaultCoverCrop, calculateMediaFit, captureImageSourceDimensions, captureLottieFrames, captureVideoSourceDimensions, chromaticAberrationEffect, clearAllBodyEffectMasks, clearAllMediaSprites, clearAllStickerBridges, clearAllTextBridges, clearAnimationFromLayer, clearBodyEffectMask, clearFontCache, clearPendingVideoLayers, clearRecipeCache, cloneSceneWithNewIds, colorIsolationEffect, computeAutoFitFontSize, computeFitZoom, computeTextLayout, countTextGlyphs, createBlankLottie, createCanvas, createDefaultRevealTrack, createGPUBodyGlowFilter, createGPUBodyOutlineFilter, createGPUBodyParticlesFilter, createKeyframed, createPulseOpacityTrack, cubicBezier, deleteKeyframe, downloadDotLottie, downloadLottieJson, downloadLottieMp4, downloadPngSequenceZip, downloadSceneWebM, drawPerCharText, drawRoundedRect, duplicateTrackAtPlayhead, ease, enableKeyframing, encodeGif, endStickerFrame, endTextFrame, ensureDefaultTimeline, ensureFontInLottie, evaluateAnimatable, exportLottieToMp4, filmGrainEffect, findTrackIndex, formatValidationErrors, getActiveMediaSpriteKeys, getAnimPreset, getAnimatableParamDef, getAnimatableParamsForLayer, getCanvasTemplatePreset, getCanvasTemplatesByCategory, getClipLayout, getDefaultText, getLayerById, getMediaSpriteRecord, getOrCreateMediaSprite, getPresetScene, getSharedPixiRenderer, getSourceCropRect, getSupportedWebMMimeType, getTemplatePreset, getTemplatesByCategory, getVideoEffect, getWebMFrameCount, heatDistortionEffect, hexToLottieColor, hexToLottieRgb, hexToRgb, identityEffect, injectBatch, injectColor, injectGlobalTextStyle, injectSolidColor, injectText, injectTextStyle, isKeyframed, isMp4ExportSupported, isWebMExportSupported, loadLottieFonts, lottieColorToHex, lottieJToAlign, measureTextFits, mergeGradingParams, moveKeyframe, neonOutlineEffect, parseHistorySnapshot, parseLottieJson, particleAuraEffect, preloadGoogleFont, presetToRecipe, pruneTracksForLayer, rainbowCharFillColors, readLayerScalar, readStyleFromLottieLayer, reindexLayers, releaseCanvas, releaseMediaSprite, releaseSharedPixiRenderer, removeKeyframe, removeTemplateKeyframe, removeTrack, renderPngSequence, renderSceneWebM, renderStickerLayerBridged, renderTextLayerBridged, resizeCharFillColors, resolveAnimatedScalar, resolveConform, resolveMediaLayout, restoreLetterSpacing, rotateCrop, scanLottieFonts, scanTextLayers, setCharFillColor, setTracks, shouldUsePerCharFill, snapshotScene, sortKeyframes, spotlightEffect, supportsCtxFilter, supportsLetterSpacing, supportsOffscreenCanvas, supportsRoundRect, supportsWebGL2, trackId, unmountStickerLayerBridge, unmountTextLayerBridge, updateKeyframe, updateSceneBevel, updateSceneCanvas, updateSceneCustomEngine, updateSceneFill, updateSceneGlow, updateScenePanel, updateSceneShadow, updateSceneStack, updateSceneStroke, updateSceneText, updateStaticProperty, updateTimeline, updateTrack, updateTrackMatte, upsertKeyframe, validateEffectDefinition, validateEffectDefinitionStrict, validateTextEffectDefinition, validateTextEffectDefinitionStrict, validateTextTemplate, validateTextTemplateStrict, vhsEffect, videoEffects, videoEffectsById, waitForFontsReady, wrapTextToWidth };
package/dist/index.js CHANGED
@@ -148,8 +148,9 @@ import {
148
148
  import {
149
149
  ColorAdjustmentsEffect,
150
150
  PixiRenderBackend,
151
- hexToRgb
152
- } from "./chunk-4PKBLJ34.js";
151
+ hexToRgb,
152
+ mergeGradingParams
153
+ } from "./chunk-RYA4KGDB.js";
153
154
  import "./chunk-PZ5AY32C.js";
154
155
 
155
156
  // src/validation.ts
@@ -13009,6 +13010,7 @@ export {
13009
13010
  lottieColorToHex,
13010
13011
  lottieJToAlign,
13011
13012
  measureTextFits,
13013
+ mergeGradingParams,
13012
13014
  mergeSceneIntoConfig,
13013
13015
  moveKeyframe,
13014
13016
  neonOutlineEffect,