interface Animation implements EventTargetimport { type Animation } from "https://deno.land/x/windmill@v1.380.1/node_modules/evt/lib/types/lib.dom.d.ts"; PropertiescurrentTime: number | nulleffect: AnimationEffect | nullreadonlyfinished: Promise<Animation>id: stringoncancel: ((this: Animation, ev: AnimationPlaybackEvent) => any) | nullonfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | nullreadonlypending: booleanreadonlyplayState: AnimationPlayStateplaybackRate: numberreadonlyready: Promise<Animation>startTime: number | nulltimeline: AnimationTimeline | nullMethodscancel(): voidfinish(): voidpause(): voidplay(): voidreverse(): voidupdatePlaybackRate(playbackRate: number): voidaddEventListener<K extends keyof AnimationEventMap>(type: K,listener: (this: Animation, ev: AnimationEventMap[K]) => any,options?: boolean | AddEventListenerOptions,): voidaddEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | AddEventListenerOptions,): voidremoveEventListener<K extends keyof AnimationEventMap>(type: K,listener: (this: Animation, ev: AnimationEventMap[K]) => any,options?: boolean | EventListenerOptions,): voidremoveEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | EventListenerOptions,): void