UNPKG

svelte-motion

Version:

Svelte animation library based on the React library framer-motion.

13 lines (12 loc) 591 B
/** based on framer-motion@4.1.17, Copyright (c) 2018 Framer B.V. */ import { MotionProps } from "../../motion/types"; import { MotionValue } from "../../value"; import { ResolvedValues } from "../types"; export declare function copyRawValuesOnly(target: ResolvedValues, source: { [key: string]: string | number | MotionValue; }, props: MotionProps): void; export declare function useStyle(props: MotionProps, visualState: ResolvedValues, isStatic: boolean): ResolvedValues; export declare function useHTMLProps(props: MotionProps, visualState: ResolvedValues, isStatic: boolean): any;