import React from "react"; import { Prettify } from "../../utils/types"; import { BaseButtonProps } from "./types"; type ButtonTextProps = { /** * Defines the displayable text for label. */ title: string; icon?: never; }; type ButtonIconTextProps = { /** * Defines the displayable text for label. */ title: string; /** * Defines if an `ArrowUpRight` icon should show up. */ icon: boolean; }; type ButtonIconProps = { title?: never; /** * Defines if an `ArrowUpRight` icon should show up. */ icon: boolean; }; type ButtonVariantProps = ButtonTextProps | ButtonIconTextProps | ButtonIconProps; export type ExternalLinkButtonProps = Prettify, "as" | "variant" | "disabled">> & ButtonVariantProps; export declare const ExternalLinkButton: React.ForwardRefExoticComponent>; export {};