import React, { ElementType } from 'react';
import { ButtonProps as JoyButtonProps } from '@mui/joy';
import { MotionProps } from 'framer-motion';
type PolymorphicProps<C extends ElementType> = {
    component?: C;
    ref?: React.Ref<any>;
} & Omit<React.ComponentPropsWithoutRef<C>, keyof JoyButtonProps>;
type ButtonProps<C extends ElementType = 'button'> = JoyButtonProps & MotionProps & PolymorphicProps<C>;
declare const Button: <C extends React.ElementType = "button">(props: ButtonProps<C> & {
    ref?: React.Ref<any>;
}) => JSX.Element;
export { Button };
