import * as React from 'react';
import type { ButtonAriaProps } from '../../a11y/button_aria_attributes/button_aria_attributes';
type AriaProps = Pick<ButtonAriaProps, 'active' | 'pressed' | 'ariaLabel' | 'ariaLabelledBy' | 'ariaHidden' | 'tabIndex' | 'ariaCurrent'> & {
    role?: 'menuitem' | 'menuitemradio' | 'menuitemcheckbox'
};
type CommonProps = {
    children?: React.ReactNode
    draggable?: boolean
    className?: string
    id?: string
    title?: string
    ref?: React.Ref<HTMLAnchorElement>;
    disabled?: boolean
    variant?: LinkVariant
};
type AnchorProps = {
    href: string
    rel?: string
    target?: string
    download?: string
    withOpenInNewIcon?: boolean
};
export type LinkButtonProps = CommonProps & Partial<AnchorProps> & AriaProps & Pick<ButtonAriaProps, 'disclosure' | 'ariaRoleDescription' | 'ariaControls' | 'ariaOwns' | 'ariaDescribedBy' | 'ariaHasPopup'> & {
    onClick: React.MouseEventHandler<HTMLAnchorElement>;
};
export type LinkProps = CommonProps & AnchorProps & Omit<AriaProps, 'role'> & {
    onClick?: React.MouseEventHandler<HTMLAnchorElement>;
    role?: AriaProps['role'] | 'button'
    preventLineBreak?: boolean
};
export declare const InheritColor: unique symbol;
export declare const variants: readonly ["regular", "semiBold", "subtle", "muted", "unstyled", "critical", typeof InheritColor];
export type LinkVariant = (typeof variants)[number];
export declare const Link: React.ForwardRefExoticComponent<Omit<LinkProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
export declare const LinkButton: React.ForwardRefExoticComponent<Omit<LinkButtonProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
export {};
