svelte-motion
Version:
Svelte animation library based on the React library framer-motion.
13 lines (12 loc) • 584 B
TypeScript
/**
based on framer-motion@4.1.17,
Copyright (c) 2018 Framer B.V.
*/
import { Writable } from 'svelte/store'
import { SharedLayoutSyncMethods, SyncLayoutBatcher } from "../components/AnimateSharedLayout/types";
export declare const SharedLayoutContext: () => Writable<SyncLayoutBatcher | SharedLayoutSyncMethods>;
/**
* @internal
*/
//export declare const FramerTreeLayoutContext: import("react").Context<SyncLayoutBatcher | SharedLayoutSyncMethods>;
export declare function isSharedLayout(context: SyncLayoutBatcher | SharedLayoutSyncMethods): context is SharedLayoutSyncMethods;