import { Ref } from 'react'; import { AvailableSizes, ButtonVariantType } from './Primitive/ButtonPrimitive'; import { ButtonDestructivePropsType } from './variations/ButtonDestructive'; import { ButtonPrimaryPropsType } from './variations/ButtonPrimary'; import { ButtonSecondaryPropsType } from './variations/ButtonSecondary'; import { ButtonTertiaryPropsType } from './variations/ButtonTertiary'; type Primary = ButtonVariantType<'primary', ButtonPrimaryPropsType>; type Secondary = ButtonVariantType<'secondary', ButtonSecondaryPropsType>; type Tertiary = ButtonVariantType<'tertiary', ButtonTertiaryPropsType>; type Destructive = ButtonVariantType<'destructive', ButtonDestructivePropsType>; type ButtonType = Primary | Secondary | Tertiary | Destructive; declare function ButtonPlatform(props: ButtonType, ref: Ref): import("react/jsx-runtime").JSX.Element | null; export declare const Button: (props: ButtonType & { ref?: Ref; }) => ReturnType; export {};