import { type ForwardedRef, type ReactElement } from "react";
import { type text } from './core';
import { type TextProps } from './Text';
export type LinkProps<L extends text.Level = "h1"> = Omit<TextProps<L>, "ref"> & {
    href?: string;
    download?: string;
    target?: string;
    rel?: string;
};
export declare const Link: <L extends "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "p" = "h1">(props: Omit<TextProps<L>, "ref"> & {
    href?: string | undefined;
    download?: string | undefined;
    target?: string | undefined;
    rel?: string | undefined;
} & {
    ref?: ForwardedRef<HTMLAnchorElement> | undefined;
}) => ReactElement;
