import React from 'react'; import '../../styles/base.module.css'; export declare enum LinkboxSize { Small = "small", Medium = "medium", Large = "large" } export type LinkboxProps = { /** * Boolean indicating for external link that takes user to an entirely new web site. Defaults to false. */ external?: boolean; /** * Optional heading of the linkbox. */ heading?: string; /** * Heading level for linkbox title. Defaults to 2. */ headingAriaLevel?: number; /** * The image props passed to the linkbox image. Image variant requires prop withImg set to true. */ imgProps?: React.ComponentPropsWithoutRef<'img'>; /** * The aria-label for the link (arrow or external icon) that is located at the bottom of the linkbox. */ linkAriaLabel: string; /** * The aria-label for the whole linkbox region. Remember to tell users of assistive technology that they are inside * a linkbox. Check storybook examples on how it can be done. */ linkboxAriaLabel: string; /** * Boolean for the variant with no background color. Changes paddings also. Defaults to false. */ noBackground?: boolean; /** * The aria-label for opening link in an external domain. Active when external prop is true. */ openInExternalDomainAriaLabel?: string; /** * Boolean indicating whether the link will open in new tab or not. Defaults to false. */ openInNewTab?: boolean; /** * The aria-label for opening link in a new tab */ openInNewTabLabel?: string; /** * Optional text of the linkbox. */ text?: string; /** * Boolean indicating whether the Linkbox contains a border or not. Defaults to false. */ border?: boolean; /** * Size variant for the linkbox. Affects texts and paddings. */ size?: LinkboxSize; } & Omit, 'tabIndex'>; export declare const Linkbox: ({ children, className, external, heading, headingAriaLevel, href, imgProps, linkAriaLabel, linkboxAriaLabel, noBackground, openInExternalDomainAriaLabel, openInNewTab, openInNewTabLabel, text, border, size, ...rest }: LinkboxProps) => React.JSX.Element;