import { Ref } from 'react'; import { ButtonPrimaryAsLinkPropsType } from './variations/ButtonPrimaryAsLink'; import { ButtonSecondaryAsLinkPropsType } from './variations/ButtonSecondaryAsLink'; import { ButtonTertiaryAsLinkPropsType } from './variations/ButtonTertiaryAsLink'; import { ButtonDestructiveAsLinkPropsType } from './variations/ButtonDestructiveAsLink'; import { AvailableSizes, ButtonVariantType } from '../Button/Primitive/ButtonPrimitive'; type Primary = ButtonVariantType<'primary', ButtonPrimaryAsLinkPropsType>; type Secondary = ButtonVariantType<'secondary', ButtonSecondaryAsLinkPropsType>; type Tertiary = ButtonVariantType<'tertiary', ButtonTertiaryAsLinkPropsType>; type Destructive = ButtonVariantType<'destructive', ButtonDestructiveAsLinkPropsType>; type ButtonType = Primary | Secondary | Tertiary | Destructive; declare function ButtonPlatform(props: ButtonType, ref: Ref): import("react/jsx-runtime").JSX.Element | null; export declare const ButtonAsLink: (props: ButtonType & { ref?: Ref; }) => ReturnType; export {};