svelte-motion
Version:
Svelte animation library based on the React library framer-motion.
11 lines (10 loc) • 669 B
TypeScript
/**
based on framer-motion@4.1.17,
Copyright (c) 2018 Framer B.V.
*/
import { HTMLRenderState } from "./types";
import { VisualElementConfig } from "../types";
import { DOMVisualElementOptions } from "../dom/types";
export declare function getComputedStyle(element: HTMLElement): CSSStyleDeclaration;
export declare const htmlConfig: VisualElementConfig<HTMLElement, HTMLRenderState, DOMVisualElementOptions>;
export declare const htmlVisualElement: ({ parent, props, presenceId, blockInitialAnimation, visualState, }: import("../types").VisualElementOptions<HTMLElement, any>, options?: DOMVisualElementOptions) => import("../types").VisualElement<HTMLElement, any>;