import { JSX } from 'react/jsx-runtime'; import * as React from "react"; import { ButtonVariant } from "../Button/Button"; export interface AnchorRendererProps { href: string; children: React.ReactNode; className?: string; onClick?: (event: React.MouseEvent) => unknown; } export type AnchorRenderer = (props: AnchorRendererProps) => JSX.Element; export declare function setAnchorRenderer(newRenderer: AnchorRenderer): void; export interface AnchorProps { href: string; /** * Force the anchor to open in a new tab, even if it is a relative link. * @default false */ newTab?: boolean; /** * Use a button style for the Anchor tag. When given, this makes the link look like any other button. */ buttonVariant?: ButtonVariant; children: React.ReactNode; className?: string; onClick?: (event: React.MouseEvent) => unknown; } export declare function Anchor(props: AnchorProps): JSX.Element; //# sourceMappingURL=Anchor.d.ts.map