import { type LottieAttrs, type Module } from '@divi/types'; import { type ModuleEditProps } from '../types-module'; export type LottieEditProps = ModuleEditProps; export type LottiePresetRenderAttrs = Record & { lottie?: { innerContent?: { desktop?: { value?: Record; }; }; }; }; export type LottiePresetInteractionFilterArgs = { presetId: string; presetModuleName?: string; presetRenderAttrs?: LottiePresetRenderAttrs | null; }; export type LottiePresetInteractionFilterHooksWindow = Window & { wp?: { hooks?: { addFilter?: ( hookName: string, namespace: string, callback: ( processedInteraction: Module.Store.Interactions.Data, args: LottiePresetInteractionFilterArgs, ) => Module.Store.Interactions.Data, ) => void; }; }; };