import { default as React } from 'react'; /** ------------------------------------------------------------------------------------------------- * Link * -----------------------------------------------------------------------------------------------*/ type Variant = 'text' | 'text-negative' | 'standalone' | 'standalone-negative' | 'navigation' | 'navigation-negative'; type LinkProps = React.ComponentPropsWithoutRef<'a'> & { asChild?: boolean; /** Disables visited styling */ disableVisited?: boolean; /** * This sets a minimum size on the targetable area of the link. Please note * it also changes display value to flex, meaning its container will behave * like a block element. You can wrap this component in a flex container * for additional layout control. */ ensureTargetArea?: boolean; /** * A silent link is intended to wrap an element * to make it a link but not add any styling * except for the pointer cursor and focus style. */ silent?: boolean; variant: Variant; }; /** * */ declare const Link: React.ForwardRefExoticComponent, HTMLAnchorElement>, "ref"> & { asChild?: boolean; /** Disables visited styling */ disableVisited?: boolean; /** * This sets a minimum size on the targetable area of the link. Please note * it also changes display value to flex, meaning its container will behave * like a block element. You can wrap this component in a flex container * for additional layout control. */ ensureTargetArea?: boolean; /** * A silent link is intended to wrap an element * to make it a link but not add any styling * except for the pointer cursor and focus style. */ silent?: boolean; variant: Variant; } & React.RefAttributes>; export { Link }; export type { LinkProps };