import type { Component, ComponentProps } from "svelte"; import type { FeatureBundle } from "../../features/dom-animation.js"; import type { createVisualElement } from "../../state/create-visual-element.js"; import type { MotionProps } from "./types.js"; import type { SvelteHTMLElements } from "svelte/elements"; import type { MotionHTMLAttributes } from "../../types/motion-values.js"; import type { ElementType } from "../../types/index.js"; export interface MotionCreateOptions { forwardMotionProps?: boolean; renderer?: typeof createVisualElement; } export declare function createMotionComponent(component: string | Component, options?: MotionCreateOptions): Component<{}, {}, string>; export type MotionNameSpace = { [K in keyof SvelteHTMLElements]: Component, "as" | "asChild" | "motionConfig" | "layoutGroup"> & MotionHTMLAttributes>; } & { create(component: T, options?: MotionCreateOptions): Component, "as" | "asChild"> & ComponentProps>; create(component: T, options?: MotionCreateOptions): Component, "asChild"> & MotionHTMLAttributes>; }; export declare function createMotionComponentWithFeatures(featureBundle?: FeatureBundle): MotionNameSpace;