import React from 'react'; import { PolymorphicComponent, ExpandProps, CommonProps, PolymorphicProps } from '@contentful/f36-core'; import { IconProps } from '@contentful/f36-icon'; type TextLinkVariant = 'negative' | 'positive' | 'primary' | 'secondary' | 'muted' | 'white' | 'premium'; declare const TEXT_LINK_DEFAULT_TAG = "a"; interface TextLinkInternalProps extends CommonProps { children?: React.ReactNode; /** * Determines style variation of TextLink component * @default primary */ variant?: TextLinkVariant; /** * Disabled interaction and applies disabled styles * @default false */ isDisabled?: boolean; /** * Expects any of the icon components */ icon?: React.ReactElement; /** * Determines the icon position regarding the link text * @default start */ alignIcon?: 'start' | 'end'; /** * The element used for the root node. * @default a */ as?: 'a' | 'button'; } type TextLinkProps = PolymorphicProps; declare const TextLink: PolymorphicComponent, typeof TEXT_LINK_DEFAULT_TAG, "disabled">; export { TextLink, type TextLinkProps };