import { ButtonHTMLAttributes, FC, ReactNode } from 'react'; import { ButtonShape, ButtonSize, ButtonKind, ButtonLayout } from './button.variants'; type ButtonPropsWithLabel = { children?: never; }; type ButtonPropsWithChildren = { children: ReactNode; }; export type ButtonProps = ButtonHTMLAttributes & (ButtonPropsWithLabel | ButtonPropsWithChildren) & { label?: string; href?: string; size?: keyof typeof ButtonSize; shape?: keyof typeof ButtonShape; kind?: keyof typeof ButtonKind; layout?: keyof typeof ButtonLayout; children?: ReactNode; }; /** * Button as Anchor * @example */ export declare const Button: FC; /** * ## Button Variants */ export declare const ButtonPrimary: FC; export declare const ButtonSecondary: FC; export declare const ButtonTextOnly: FC; export {};