import type { LinkVariant, LinkTarget, LinkSize } from "./types"; import type { Theme } from "../../utils/styles"; /** * @component diwa-link * * A fully accessible link primitive. Renders as when href is provided, * otherwise as a non-interactive . Mirrors the PDS p-link component. * * Usage: * Home * Docs * About * * @slot default — Link label text */ export declare class DiwaLink { host: HTMLDiwaLinkElement; /** Per-component theme override. */ theme: Theme; /** Visual style variant. */ variant: LinkVariant; /** The URL the link points to. When set, renders as . */ href?: string; /** Target attribute — where to open the linked URL. */ target: LinkTarget; /** Native download attribute for triggering file downloads. */ download?: string; /** Relationship between the current document and the linked resource. */ rel?: string; /** Lucide icon name (kebab-case, e.g. "arrow-right"), or "none" to hide. */ icon: string; /** Hides the label visually (icon-only mode). Keep slot text for screen readers. */ hideLabel: boolean; /** Compact (smaller) size variant. Kept for backward compatibility. */ compact: boolean; /** Size variant: xs | sm | md | lg. If omitted, `compact` maps to `sm`. */ size?: LinkSize; /** Accessible aria-label override — useful for icon-only links. */ label?: string; /** Disabled state. Sets aria-disabled and prevents interaction. */ disabled: boolean; render(): any; } //# sourceMappingURL=diwa-link.d.ts.map