import React from 'react'; import type { Appearance, ShirtSize } from './types/common.js'; export interface LinkProps extends Omit, 'as' | 'size'> { /** * The URL to point to */ href?: string; /** * Which component to render, e.g. "a" or "Link" */ as?: 'a' | React.ElementType; /** * When used with react-router, supply a path */ to?: string; /** * Optional icon displayed before the link text */ leadingIcon?: React.ReactNode; /** * Optional icon displayed after the link text */ trailingIcon?: React.ReactNode; children: React.ReactNode; className?: string; /** * Visual appearance controlling text color */ appearance?: Appearance; /** * Underline behavior: 'hover' (default) or 'always' */ underline?: 'hover' | 'always'; /** * Size of the link text */ size?: ShirtSize; /** * Font weight of the link text * - regular: default * - medium: slightly emphasized */ weight?: 'regular' | 'medium'; } export declare const Link: React.ForwardRefExoticComponent & React.RefAttributes>; //# sourceMappingURL=Link.d.ts.map