import { IconType } from '@autoguru/icons'; import React, { type ComponentPropsWithoutRef, type ElementType, type ReactElement, type ReactNode } from 'react'; import type { TextStylesProps } from '../../styles/typography'; type AnchorProps = ComponentPropsWithoutRef<'a'>; type FilteredAnchorProps = Omit; type FilteredTextStyleProps = Omit; export interface TextLinkProps extends FilteredAnchorProps, FilteredTextStyleProps { children?: ReactNode; className?: string; as?: ElementType | ReactElement; muted?: boolean; /** Optional icon, displayed after the link text */ icon?: IconType; } /** * TextLink component for rendering navigation links * * @example * ```tsx * Click me * * // With an icon * Settings * ``` */ export declare const TextLink: React.ForwardRefExoticComponent>; export {}; //# sourceMappingURL=TextLink.d.ts.map