/** * Calculate a percentage-based rootMargin for IntersectionObserver. * This helper uses a 0-100 percentage offset; AnimateOptions.offset uses pixels. * * @param {number} [offset] - Percentage offset (0-100). 0 = bottom of viewport touches top of element, 100 = top of viewport touches top of element * @param {string} [rootMargin] - Custom rootMargin string (takes precedence over offset) * @returns {string} rootMargin string for IntersectionObserver */ export function calculateRootMargin(offset?: number, rootMargin?: string): string; /** * Animation utilities * Type definitions have been moved to types.js for single source of truth */ /** * All available animation types in the library: primary names plus the * v2.x legacy aliases that are still preserved. * @type {readonly import('./types.js').AnimationType[]} */ export const ANIMATION_TYPES: readonly import("./types.js").AnimationType[];