import type { Element } from '../types'; /** * 判定给定样式是否与上一次的样式相同 * * Determine whether the given style are the same as the previous ones * @param target - 目标元素 | Target element * @param key - 缓存 key | Cache key * @param style - 样式属性 | Style attribute * @returns 是否执行函数 | Whether to execute the function * @deprecated 该方法已废弃,并不能显著提升性能 | This method is deprecated and does not significantly improve performance */ export declare function effect>(target: Element, key: string, style: T): boolean;