import { ComponentProps, ElementType, ReactNode } from "react"; import { InteractionProps, InternalProps, OmitInternalProps, SlotProps, StyledComponentProps } from "../../shared"; export declare type AbstractLinkProps = SlotProps & InternalProps & InteractionProps & Omit, "autoFocus" | "external" | "href" | "rel" | "target"> & { /** * Whether or not the link should autoFocus on render. */ autoFocus?: boolean | number; /** * React children. */ children: ReactNode; /** * Whether or not the link is disabled. */ disabled?: boolean; /** * Whether or not this is an external link. */ external?: boolean; /** * See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a). */ href?: string; /** * See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a). */ rel?: string; /** * See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a). */ target?: string; /** * @ignore */ visited?: boolean; }; declare const DefaultElement = "a"; export interface InnerLinkProps extends AbstractLinkProps { /** * The link shape. */ shape?: "rounded" | "circular" | "box"; } export declare function InnerLink(props: InnerLinkProps): JSX.Element; export declare namespace InnerLink { var defaultElement: string; } /** * Links allow a user to navigate between pages, scroll to a have page section, access files, or even to handle email addresses. * * [Documentation](https://orbit.sharegate.design/?path=/docs/link--default-story) */ export declare const Link: import("react").ForwardRefExoticComponent, "ref"> & import("react").RefAttributes>; export declare type LinkProps = ComponentProps; export {};