import { TextProps } from './Text';
import { text } from './core';
import { ForwardedRef, ReactElement } from 'react';

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: LinkProps<L> & {
    ref?: ForwardedRef<HTMLAnchorElement>;
}) => ReactElement;
//# sourceMappingURL=Link.d.ts.map