import { WithoutAs } from '@yamada-ui/core';
import { Merge } from '@yamada-ui/utils';
import { MotionAs, MotionComponent } from './motion.types.js';
import * as React from 'react';
import 'motion/react';

declare function motionForwardRef<Y extends object, M extends MotionAs>(render: React.ForwardRefRenderFunction<any, {
    as?: MotionAs;
} & Merge<React.ComponentPropsWithoutRef<M>, WithoutAs<Y>>>): MotionComponent<M, Y>;

export { motionForwardRef };
