import type { Component, ComponentProps } from "svelte"; import type { Feature } from "../../features/index.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; features?: Feature[]; } 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(features?: Feature[]): MotionNameSpace;