import './index.css'; import React, { ReactNode, type JSX } from 'react'; type Variant = 'Primary' | 'Default' | 'Overlay' | 'Danger' | 'Navigation'; type Size = 'S' | 'M'; export type ButtonProps = { children?: ReactNode; variant?: Variant; size?: Size; fullWidth?: boolean; isActive?: boolean; /** * The component used for root element. * @type T extends React.ElementType = 'button' */ component?: T; } & Omit, 'children'>; declare const Button: (p: "button" extends T ? ButtonProps<"button"> : ButtonProps & { component: T; }) => JSX.Element; export default Button; //# sourceMappingURL=index.d.ts.map