/** * SvAnchor - a themed link. Underline on hover by default; `external` adds * `target="_blank"` + safe `rel` and an offscreen "opens in new tab" hint. * * Read the docs * Svelte */ import type { Snippet } from 'svelte'; type Props = { href?: string; /** Open in a new tab with safe `rel`. */ external?: boolean; /** Underline behaviour. */ underline?: 'hover' | 'always' | 'none'; /** Semantic colour. */ tone?: 'accent' | 'default' | 'muted'; /** Font size step. */ size?: 'sm' | 'md' | 'lg'; onclick?: (e: MouseEvent) => void; children?: Snippet; }; declare const SvAnchor: import("svelte").Component; type SvAnchor = ReturnType; export default SvAnchor;