import { AbstractLinkProps } from "./Link"; import { ComponentProps, ReactNode } from "react"; import { LinkVariant } from "./useLink"; import { OmitInternalProps } from "../../shared"; import { ResponsiveProp } from "../../styling"; declare const DefaultElement = "a"; export interface InnerTextLinkProps extends AbstractLinkProps { /** * Whether or not the link should autoFocus on render. */ autoFocus?: boolean | number; /** * React children. */ children: ReactNode; /** * A link can vary in size. */ size?: ResponsiveProp<"sm" | "md" | "inherit">; /** * The underline style. */ underline?: "solid" | "dotted" | "none"; /** * The link style to use. */ variant?: LinkVariant; } export declare function InnerTextLink(props: InnerTextLinkProps): JSX.Element; export declare namespace InnerTextLink { var defaultElement: string; } /** * [Documentation](https://orbit.sharegate.design/?path=/docs/link--default-story) */ export declare const TextLink: import("react").ForwardRefExoticComponent, "ref"> & import("react").RefAttributes>; export declare type TextLinkProps = ComponentProps; /** * [Documentation](https://orbit.sharegate.design/?path=/docs/link--default-story) */ export declare const TextLinkAsButton: import("react").ForwardRefExoticComponent, "ref"> & import("react").RefAttributes, import("react").DetailedHTMLProps, HTMLButtonElement>>>, "ref"> & import("react").RefAttributes>; export declare type TextLinkAsButtonProps = ComponentProps; export {};