/** based on framer-motion@4.1.17, Copyright (c) 2018 Framer B.V. */ import type { CreateVisualElement } from '../render/types'; import type { FeatureBundle, RenderComponent } from './features/types'; import type { UseVisualState } from './utils/use-visual-state'; export type { MotionProps } from './types'; export interface MotionComponentConfig { preloadedFeatures?: FeatureBundle; createVisualElement?: CreateVisualElement; useRender: RenderComponent; useVisualState: UseVisualState; Component: string | Component; } import type { MotionProps } from './types'; import type { Component } from 'svelte'; /** * Create a `motion` component. * * This function accepts a Component argument, which can be either a string (ie "div" * for `MotionDiv`), or an actual React component. * * Alongside this is a config option which provides a way of rendering the provided * component "offline", or outside the React render cycle. * * @internal */ export declare const createMotionComponent: ({ preloadedFeatures, createVisualElement, useRender: forwardMotionProps, useVisualState: visualStateConfig, Component, }: MotionComponentConfig) => Component; //# sourceMappingURL=index.d.ts.map