import { default as React } from 'react'; import { SkeletonVariant } from '../Skeleton/skeleton.tokens'; export declare enum ButtonV2Type { PRIMARY = "primary", SECONDARY = "secondary", DANGER = "danger", SUCCESS = "success" } export declare enum ButtonV2Size { SMALL = "sm", MEDIUM = "md", LARGE = "lg" } export declare enum ButtonV2SubType { DEFAULT = "default", ICON_ONLY = "iconOnly", INLINE = "inline" } export declare enum ButtonV2State { DEFAULT = "default", HOVER = "hover", ACTIVE = "active", DISABLED = "disabled" } export declare enum PaddingDirection { TOP = "top", RIGHT = "right", BOTTOM = "bottom", LEFT = "left" } export type ButtonSlot = { slot: React.ReactNode; maxHeight?: string | number; }; export type ButtonSkeleton = { showSkeleton?: boolean; skeletonVariant?: SkeletonVariant; }; export type ButtonBaseProps = { buttonType?: ButtonV2Type; size?: ButtonV2Size; subType?: ButtonV2SubType; text?: string; leftSlot?: ButtonSlot; rightSlot?: ButtonSlot; loading?: boolean; skeleton?: ButtonSkeleton; buttonGroupPosition?: 'center' | 'left' | 'right'; width?: string | number; minWidth?: string | number; maxWidth?: string | number; state?: ButtonV2State; }; export type ButtonV2Props = ButtonBaseProps & { justifyContent?: React.CSSProperties['justifyContent']; } & Omit, 'style' | 'className'>; export type LinkButtonProps = ButtonBaseProps & { href: string; target?: string; rel?: string; disabled?: boolean; } & Omit, 'href' | 'target' | 'rel' | 'children' | 'className' | 'style' | 'dangerouslySetInnerHTML'>;