import type { GDSComponentProps } from '@graphprotocol/gds-css';
import { type AddonValue } from './base/Addon.tsx';
import { type ButtonOrLinkProps } from './base/ButtonOrLink.tsx';
import { LinkMeta } from './Link.meta.ts';
export declare namespace LinkProps {
    interface OwnProps {
        addonBefore?: AddonValue | undefined;
        /** Defaults to `ArrowUpRightInteractiveIcon` if `href` is defined and `target` is `_blank` */
        addonAfter?: AddonValue | undefined;
    }
    interface CommonProps extends OwnProps, GDSComponentProps<typeof LinkMeta> {
    }
    interface ButtonProps extends CommonProps, Omit<ButtonOrLinkProps.ButtonProps, 'href'>, ButtonOrLinkProps.DisableableProps {
        href: undefined;
    }
    interface LinkProps extends CommonProps, ButtonOrLinkProps.LinkProps, ButtonOrLinkProps.DisableableProps {
    }
}
export type LinkProps = LinkProps.LinkProps | LinkProps.ButtonProps;
export declare function Link({ ref: passedRef, variant, addonBefore, addonAfter: passedAddonAfter, disabled, className, style, children, ...props }: LinkProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=Link.d.ts.map