import { BoxProps, ChakraComponent, ChakraProps } from '@chakra-ui/react'; import { default as React, AnchorHTMLAttributes } from 'react'; export declare const linkVariantsArray: readonly ["action", "backwards", "buttonPrimary", "buttonSecondary", "buttonPill", "buttonCallout", "buttonNoBrand", "buttonDisabled", "default", "external", "forwards", "standalone"]; export type LinkVariants = typeof linkVariantsArray[number]; export interface LinkProps extends Pick, Omit, "color"> { /** Used to include or remove visited state styles. Default is true. */ hasVisitedState?: boolean; /** Used to explicitly set the underline style for a text link. If true, link * text will always be underlined; if false, link text will only show * underline in hover state. */ isUnderlined?: boolean; /** Visibly hidden text that will only be read by screenreaders. */ screenreaderOnlyText?: string; /** Controls the link's styles based on the value: action, backwards, default, * external, forwards, standalone, and all "button" types. */ variant?: LinkVariants; } /** * A component that renders an anchor element with added styling * and conventions. */ export declare const Link: ChakraComponent & React.RefAttributes>, React.PropsWithChildren>; export default Link;