export type AnimationFn = () => Promise export type Resolve = (value?: any) => Promise