import React, { ReactNode } from 'react'; import { ThemeOverrideProps } from '@xsolla/xui-core'; type LinkSize = "sm" | "md" | "lg"; interface LinkProps extends ThemeOverrideProps { /** * Property to specify the size of the link. * @default "md" */ size?: LinkSize; /** * The URL or path for the link. */ href?: string; /** * Callback fired when the link is clicked. */ onClick?: () => void; /** * Whether the link is disabled. * @default false */ disabled?: boolean; /** * Whether the link should have an underline. * @default false */ underline?: boolean; /** * The content of the link. */ children?: ReactNode; /** * Target attribute for the link (e.g., "_blank", "_self"). */ target?: string; /** * Rel attribute for the link (e.g., "noopener noreferrer"). */ rel?: string; /** * Custom color for the link text */ color?: string; testID?: string; } declare const Link: React.FC; export { Link, type LinkProps, type LinkSize };