import * as React from 'react'; import { TypeSystemFlexboxProps, TypeStyledComponentsCommonProps } from '@sproutsocial/seeds-react-system-props'; import { TypeTextProps } from '@sproutsocial/seeds-react-text'; interface TypeLinkProps extends Omit, "color">>, Omit, "color">, TypeSystemFlexboxProps { /** Optional prop to make the URL open in a new tab */ external?: boolean; children: React.ReactNode; /** Setting this prop will cause the component to be rendered as a link */ href?: string; /** Disables user action and applies a disabled style to the component */ disabled?: boolean; /** Can be used in addition to an href but still renders as a link. Omitting href will render as button */ onClick?: (e: React.SyntheticEvent) => void; as?: TypeStyledComponentsCommonProps["as"]; underline?: boolean; qa?: { [key: string]: unknown; }; } /** * @deprecated Use `@sproutsocial/experience-ui` instead. See DS-5515. * Link component. Automatically routes between the Tailwind implementation * (preferred) and the styled-components implementation (for consumers using * system/typography props or a styled() extension). */ declare const Link: React.ForwardRefExoticComponent & React.RefAttributes>; export { Link, type TypeLinkProps, Link as default };