import React, { AnchorHTMLAttributes } from 'react'; import { RcBaseProps, RcBaseSize, RcPaletteProp } from '../../foundation'; import { RcTypographyVariant } from '../Typography'; declare type RcLinkSize = RcBaseSize; declare type RcLinkProps = { /** variant of Link, default is body1 */ variant?: RcTypographyVariant; /** is that link is disabled */ disabled?: boolean; /** color for Link display, support palette pass */ color?: RcPaletteProp; /** root render element, default is `` */ Component?: keyof JSX.IntrinsicElements; /** is that have underline default */ underline?: boolean; /** is that href can be download */ download?: boolean; /** * @deprecated size of Link, default is medium, please use variant directly * `small` => `caption1` * `medium` => `body1` * `large` => `headline1` */ size?: RcLinkSize; /** @deprecated use onClick replace that */ handleOnClick?: ((event: React.MouseEvent) => void) | undefined; } & RcBaseProps, 'download' | 'color'>; /** * @release * that onClick event will be trigger with `enter` like ``, when have custom onKeydown event, that will be cover by outside * */ declare const RcLink: import("styled-components").StyledComponentClass & { theme?: import("../../foundation").RcTheme | undefined; }>; export { RcLink }; export type { RcLinkProps, RcLinkSize };