import React, { ForwardedRef, Ref } from 'react'; import { Box, PropsBox } from './Link.styles'; import { Breakpoints } from '../Utils/responsiveness'; import { BoxStyled } from '../Utils/styled'; export declare const defaultLinkTestId: LinkProps['testId']; export interface Path { /** * A URL pathname, beginning with a /. */ pathname: string; /** * A URL search string, beginning with a ?. */ search: string; /** * A URL fragment identifier, beginning with a #. */ hash: string; } type To = string | Partial; export interface LinkProps extends BoxStyled { design?: PropsBox['$design']; color?: PropsBox['$color']; size?: PropsBox['$size']; loading?: PropsBox['$loading']; disabled?: PropsBox['$disabled']; to?: To; testId?: { container?: string; }; } declare function LinkInternal(props: LinkProps, ref: Ref): React.JSX.Element; export declare const Link: (props: LinkProps & { ref?: ForwardedRef; }) => ReturnType; export {};