import * as react from 'react'; import { ElementType, ReactNode, ComponentProps } from 'react'; import * as react_jsx_runtime from 'react/jsx-runtime'; import { SlotProps, InternalProps, InteractionProps, StyledComponentProps, OmitInternalProps } from '../../shared/src/types.js'; import '../../styling/src/styled-system/props-handler.js'; import 'csstype'; import '../../styling/src/useResponsiveValue.js'; import '../../styling/src/BreakpointProvider.js'; import '../../shared/src/type-fest.js'; import '../../styling/src/styled-system/StylingContext.js'; 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"; interface InnerLinkProps extends AbstractLinkProps { /** * The link shape. */ shape?: "rounded" | "circular" | "box"; } declare function InnerLink(props: InnerLinkProps): react_jsx_runtime.JSX.Element; 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://wl-orbiter-website.netlify.app/?path=/docs/link--default-story) */ declare const Link: react.ForwardRefExoticComponent, "ref"> & react.RefAttributes>; type LinkProps = ComponentProps; export { type AbstractLinkProps, InnerLink, type InnerLinkProps, Link, type LinkProps };