export interface KeyframeDefinition { [offset: string]: Keyframe; } export interface TimelineOptions { duration?: number; easing?: string; delay?: number; fill?: FillMode; } export declare class AnimationTimeline { private animations; add(element: Element, keyframes: Keyframe[] | KeyframeDefinition, options?: TimelineOptions): this; play(): void; pause(): void; cancel(): void; } /** * Attach a scroll-linked timeline if supported (view-timeline). Falls back to no-op. */ export declare function attachScrollTimeline(element: HTMLElement, name?: string, axis?: 'block' | 'inline'): void; /** * Prefer reduced motion: helper to disable ongoing animations */ export declare function respectReducedMotion(animations: Array): void; //# sourceMappingURL=animation-timeline.d.ts.map