export declare function fadeDuration(duration: number, fraction: number): number; export declare function parseTranslate(element: HTMLElement): { tx: number; ty: number; }; export declare function layoutSize(element: HTMLElement): { width: number; height: number; }; /** Every `element.animate` call site goes through this so a jsdom-less env degrades. */ export declare function animateElement(element: HTMLElement, keyframes: Keyframe[] | PropertyIndexedKeyframes, options: KeyframeAnimationOptions): Animation | null; export declare function getAnimationsOf(element: HTMLElement): Animation[]; export declare function cancelAnimations(element: HTMLElement): { tx: number; ty: number; opacity: number; };