import { default as React } from 'react'; /** Tracking event data for link interactions */ export interface LinkTrackingData { /** Action performed */ action: 'click'; /** Optional custom label for tracking */ trackingLabel?: string; /** Optional component context */ componentName?: string; } export interface LinkProps extends React.AnchorHTMLAttributes { /** Link URL */ href: string; /** Link content */ children: React.ReactNode; /** Variant style */ variant?: 'default' | 'primary' | 'secondary' | 'muted' | 'underline'; /** External link (adds target and rel attributes) */ external?: boolean; /** Show external icon */ showExternalIcon?: boolean; /** Disabled state */ disabled?: boolean; /** Additional className */ className?: string; /** Optional callback for tracking link clicks */ onTrack?: (data: LinkTrackingData) => void; /** Custom label for tracking (defaults to link text) */ trackingLabel?: string; /** Component name for tracking context */ componentName?: string; } /** * Link Component * * Versatile link component with variants and automatic external link handling. * Adds security attributes for external links automatically. * * @example * ```tsx * Go to Dashboard * External Site * ``` * * @example * ```tsx * * Documentation * * ``` */ export declare const Link: React.FC; //# sourceMappingURL=link.d.ts.map