/** * Animate an element when it enters the viewport. * * Framework-neutral DOM core. Returns a deterministic lifecycle handle whose * `update(newOptions)` treats the argument as the complete new option set, so * options removed by a reactive caller are no longer retained. * * @param {HTMLElement} element * @param {import('./types.js').AnimateOptions} [options] * @returns {import('./types.js').AnimateHandle} */ export function animate(element: HTMLElement, options?: import("./types.js").AnimateOptions): import("./types.js").AnimateHandle;